/* ============================================
   DR. SUMIT AGARWAL - PREMIUM CARDIOLOGY WEBSITE
   ============================================ */

:root {
    --primary: #0A2463;
    --primary-light: #1E3A8A;
    --primary-dark: #061539;
    --accent: #D4AF37;
    --accent-light: #E8C94A;
    --accent-dark: #B8962E;
    --secondary: #1B6CA8;
    --white: #FFFFFF;
    --off-white: #F8F9FC;
    --light-gray: #EEF1F6;
    --gray: #6B7280;
    --dark-gray: #374151;
    --text: #1F2937;
    --text-light: #6B7280;
    --red-emergency: #DC2626;
    --red-light: #FEE2E2;
    --green: #059669;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ BUTTONS ============ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

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

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

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-emergency {
    background: var(--red-emergency);
    color: var(--white);
    animation: pulse-emergency 2s infinite;
    font-size: 0.85rem;
    padding: 10px 20px;
}

@keyframes pulse-emergency {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ============ TOPBAR ============ */

.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 10px 0;
    font-size: 0.85rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left {
    display: flex;
    gap: 25px;
}

.topbar-left a {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-left a:hover { color: var(--accent); }

.topbar-left i { color: var(--accent); font-size: 0.8rem; }

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-right i { color: var(--accent); }

.topbar-social {
    display: flex;
    gap: 10px;
}

.topbar-social a {
    color: rgba(255,255,255,0.7);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.75rem;
}

.topbar-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

/* ============ NAVBAR ============ */

.navbar {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--light-gray);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
}

.logo-text { display: flex; flex-direction: column; }

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--accent-dark);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo-img {
    height: 40px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 6px;
}

.nav-menu {
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-gray);
    border-radius: 8px;
    position: relative;
}

.nav-link i { display: none; }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sidebar-brand,
.sidebar-contact {
    display: none;
}

.mobile-overlay {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ MOBILE SIDEBAR ELEMENTS ============ */

@media (max-width: 768px) {
    .nav-link i { display: inline; }

    .sidebar-brand {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 28px 24px 22px !important;
        background: linear-gradient(135deg, var(--primary-dark), rgba(6, 21, 57, 0.98));
        border-bottom: 1px solid rgba(212, 175, 55, 0.25);
        margin-bottom: 8px;
    }

    .sidebar-logo {
        display: flex;
        align-items: center;
    }

    .sidebar-logo-img {
        height: 40px;
        width: auto;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    .sidebar-close {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        color: rgba(255,255,255,0.7);
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .sidebar-close:hover {
        background: rgba(220, 38, 38, 0.2);
        border-color: rgba(220, 38, 38, 0.3);
        color: #fca5a5;
    }

    .sidebar-contact {
        display: block !important;
        padding: 20px 24px 24px !important;
        margin-top: 12px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .sidebar-contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
        color: rgba(255,255,255,0.6);
        font-size: 0.88rem;
    }

    .sidebar-contact-item i {
        color: var(--accent);
        font-size: 0.85rem;
        width: 18px;
        text-align: center;
    }

    .sidebar-contact-item a {
        color: rgba(255,255,255,0.75);
    }

    .sidebar-contact-item a:hover {
        color: var(--accent-light);
    }

    .sidebar-social {
        display: flex;
        gap: 10px;
        margin-top: 16px;
    }

    .sidebar-social a {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,0.5);
        font-size: 0.85rem;
        transition: var(--transition);
    }

    .sidebar-social a:hover {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--primary-dark);
    }

    .nav-menu::before {
        display: none;
    }
}

/* ============ SECTION COMMON ============ */

.section {
    padding: 100px 0;
}

.section-light { background: var(--off-white); }
.section-dark {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-dark .section-label {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-dark .section-title { color: var(--white); }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-dark .section-subtitle { color: rgba(255,255,255,0.75); }

.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px;
    margin: 20px auto 0;
}

/* ============ HERO SECTION ============ */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
    opacity: 0.5;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: var(--accent);
}

.hero-shape:nth-child(1) {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 40%;
    animation: float 18s ease-in-out infinite 3s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { color: var(--white); }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 22px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    color: var(--accent);
    font-size: 0.85rem;
}

.hero-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
    color: var(--accent);
    position: relative;
}

.hero-degrees {
    font-size: 1rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

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

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-top: 6px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    width: 450px;
    height: 500px;
}

.hero-image-main {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-xl);
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.4);
    padding: 40px;
}

.hero-image-placeholder i {
    font-size: 5rem;
    margin-bottom: 16px;
    color: var(--accent);
    opacity: 0.5;
}

.hero-image-placeholder p {
    font-size: 0.9rem;
}

.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.hero-card-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

.hero-card-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}

.hero-card-1 {
    top: 30px;
    right: -30px;
}

.hero-card-1 .hero-card-icon {
    background: rgba(5, 150, 105, 0.1);
    color: var(--green);
}

.hero-card-2 {
    bottom: 50px;
    left: -30px;
    animation-delay: 3s;
}

.hero-card-2 .hero-card-icon {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-dark);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============ FEATURES STRIP ============ */

.features-strip {
    background: var(--white);
    padding: 30px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.features-strip .container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.08), rgba(27, 108, 168, 0.08));
    color: var(--primary);
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ============ ABOUT SECTION ============ */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--light-gray);
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-exp-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary-dark);
    padding: 24px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-exp-badge .number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

.about-exp-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-label { margin-bottom: 16px; }

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 30px 0;
}

.about-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--dark-gray);
}

.about-highlight i {
    color: var(--accent);
    font-size: 0.85rem;
}

/* ============ SERVICES SECTION ============ */

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.06), rgba(27, 108, 168, 0.06));
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============ WHY CHOOSE US ============ */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.why-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    color: var(--accent-light);
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* ============ CTA SECTION ============ */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

.cta-phone i {
    font-size: 1.2rem;
    color: var(--accent);
}

.cta-phone span {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.cta-phone a {
    color: var(--accent-light);
    font-weight: 700;
    font-size: 1.3rem;
}

.cta-phone a:hover { color: var(--accent); }

/* ============ DOCTORS TEAM ============ */

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

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    text-align: center;
}

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

.doctor-photo {
    height: 280px;
    background: linear-gradient(135deg, var(--light-gray), var(--off-white));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.doctor-photo i { font-size: 4rem; color: var(--primary); opacity: 0.2; }

.doctor-info {
    padding: 24px;
}

.doctor-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.doctor-info .speciality {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.doctor-info .experience {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ============ FEEDBACK FORM ============ */

.feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feedback-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.feedback-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 36, 99, 0.08);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ============ GALLERY ============ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: var(--light-gray);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay p {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
    gap: 10px;
}

.gallery-placeholder i {
    font-size: 2.5rem;
    opacity: 0.3;
}

.gallery-placeholder span {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ============ CONTACT PAGE ============ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-info-card > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 1.1rem;
}

.contact-detail-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-detail-text a:hover { color: var(--accent-light); }

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-social a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.map-section {
    margin-top: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============ PAGE BANNER ============ */

.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
}

.breadcrumb a { color: var(--accent-light); }
.breadcrumb a:hover { color: var(--accent); }

/* ============ ABOUT PAGE SPECIFIC ============ */

.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.about-page-image {
    position: sticky;
    top: 120px;
}

.timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.timeline-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.timeline-item span {
    font-size: 0.85rem;
    color: var(--accent-dark);
    font-weight: 600;
}

.timeline-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 6px;
    line-height: 1.6;
}

/* ============ FOOTER ============ */

.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.footer-logo .logo-name {
    color: var(--white);
    font-size: 1.1rem;
}

.footer-logo .logo-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
}

.footer-about p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-col ul li a::before {
    content: '›';
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 6px;
}

.footer-contact .contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-contact .contact-item i {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 4px;
    min-width: 18px;
}

.footer-contact .contact-item p,
.footer-contact .contact-item a,
.footer-contact .contact-item span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    display: block;
}

.footer-contact .contact-item a:hover { color: var(--accent-light); }

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

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ============ SERVICES PAGE PREMIUM ============ */

.srv-hero {
    padding: 60px 0;
    background: var(--off-white);
}

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

.srv-hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

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

.srv-hero-content .section-title {
    text-align: left;
    font-size: 2.4rem;
}

.srv-hero-content .section-label {
    margin-bottom: 14px;
}

.srv-hero-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 14px;
    font-size: 1.02rem;
}

.srv-hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.srv-stat {
    display: flex;
    align-items: center;
    gap: 14px;
}

.srv-stat-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(10,36,99,0.07), rgba(27,108,168,0.07));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.srv-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-dark);
    line-height: 1.1;
}

.srv-stat span {
    font-size: 0.82rem;
    color: var(--text-light);
}

.srv-category {
    padding: 80px 0;
}

.srv-category:nth-child(even) {
    background: var(--off-white);
}

.srv-category-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
}

.srv-category-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.srv-category-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.srv-category-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 4px;
}

.srv-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.srv-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    display: flex;
    gap: 20px;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.srv-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.srv-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: transparent;
}

.srv-item:hover::after {
    opacity: 1;
}

.srv-item-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: linear-gradient(135deg, rgba(10,36,99,0.06), rgba(27,108,168,0.06));
    color: var(--primary);
    transition: var(--transition);
}

.srv-item:hover .srv-item-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.srv-item h3 {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.srv-item p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

.srv-highlight {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    color: var(--white);
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.srv-highlight::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(212,175,55,0.06);
    border-radius: 50%;
    top: -80px;
    right: -80px;
}

.srv-highlight-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.srv-highlight-content p {
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 0.97rem;
}

.srv-highlight-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.srv-highlight-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
}

.srv-highlight-list li i {
    color: var(--accent);
    font-size: 0.8rem;
}

.srv-highlight-img {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

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

.srv-process {
    padding: 80px 0;
}

.srv-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.srv-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.srv-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 18px;
    position: relative;
    z-index: 2;
}

.srv-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 55px;
    left: calc(50% + 35px);
    width: calc(100% - 70px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.2;
}

.srv-step h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.srv-step p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .srv-hero-grid { grid-template-columns: 1fr; }
    .srv-hero-content .section-title { text-align: center; }
    .srv-hero-content .section-label { display: flex; justify-content: center; }
    .srv-hero-content p { text-align: center; }
    .srv-hero-stats { justify-content: center; }
    .srv-highlight { grid-template-columns: 1fr; padding: 40px 30px; }
    .srv-highlight-img { max-height: 300px; }
}

@media (max-width: 768px) {
    .srv-list { grid-template-columns: 1fr; }
    .srv-process-grid { grid-template-columns: repeat(2, 1fr); }
    .srv-step:not(:last-child)::after { display: none; }
    .srv-highlight-list { grid-template-columns: 1fr; }
    .srv-hero-stats { gap: 20px; }
    .srv-highlight-content h3 { font-size: 1.4rem; }
    .srv-category-header { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .srv-process-grid { grid-template-columns: 1fr; }
    .srv-hero-stats { flex-direction: column; align-items: center; }
}

/* ============ WHATSAPP & SCROLL TOP ============ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

/* ============ ANIMATIONS ON SCROLL ============ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-image { order: 0; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image-wrapper { width: 350px; height: 400px; }

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

    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-content .section-title { text-align: center; }
    .about-content .section-label { display: flex; justify-content: center; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .doctors-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .about-page-grid { grid-template-columns: 1fr; }
    .about-page-image { position: static; }
}

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

    .navbar .container { padding: 0 16px; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 380px;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
        flex-direction: column;
        padding: 0;
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        gap: 0;
        overflow-y: auto;
    }

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

    .nav-menu::before {
        content: '';
        display: block;
        padding: 36px 28px 24px;
        background: linear-gradient(135deg, var(--primary-dark), rgba(10, 36, 99, 0.95));
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-menu li { padding: 0 20px; }

    .nav-link {
        padding: 16px 12px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        border-radius: 0;
        color: rgba(255,255,255,0.8) !important;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 10px;
        letter-spacing: 0.3px;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent-light) !important;
        background: rgba(255,255,255,0.05);
        padding-left: 18px;
    }

    .nav-link::after { display: none !important; }

    .nav-link.active {
        border-left: 3px solid var(--accent);
    }

    .nav-actions {
        position: fixed;
        bottom: 0;
        right: -100%;
        width: 82%;
        max-width: 380px;
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 20px 24px 28px;
        background: linear-gradient(0deg, var(--primary-dark) 60%, rgba(6, 21, 57, 0.95));
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        z-index: 1001;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-actions.active {
        right: 0;
    }

    .nav-actions .btn {
        justify-content: center;
        width: 100%;
        padding: 14px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .nav-actions .btn-emergency {
        background: rgba(220, 38, 38, 0.15);
        border: 1px solid rgba(220, 38, 38, 0.3);
        color: #fca5a5;
        animation: none;
    }

    .nav-actions .btn-primary {
        background: linear-gradient(135deg, var(--accent), var(--accent-dark));
        color: var(--primary-dark);
    }

    .nav-toggle { display: flex; }

    .section { padding: 70px 0; }
    .section-title { font-size: 2rem; }

    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-title { font-size: 2.4rem; }
    .hero-image-wrapper { width: 280px; height: 320px; }
    .hero-card { display: none; }
    .hero-stats { gap: 24px; }
    .hero-stat-number { font-size: 1.8rem; }

    .features-strip { margin-top: -30px; }
    .features-strip .container {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 20px;
    }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .doctors-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .feedback-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .page-banner { padding: 100px 0 60px; }
    .page-banner h1 { font-size: 2.2rem; }

    .about-exp-badge { right: 10px; bottom: 10px; padding: 18px 24px; }
    .about-exp-badge .number { font-size: 2rem; }

    .contact-info-card,
    .contact-form-card { padding: 36px 24px; }

    .cta-content h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .about-highlights { grid-template-columns: 1fr; }
    .section-title { font-size: 1.7rem; }
}
