:root {
    --primary-color: #D4AF37; /* Sophisticated gold */
    --secondary-color: #333; /* Darker gray */
    --text-light: #f8f9fa; /* Light text */
    --text-dark: #212529; /* Dark text */
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
}

body {
    font-family: 'Open Sans', sans-serif; /* Updated font */
    color: var(--text-dark);
    background-color: var(--bg-light);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Updated heading font */
    color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #b3912d;
    border-color: #b3912d;
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}

.text-muted {
    color: #6c757d !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Enhanced Header */
.bg-light.shadow-sm {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    transition: color 0.3s ease;
    padding: 0.8rem 1.2rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* About Section */
#about {
    padding: 5rem 0;
}

/* Director & Experience Section */
#experience {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.experience-card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
}

.specialization-item {
    margin-bottom: 0.8rem;
}

/* Mission Section */
#mission {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

/* Our Practice Section */
#practice {
    padding: 5rem 0;
}

/* Services Section */
#services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.service-card {
    border: none;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    transition: transform 0.2s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Fee Structure Section */
#fees {
    padding: 5rem 0;
}

/* Affiliation Section */
#affiliation {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.list-group-item i {
    margin-right: 0.5rem;
}

/* Insurance & Commitment Section */
#insurance {
    padding: 5rem 0;
}

/* Team Section */
#team {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.team-img {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.team-img:hover {
    transform: scale(1.05);
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body img {
    border-radius: 50%;
    max-width: 100%;
    height: auto;
}

/* Contact Information Section */
#contact {
    padding: 5rem 0;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.contact-info i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Form Section */
#contact-form {
    padding: 5rem 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

#contact-form .form-control {
    background-color: #444;
    border: none;
    color: var(--text-light);
    border-radius: 0.3rem;
    padding: 1rem;
}

#contact-form .form-control::placeholder {
    color: #ccc;
}

#contact-form .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 0.3rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 1.5rem 0;
    text-align: center;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #b3912d;
}

/* Back to top button */
#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#backToTop:hover {
    background-color: #b3912d;
}

#backToTop i {
    font-size: 1.2rem;
}
