:root {
    --primary: #0147a1;
    --secondary: #fd4a00;
    --tertiary: #fe8601;
    --other: #006ccd;
    --white: #ffffff;
    --light-bg: #f8faff;
    --dark-text: #0b1a2e;
    --gray-text: #4a5568;
    --border-light: #e2e8f0;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--dark-text);
    background: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: var(--primary); }
img { max-width: 100%; display: block; }

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

/* ============ GRADIENT THEMES ============ */
.grad-primary { background: linear-gradient(135deg, #0147a1 0%, #006ccd 100%); }
.grad-secondary { background: linear-gradient(135deg, #fd4a00 0%, #fe8601 100%); }
.grad-hero { background: linear-gradient(135deg, #0147a1 0%, #006ccd 45%, #fd4a00 100%); }
.grad-soft { background: linear-gradient(135deg, #f8faff 0%, #e6efff 100%); }
.grad-text {
    background: linear-gradient(135deg, #0147a1, #fd4a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ PRELOADER ============ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #0147a1 0%, #006ccd 100%);
    display: grid;
    place-items: center;
    transition: opacity .4s ease, visibility .4s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-box { text-align: center; color: #fff; }
.spinner {
    width: 90px; height: 90px;
    border: 4px solid rgba(255,255,255,.2);
    border-top-color: #fe8601;
    border-radius: 50%;
    margin: 0 auto 18px;
    animation: spin 1s linear infinite;
    display: grid;
    place-items: center;
}
.spinner img { width: 48px; height: 48px; object-fit: contain; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ TOPBAR ============ */
.topbar {
    background: linear-gradient(90deg, #0b1a2e 0%, #0147a1 100%);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: #fff; opacity: .9; margin-left: 16px; }
.topbar a:hover { opacity: 1; color: var(--tertiary); }

/* ============ HEADER / NAVBAR ============ */
.main-header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 500;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 1px; font-weight: 800; font-size: 22px; color: var(--primary); }
.brand img { width: 42px; height: 42px; }
.brand span.accent { color: var(--secondary); }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--dark-text); font-weight: 500; font-size: 15px; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px; cursor: pointer;
    border: none; transition: all var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--other));
    color: #fff;
    box-shadow: 0 6px 18px rgba(1,71,161,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(1,71,161,.35); }
.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--tertiary));
    color: #fff;
    box-shadow: 0 6px 18px rgba(253,74,0,.25);
}
.btn-secondary:hover { transform: translateY(-2px); }
.btn-outline {
    background: transparent; color: var(--primary); border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.hamburger { display: none; font-size: 26px; background: none; border: none; color: var(--primary); cursor: pointer; }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 640px;
    display: grid;
    place-items: center;
    color: #fff;
    overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(1,71,161,.88) 0%, rgba(0,108,205,.75) 50%, rgba(253,74,0,.75) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; max-width: 900px; padding: 80px 20px;
}
.hero-content h1 {
    font-size: clamp(28px, 5vw, 54px);
    font-weight: 800; line-height: 1.15; margin-bottom: 16px;
}
.hero-content h1 .accent {
    background: linear-gradient(135deg, #fe8601, #fd4a00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: clamp(15px, 1.8vw, 19px);
    opacity: .95; margin-bottom: 32px;
}
.hero-search {
    background: rgba(255,255,255,.98);
    border-radius: var(--radius-lg);
    padding: 10px;
    display: flex;
    gap: 8px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}
.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    color: var(--dark-text);
}
.hero-search button {
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--other));
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}
.hero-search button:hover { transform: translateY(-2px); }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title .eyebrow {
    display: inline-block;
    font-size: 13px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 12px;
}
.section-title h2 {
    font-size: clamp(24px, 3.4vw, 38px);
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 12px;
}
.section-title p { color: var(--gray-text); max-width: 640px; margin: 0 auto; }

/* ============ CATEGORY CARDS ============ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}
.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    color: #fff;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-md);
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.category-card.health { background: linear-gradient(135deg, #0147a1, #006ccd); }
.category-card.non-health { background: linear-gradient(135deg, #fd4a00, #fe8601); }
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.category-card .icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,.18);
    border-radius: var(--radius);
    display: grid; place-items: center;
    font-size: 28px;
    margin-bottom: 20px;
}
.category-card h3 { font-size: 22px; margin-bottom: 10px; font-weight: 700; }
.category-card p { opacity: .92; font-size: 14.5px; margin-bottom: 18px; }
.category-card .link { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; color: #fff; }

/* ============ TABS ============ */
.tabs-wrap { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
    padding: 12px 28px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid var(--border-light);
    color: var(--gray-text);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--other));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(1,71,161,.25);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: translateY(0);} }

.college-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}
.college-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.college-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.college-card .cover {
    height: 140px;
    background: linear-gradient(135deg, #0147a1, #006ccd);
    position: relative;
}
.college-card .logo {
    position: absolute; bottom: -28px; left: 20px;
    width: 60px; height: 60px;
    background: #fff;
    border-radius: 12px;
    display: grid; place-items: center;
    box-shadow: var(--shadow);
    font-weight: 800; color: var(--primary);
}
.college-card .body { padding: 40px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.college-card h4 { font-size: 17px; margin-bottom: 6px; color: var(--dark-text); }
.college-card .meta { font-size: 13px; color: var(--gray-text); margin-bottom: 10px; }
.college-card .badge {
    display: inline-block;
    padding: 4px 10px; border-radius: 999px;
    font-size: 11.5px; font-weight: 700;
    background: rgba(1,71,161,.1); color: var(--primary);
    margin-bottom: 12px;
}
.college-card .badge.orange { background: rgba(253,74,0,.12); color: var(--secondary); }
.college-card .btn { margin-top: auto; }

/* ============ WHY CHOOSE ============ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}
.why-card {
    background: #fff;
    padding: 34px 26px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border-bottom: 4px solid transparent;
}
.why-card:hover {
    transform: translateY(-6px);
    border-bottom-color: var(--secondary);
    box-shadow: var(--shadow-md);
}
.why-card .icon-circle {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--other));
    display: grid; place-items: center;
    margin: 0 auto 20px;
    font-size: 28px; color: #fff;
}
.why-card:nth-child(2) .icon-circle { background: linear-gradient(135deg, var(--secondary), var(--tertiary)); }
.why-card h4 { font-size: 18px; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--gray-text); }

/* ============ CTA ============ */
.cta-section {
    background: linear-gradient(135deg, #0147a1 0%, #006ccd 50%, #fd4a00 100%);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before, .cta-section::after {
    content: ''; position: absolute;
    width: 320px; height: 320px; border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.cta-section::before { top: -120px; left: -120px; }
.cta-section::after { bottom: -120px; right: -120px; }
.cta-section h2 { font-size: clamp(24px, 3.4vw, 38px); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-section p { opacity: .95; max-width: 620px; margin: 0 auto 28px; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ============ FOOTER ============ */
.footer {
    background: linear-gradient(135deg, #0b1a2e 0%, #0147a1 100%);
    color: #dbe4f0;
    padding: 70px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer h5 { color: #fff; margin-bottom: 20px; font-size: 16px; font-weight: 700; }
.footer p, .footer a { color: #b8c6dd; font-size: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--tertiary); }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .socials { display: flex; gap: 10px; margin-top: 16px; }
.footer .socials a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: grid; place-items: center;
    transition: all var(--transition);
}
.footer .socials a:hover { background: var(--secondary); color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px; text-align: center;
    font-size: 13.5px; color: #93a4c0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero { min-height: 560px; }
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 76%; max-width: 320px; height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 90px 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,.1);
        transition: right var(--transition);
        align-items: flex-start;
    }
    .nav-links.open { right: 0; }
    .hero-search { flex-direction: column; padding: 14px; }
    .hero-search button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
}





/* =========================================================
   NAVBAR — MOBILE CLOSE BUTTON
   ========================================================= */
.nav-close {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--primary);
    cursor: pointer;
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 10;
}

@media (max-width: 768px) {
    .nav-close { display: block; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 76%; max-width: 320px; height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 90px 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,.1);
        transition: right var(--transition);
        align-items: flex-start;
    }
    .nav-links.open { right: 0; }
}

/* =========================================================
   SECTION COMPACT (Category section)
   ========================================================= */
.section-compact { padding: 40px 0 !important; }

.section-title.compact { margin-bottom: 22px; }
.section-title.compact h2 { font-size: clamp(20px, 2.6vw, 26px); }

/* Layout: categories (left) + promos (right) */
.category-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    align-items: stretch;
}

/* -------- Compact Category cards -------- */
.category-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.category-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    color: #fff;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow);
    min-height: 90px;
}
.category-mini.health {
    background: linear-gradient(135deg, #0147a1, #006ccd);
}
.category-mini.non-health {
    background: linear-gradient(135deg, #fd4a00, #fe8601);
}
.category-mini:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: #fff;
}
.category-mini .icon-sm {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
}
.category-mini h4 { font-size: 15px; font-weight: 700; margin: 0 0 2px; }
.category-mini small { font-size: 12px; opacity: .9; }

/* -------- Promo strip (right side) -------- */
.promo-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.promo-card {
    position: relative;
    border-radius: var(--radius);
    padding: 20px 18px;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
    min-height: 90px;
}
.promo-card:hover { transform: translateY(-4px); }
.promo-card.grad-secondary { background: linear-gradient(135deg, #fd4a00, #fe8601); }
.promo-card h5 { font-size: 15px; margin-bottom: 6px; font-weight: 700; }
.promo-card p { font-size: 12.5px; opacity: .95; margin-bottom: 10px; }
.promo-card .promo-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,.22);
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}
.btn-sm { padding: 8px 14px; font-size: 12.5px; }

@media (max-width: 900px) {
    .category-layout { grid-template-columns: 1fr; }
    .promo-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .category-mini-grid,
    .promo-strip { grid-template-columns: 1fr; }
}

/* =========================================================
   VERIFIED BADGE — College cards
   ========================================================= */
.college-card .cover { position: relative; }

.verified-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0147a1, #006ccd);
    color: #fff;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(1,71,161,.35);
    z-index: 2;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.verified-badge .vb-icon {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    color: #0147a1;
    font-size: 10px;
    font-weight: 900;
}
.verified-badge .vb-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =========================================================
   BACK TO TOP (right)
   ========================================================= */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 90px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #0147a1, #006ccd);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(1,71,161,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    z-index: 900;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(1,71,161,.45);
}

/* =========================================================
   WHATSAPP CHAT (left)
   ========================================================= */
.wa-wrap {
    position: fixed;
    left: 22px;
    bottom: 24px;
    z-index: 950;
}

.wa-btn {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #0147a1, #006ccd);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(1,71,161,.45);
    transition: transform var(--transition);
    display: grid;
    place-items: center;
}
.wa-btn:hover { transform: scale(1.06); }

.wa-icon { position: relative; z-index: 2; }

/* Flashlight / pulse effect (primary color) */
.wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(1,71,161,.55);
    animation: waPulse 1.8s ease-out infinite;
    z-index: 1;
}
@keyframes waPulse {
    0%   { transform: scale(.85); opacity: .75; }
    70%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* Popup */
.wa-popup {
    position: absolute;
    left: 0;
    bottom: 74px;
    width: 300px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.96);
    transform-origin: bottom left;
    transition: all var(--transition);
}
.wa-popup.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.wa-popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #fff;
    position: relative;
}
.wa-popup-header .wa-popup-avatar {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.2);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 18px;
}
.wa-popup-header strong { display: block; font-size: 14px; }
.wa-popup-header small { font-size: 11.5px; opacity: .9; }
.wa-popup-close {
    position: absolute;
    top: 8px; right: 10px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    opacity: .85;
}
.wa-popup-close:hover { opacity: 1; }
.wa-popup-body { padding: 14px; }
.wa-popup-body p { font-size: 13.5px; color: var(--gray-text); margin-bottom: 12px; }
.wa-start { width: 100%; justify-content: center; }

@media (max-width: 480px) {
    .wa-popup { width: calc(100vw - 60px); }
    .back-to-top { right: 16px; bottom: 84px; }
    .wa-wrap { left: 16px; }
}




