/* ============================================================
   MedCare Hospital — Custom CSS
   Design: Navy + Teal/Cyan + Gold | Plus Jakarta Sans + Inter
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --navy:        #0A1628;
    --navy-mid:    #0E2044;
    --navy-light:  #132952;
    --teal:        #00B8D9;
    --teal-dark:   #0099B8;
    --teal-light:  #80DBEC;
    --gold:        #F5A623;
    --gold-light:  #F7C97E;
    --white:       #FFFFFF;
    --light:       #F4F8FB;
    --muted:       #6E849B;
    --dark-text:   #0A1628;
    --body-text:   #3A4A5C;
    --border:      rgba(0,184,217,0.18);
    --shadow:      0 8px 40px rgba(10,22,40,0.14);
    --shadow-hover:0 20px 60px rgba(10,22,40,0.22);
    --glass-bg:    rgba(10,22,40,0.72);
    --glass-border:rgba(0,184,217,0.22);
    --radius:      14px;
    --radius-lg:   24px;
    --transition:  all 0.32s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--body-text);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.25;
}

a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dark); }

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

/* ---- Top Bar ---- */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid var(--glass-border);
}
.topbar-info span { color: rgba(255,255,255,0.75); }
.topbar-info i { color: var(--teal); }
.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,184,217,0.15);
    color: var(--teal);
    margin-left: 6px;
    font-size: 12px;
    transition: var(--transition);
}
.topbar-social a:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---- Navigation ---- */
#mainNav {
    background: rgba(10,22,40,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0,0,0,0.18);
    z-index: 1080;
}
#mainNav.scrolled {
    background: rgba(10,22,40,0.99);
    box-shadow: var(--shadow);
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,184,217,0.4);
    flex-shrink: 0;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--white);
    letter-spacing: -0.5px;
}
.brand-sub {
    font-size: 10.5px;
    color: var(--teal-light);
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Nav Links */
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    padding: 22px 14px !important;
    transition: var(--transition);
    position: relative;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transition: transform 0.28s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--teal) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Book Appointment Button */
.btn-appointment {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white) !important;
    border: none;
    padding: 10px 22px !important;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,184,217,0.35);
    white-space: nowrap;
}
.btn-appointment:hover {
    background: linear-gradient(135deg, var(--teal-dark), #007A96);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,184,217,0.5);
    color: var(--white) !important;
}

/* Mega Menu */
.mega-dropdown { position: static !important; }
.mega-menu {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: auto !important;
    border: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--navy) !important;
    padding: 28px 60px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4) !important;
    border-top: 2px solid var(--teal) !important;
    animation: megaFadeIn 0.22s ease;
}
@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mega-title {
    color: var(--teal);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 16px;
}
.mega-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.75) !important;
    font-size: 13.5px;
    font-weight: 500;
    padding: 6px 0;
    transition: var(--transition);
    text-decoration: none;
}
.mega-item i {
    width: 18px;
    color: var(--teal);
    font-size: 13px;
    flex-shrink: 0;
}
.mega-item:hover {
    color: var(--teal) !important;
    padding-left: 6px;
}
.mega-item-all {
    color: var(--gold) !important;
    font-weight: 700;
    margin-top: 8px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/hospital_hero.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10,22,40,0.92) 0%, rgba(0,184,217,0.12) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,184,217,0.15);
    border: 1px solid rgba(0,184,217,0.35);
    color: var(--teal);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero h1 .accent { color: var(--teal); }
.hero-desc {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    max-width: 580px;
    margin-bottom: 40px;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}
.btn-hero-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15.5px;
    box-shadow: 0 8px 30px rgba(0,184,217,0.4);
    transition: var(--transition);
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,184,217,0.5);
    color: var(--white);
}
.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.35);
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}
.btn-hero-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}
.hero-stat {
    text-align: center;
}
.hero-stat .num {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}
.hero-stat .label {
    display: block;
    font-size: 12.5px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Right Card */
.hero-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(20px);
    animation: floatCard 5s ease-in-out infinite;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
.hero-card h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}
.quick-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    margin-bottom: 10px;
}
.quick-link-item:last-child { margin-bottom: 0; }
.quick-link-item i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0,184,217,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 16px;
    flex-shrink: 0;
}
.quick-link-item:hover {
    background: rgba(0,184,217,0.15);
    border-color: var(--teal);
    color: var(--teal);
    transform: translateX(4px);
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--navy); }
.section-light { background: var(--light); }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,184,217,0.1);
    border: 1px solid rgba(0,184,217,0.25);
    color: var(--teal);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 18px;
    line-height: 1.2;
}
.section-title.light { color: var(--white); }
.section-title .accent { color: var(--teal); }
.section-desc {
    font-size: 16.5px;
    color: var(--muted);
    max-width: 600px;
    line-height: 1.8;
}
.section-desc.light { color: rgba(255,255,255,0.7); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
    padding: 0;
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0,184,217,0.08), transparent);
}
.stat-item {
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid rgba(0,184,217,0.15);
    position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0,184,217,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 24px;
    margin: 0 auto 12px;
}
.stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   SPECIALITIES CARDS
   ============================================================ */
.spec-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.07);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.spec-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--teal-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.spec-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--teal);
}
.spec-card:hover::before { transform: scaleX(1); }
.spec-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 18px;
    transition: var(--transition);
}
.spec-card:hover .spec-icon { transform: scale(1.1) rotate(-5deg); }
.spec-card h5 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}
.spec-card p {
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 18px;
    line-height: 1.6;
}
.spec-card .spec-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.spec-card:hover .spec-link { gap: 10px; }

/* ============================================================
   DOCTOR CARDS & PROFILE STYLES
   ============================================================ */
.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(10,22,40,0.06);
}
.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 45px rgba(10,22,40,0.14);
    border-color: var(--teal);
}
.doctor-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 270px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.doctor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}
.doctor-card:hover .doctor-img-wrapper img {
    transform: scale(1.06);
}
.doctor-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10,22,40,0.85) 100%);
    pointer-events: none;
}
.doctor-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gold);
    color: var(--navy);
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(245,166,35,0.35);
    z-index: 2;
}
.doctor-exp-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10,22,40,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0,184,217,0.3);
    color: var(--teal-light);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
}
.doctor-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.doctor-body h5 {
    font-size: 17.5px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark-text);
    line-height: 1.3;
}
.doctor-body h5 a {
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
}
.doctor-body h5 a:hover {
    color: var(--teal);
}
.doctor-specialty {
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}
.doctor-qual {
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 10px;
    line-height: 1.4;
}
.doctor-exp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,184,217,0.08);
    color: var(--teal);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 16px;
}
.doctor-expertise-tag {
    background: rgba(0,184,217,0.07);
    color: var(--body-text);
    border: 1px solid rgba(0,184,217,0.18);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11.5px;
    font-weight: 500;
    display: inline-block;
}
.doctor-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
}
.doctor-actions .btn {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-teal {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border: none;
    color: var(--white) !important;
    box-shadow: 0 4px 14px rgba(0,184,217,0.3);
    transition: var(--transition);
}
.btn-teal:hover {
    background: linear-gradient(135deg, var(--teal-dark), #007A96);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,184,217,0.45);
    color: var(--white) !important;
}
.btn-outline-teal {
    background: transparent;
    border: 1.5px solid var(--teal);
    color: var(--teal) !important;
    transition: var(--transition);
}
.btn-outline-teal:hover {
    background: var(--teal);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Filter Pills */
.filter-pill {
    background: #f1f5f9;
    color: var(--body-text);
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}
.filter-pill:hover {
    background: rgba(0, 184, 217, 0.12);
    color: var(--teal-dark);
    border-color: var(--teal);
}
.filter-pill.active-pill {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark)) !important;
    color: #ffffff !important;
    border-color: var(--teal) !important;
    box-shadow: 0 4px 14px rgba(0, 184, 217, 0.35);
}

/* ============================================================
   FACILITY / INFO CARDS
   ============================================================ */
.facility-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.07);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--teal);
}
.facility-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.facility-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.facility-body h5 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.facility-body p { font-size: 14px; color: var(--muted); flex: 1; line-height: 1.7; }
.facility-icon-large {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.07);
    transition: var(--transition);
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 100px;
    color: rgba(0,184,217,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.testimonial-stars { color: var(--gold); margin-bottom: 16px; }
.testimonial-text { font-size: 15px; color: var(--body-text); line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 20px; font-weight: 700;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 15px; color: var(--dark-text); }
.testimonial-dept { font-size: 13px; color: var(--teal); font-weight: 500; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, rgba(0,184,217,0.15) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,184,217,0.12), transparent 70%);
}

/* ============================================================
   APPOINTMENT FORM
   ============================================================ */
.appointment-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.appointment-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300B8D9' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-hover);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-text);
    margin-bottom: 6px;
}
.form-control, .form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14.5px;
    transition: var(--transition);
    color: var(--dark-text);
}
.form-control:focus, .form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,184,217,0.15);
}
.btn-submit {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0,184,217,0.35);
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0,184,217,0.5);
    color: var(--white);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 110px 0 70px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300B8D9' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb-item { color: rgba(255,255,255,0.6); font-size: 14px; }
.page-hero .breadcrumb-item a { color: var(--teal); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.9); }
.page-hero .breadcrumb-divider { color: rgba(255,255,255,0.4); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,22,40,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 32px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.07);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--teal);
}
.contact-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
    margin: 0 auto 18px;
    box-shadow: 0 8px 24px rgba(0,184,217,0.35);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); }
.footer-top { padding: 80px 0 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 14.5px; line-height: 1.8; margin-bottom: 24px; }
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-3px);
}
.footer-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--teal);
    display: inline-block;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    opacity: 0;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--teal); padding-left: 6px; }
.footer-links a:hover::before { opacity: 1; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex;
    gap: 12px;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.6;
}
.footer-contact i { color: var(--teal); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
    padding: 20px 0;
    background: rgba(0,0,0,0.2);
}
.footer-bottom p {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    margin: 0;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 24px rgba(0,184,217,0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); color: var(--white); box-shadow: 0 14px 36px rgba(0,184,217,0.5); }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.bg-navy         { background: var(--navy) !important; }
.bg-navy-mid     { background: var(--navy-mid) !important; }
.bg-navy-light   { background: var(--navy-light) !important; }
.bg-teal         { background: var(--teal) !important; }
.bg-teal-subtle  { background: rgba(0,184,217,0.1) !important; }
.bg-gold-subtle  { background: rgba(245,166,35,0.12) !important; }

.text-teal       { color: var(--teal) !important; }
.text-teal-dark  { color: var(--teal-dark) !important; }
.text-teal-light { color: var(--teal-light) !important; }
.text-navy       { color: var(--navy) !important; }
.text-gold       { color: var(--gold) !important; }
.text-dark-text  { color: var(--dark-text) !important; }
.text-body-text  { color: var(--body-text) !important; }

/* Font Weights */
.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

.divider {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--teal), var(--teal-dark));
    margin-bottom: 24px;
}
.divider.center { margin-left: auto; margin-right: auto; }

.badge-teal {
    background: rgba(0,184,217,0.12);
    color: var(--teal);
    border: 1px solid rgba(0,184,217,0.3);
    font-weight: 600;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}
.badge-gold {
    background: rgba(245,166,35,0.15);
    color: var(--gold);
    border: 1px solid rgba(245,166,35,0.3);
    font-weight: 600;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Insurance partner logos */
.insurance-logo {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.07);
    filter: grayscale(0.3);
    transition: var(--transition);
    font-weight: 700;
    color: var(--navy);
    font-size: 14px;
}
.insurance-logo:hover { filter: none; border-color: var(--teal); transform: translateY(-3px); }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--body-text);
}
.feature-list li i { color: var(--teal); margin-top: 3px; flex-shrink: 0; }

/* Timeline */
.timeline { position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--teal), transparent);
}
.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}
.timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(0,184,217,0.2);
    position: relative;
    z-index: 1;
}
.timeline-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.07);
    flex: 1;
    transition: var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow); border-color: var(--teal); }
.timeline-content h5 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--muted); margin: 0; }

/* Info cards */
.info-box {
    background: linear-gradient(135deg, rgba(0,184,217,0.08), rgba(0,184,217,0.02));
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(0,184,217,0.2);
    margin-bottom: 20px;
}
.info-box h6 { font-weight: 700; color: var(--dark-text); margin-bottom: 6px; }
.info-box p { font-size: 14px; color: var(--muted); margin: 0; }

/* Service tags */
.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,184,217,0.08);
    border: 1px solid rgba(0,184,217,0.2);
    color: var(--dark-text);
    font-size: 13.5px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 8px;
    transition: var(--transition);
    margin: 4px;
}
.service-tag i { color: var(--teal); font-size: 13px; }
.service-tag:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.service-tag:hover i { color: var(--white); }

/* Alert overrides */
.alert-success {
    background: rgba(0,184,217,0.1);
    border-color: var(--teal);
    color: var(--teal-dark);
    border-radius: var(--radius);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .mega-menu { padding: 24px 40px !important; }
}

@media (max-width: 991px) {
    .hero h1 { font-size: 2.4rem; }
    .hero-stats { gap: 20px; }
    .topbar { display: none; }
    .mega-menu {
        position: static !important;
        width: auto !important;
        padding: 16px !important;
        box-shadow: none !important;
        border-radius: var(--radius) !important;
        border-top: none !important;
    }
    .mega-item { font-size: 14px; }
    .form-section { padding: 32px 24px; }
    .section { padding: 70px 0; }
}

@media (max-width: 768px) {
    .hero-card { display: none; }
    .hero { min-height: 85vh; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(0,184,217,0.15); }
    .stat-item:last-child { border-bottom: none; }
}
