/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary: #0057B8;
    --primary-light: #eef5fc;
    --secondary: #00A6FB;
    --secondary-light: #e6f6ff;
    --accent: #10B981;
    --accent-light: #ecfdf5;
    --bg-main: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #475569;
    --white: #FFFFFF;
    --card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    --hover-shadow: 0 20px 40px -5px rgba(0, 87, 184, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-poppins: 'Poppins', sans-serif;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

section {
    scroll-margin-top: 80px; /* Offset for fixed navbar */
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-weight: 400;
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-live {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ==========================================
   BUTTONS & CTAs
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.btn-primary:hover {
    box-shadow: 0 10px 20px -5px rgba(0, 87, 184, 0.4);
    transform: translateY(-2px);
}

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

.btn-accent:hover {
    background: #0e9f6e;
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

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

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

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed; /* position fixed for bulletproof cross-browser sticky behavior */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    color: var(--text-main);
    transition: var(--transition-fast);
}

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

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    padding: 9.5rem 0 6rem; /* increased top padding to account for fixed navbar height */
    background: radial-gradient(circle at 10% 20%, rgba(224, 239, 255, 0.4) 0%, rgba(255, 255, 255, 0.8) 90%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-shape-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 166, 251, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-shape-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 87, 184, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-bullet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-bullet {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.hero-bullet-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
}

/* Glassmorphism Lead Form */
.glass-form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    position: relative;
    z-index: 10;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.15);
}

.btn-form-submit {
    width: 100%;
    padding: 0.875rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 87, 184, 0.2);
    transition: var(--transition-normal);
}

.btn-form-submit:hover {
    box-shadow: 0 10px 20px -5px rgba(0, 87, 184, 0.4);
    transform: translateY(-2px);
}

/* ==========================================
   TRUST BAR
   ========================================== */
.trust-bar {
    background-color: var(--white);
    padding: 2.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.trust-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.counter-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.counter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   WHY CHOOSE US (CARDS)
   ========================================== */
.why-choose-us {
    background-color: var(--white);
}

.feature-card {
    background-color: var(--bg-main);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 87, 184, 0.05);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    background-color: var(--white);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

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

.feature-card h3 {
    margin-bottom: 0.75rem;
}

/* ==========================================
   SYMPTOMS GRID
   ========================================== */
.symptom-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-bottom: 4px solid transparent;
}

.symptom-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-bottom-color: var(--secondary);
}

.symptom-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: var(--secondary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 2rem;
}

.symptom-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ==========================================
   TREATMENT PROCESS (TIMELINE)
   ========================================== */
.process-section {
    background-color: var(--white);
    overflow: hidden;
}

.timeline-container {
    position: relative;
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.timeline-line {
    position: absolute;
    top: 35px;
    left: 5%;
    right: 5%;
    height: 4px;
    background: #E2E8F0;
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 35px;
    left: 5%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 2;
    width: 0%;
    transition: width 1.5s ease-in-out;
}

.timeline-step {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 1rem;
}

.timeline-node {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid #E2E8F0;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.timeline-step.active .timeline-node {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 0 15px rgba(0, 87, 184, 0.4);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

/* ==========================================
   DOCTOR CAROUSEL
   ========================================== */
.doctor-section {
    padding-bottom: 8rem;
}

.doctor-slider {
    padding: 2rem 0 4rem;
    overflow: hidden;
}

.doctor-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    width: 100%;
    max-width: 320px;
    min-width: 260px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}
.doctor-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background-color: #f1f5f9;
}
.doctor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}
.doctor-card:hover .doctor-img-wrapper img {
    transform: scale(1.05);
}
.doctor-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.doctor-name {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}
.doctor-qual {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}
.doctor-meta {
    margin-top: auto;
    border-top: 1px solid #E2E8F0;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}
.doctor-meta span {
    font-weight: 500;
}
.doctor-info .btn {
    margin-top: 1.5rem;
    width: 100%;
}
.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}
/* Responsive adjustments for instructor cards */
@media (max-width: 480px) {
    .doctor-card {
        max-width: 100%;
        min-width: auto;
        margin: 0;
    }
    .doctor-name {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .swiper-slide {
        flex-basis: 100%;
        padding: 0.5rem;
    }
}

/* ==========================================
   COMPARISON TABLE
   ========================================== */
.comparison-section {
    background-color: var(--white);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    background: var(--white);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comp-table th, .comp-table td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #F1F5F9;
}

.comp-table th {
    background-color: #F8FAFC;
    font-weight: 700;
    font-size: 1.125rem;
}

.comp-table th:first-child {
    border-top-left-radius: 20px;
}

.comp-table th:last-child {
    border-top-right-radius: 20px;
}

.comp-table td:first-child {
    font-weight: 600;
}

.comp-table td.highlight {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}

.check-icon {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
}

.cross-icon {
    color: #EF4444;
    font-size: 1.5rem;
    font-weight: bold;
}

/* ==========================================
   TREATMENTS
   ========================================== */
.treatment-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.treatment-img {
    height: 200px;
    background-color: #E2E8F0;
    position: relative;
    overflow: hidden;
}

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

.treatment-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.treatment-info h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.treatment-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.treatment-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
}

.treatment-benefits li svg {
    color: var(--accent);
    flex-shrink: 0;
}

.treatment-info .btn {
    margin-top: auto;
    width: 100%;
}

/* ==========================================
   VIDEO TESTIMONIALS
   ========================================== */
.video-section {
    background-color: var(--white);
}

.video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--card-shadow);
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition-normal);
}

.play-btn svg {
    margin-left: 5px; /* offset to center triangle visual */
}

.video-card:hover .play-btn {
    background-color: var(--primary);
    color: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    color: var(--white);
    font-weight: 600;
    font-size: 1.125rem;
}

/* ==========================================
   SUCCESS STORIES (BEFORE/AFTER CARDS)
   ========================================== */
.success-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 87, 184, 0.05);
}

.success-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.success-header h3 {
    font-size: 1.25rem;
}

.success-body {
    padding: 2.5rem 2rem;
}

.success-stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px dashed #E2E8F0;
    padding-bottom: 1.25rem;
}

.success-stat-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.stat-col {
    flex: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.stat-value.before {
    color: #EF4444;
}

.stat-value.after {
    color: var(--accent);
}

.stat-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* ==========================================
   INSURANCE PARTNERS
   ========================================== */
.insurance-section {
    background-color: var(--white);
    overflow: hidden;
    padding: 4rem 0;
}

.marquee-container {
    overflow: hidden;
    user-select: none;
    display: flex;
    gap: 3rem;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 3rem;
    animation: scroll-marquee 25s linear infinite;
}

.marquee-item {
    font-weight: 700;
    font-size: 1.5rem;
    color: #94A3B8;
    white-space: nowrap;
    padding: 1rem 2rem;
    background-color: #F8FAFC;
    border-radius: 12px;
}

@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ==========================================
   FAQS SECTION
   ========================================== */
.faq-section {
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-main);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 87, 184, 0.05);
    transition: var(--transition-normal);
}

.faq-header {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition-fast);
}

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

.faq-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

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

.faq-header.active .faq-icon-box {
    background-color: var(--primary);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
}

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    overflow: hidden;
}

.cta-banner h2 {
    color: var(--white);
    text-align: left;
    margin-bottom: 1.5rem;
}

.cta-banner h2::after {
    display: none;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-banner .btn-container {
    display: flex;
    gap: 1.5rem;
}

.cta-banner .btn-accent {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.cta-banner .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

.cta-doctor-img {
    position: absolute;
    bottom: -50px;
    right: 5%;
    width: 450px;
    z-index: 2;
    opacity: 0.85;
    pointer-events: none;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: #0F172A;
    color: #94A3B8;
    padding: 6rem 0 3rem;
    font-size: 0.9375rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-info svg {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

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

.footer-bottom {
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

/* ==========================================
   FLOATING & FIXED CTAS
   ========================================== */
/* Desktop Floating CTA Box */
.floating-cta-desktop {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 999;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 87, 184, 0.2);
    padding: 1.5rem;
    max-width: 280px;
    text-align: center;
    border: 1px solid rgba(0, 87, 184, 0.1);
    transform: translateY(150px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.floating-cta-desktop.show {
    transform: translateY(0);
    opacity: 1;
}

.floating-cta-desktop h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.floating-cta-desktop p {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}

.floating-cta-desktop .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

/* Mobile Fixed Bottom Footer CTA */
.mobile-fixed-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}


.mobile-fixed-footer .btn {
    width: 100%;
    padding: 0.625rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: none;
    border-radius: 8px;
    gap: 0.35rem; /* reduce icon gap from default 0.75rem */
}

.mobile-fixed-footer .btn-phone {
    background-color: var(--primary);
    color: var(--white);
}

.mobile-fixed-footer .btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.mobile-fixed-footer .btn-whatsapp:hover {
    background-color: #20BA5A;
}



/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .section-padding {
        padding: 4rem 0;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero {
        padding: 8.5rem 0 4rem; /* increased top padding to account for fixed navbar on tablet viewports */
    }
    .hero-content {
        text-align: center;
    }
    .hero-bullet-grid {
        justify-content: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        gap: 1.5rem;
        text-align: center;
        border-top: 1px solid #E2E8F0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
    .cta-doctor-img {
        display: none;
    }
    .cta-banner h2, .cta-banner p {
        text-align: center;
    }
    .cta-banner .btn-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 75px; /* space for mobile fixed footer */
    }
    .section-padding {
        padding: 3rem 0;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .timeline-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding-left: 2rem;
    }
    .timeline-line {
        top: 0;
        bottom: 0;
        left: 35px;
        width: 4px;
        height: auto;
    }
    .timeline-progress {
        top: 0;
        left: 35px;
        width: 4px;
        height: 0%;
        transition: height 1.5s ease-in-out;
    }
    .timeline-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 0;
    }
    .timeline-node {
        margin-bottom: 0;
        margin-right: 1.5rem;
        flex-shrink: 0;
    }
    .timeline-content {
        align-items: flex-start;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .floating-cta-desktop {
        display: none; /* Hide on mobile since we have bottom bar */
    }
    .mobile-fixed-footer {
        display: grid;
    }
    .glass-form-card {
        padding: 1.5rem;
    }
    .faq-header {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    .faq-content {
        padding: 0 1.5rem 1.25rem;
    }
    .comp-table th, .comp-table td {
        padding: 1rem;
        font-size: 0.875rem;
    }
    .comp-table {
        min-width: 600px;
    }
    .trust-flex {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .navbar .nav-actions a[data-position="navbar_call"] {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-bullet-grid {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .navbar .logo {
        font-size: 1.25rem;
    }
    .navbar .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
    .navbar .nav-actions {
        gap: 0.5rem;
    }
    .navbar .nav-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    .hero {
        padding: 9rem 0 3rem; /* increased top padding for small smartphone screens */
    }
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .cta-banner .btn-container {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    .cta-banner .btn-container .btn {
        width: 100%;
    }
    .success-body {
        padding: 1.5rem 1rem;
    }
    .success-stat-row {
        gap: 0.5rem;
    }
    .stat-value {
        font-size: 1.1rem;
    }
    .stat-arrow {
        padding: 0 0.5rem;
    }
}

@media (max-width: 380px) {
    .mobile-fixed-footer {
        grid-template-columns: 1fr;
        padding: 0.5rem 0.5rem;
        gap: 0.35rem;
    }
    .mobile-fixed-footer .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
        gap: 0.2rem;
    }
    .mobile-fixed-footer .btn svg {
        width: 14px;
        height: 14px;
    }
}
