/* ==========================================================================
   MEDIASIA CLINIC - STYLE SHEET (2025)
   Modern, elegant, glassmorphic design utilizing colors from the official logo.
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Logo-extracted Color System */
    --pine-green: #0A352F;          /* Primary medical forest green */
    --pine-green-light: #164D46;    /* Lighter variant for hovers */
    --pine-green-soft: #E6EEEC;     /* Light tinted background */
    --sunset-orange: #E67E22;       /* Warm orange brand accent */
    --sunset-orange-hover: #D35400; /* Darker orange for active states */
    --mint-teal: #1ABC9C;           /* Fresh clinical mint green */
    --mint-teal-light: #D1F2EB;     /* Soft teal background tint */
    --sky-blue: #2980B9;            /* Secure medical blue */
    --warm-beige: #FAF8F5;          /* Background color matching oak render */
    
    /* Neutral Palette */
    --text-primary: #2C3E50;        /* Slate dark gray for text */
    --text-secondary: #5D6D7E;      /* Muted gray for description */
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(10, 53, 47, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(10, 53, 47, 0.08);
    --shadow-lg: 0 20px 40px -4px rgba(10, 53, 47, 0.12);
    --shadow-glow: 0 0 15px rgba(26, 188, 156, 0.4);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Borders */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* --- Bilingual Language Switching Logic --- */
body.lang-es [data-lang-zh] {
    display: none !important;
}
body.lang-zh [data-lang-es] {
    display: none !important;
}

/* --- Chinese Typography Enhancements (Clean & Readable) --- */
body.lang-zh {
    font-family: 'Outfit', 'Noto Sans SC', 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.75;
}

body.lang-zh h1,
body.lang-zh h2,
body.lang-zh h3,
body.lang-zh h4,
body.lang-zh h5 {
    font-weight: 500;
    letter-spacing: 0.04em;
}

body.lang-zh p,
body.lang-zh .doctor-description {
    font-weight: 300;
}

body.lang-zh .brand-name {
    font-weight: 700;
}

body.lang-zh .btn {
    font-weight: 500;
}

body.lang-zh .service-bullets li,
body.lang-zh .credential-item span {
    font-weight: 400;
}

/* --- Base & Reset Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Outfit', 'Noto Sans SC', sans-serif;
    background-color: var(--warm-beige);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--warm-beige);
}
::-webkit-scrollbar-thumb {
    background: var(--pine-green-light);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--mint-teal);
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5 {
    color: var(--pine-green);
    font-weight: 500;
    line-height: 1.25;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }

/* --- Top Info Bar --- */
.top-bar {
    background-color: var(--pine-green);
    color: var(--bg-white);
    padding: 8px 0;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 2px solid var(--mint-teal);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info-quick {
    display: flex;
    gap: 20px;
}

.contact-info-quick a {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.contact-info-quick a:hover {
    color: var(--mint-teal);
    opacity: 1;
}

.lang-selector-wrapper {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background-color: var(--mint-teal);
    border-color: var(--mint-teal);
    transform: translateY(-1px);
}

/* --- Header & Navigation --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

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

.logo-img {
    height: 52px;
    width: auto;
}

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--pine-green);
}

.brand-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: -3px;
}

.nav-menu ul {
    display: flex;
    gap: 28px;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--mint-teal);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

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

.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--pine-green);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(26, 188, 156, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(230, 126, 34, 0.06) 0%, transparent 50%),
                var(--bg-white);
    padding: 100px 0 120px 0;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/entrada_clinica.jpg');
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    opacity: 0.15;
    filter: blur(3.5px) saturate(0.9);
    pointer-events: none;
    z-index: 0;
}

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

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background-color: var(--pine-green-soft);
    color: var(--pine-green);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(10, 53, 47, 0.1);
}

.badge-accent {
    background-color: var(--mint-teal-light);
    color: #0E6251;
}

.hero-text-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-text-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background-color: var(--pine-green);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(10, 53, 47, 0.25);
}

.btn-primary:hover {
    background-color: var(--pine-green-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 53, 47, 0.35);
}

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

.btn-secondary:hover {
    background-color: var(--pine-green-soft);
    transform: translateY(-3px);
}

.btn-whatsapp-action {
    background-color: #25D366;
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-action:hover {
    background-color: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- Hero Features Grid --- */
.hero-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(5px);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateX(-8px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 188, 156, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--pine-green-soft);
    color: var(--pine-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.feature-card h3 {
    font-size: 1.15rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Section Formatting --- */
.services-section, 
.doctor-section, 
.location-section, 
.contact-section-wrapper {
    padding: 100px 0;
}

.section-title-wrapper {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: var(--sunset-orange);
    margin: 0 auto 20px auto;
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 53, 47, 0.15);
}

.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.service-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(10, 53, 47, 0.85);
    color: var(--bg-white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}

.service-info {
    padding: 28px;
}

.service-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-info p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.service-bullets li {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-bullets li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--mint-teal);
}
/* --- Doctor Section --- */
.doctor-section {
    background-color: var(--pine-green-soft);
    position: relative;
}

.doctor-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.doctor-container-centered {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.doctor-text-block-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.doctor-text-block-centered .doctor-credentials-list {
    align-items: center;
    margin-top: 24px;
}

.doctor-text-block-centered .accent-line {
    margin: 16px auto 24px auto;
}

.doctor-img-block {
    display: flex;
    justify-content: center;
}

.doctor-photo-frame {
    position: relative;
    padding-bottom: 20px;
}

.doctor-photo-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 3px solid var(--sunset-orange);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.doctor-photo {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background-color: var(--pine-green);
    color: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--mint-teal);
}

.experience-badge .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--mint-teal);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 4px;
    white-space: nowrap;
}

.doctor-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sub-heading {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sunset-orange);
    margin-bottom: 10px;
}

.doctor-text-block h2 {
    font-size: 2.8rem;
    margin-bottom: 5px;
}

.doctor-specialty {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.accent-line {
    width: 50px;
    height: 4px;
    background-color: var(--mint-teal);
    margin: 16px 0 24px 0;
    border-radius: var(--radius-full);
}

.doctor-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.doctor-credentials-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    font-size: 0.95rem;
}

.credential-item i {
    color: var(--pine-green);
    font-size: 1.1rem;
}

/* --- Location & Route Navigation Section --- */
.location-card-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.location-info-side {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.loc-item {
    display: flex;
    gap: 16px;
}

.loc-icon {
    width: 44px;
    height: 44px;
    background-color: var(--pine-green-soft);
    color: var(--pine-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.loc-text h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

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

.routing-actions {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 10px;
}

.routing-actions h5 {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.route-buttons {
    display: flex;
    gap: 14px;
}

.route-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bg-white);
    transition: var(--transition-normal);
}

.google-maps-btn {
    background-color: #4285F4;
}

.google-maps-btn:hover {
    background-color: #357AE8;
    transform: translateY(-2px);
}

.waze-btn {
    background-color: #33CCFF;
}

.waze-btn:hover {
    background-color: #15B8EC;
    transform: translateY(-2px);
}

.location-map-side {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.map-link-container {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.stylized-svg-map {
    width: 100%;
    height: 100%;
}

.stylized-svg-map svg {
    display: block;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 53, 46, 0.05);
    z-index: 10;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-pin {
    color: var(--sunset-orange);
    font-size: 3rem;
    animation: bouncePin 2s infinite ease-in-out;
}

.map-tooltip {
    background-color: var(--pine-green);
    color: var(--bg-white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin-top: 10px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: var(--transition-normal);
    transform: scale(0.95);
}

.map-tooltip strong {
    font-size: 0.95rem;
}

.map-tooltip span {
    font-size: 0.72rem;
    color: var(--mint-teal);
}

.map-link-container:hover .map-overlay {
    background-color: rgba(11, 53, 46, 0.15);
}

.map-link-container:hover .map-tooltip {
    transform: scale(1.05);
    background-color: var(--pine-green-light);
}

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

/* --- Contact & Booking Layout --- */
.contact-section-wrapper {
    background-color: var(--bg-white);
}

.contact-container-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: start;
}

.contact-form-card {
    background-color: var(--warm-beige);
    border: 1px solid var(--border-color);
    padding: 44px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card-line {
    width: 40px;
    height: 3px;
    background-color: var(--mint-teal);
    margin: 12px 0 20px 0;
    border-radius: var(--radius-full);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--pine-green);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--mint-teal);
    box-shadow: var(--shadow-glow);
}

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

.btn-form-submit {
    border: none;
    margin-top: 10px;
}

/* --- WhatsApp QR Booking Card --- */
.whatsapp-booking-card {
    background: linear-gradient(135deg, var(--pine-green) 0%, #031D19 100%);
    color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.whatsapp-booking-card h3 {
    color: var(--bg-white);
}

.whatsapp-booking-card p {
    color: var(--bg-white);
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.qr-container {
    background-color: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius-lg);
    align-self: center;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

.qr-container:hover {
    transform: scale(1.05) rotate(1deg);
}

.whatsapp-qr-img {
    width: 200px;
    height: auto;
    border-radius: var(--radius-sm);
}

.action-block {
    width: 100%;
}

.action-block .btn-whatsapp-action {
    width: 100%;
}

/* --- Footer --- */
.main-footer {
    background-color: #031412;
    color: var(--bg-white);
    padding: 80px 0 0 0;
    border-top: 4px solid var(--sunset-orange);
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.7;
    max-width: 320px;
}

.footer-contact h4, 
.footer-links-section h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-contact h4::after, 
.footer-links-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--mint-teal);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-links li {
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    opacity: 0.85;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--mint-teal);
    transform: translateX(4px);
}

.footer-bottom {
    background-color: #020C0A;
    padding: 24px 0;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* --- Fixed Floating WhatsApp Button --- */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-normal);
}

.floating-whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulseWhatsapp 2s infinite;
    z-index: -1;
}

.floating-whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: scale(1.1) rotate(10deg);
}

.floating-tooltip {
    position: absolute;
    right: 76px;
    background-color: var(--pine-green);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-normal);
    pointer-events: none;
    white-space: nowrap;
    border-left: 3px solid var(--mint-teal);
}

.floating-whatsapp-btn:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulseWhatsapp {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Glassmorphic Success Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 20, 18, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: translateY(30px);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3.5rem;
    color: var(--mint-teal);
    margin-bottom: 20px;
    animation: scaleCheck 0.5s ease-out;
}

.modal-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.modal-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.modal-card button {
    width: 100%;
}

@keyframes scaleCheck {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   MEDIA QUERIES (Responsive Design)
   ========================================================================== */

/* --- Tablet / Large Mobile (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text-content {
        align-items: center;
    }
    
    .hero-text-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .doctor-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .doctor-img-block {
        order: 1;
    }
    
    .doctor-text-block {
        order: 2;
        align-items: center;
        text-align: center;
    }
    
    .doctor-credentials-list {
        align-items: center;
    }
    
    .location-card {
        grid-template-columns: 1fr;
    }
    
    .location-info-side {
        padding: 40px;
    }
    
    .location-map-side {
        height: 350px;
        min-height: auto;
    }
    
    .contact-container-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .header-container {
        height: 70px;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 44px;
    }
    
    /* Mobile Menu Drawer style */
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 108px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 108px);
        background-color: var(--bg-white);
        padding: 40px 24px;
        transition: var(--transition-normal);
        box-shadow: 0 15px 15px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-menu a {
        font-size: 1.15rem;
    }
    
    .hero-text-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .doctor-text-block h2 {
        font-size: 2.2rem;
    }
    
    .doctor-photo {
        width: 290px;
        height: 290px;
    }
    
    .experience-badge {
        right: 0px;
        bottom: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-card, 
    .whatsapp-booking-card {
        padding: 24px;
    }
    
    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .floating-whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .floating-tooltip {
        display: none !important;
    }
}
