/* ========================================
   Goel's Dental Clinic - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #2A7DE1;
    --primary-dark: #1E6BC7;
    --dark-text: #1B2B40;
    --accent: #20C4A1;
    --background: #F7FAFC;
    --white: #ffffff;
    --gray-light: #E8ECF0;
    --shadow-sm: 0 2px 8px rgba(27, 43, 64, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 43, 64, 0.12);
    --shadow-lg: 0 8px 30px rgba(27, 43, 64, 0.15);
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ========================================
       GLOBAL SPACING SYSTEM
       ======================================== */
    --section-padding-desktop: 100px;
    --section-padding-tablet: 80px;
    --section-padding-mobile: 60px;
    --section-padding-small: 50px;
    
    --container-max-width: 1280px;
    --container-padding: 24px;
    --container-padding-tablet: 20px;
    --container-padding-mobile: 16px;
}

/* ========================================
   GLOBAL UTILITY CLASSES
   ======================================== */

/* Global Container - Consistent width and padding across all sections */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Global Section Spacing - Consistent vertical padding */
.section-spacing {
    padding: var(--section-padding-desktop) 0;
}

/* ========================================
   Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--dark-text);
    line-height: 1.6;
}

/* ========================================
   MOTION + REVEAL-ON-SCROLL (GLOBAL)
   ======================================== */

/* Single shared reveal system that also overrides per-page auto animations. */
.reveal {
    --reveal-delay: 0s;
    opacity: 0 !important;
    transform: translateY(22px) !important;
    transition:
        opacity 0.7s var(--transition-smooth) var(--reveal-delay),
        transform 0.7s var(--transition-smooth) var(--reveal-delay);
    will-change: opacity, transform;

    /* Disable keyframe-based "play on load" animations used in some pages */
    animation: none !important;
}

.reveal.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Reduce heavy hover motion on touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .location-card:hover,
    .feature-card:hover,
    .service-card:hover {
        transform: none;
    }
}

/* ========================================
   NAVBAR COMPONENT STYLES
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow var(--transition-fast);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}
.logo-icon img {
    width: 30px;
}

.logo:hover .logo-icon {
    transform: rotate(5deg);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: color var(--transition-fast);
}

.logo:hover .logo-text {
    color: var(--primary);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-link {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-text);
    text-decoration: none;
    padding: 8px 0;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(42, 125, 225, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(42, 125, 225, 0.4), 0 0 30px rgba(42, 125, 225, 0.2);
}

.btn-primary:active {
    transform: scale(0.98);
}

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

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

/* Mobile CTA */
.mobile-cta-item {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-text);
    border-radius: 2px;
    transition: all var(--transition-smooth);
    position: absolute;
}

.hamburger-line:nth-child(1) { transform: translateY(-7px); }
.hamburger-line:nth-child(3) { transform: translateY(7px); }

.hamburger.active .hamburger-line:nth-child(1) { transform: translateY(0) rotate(45deg); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .hamburger-line:nth-child(3) { transform: translateY(0) rotate(-45deg); }

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

.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

/* Background gradient blob */
.hero-bg-blob {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(42, 125, 225, 0.08) 0%, rgba(32, 196, 161, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: blobPulse 8s ease-in-out infinite;
}

@keyframes blobPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 35px var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
    height: 100%;
}

/* Hero Content - Left Side */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    max-width: 580px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(42, 125, 225, 0.1);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.1s forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

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

/* Hero Title */
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.9rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.18;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.2s forwards;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Hero Subheading */
.hero-subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 18px;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.3s forwards;
}

/* Hero Description */
.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: rgba(27, 43, 64, 0.75);
    line-height: 1.65;
    margin-bottom: 26px;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.4s forwards;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.5s forwards;
}

.hero-buttons .btn {
    padding: 14px 28px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-buttons .btn svg {
    transition: transform var(--transition-fast);
}

.hero-buttons .btn-primary:hover svg {
    transform: translateX(4px);
}

.hero-buttons .btn-secondary:hover svg {
    animation: bounceLocation 0.6s ease-in-out;
}

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

/* Hero Right Side - Doctor Image + Info */
.hero-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 24px;
    overflow: hidden;
}

/* Soft blob background */
.hero-right .hero-blob {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 125, 225, 0.12) 0%, rgba(32, 196, 161, 0.06) 50%, transparent 70%);
    border-radius: 50%;
    animation: blobPulse 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes blobPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

/* Doctor Image Box */
.doctor-image-box {
    position: relative;
    z-index: 1;
    max-width: 440px;
    width: 100%;
    animation: imageLoad 1s var(--transition-smooth) forwards, imageFloat 6s ease-in-out infinite 1s;
    align-self: center;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.doctor-image-box img {
    width: 100%;
    height: auto;
    max-height: 480px;
    border-radius: 0;
    object-fit: contain;
    object-position: center bottom;
    box-shadow: none;
    filter: drop-shadow(0 22px 40px rgba(27, 43, 64, 0.16)) drop-shadow(0 8px 18px rgba(42, 125, 225, 0.12));
    transition: transform 0.4s var(--transition-smooth), filter 0.4s var(--transition-smooth);
}

.doctor-image-box:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 26px 48px rgba(27, 43, 64, 0.18)) drop-shadow(0 10px 22px rgba(42, 125, 225, 0.14));
}

/* Doctor Info Card */
.doctor-info {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(27, 43, 64, 0.06);
    max-width: 380px;
    width: 100%;
    animation: infoLoad 1s var(--transition-smooth) 0.3s forwards;
}

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

.doctor-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 6px;
}

.doctor-qualification {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 8px;
}

.doctor-experience {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(27, 43, 64, 0.6);
    line-height: 1.5;
}

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

.services {
    background: linear-gradient(180deg, var(--white) 0%, var(--background) 100%);
    position: relative;
}

.services-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.services-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
    animation: fadeInUp 0.6s var(--transition-smooth) forwards;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.services-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(27, 43, 64, 0.7);
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.1s forwards;
}

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

/* Service Card */
.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(27, 43, 64, 0.06);
    transition: all 0.3s var(--transition-smooth);
    animation: cardFadeIn 0.6s var(--transition-smooth) forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Staggered animation delays */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(27, 43, 64, 0.12);
}

/* Service Icon */
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 125, 225, 0.08);
    border-radius: 50%;
    transition: all 0.3s var(--transition-smooth);
}

.service-icon svg {
    color: var(--primary);
    transition: all 0.3s var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.05);
}

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

.service-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

/* Service Name */
.service-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Service Description */
.service-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(27, 43, 64, 0.65);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Services CTA Button */
.services-cta {
    text-align: center;
    margin-top: 60px;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.7s forwards;
}

.services-cta .btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(42, 125, 225, 0.35);
    transition: all 0.3s var(--transition-smooth);
}

.services-cta .btn-lg:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(42, 125, 225, 0.5), 0 0 40px rgba(42, 125, 225, 0.2);
}

.services-cta .btn-lg svg {
    transition: transform 0.3s var(--transition-smooth);
}

.services-cta .btn-lg:hover svg {
    transform: translateX(4px);
}

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

.about-doctor {
    background: var(--white);
    position: relative;
}

.about-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
    animation: fadeInUp 0.6s var(--transition-smooth) forwards;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(27, 43, 64, 0.7);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.1s forwards;
}

/* About Content Grid */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Left Side - Image */
.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 125, 225, 0.1) 0%, rgba(32, 196, 161, 0.06) 50%, transparent 70%);
    border-radius: 50%;
    animation: blobPulse 8s ease-in-out infinite;
    z-index: 0;
}

.about-image {
    position: relative;
    z-index: 1;
    max-width: 480px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(27, 43, 64, 0.12), 0 8px 24px rgba(42, 125, 225, 0.08);
    animation: aboutImageFloat 6s ease-in-out infinite 1s;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    max-height: 600px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s var(--transition-smooth);
}

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

.about-image:hover img {
    transform: scale(1.03);
}

/* Right Side - Text Content */
.about-text {
    animation: slideInRight 0.8s var(--transition-smooth) 0.3s forwards;
}

.about-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: rgba(27, 43, 64, 0.8);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Highlights */
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(42, 125, 225, 0.04);
    border-radius: 12px;
    transition: all 0.3s var(--transition-smooth);
}

.highlight-item:hover {
    background: rgba(42, 125, 225, 0.08);
    transform: translateX(5px);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    flex-shrink: 0;
}

.highlight-icon svg {
    color: var(--white);
}

.highlight-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-text);
}

/* Mission Statement */
.about-mission {
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(42, 125, 225, 0.06) 0%, rgba(32, 196, 161, 0.04) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-mission p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: rgba(27, 43, 64, 0.75);
    line-height: 1.7;
    font-style: italic;
}

/* ========================================
   LOCATIONS SECTION
   ======================================== */

.locations {
    background: var(--white);
}

.locations-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.locations-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
    animation: fadeInUp 0.6s var(--transition-smooth) forwards;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.locations-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(27, 43, 64, 0.7);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.1s forwards;
}

/* Locations Grid */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Location Card */
.location-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(27, 43, 64, 0.08), 0 4px 12px rgba(42, 125, 225, 0.06);
    transition: all 0.3s var(--transition-smooth);
    animation: fadeInUp 0.6s var(--transition-smooth) 0.2s forwards;
}

.location-card:nth-child(2) {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.3s forwards;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(27, 43, 64, 0.12), 0 6px 18px rgba(42, 125, 225, 0.1);
}

/* Location Header */
.location-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(42, 125, 225, 0.08);
}

.location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(42, 125, 225, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.location-icon svg {
    color: var(--primary);
}

.location-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 4px;
}

.location-type {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

/* Location Details */
.location-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(42, 125, 225, 0.06);
    border-radius: 8px;
    flex-shrink: 0;
    color: var(--primary);
}

.detail-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(27, 43, 64, 0.75);
    line-height: 1.5;
    padding-top: 6px;
}

/* Location Actions */
.location-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.location-actions .btn-sm {
    padding: 12px 20px;
    font-size: 0.95rem;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.location-actions .btn-sm:hover {
    transform: scale(1.05);
}

/* ========================================
   APPOINTMENT SECTION
   ======================================== */

.appointment {
    background: linear-gradient(135deg, var(--background) 0%, var(--white) 100%);
}

.appointment-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.appointment-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
    animation: fadeInUp 0.6s var(--transition-smooth) forwards;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.appointment-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(27, 43, 64, 0.7);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.1s forwards;
}

/* Appointment Form Wrapper */
.appointment-form-wrapper {
    /* max-width: 600px; */
    margin: 0 auto;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.2s forwards;
}

.appointment-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(27, 43, 64, 0.08), 0 4px 16px rgba(42, 125, 225, 0.06);
}

.appointment-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* Form Groups */
.form-group {
    margin-bottom: 16px;
}

/* Grid-based forms should rely on grid gap, not extra bottom margin */
.appointment-form-grid .form-group,
.contact-form-grid .form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 8px;
}

/* Form Inputs */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--dark-text);
    background: var(--background);
    border: 2px solid rgba(27, 43, 64, 0.1);
    border-radius: 10px;
    transition: all 0.3s var(--transition-smooth);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(27, 43, 64, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(42, 125, 225, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23274364' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 44px;
}

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

/* Phone input with country selector */
.phone-input-group {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.country-code-select {
    max-width: 140px;
    flex: 0 0 140px;
}

.phone-number-input {
    flex: 1;
}

/* Form status + validation */
.form-status-message {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.5;
    display: none;
}

.form-status-message.show {
    display: block;
}

.form-status-message.success {
    color: #0b6a53;
    background: rgba(32, 196, 161, 0.12);
    border: 1px solid rgba(32, 196, 161, 0.35);
}

.form-status-message.error {
    color: #9f1239;
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.35);
}

.field-error {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #9f1239;
    min-height: 0;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
    border-color: #f43f5e !important;
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.12) !important;
}

/* Full Width Button */
.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-full:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(42, 125, 225, 0.3);
}

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

.why-choose-us {
    background: var(--white);
}

.why-choose-us-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.why-choose-us-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-us-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
    animation: fadeInUp 0.6s var(--transition-smooth) forwards;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.why-choose-us-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(27, 43, 64, 0.7);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.1s forwards;
}

/* Why Choose Us Grid */
.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Feature Card */
.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 8px 30px rgba(27, 43, 64, 0.08), 0 4px 12px rgba(42, 125, 225, 0.06);
    transition: all 0.3s var(--transition-smooth);
    animation: fadeInUp 0.6s var(--transition-smooth) 0.2s forwards;
}

.feature-card:nth-child(2) {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.3s forwards;
}

.feature-card:nth-child(3) {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.4s forwards;
}

.feature-card:nth-child(4) {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.5s forwards;
}

.feature-card:nth-child(5) {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.6s forwards;
}

.feature-card:nth-child(6) {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.7s forwards;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(27, 43, 64, 0.12), 0 6px 18px rgba(42, 125, 225, 0.1);
}

.feature-card:hover .feature-icon {
    color: var(--primary);
    background: rgba(42, 125, 225, 0.1);
}

/* Feature Icon */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(42, 125, 225, 0.06);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--primary);
    transition: all 0.3s var(--transition-smooth);
}

/* Feature Title */
.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
}

/* Feature Description */
.feature-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(27, 43, 64, 0.7);
    line-height: 1.6;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq {
    background: var(--background);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.faq-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
    animation: fadeInUp 0.6s var(--transition-smooth) forwards;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.faq-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(27, 43, 64, 0.7);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.1s forwards;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.2s forwards;
}

/* FAQ Item */
.faq-item {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(27, 43, 64, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: 0 6px 24px rgba(27, 43, 64, 0.1);
}

.faq-item.active {
    box-shadow: 0 8px 30px rgba(42, 125, 225, 0.12);
}

/* FAQ Question */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-text);
    text-align: left;
    transition: all 0.3s var(--transition-smooth);
}

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

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

.faq-question-text {
    flex: 1;
    padding-right: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* FAQ Icon */
.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(42, 125, 225, 0.08);
    border-radius: 8px;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s var(--transition-smooth);
}

.faq-icon svg {
    transition: transform 0.3s var(--transition-smooth);
}

.faq-item.active .faq-icon {
    background: var(--primary);
    color: var(--white);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(27, 43, 64, 0.7);
    line-height: 1.7;
    padding: 0 24px 0;
}

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

.footer {
    background: #1B2B40;
    padding: 80px 0 40px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.6s var(--transition-smooth) forwards;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-doctor {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.footer-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    transition: all 0.3s var(--transition-smooth);
}

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

/* Footer Heading */
.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--transition-smooth);
}

.footer-link:hover {
    color: var(--accent);
}

.footer-link:hover::after {
    width: 100%;
}

/* Footer Locations */
.footer-location {
    margin-bottom: 20px;
}

.location-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 6px;
}

.location-address {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 10px;
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
}

.location-link:hover {
    color: var(--white);
    gap: 8px;
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--accent);
}

.contact-item span {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--accent);
}

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

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    /* Global spacing adjustments */
    .section-spacing {
        padding: var(--section-padding-tablet) 0;
    }
    
    .container {
        padding: 0 var(--container-padding-tablet);
    }
    
    .navbar-container {
        padding: 0 var(--container-padding-tablet);
    }

    .nav-links {
        gap: 28px;
    }

    /* Hero Tablet */
    .hero-container {
        gap: 40px;
        padding: 45px var(--container-padding-tablet);
    }

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

    .hero-subheading {
        font-size: 1.15rem;
    }

    .hero-right .hero-blob {
        width: 380px;
        height: 380px;
    }

    .doctor-image-box {
        max-width: 360px;
    }

    .doctor-image-box img {
        max-height: 400px;
    }

    .doctor-info {
        max-width: 340px;
        padding: 18px 24px;
    }

    .doctor-name {
        font-size: 1.25rem;
    }

    /* Services Tablet */
    .services-title {
        font-size: 2.2rem;
    }

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

    .service-card {
        padding: 35px 25px;
    }

    .services-cta {
        margin-top: 50px;
    }

    .services-cta .btn-lg {
        padding: 14px 36px;
        font-size: 1.05rem;
    }

    /* About Tablet */
    .about-title {
        font-size: 2.2rem;
    }

    .about-content {
        gap: 50px;
    }

    .about-image {
        max-width: 320px;
    }

    .about-blob {
        width: 340px;
        height: 340px;
    }

    .about-intro {
        font-size: 1.1rem;
    }

    /* Locations Tablet */
    .locations-title {
        font-size: 2.2rem;
    }

    .locations-grid {
        gap: 24px;
    }

    .location-card {
        padding: 28px 24px;
    }

    .location-name {
        font-size: 1.25rem;
    }

    /* Appointment Tablet */
    .appointment-title {
        font-size: 2.2rem;
    }

    .appointment-form {
        padding: 32px 28px;
    }

    /* Why Choose Us Tablet */
    .why-choose-us-title {
        font-size: 2.2rem;
    }

    .why-choose-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    /* FAQ Tablet */
    .faq-title {
        font-size: 2.2rem;
    }

    .faq-container {
        padding: 0 var(--container-padding-tablet);
    }

    /* Footer Tablet */
    .footer {
        padding: 60px 0 40px;
    }

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

    .footer-logo {
        font-size: 1.35rem;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* Global spacing adjustments */
    .section-spacing {
        padding: var(--section-padding-mobile) 0;
    }
    
    .container {
        padding: 0 var(--container-padding-mobile);
    }
    
    .navbar-container {
        height: 70px;
        padding: 0 var(--container-padding-mobile);
    }

    .hamburger {
        display: flex;
    }

    .desktop-cta {
        display: none;
    }

    .mobile-cta-item {
        display: block;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(27, 43, 64, 0.1);
    }

    .mobile-cta-item .btn-primary {
        width: 100%;
        padding: 14px 28px;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-smooth);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        text-align: center;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.3s; }

    .nav-link {
        display: block;
        padding: 14px 0;
        font-size: 1.1rem;
        width: 100%;
        border-bottom: 1px solid rgba(27, 43, 64, 0.05);
        text-align: center;
    }

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

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

    .logo-text {
        font-size: 1.1rem;
    }

    /* Hero Mobile */
    .hero {
        padding-top: 70px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px var(--container-padding-mobile);
        gap: 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subheading {
        font-size: 1.1rem;
    }

    .hero-description {
        margin: 20px auto 28px;
    }

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-right {
        order: -1;
        padding: 10px;
        gap: 20px;
    }

    .hero-right .hero-blob {
        width: 300px;
        height: 300px;
        top: 30%;
    }

    .doctor-image-box {
        max-width: 100%;
    }

    .doctor-image-box img {
        max-height: 320px;
    }

    .doctor-info {
        max-width: 100%;
        padding: 16px 20px;
    }

    .doctor-name {
        font-size: 1.2rem;
    }

    .doctor-qualification {
        font-size: 0.9rem;
    }

    /* Services Mobile */
    .services-container {
        padding: 0 var(--container-padding-mobile);
    }

    .services-header {
        margin-bottom: 40px;
    }

    .services-title {
        font-size: 1.8rem;
    }

    .services-subtitle {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 24px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .service-img {
        width: 56px;
        height: 56px;
    }

    .service-icon svg {
        width: 36px;
        height: 36px;
    }

    .service-name {
        font-size: 1.15rem;
    }

    .service-desc {
        font-size: 0.9rem;
    }

    .services-cta {
        margin-top: 40px;
    }

    .services-cta .btn-lg {
        padding: 14px 32px;
        font-size: 1rem;
    }

    /* About Mobile */
    .about-container {
        padding: 0 var(--container-padding-mobile);
    }

    .about-header {
        margin-bottom: 40px;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        order: -1;
    }

    .about-image {
        max-width: 300px;
    }

    .about-blob {
        width: 320px;
        height: 320px;
    }

    .about-image img {
        min-height: 380px;
        max-height: 420px;
    }

    .about-intro {
        font-size: 1rem;
        text-align: center;
    }

    .about-highlights {
        gap: 12px;
    }

    .highlight-item {
        padding: 12px 16px;
    }

    .highlight-text {
        font-size: 0.95rem;
    }

    .about-mission {
        padding: 20px 24px;
        border-radius: 14px;
    }

    .about-mission p {
        font-size: 0.95rem;
    }

    /* Locations Mobile */
    .locations-container {
        padding: 0 var(--container-padding-mobile);
    }

    .locations-header {
        margin-bottom: 40px;
    }

    .locations-title {
        font-size: 1.8rem;
    }

    .locations-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .location-card {
        padding: 28px 24px;
    }

    .location-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .location-name {
        font-size: 1.25rem;
    }

    .location-actions {
        flex-direction: column;
    }

    .location-actions .btn-sm {
        width: 100%;
        min-width: auto;
    }

    /* Appointment Mobile */
    .appointment-container {
        padding: 0 var(--container-padding-mobile);
    }

    .appointment-header {
        margin-bottom: 40px;
    }

    .appointment-title {
        font-size: 1.8rem;
    }

    .appointment-form-wrapper {
        max-width: 100%;
    }

    .appointment-form {
        padding: 28px 24px;
    }

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

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

    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .btn-full {
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* Why Choose Us Mobile */
    .why-choose-us-container {
        padding: 0 var(--container-padding-mobile);
    }

    .why-choose-us-header {
        margin-bottom: 40px;
    }

    .why-choose-us-title {
        font-size: 1.8rem;
    }

    .why-choose-us-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-title {
        font-size: 1.15rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    /* FAQ Mobile */
    .faq-container {
        padding: 0 var(--container-padding-mobile);
    }

    .faq-header {
        margin-bottom: 40px;
    }

    .faq-title {
        font-size: 1.8rem;
    }

    .faq-list {
        gap: 12px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 20px 0;
        font-size: 0.9rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 50px 0 30px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

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

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

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

    .location-link {
        justify-content: center;
    }

    .footer-contact {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    /* Global spacing adjustments */
    .section-spacing {
        padding: var(--section-padding-small) 0;
    }
    
    .navbar-container {
        padding: 0 var(--container-padding-mobile);
    }

    .nav-links {
        padding: 16px 20px;
    }

    .logo-text {
        font-size: 1rem;
    }

    /* Hero Small Mobile */
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subheading {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
    }

    .hero-right .hero-blob {
        width: 240px;
        height: 240px;
    }

    .doctor-info {
        padding: 14px 18px;
        border-radius: 14px;
    }

    .doctor-name {
        font-size: 1.1rem;
    }

    .doctor-qualification {
        font-size: 0.85rem;
    }

    .doctor-experience {
        font-size: 0.8rem;
    }

    .doctor-image-box img {
        border-radius: 14px;
        box-shadow: 0 15px 40px rgba(27, 43, 64, 0.12), 0 6px 12px rgba(42, 125, 225, 0.08);
    }

    /* Services Small Mobile */
    .services-container {
        padding: 0 var(--container-padding-mobile);
    }

    .services-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .service-icon {
        width: 64px;
        height: 64px;
    }

    .service-icon svg {
        width: 32px;
        height: 32px;
    }

    .service-name {
        font-size: 1.1rem;
    }

    .services-cta {
        margin-top: 35px;
    }

    .services-cta .btn-lg {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* About Small Mobile */
    .about-container {
        padding: 0 var(--container-padding-mobile);
    }

    .about-title {
        font-size: 1.6rem;
    }

    .about-image {
        max-width: 260px;
        border-radius: 16px;
    }

    .about-blob {
        width: 280px;
        height: 280px;
    }

    .highlight-icon {
        width: 36px;
        height: 36px;
    }

    .highlight-icon svg {
        width: 20px;
        height: 20px;
    }

    .highlight-text {
        font-size: 0.9rem;
    }

    .about-mission {
        padding: 18px 20px;
        border-radius: 14px;
    }

    /* Locations Small Mobile */
    .locations-container {
        padding: 0 var(--container-padding-mobile);
    }

    .locations-title {
        font-size: 1.6rem;
    }

    .location-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .location-icon {
        width: 48px;
        height: 48px;
    }

    .location-icon svg {
        width: 24px;
        height: 24px;
    }

    .location-name {
        font-size: 1.15rem;
    }

    .detail-text {
        font-size: 0.9rem;
    }

    /* Appointment Small Mobile */
    .appointment-container {
        padding: 0 var(--container-padding-mobile);
    }

    .appointment-title {
        font-size: 1.6rem;
    }

    .appointment-form {
        padding: 24px 20px;
        border-radius: 14px;
    }

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

    .form-label {
        font-size: 0.9rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .form-textarea {
        min-height: 100px;
    }

    .btn-full {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    /* Why Choose Us Small Mobile */
    .why-choose-us-container {
        padding: 0 var(--container-padding-mobile);
    }

    .why-choose-us-title {
        font-size: 1.6rem;
    }

    .feature-card {
        padding: 20px 18px;
        border-radius: 14px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
    }

    .feature-icon svg {
        width: 26px;
        height: 26px;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-description {
        font-size: 0.85rem;
    }

    /* FAQ Small Mobile */
    .faq-container {
        padding: 0 var(--container-padding-mobile);
    }

    .faq-title {
        font-size: 1.6rem;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
    }

    .faq-icon svg {
        width: 16px;
        height: 16px;
    }

    .faq-answer p {
        padding: 0 18px 0;
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* Footer Small Mobile */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-main {
        gap: 32px;
        margin-bottom: 32px;
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-heading {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .footer-link {
        font-size: 0.9rem;
    }

    .location-name {
        font-size: 0.95rem;
    }

    .location-address {
        font-size: 0.85rem;
    }

    .contact-item span {
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.85rem;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }
}

/* Prevent body scroll when menu open */
body.menu-open {
    overflow: hidden;
}
