/* --- CSS Variables & Design System --- */
:root {
    /* Colors */
    --primary-color: #48a148;
    /* Deep Green */
    --primary-dark: #234d23;
    --primary-light: rgba(72, 161, 72, 0.1);
    --secondary-color: #234d23;
    /* Dark Green instead of Black */
    --accent-color: #48a148;
    --accent-hover: #357a35;
    --text-main: #2d3436;
    /* Dark Charcoal instead of Black */
    --text-muted: #636e72;
    --bg-main: #ffffff;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --appointment-red: #d63031;
    /* Bold Red for CTAs */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects & Spacing */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img{
    max-width: 100%;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    /* Adjusted for tighter header */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(rgba(72, 161, 72, 0.9), rgba(72, 161, 72, 0.9)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Footer Bottom Updates */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
}

.footer-keywords {
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact i {
    width: 25px;

}

.footer-contact p {
    margin-bottom: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 120%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-white {
    color: var(--white);
}

.text-dark {
    color: var(--text-main);
}

.text-accent {
    color: var(--accent-color);
}

.highlight {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* About Preview */
.about-preview-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-heading);
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-whatsapp {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-appointment {
    background-color: var(--appointment-red);
    color: var(--white);
}

.btn-appointment:hover {
    background-color: #b32525;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
    white-space: nowrap;
}

.btn-block {
    display: block;
    width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    padding: 5px 0;
}

.header.scrolled {
    padding: 2px 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 100px;
    width: auto;
    margin-right: 15px;
    object-fit: contain;
}

.logo h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    color: var(--text-muted);
    font-weight: 400;
}

.nav-menu ul {
    display: flex;
    gap: 25px;
    white-space: nowrap;
}

.nav-menu a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .dropdown.active .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        position: static;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 15px;
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-align: left;
}

.dropdown-menu a:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding-left: 20px;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    white-space: nowrap;
}

.desktop-only {
    display: inline-block;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none;
    }
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- Floating WhatsApp --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: var(--accent-hover);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* --- 1. Hero Section --- */
.hero {
    padding-top: 130px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7f6 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.trust-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(72, 161, 72, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .subheadline {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.trust-strip {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.trust-item i {
    color: var(--accent-color);
    /* Gold for stars */
}

.trust-item:nth-child(2) i,
.trust-item:nth-child(3) i {
    color: var(--primary-color);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 0.9rem;
    line-height: 1.2;
}

/* --- Trust Bar --- */
.trust-bar {
    padding: 30px 0;
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: -40px;
    position: relative;
    z-index: 20;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-right: 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.trust-text h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.trust-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 15px;
    }

    .trust-item:last-child {
        border-bottom: none;
    }
}

/* --- 2. Trust & Authority (Doctors) --- */
.section-title {
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 2.5rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.doctor-profiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.doctor-card {
    display: flex;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.doctor-img {
    width: 40%;
    min-height: 100%;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-info {
    width: 60%;
    padding: 30px;
}

.doctor-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.designation {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
}

.degrees {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.doctor-highlights li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.doctor-highlights i {
    color: var(--accent-color);
    margin-top: 4px;
}

/* --- 3. Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--primary-color);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid var(--primary-dark);
    color: var(--white);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-dark);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--white);
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.learn-more {
    display: inline-block;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-card:hover .learn-more {
    transform: translateX(5px);
}

/* --- 4. Why Choose Us --- */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-list {
    margin-top: 30px;
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.rounded-img {
    border-radius: var(--radius-lg);
}

.shadow {
    box-shadow: var(--shadow-lg);
}

/* --- 5. Testimonials --- */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(95, 201, 123, 0.1);
    font-family: var(--font-heading);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-main);
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.patient-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.patient-info h4 {
    margin: 0;
    font-size: 1rem;
}

.treatment-type {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- 6. Appointment System --- */
.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.appointment-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(95, 201, 123, 0.1);
}

/* --- 7. FAQ --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eaeaea;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--white);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active {
    color: var(--primary-color);
    border-bottom: 1px solid #eaeaea;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px;
    color: var(--text-muted);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
}

.highlight-box {
    background-color: var(--primary-light);
    border-left: 5px solid var(--primary-color);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.highlight-box i {
    font-size: 2rem;
    color: var(--primary-color);
}

.highlight-box p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* Doctor Full Profile */
.doctor-full-profile {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.doctor-full-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.doctor-full-grid.reverse {
    grid-template-columns: 1.5fr 1fr;
}

.doctor-full-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-full-info {
    padding: 60px;
}

.doctor-stats-grid {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.doctor-stat {
    background-color: var(--primary-light);
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.doctor-stat h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.doctor-stat p {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doctor-list {
    margin-top: 20px;
}

.doctor-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.doctor-list i {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 6px;
}

.specialization-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.specialization-pills span {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 60px 0;
}

/* Service Detail Pages */
.service-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.benefit-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary-color);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
}

.sidebar-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.sidebar-box h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.sidebar-cta {
    background-color: var(--primary-light);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.sidebar-cta h3 {
    color: var(--primary-color);
}

/* Recovery Grid */
.recovery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.recovery-step {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.recovery-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.step-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(72, 161, 72, 0.05);
}

.recovery-step h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .service-content-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .recovery-grid {
        grid-template-columns: 1fr;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-info {
    padding: 50px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-details i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-details strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.contact-details p {
    color: var(--text-muted);
}

.map-container {
    min-height: 400px;
}

/* --- 9. Footer --- */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about span {
    font-weight: 400;
}

.footer-about p {
    color: #cccccc;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-emergency p {
    color: #cccccc;
    margin-bottom: 15px;
}

.emergency-number {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaaaaa;
    font-size: 0.9rem;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .doctor-profiles {
        grid-template-columns: 1fr;
    }

    .doctor-img {
        width: 30%;
    }

    .doctor-info {
        width: 70%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .logo img {
        height: 80px;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: 0.3s;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero .subheadline {
        margin: 0 auto 30px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .trust-strip {
        justify-content: center;
        flex-wrap: wrap;
    }

    .experience-badge {
        bottom: 10px;
        left: 10px;
        padding: 10px;
    }

    .why-us-content {
        grid-template-columns: 1fr;
    }

    .appointment-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        min-height: 300px;
    }

    .doctor-card {
        flex-direction: column;
    }

    .doctor-img {
        width: 100%;
        height: 0px;
    }

    .doctor-info {
        width: 100%;
    }

    .hero-container {
        display: block;
    }

    .trust-badge {
        display: block;
        justify-content: center;
        text-align: center !important;
        align-items: center;
    }

    .about-preview-content {
        display: block;
    }

    .btn-outline {
        margin-bottom: 20px;
    }

    .doctor-img img {
        width: 100%;
        height: 400px;
        object-fit: cover;
    }

    .floating-whatsapp {
        position: fixed;
        right: 30px;
    }
    .rounded-img{
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 60px;
    }

    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}