/* --- RESET & GLOBAL STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section {
    padding: 80px 0;
    display: block;
    unicode-bidi: isolate;
}

:root {
    --primary-blue: #0076ce;
    --primary-light: #edf6fb;
    --dark-blue: #0A2540;
    --title-dark: #081C42;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
    --discount-green: #E6F7ED;
    --text-green: #1F8A4D;
    --footer-bg: #0b1220;

    /* Easing Curve */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Premium Modern Shadows */
    --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.04), 0 1px 3px -1px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.08), 0 8px 24px -6px rgba(15, 23, 42, 0.04);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- TOP BAR --- */
.topbar {
    background: var(--primary-light);
    padding: 8px 0;
    font-size: 14px;
    color: var(--primary-blue);
}

.topbar .container {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03);
}

.header-top {
    background: var(--primary-blue);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.left,
.right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.left a,
.right a {
    color: white;
    font-size: 14px;
    opacity: 0.9;
}

.left a:hover,
.right a:hover {
    opacity: 1;
}

.location {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    gap: 8px;
    align-items: center;
    color: white;
    font-size: 14px;
}

.navbar {
    padding: 0 5%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 8px;
    height: 100%;
}

.navbar ul li a {
    font-size: 15px;
    font-weight: 500;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--text-main);
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 4px 4px 0 0;
}

.navbar ul li a:hover {
    color: var(--primary-blue);
}

.navbar ul li a:hover::after {
    transform: scaleX(1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart {
    position: relative;
    font-size: 26px;
    cursor: pointer;
    color: var(--dark-blue);
    display: flex;
}

.cart span {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #ef4444;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: white;
    font-weight: 600;
}

.nav-right button {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    gap: 8px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.nav-right button:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-md);
}


/* Update the topbar backgrounds & structures */
.topbar {
    background: #ffffff;
    /* Image shows white/off-white header accreditation bar */
    color: #0076ce;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
}

.topbar .container {
    gap: 12px;
}

/* Adjust top blue utilities bar matching image style */
.header-top {
    background: #0076ce;
    padding: 10px 5%;
}

/* Customize popular selection tags layout styling */
.popular span {
    color: #e2e8f0;
    font-weight: 400;
}

.popular a {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 5px 14px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Adjust search button color scheme to match UI exactly */
.search-box button {
    background: #0076ce;
}

.search-box button:hover {
    background: #0b1220;
}

/* Rounded corners for metric stats panels */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: none;
}


/* --- HERO SECTION --- */

.hero {
    background: linear-gradient(180deg, #0076ce 0%, #08689E 100%);
    padding: 90px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 400;
}

/* --- SEARCH BANNER & BOX --- */
.search-banner {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    z-index: 10;
}

.search-box {
    width: 100%;
    padding: 8px 10px 8px 18px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    /* box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15); */
    gap: 12px;
    position: relative;
    z-index: 10;
}

/* Overriding Bootstrap's default .input-group behaviors */
.search-box .input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    width: auto;
}

.search-box .input-group i {
    font-size: 18px;
    color: #94a3b8;
    margin-right: 12px;
}

.search-box .input-group input {
    width: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 16px;
    color: #1e293b;
    background: transparent;
    font-family: inherit;
    padding: 8px 0;
    margin: 0;
}

.search-box .input-group input::placeholder {
    color: #94a3b8;
    font-size: 15px;
}

/* --- LOCATION/CITY SELECTOR --- */
.city {
    padding: 0 18px;
    border-left: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
    align-items: center;
    color: #475569;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.city i {
    color: #0076ce;
}

/* --- BUTTONS --- */
.search-box button {
    padding: 0 30px;
    height: 48px;
    border: none;
    background: #0076CE;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 118, 206, 0.25);
}

.search-box button:hover {
    background: #005FA5;
    box-shadow: 0 6px 16px rgba(0, 118, 206, 0.35);
}

/* --- DROPDOWN --- */
.search-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: #ffffff;
    border-radius: 14px;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.search-item {
    padding: 14px 18px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: #f8fafc;
}

.search-item-label {
    font-size: 15px;
    color: #0f172a;
    display: block;
}

.search-highlight {
    background: #d7d7d4;
    color: #b45309;
    padding: 0 4px;
    border-radius: 3px;
}

/* --- POPULAR SEARCHES --- */
.popular {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.popular span {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
}

.popular a {
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.popular a:hover {
    background: #ffffff;
    color: #0076ce; /* Fixed the missing primary-blue variable */
    transform: translateY(-1px);
}

/* --- STATS SECTION --- */
.stats {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-card {
    padding: 10px 20px;
    min-width: 160px;
}

.stat-card h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #ffffff;
}

.stat-card p {
    font-size: 14px;
    margin: 0;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .hero {
        padding: 60px 15px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .search-box {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border-radius: 16px;
        gap: 14px;
    }
    .city {
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding: 12px 4px 4px 4px;
    }
    .search-box button {
        width: 100%;
        height: 48px;
    }
    .stats {
        gap: 20px;
    }
}



.stats {
    max-width: 1100px;
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    padding: 32px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stat-card h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
}

.stat-card p {
    font-size: 16px;
    margin-top: 6px;
    margin-bottom: 0;
    opacity: 0.9;
}

/* --- GLOBAL SECTION STYLING --- */
section {
    padding: 80px 0;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 20px;
}

.section-title-block h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--title-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-title-block p {
    font-size: 16px;
    color: var(--text-muted);
}

/* --- SECTION: HEALTH PACKAGES --- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.package-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    will-change: transform;
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.package-card.popular-pack {
    border: 2px solid #0076CE;
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #0076CE;
    color: white;
    padding: 4px 18px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pack-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    background: var(--discount-green);
    color: var(--text-green);
    font-weight: 600;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
}

.package-card h3 {
    font-size: 22px;
    color: var(--title-dark);
    max-width: 75%;
    margin-bottom: 8px;
    font-weight: 700;
}

.pack-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pack-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #475569;
}

.pack-meta span i {
    color: #0076CE;
    margin-right: 6px;
}

.pack-target {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pack-includes {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
    margin-bottom: 24px;
}

.pack-includes h4 {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--title-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pack-includes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pack-includes ul li {
    font-size: 14px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pack-includes ul li i {
    color: #0076CE;
}

.view-all-btn-outline {
    background: white;
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.view-all-btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* --- SECTION: HEALTH CATEGORIES --- */
.section-categories {
    text-align: center;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
}

.category-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-blue);
}

.c-cardiac {
    background-color: #FFEAEA;
    color: #EA3A3A;
}

.c-diabetes {
    background-color: #EAF2FF;
    color: #3A85EA;
}

.c-blood {
    background-color: #F3E5F5;
    color: #9C27B0;
}

.c-bone {
    background-color: #FFF3E0;
    color: #EF6C00;
}

.c-thyroid {
    background-color: #E0F7FA;
    color: #00838F;
}

.c-fullbody {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.c-women {
    background-color: #FCE4EC;
    color: #C2185B;
}

.c-eye {
    background-color: #E8EAF6;
    color: #283593;
}

/* --- SECTION: SEARCH & CONCERNS --- */
.search-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}

.search-box-wrapper {
    display: flex;
    flex: 1;
    min-width: 300px;
    max-width: 420px;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background-color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    color: #333;
    font-size: 16px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #CBD5E1;
    background: #ffffff;
    color: var(--dark-blue);
    transition: var(--transition-smooth);
}

.tab-btn.active,
.tab-btn:hover {
    background-color: #1A3B8B;
    color: #ffffff;
    border-color: #1A3B8B;
}

.view-all-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
}

.concerns-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
    text-align: center;
}

.concern-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.concern-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 28px;
    color: #1A3B8B;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    will-change: transform;
}

.concern-item:hover .concern-circle {
    transform: translateY(-6px);
    background-color: #1A3B8B;
    color: white;
    box-shadow: var(--shadow-md);
}

.concern-name {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

/* --- SECTION: POPULAR TESTS --- */
.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.test-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    will-change: transform;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.pkg-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    will-change: transform;
    min-height: 380px;
    width: 100%;
}

.pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}

.test-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}

.discount-badge {
    background-color: var(--discount-green);
    color: var(--text-green);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.test-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    min-height: 44px;
}

.meta-info {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
    margin-top: auto;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
}

.original-price {
    font-size: 13px;
    color: #94A3B8;
    text-decoration: line-through;
}

.add-to-cart-btn {
    width: 100%;
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.add-to-cart-btn:hover {
    background-color: var(--dark-blue);
    box-shadow: var(--shadow-md);
}

/* --- SECTION: WHY CHOOSE US --- */
.features-section {
    background: #F1F5F9;
}

.features-section .section-title-block {
    text-align: center;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-item-card {
    background: white;
    padding: 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.feature-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feat-icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    background: #edf6fb;
    color: #0076ce;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.feat-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--title-dark);
    margin-bottom: 4px;
}

.feat-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- SECTION: NEED HELP CTA BANNER --- */
.cta-banner-section {
    background: var(--bg-light);
    padding: 60px 0 20px 0;
}

.cta-banner {
    background: linear-gradient(135deg, #0084d6 0%, #00609f 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-banner h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cta-banner p {
    font-size: 17px;
    opacity: 0.95;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn-white,
.cta-btn-dark {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.cta-btn-white {
    background: white;
    color: #0084d6;
}

.cta-btn-white:hover {
    background: #f8fafc;
    box-shadow: var(--shadow-md);
}

.cta-btn-dark {
    background: #004d80;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn-dark:hover {
    background: #003960;
    box-shadow: var(--shadow-md);
}

/* --- FOOTER SECTION --- */
footer {
    background: var(--footer-bg);
    color: #94a3b8;
    padding: 80px 0 40px 0;
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h3 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-col.brand-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #94a3b8;
    font-size: 14px;
}

.footer-links li a:hover {
    color: white;
    padding-left: 4px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
}

.contact-item i {
    font-size: 16px;
    color: #94a3b8;
    margin-top: 3px;
}

.contact-meta h4 {
    color: #f1f5f9;
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-meta span {
    font-size: 12px;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media(max-width: 1150px) {

    .packages-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .concerns-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 992px) {
    .hero {
        padding: 50px 16px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .stats,
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-top: 24px;
    }

    .stat-card h2,
    .stat-item-card h2 {
        font-size: 32px;
    }

    .navbar ul {
        display: none;
    }
}

@media(max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .header-top,
    .navbar,
    .search-filter-bar,
    .section-header-flex {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
    }

    .section-header-flex {
        align-items: center;
    }

    .left,
    .right {
        flex-direction: column;
        gap: 12px;
    }

    .hero {
        padding: 40px 14px !important;
    }

    .hero h1 {
        font-size: 28px !important;
        margin-bottom: 12px !important;
    }

    .hero p {
        font-size: 15px !important;
        margin-bottom: 20px !important;
    }

    .search-banner, .search-container {
        max-width: 100% !important;
        padding: 0 10px;
    }

    .search-box,
    .search-container {
        flex-direction: column !important;
        padding: 14px !important;
        height: auto !important;
        min-height: auto !important;
        border-radius: 16px !important;
        gap: 12px !important;
        display: flex !important;
    }

    .search-box .input-group,
    .search-container .search-input-field {
        width: 100% !important;
        min-height: 44px !important;
        padding: 0 8px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .city,
    .search-location-field {
        border-left: none !important;
        border-top: 1px solid #e2e8f0 !important;
        padding: 12px 0 !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .search-box button,
    .search-action-btn,
    .search-box-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
    }

    .popular,
    .popular-searches {
        margin-top: 20px !important;
        gap: 6px !important;
    }
    
    .popular a {
        font-size: 12px !important;
        padding: 5px 10px !important;
    }

    .stats,
    .stats-grid,
    .packages-grid,
    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .stats,
    .stats-grid {
        gap: 12px !important;
        margin-top: 20px !important;
        padding: 0 10px;
    }

    .stat-card,
    .stat-item-card {
        padding: 16px 12px !important;
    }

    .stat-card h2,
    .stat-item-card h2 {
        font-size: 30px !important;
        margin-bottom: 2px !important;
    }

    .concerns-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .cta-banner {
        padding: 36px 20px !important;
    }

    .cta-banner h2 {
        font-size: 24px !important;
    }

    .cta-actions {
        flex-direction: column !important;
    }

    .cta-btn-white,
    .cta-btn-dark {
        justify-content: center !important;
        width: 100% !important;
    }
}


/* --- RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Exact Color Code Extractions from Image */
    --brand-blue: #0076ce;
    --hero-bg: #006ebc;
    --text-dark: #333333;
    --text-nav: #4a5568;
    --white: #ffffff;
    --bg-light: #f7fafc;
    --badge-red: #e53e3e;
    --pill-bg: rgba(255, 255, 255, 0.2);
    --stat-card-bg: rgba(255, 255, 255, 0.1);

    /* UI Easing & Border Mechanics */
    --transition-speed: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 50px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 1. TOP WHITE ACCREDITATION BAR --- */
.top-accreditation {
    background-color: var(--white);
    border-bottom: 1px solid #edf2f7;
    padding: 8px 0;
    font-size: 13px;
    color: var(--brand-blue);
    font-weight: 500;
}

.top-accreditation .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.top-accreditation span i {
    margin-right: 4px;
}

.top-accreditation .divider {
    color: #cbd5e0;
}

/* --- 2. BLUE UTILITIES LAYER --- */
.utility-bar {
    background-color: var(--brand-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-left,
.utility-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.utility-bar a {
    color: var(--white);
    text-decoration: none;
    transition: opacity var(--transition-speed);
}

.utility-bar a:hover {
    opacity: 0.85;
}

/* Custom Selector for Location Pill Dropdown */
.city-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.05);
}

.city-selector-wrapper select {
    background: transparent;
    color: var(--white);
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.city-selector-wrapper select option {
    color: var(--text-dark);
}

/* --- 3. WHITE NAVIGATION SYSTEM --- */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 52px;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-nav);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--brand-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Cart Icon Module */
.cart-icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
}

.cart-icon-btn .badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--badge-red);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login Button UI Module */
.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-speed);
}

.login-btn:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background-color: var(--bg-light);
}



/* Tag Pill Micro-Layout Elements */
.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.popular-searches label {
    font-size: 14px;
    opacity: 0.9;
}

.popular-searches a {
    background-color: var(--pill-bg);
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: var(--border-radius-md);
    transition: background var(--transition-speed);
}

.popular-searches a:hover {
    background-color: rgba(255, 255, 255, 0.35);
}

/* Grid Data Layer Panels */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 840px;
    margin: 0 auto;
}

.stat-item-card {
    background-color: var(--stat-card-bg);
    border-radius: var(--border-radius-md);
    padding: 22px;
    backdrop-filter: blur(5px);
}

.stat-item-card h2 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 2px;
}

.stat-item-card p {
    font-size: 14px;
    opacity: 0.85;
    margin: 0;
}

/* --- 5. RESPONSIVE BREAKPOINT SYSTEM --- */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        /* Collapses text menu items on tablets/mobiles */
    }

    .hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .utility-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .search-container {
        flex-direction: column;
        border-radius: var(--border-radius-md);
        padding: 10px;
        gap: 12px;
    }

    .search-input-field {
        width: 100%;
        padding: 8px 0;
    }

    .search-location-field {
        border-left: none;
        border-top: 1px solid #edf2f7;
        width: 100%;
        padding: 12px 0;
        justify-content: center;
    }

    .search-action-btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}


.desktop-account{
    position:relative;
}

.account-toggle{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-width:220px;
    padding:10px 16px;
    border-radius:50px;
    background:#2957a4;
    color:#fff;
    font-weight:600;
}

.account-toggle:hover{
    color:#fff;
    background:#214887;
}

.desktop-dropdown{
    position:absolute;
    right:0;
    top:55px;
    width:240px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    z-index:9999;
}

.desktop-dropdown .account-item{
    display:block;
    width:100%;
    padding:14px 18px;
    text-decoration:none;
    color:#333;
    background:#fff;
    border:none;
    text-align:left;
}

.desktop-dropdown .account-item:hover{
    background:#f5f7fb;
    color:#2957a4;
}

.logout-btn{
    color:#dc3545;
}
