/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
    --primary: #0a2540;
    --primary-light: #163654;
    --primary-dark: #041220;
    
    --accent: #cfa347; /* Champagne/Metallic Gold */
    --accent-light: #dfb65a;
    --accent-dark: #aa812f;
    
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    
    --bg-light: #f5f8fa;
    --bg-white: #ffffff;
    --bg-dark: #061524;
    
    --text-main: #2c3e50;
    --text-muted: #627588;
    --text-white: #ffffff;
    
    --border-color: #e1e8ed;
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-quick: all 0.2s ease;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(10, 37, 64, 0.08), 0 4px 6px -2px rgba(10, 37, 64, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(10, 37, 64, 0.12), 0 10px 10px -5px rgba(10, 37, 64, 0.04);
    --shadow-hover: 0 25px 40px -10px rgba(10, 37, 64, 0.18);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* ==========================================================================
   BASE STYLES & OVERRIDES
   ========================================================================== */
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--primary);
}

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

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

/* Custom Overrides for Bootstrap Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-weight: 600;
    border-radius: 50px !important;
    border: 2px solid transparent !important;
    cursor: pointer;
    transition: var(--transition-smooth) !important;
    box-shadow: none;
}

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

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

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

.btn-outline:hover {
    background-color: var(--primary) !important;
    color: var(--text-white) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md) !important;
}

.btn-accent {
    background-color: var(--accent) !important;
    color: var(--primary-dark) !important;
}

.btn-accent:hover {
    background-color: var(--accent-light) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md) !important;
}

/* ==========================================================================
   TOP INFO BAR & HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

/* Logo */
.logo-dr {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-surname {
    color: var(--accent);
    font-weight: 800;
}

.logo-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: -2px;
}

/* Navigation Links */
.main-nav ul {
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.btn-appointment-nav {
    background-color: var(--primary);
    color: var(--text-white) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 50px;
    font-weight: 600;
}

.btn-appointment-nav::after {
    display: none;
}

.btn-appointment-nav:hover {
    background-color: var(--accent);
    color: var(--primary-dark) !important;
    transform: scale(1.05);
}

/* Responsive Menu Button */
.nav-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

/* Open state for toggle */
.nav-toggle.open .hamburger {
    background: transparent;
}

.nav-toggle.open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(245,248,250,1) 0%, rgba(255,255,255,1) 100%);
}

.badge-credential {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(207, 163, 71, 0.12);
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gold-star {
    color: var(--accent);
}

.hero-badge-item {
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-light);
}

.hero-badge-item i {
    color: var(--accent);
}

/* Hero Image */
.hero-image-container {
    position: relative;
}

.hero-image-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 400px;
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    background: linear-gradient(135deg, rgba(207,163,71,0.2) 0%, rgba(10,37,64,0.15) 100%);
    z-index: 1;
    animation: blobMorph 12s ease-in-out infinite alternate;
}

.hero-img {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
    max-width: 80%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-img:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: var(--shadow-hover);
}

@keyframes blobMorph {
    0% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
    50% { border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%; }
    100% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
    background-color: var(--primary);
    color: var(--text-white);
    position: relative;
    z-index: 3;
}

.stat-number {
    font-family: var(--font-title);
    color: var(--accent-light);
}

.stat-label {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   SECTION HEADER COMMON
   ========================================================================== */
.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 0.75rem;
    display: block;
}

.header-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    background-color: var(--bg-white);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-item.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
    transition: var(--transition-quick);
}

.accordion-header i.fa-solid {
    color: var(--accent);
}

.accordion-header .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
    color: var(--accent-dark);
}

.accordion-item.active .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 250px;
    padding-bottom: 1.25rem;
}

.accordion-content ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.accordion-content ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Visuals */
.visuals-card {
    background-color: var(--bg-light);
    border-left: 5px solid var(--accent);
    padding: 1.5rem 1.75rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.visuals-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-white);
}

.visual-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.visuals-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.visuals-card p {
    font-size: 0.88rem;
}

/* ==========================================================================
   TREATMENTS SECTION
   ========================================================================== */
.tab-btn {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.75rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-muted);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.tab-btn.active i {
    color: var(--accent-light);
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Treatment Card */
.treatment-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

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

.treatment-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.treatment-card h3 {
    color: var(--primary-dark);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.treatment-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.treatment-bullets li {
    font-size: 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style-type: none;
}

.treatment-bullets li i {
    color: var(--accent);
    font-size: 0.75rem;
}

.btn-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-light);
    border: none;
    background: none;
    cursor: pointer;
}

.btn-card i {
    transition: transform 0.2s ease;
}

.btn-card:hover {
    color: var(--accent);
}

.btn-card:hover i {
    transform: translateX(4px);
}

/* ==========================================================================
   BMI CALCULATOR SECTION
   ========================================================================== */
.bmi-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.color-box {
    width: 28px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}

.color-box.underweight { background-color: #3498db; }
.color-box.normal { background-color: #2ecc71; }
.color-box.overweight { background-color: #f1c40f; }
.color-box.obesity-1 { background-color: #e67e22; }
.color-box.obesity-2 { background-color: #e74c3c; }
.color-box.obesity-3 { background-color: #9b59b6; }

/* Calculator Box */
.bmi-calculator-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.bmi-form label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Overriding Bootstrap Form Elements for premium feel */
.form-control, .form-select {
    padding: 0.85rem 1.25rem !important;
    border: 1px solid var(--border-color) !important;
    background-color: var(--bg-white) !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
    color: var(--text-main) !important;
    box-shadow: none !important;
    transition: var(--transition-quick) !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(207, 163, 71, 0.15) !important;
}

/* Result Display */
.bmi-result-display {
    border-top: 1px dashed var(--border-color);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s forwards;
}

.bmi-result-display.hidden {
    display: none;
}

/* Gauge Bar */
.bmi-gauge-container {
    width: 100%;
    margin: 1.5rem 0;
    position: relative;
}

.bmi-gauge-bar {
    height: 18px;
    border-radius: 10px;
    background: linear-gradient(to right, 
        #3498db 0%, #3498db 15%, 
        #2ecc71 15%, #2ecc71 35%, 
        #f1c40f 35%, #f1c40f 50%, 
        #e67e22 50%, #e67e22 65%, 
        #e74c3c 65%, #e74c3c 80%, 
        #9b59b6 80%, #9b59b6 100%
    );
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.bmi-gauge-pointer {
    width: 16px;
    height: 16px;
    background-color: var(--primary-dark);
    border: 3px solid var(--bg-white);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-sm);
    transition: left 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.score-label {
    font-size: 1rem;
    color: var(--text-muted);
}

#bmiScore {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--primary-dark);
}

.category-title {
    font-size: 1.4rem;
}

.advice-text {
    font-size: 0.92rem;
    max-width: 450px;
    margin: 0 auto;
}

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

/* Category specific colors for BMI title */
.category-underweight { color: #3498db !important; }
.category-normal { color: #2ecc71 !important; }
.category-overweight { color: #f1c40f !important; }
.category-obesity-1 { color: #e67e22 !important; }
.category-obesity-2 { color: #e74c3c !important; }
.category-obesity-3 { color: #9b59b6 !important; }

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonial-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.quote-icon {
    font-size: 2.2rem;
    color: rgba(207, 163, 71, 0.15);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.patient-info {
    border-top: 1px solid var(--border-color);
}

.patient-achievement {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-dark);
    display: block;
    margin-top: 0.15rem;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    transition: var(--transition-quick);
}

.faq-icon {
    font-size: 0.85rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

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

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    font-size: 0.92rem;
}

/* ==========================================================================
   BOOKING SECTION & CONTACT
   ========================================================================== */
.booking-section {
    position: relative;
    overflow: hidden;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-icon {
    font-size: 1.35rem;
    color: var(--accent-light);
    background-color: rgba(255, 255, 255, 0.08);
    padding: 0.85rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Booking Form Box */
.booking-form-container {
    background-color: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.appointment-form label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium dark inputs for booking form */
.booking-form-container .form-control, .booking-form-container .form-select {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-white) !important;
}

.booking-form-container .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.booking-form-container select option {
    background-color: var(--primary-dark);
    color: var(--text-white);
}

.booking-form-container .form-control:focus, .booking-form-container .form-select:focus {
    border-color: var(--accent) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(207, 163, 71, 0.25) !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.05);
    font-size: 1.05rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

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

.footer-links ul {
    list-style: none;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
}

.disclaimer-text {
    font-size: 0.75rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background-color: var(--whatsapp);
    color: var(--text-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(18, 140, 126, 0.5);
    color: var(--text-white);
}

.whatsapp-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: #e74c3c;
    color: var(--text-white);
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--primary-dark);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--primary-dark);
}

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

@keyframes pulseWhatsapp {
    0% { transform: scale(1); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6); }
    100% { transform: scale(1); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
}

/* ==========================================================================
   SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991.98px) {
    /* Header menu mobile drawer style */
    .main-nav {
        position: fixed;
        top: 72px; /* Header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        z-index: 999;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        padding: 3rem 2rem;
        overflow-y: auto;
    }
    
    .main-nav.open {
        left: 0;
    }
    
    .main-nav ul {
        gap: 1rem !important;
        width: 100%;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.75rem;
    }

    .main-nav ul li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }
    
    .btn-appointment-nav {
        display: inline-block;
        width: auto;
        text-align: center;
        margin-top: 0.5rem;
        margin-left: 0 !important;
    }
    
    .nav-toggle:focus {
        outline: none !important;
        box-shadow: none !important;
    }
    
    /* Hero adjustments */
    .hero-image-bg {
        max-width: 300px;
        max-height: 300px;
    }
    
    .hero-img {
        max-width: 75%;
    }
}

@media (max-width: 767.98px) {
    /* Hide top-bar info on mobile screens to save vertical space */
    .top-bar {
        display: none;
    }
    
    .main-header {
        top: 0;
    }
    
    .hero-img {
        max-width: 80%;
    }
    
    .bmi-calculator-box, .booking-form-container {
        padding: 1.75rem 1.25rem;
    }
    
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
        font-size: 1.9rem;
    }
}

@media (max-width: 380px) {
    .logo-sub {
        display: none !important;
    }
    .logo-dr {
        font-size: 1.15rem !important;
    }
    .logo img {
        height: 38px !important;
    }
}
