/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nav-bg: #f7f7f7;
    --body-bg: #e5e1dc;
    --accent-color: #608752;
    --light-font: #f2ece4;
    --dark-font: #608752;
    --headline-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
}

body {
    background-color: var(--body-bg);
    font-family: var(--body-font);
    color: var(--dark-font);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--headline-font);
}

/* Navbar Styles */  /* Navbar Styles */  /* Navbar Styles */  /* Navbar Styles */
.navbar {
    background-color: var(--nav-bg);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 90px; /* Adjust based on your logo design */
    display: block;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-font);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #a7bca0; /* Subtle hover effect */
}

/* CTA Button in Nav */
.nav-cta {
    background-color: #90d477;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: transform 0.2s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--light-font);
}

/* Responsive Menu */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none; /* We'll toggle this with JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        padding: 2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }
}

/* Hero Slider Styles */ /* Hero Slider Styles */ /* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 80vh; /* Adjust height as needed */
    width: 100%;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    color: var(--light-font);
    padding: 0 25px;
    max-width: 900px;
}

.slide-content h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;na
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    line-height: 60px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-family: var(--body-font);
}

/* Reusable Button Style */
.btn-main {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--light-font);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-main:hover {
    filter: brightness(1.1);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(46, 82, 82, 0.5); /* Nav bar color with transparency */
    color: white;
    border: none;
    padding: 1.5rem 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--nav-bg);
}

.prev { left: 0; border-radius: 0 5px 5px 0; }
.next { right: 0; border-radius: 5px 0 0 5px; }

@media (max-width: 768px) {
    .hero-slider { height: 60vh; }
    .slider-btn { padding: 1rem 0.5rem; }
}


/* Specialization Section Styles */  /* Specialization Section Styles */ /* Specialization Section Styles */
.specialization {
    padding: 80px 20px;
    background-color: var(--body-bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-font);
    margin-bottom: 5px;
    margin-top: 20px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-family: var(--body-font);
    color: #4a4a4a; /* Slightly softer for the summary */
}

/* Grid: 3 in a row */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.spec-item {
    background-color: transparent;
    border: 1px solid rgba(95, 106, 76, 0.2); /* Subtle Moss Green border */
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.spec-item h3 {
    font-size: 1.4rem;
    color: var(--dark-font);
    transition: color 0.3s ease;
}

.spec-item:hover h3 {
    color: var(--light-font);
}

/* Appointment Button */
.spec-footer {
    text-align: center;
}

.btn-appointment {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-font);
    text-decoration: none;
    padding: 1.2rem 3rem;
    font-family: var(--body-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-appointment:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(95, 106, 76, 0.2);
}

/* Responsive Grid */
@media (max-width: 992px) {
    .spec-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
    }
}

@media (max-width: 600px) {
    .spec-grid {
        grid-template-columns: 1fr; /* 1 per row on phones */
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}


/* About Us Split Section */  /* About Us Split Section */ /* About Us Split Section */
.about-us-split {
    display: flex;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}

/* Left Part: Moss Green Background */
.about-left {
    flex: 1;
    background-color: #558b46; /* Your accent color */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.about-image-wrapper {
    width: 100%;
    height: 100%;
    max-height: 500px;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the area without distortion */
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Right Part: White Background */
.about-right {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 80px;
}

.about-content {
    max-width: 500px;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--dark-font); /* #5f6a4c */
    margin-bottom: 25px;
    position: relative;
}

.about-content h3 {
    font-size: 2rem;
    color: var(--dark-font); /* #5f6a4c */
    margin-bottom: 0px;
    position: relative;
}

/* Small accent line under the title */
.about-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #5f6a4c;
    margin-top: 10px;
}

.about-content p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-right {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .about-us-split {
        flex-direction: column; /* Stacks vertically on mobile */
    }

    .about-left, .about-right {
        padding: 60px 20px;
    }
    
    .about-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .about-content h2::after {
        margin: 10px auto;
    }
}

/* Testimonial Slider Styles */
/* Testimonials Section Base */
.testimonials {
    padding: 100px 20px;
    background-color: var(--body-bg); /* #f2ece4 */
    overflow: hidden;
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1);
    width: 300%; /* Number of slides * 100 */
}

.testimonial-item {
    flex: 1;
    width: 100%;
    padding: 20px;
}

/* The Card Logic */
.testimonial-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    min-height: 400px;
    width: 1000px;
}

/* Left: Large Square Image */
.client-image-side {
    flex: 0 0 400px; /* Fixed width on desktop */
    height: 400px;
}

.client-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right: Content */
.client-text-side {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.quote-mark {
    font-family: var(--headline-font);
    font-size: 5rem;
    color: var(--accent-color); /* #5f6a4c */
    line-height: 1;
    opacity: 0.15;
    position: absolute;
    top: 20px;
    left: 40px;
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.client-name {
    font-family: var(--headline-font);
    font-size: 1.5rem;
    color: var(--dark-font);
    margin: 0;
}

.client-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
}

/* Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(95, 106, 76, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

/* Responsive Stacking */
@media (max-width: 900px) {
    .testimonial-card {
        flex-direction: column;
        max-width: 500px;
        margin: 0 auto;
    }

    .client-image-side {
        flex: none;
        width: 100%;
        height: 350px;
    }

    .client-text-side {
        padding: 40px 30px;
        text-align: center;
    }

    .quote-mark {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Background Image with Centered Text */ /* Background Image with Centered Text */

.image-text-overlay { 
    position: relative;
    width: 100%;
    height: 80vh; /* Adjust height based on preference */
    background-image: url('../images/cta-bg.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    text-align: center;
    color: var(--light-font); /* #f2ece4 */
}

/* Dark overlay to make text readable */
.overlay-darkener {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Adjust opacity as needed */
    z-index: 1;
}

.centered-content {
    position: relative;
    z-index: 2; /* Sits above the overlay */
    padding: 0 20px;
}

.centered-content h2 {
    font-family: var(--headline-font);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.centered-content p {
    font-family: var(--body-font);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .image-text-overlay {
        height: 40vh;
    }
}


/* Contact Section Styles */
.contact-section {
    padding: 100px 10px;
    background-color: var(--body-bg); /* #f2ece4 */
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Left Side: Moss Green */
.contact-info {
    flex: 1;
    background-color: var(--accent-color); /* #5f6a4c */
    color: var(--light-font); /* #f2ece4 */
    padding: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.info-details .info-item {
    margin-bottom: 20px;
}

.info-details strong {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

/* Right Side: Form */
.contact-form-wrapper {
    flex: 1.2;
    background-color: #fff;
    padding: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--nav-bg); /* #2e5252 */
}

.btn-submit {
    background-color: var(--accent-color);
    color: var(--light-font);
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--nav-bg); /* Turns teal on hover */
}

/* Responsive Contact Section */
@media (max-width: 850px) {
    .contact-container {
        flex-direction: column;
    }
    .contact-info, .contact-form-wrapper {
        padding: 40px 20px;
    }
}


/* Detailed Services Section */  /* Detailed Services Section */  /* Detailed Services Section */
.detailed-services {
    padding: 10px 20px;
    background-color: var(--body-bg);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

/* Make every second item flip the order */
.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 10px 10px 0px var(--accent-color); /* Moss Green accent border effect */
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-text {
    flex: 1;
}

.service-text h3 {
    font-family: var(--headline-font);
    font-size: 2.2rem;
    color: var(--dark-font); /* #5f6a4c */
    margin-bottom: 20px;
}

.service-text p {
    font-family: var(--body-font);
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-item, .service-item:nth-child(even) {
        flex-direction: column; /* Stack vertically on tablets */
        gap: 30px;
    }
    
    .service-image {
        width: 100%;
        box-shadow: 0px 10px 0px var(--accent-color);
    }

    .service-text {
        text-align: center;
    }
}

/* FAQ Section */  /* FAQ Section */  /* FAQ Section */  /* FAQ Section */
.faq-section {
    padding: 100px 20px;
    background-color: #ffffff; /* White background as requested */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(95, 106, 76, 0.2);
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--headline-font);
    font-size: 1.3rem;
    color: var(--dark-font);
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--nav-bg); /* Deep Teal hover */
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
    padding-bottom: 25px;
    color: #555;
    font-family: var(--body-font);
    line-height: 1.7;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust based on content length */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Turns + into x */
    color: var(--nav-bg);
}

/* Footer Styles */  /* Footer Styles */  /* Footer Styles */  /* Footer Styles */
.main-footer {
    background-color: var(--nav-bg); /* #2e5252 */
    color: var(--dark-font); /* #f2ece4 */
    padding: 80px 20px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    height: 90px;
    margin-bottom: 20px;
    /*filter: brightness(0) invert(1);*/ /* Makes a dark logo white */
}

.footer-col h3 {
    font-family: var(--headline-font);
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    margin-top: 8px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--dark-font);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    color: var(--light-font);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
}

/* Bottom Bar */
.footer-bottom {
    background-color: var(--accent-color); /* #5f6a4c */
    padding: 20px;
    text-align: center;
    margin: 0 -20px; /* Counteracts parent padding */
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3::after {
        margin: 8px auto;
    }
    
    .social-links {
        justify-content: center;
    }
}

.p-footer {
    color: var(--light-font);
}