/* ==========================================================================
   EXIM with Aseem — public site styles (Bootstrap 4.6 base)
   ========================================================================== */

:root {
    --brand: #0b3c5d;
    --brand-600: #0e4e78;
    --brand-900: #072538;
    --sky: #1d8ac9;
    --accent: #f5821f;
    --accent-600: #de6f0e;
    --success: #16a34a;
    --danger: #dc2626;
    --ink: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f4f7fb;
    --soft-2: #eaf2f9;
    --white: #ffffff;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(11, 60, 93, 0.06);
    --shadow: 0 10px 30px rgba(11, 60, 93, 0.09);
    --shadow-lg: 0 24px 60px rgba(11, 60, 93, 0.16);
    --font-body: 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Poppins', 'Hind Siliguri', system-ui, sans-serif;
    --header-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; color: var(--brand-900); line-height: 1.3; }
a { color: var(--sky); transition: color .2s ease; }
a:hover { color: var(--brand); text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent); color: #fff; }
.text-muted { color: var(--muted) !important; }
.text-accent { color: var(--accent) !important; }
.bg-soft { background: var(--soft); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--accent); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

:focus-visible { outline: 3px solid rgba(245, 130, 31, .55); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 10px; padding: .65rem 1.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; transition: all .2s ease; font-size: 15px; }
.btn i { font-size: 1.2em; }
.btn-lg { padding: .85rem 1.8rem; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: .45rem .95rem; font-size: 14px; }
.btn-brand { background: var(--brand); color: #fff; border: 0; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; border: 0; box-shadow: 0 6px 18px rgba(245, 130, 31, .3); }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-600); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(245, 130, 31, .38); }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-outline-light { border-width: 2px; }
.btn-ghost { background: var(--soft-2); color: var(--brand); border: 0; }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn:disabled, .btn.disabled { opacity: .55; transform: none !important; box-shadow: none !important; }

/* ---------- Topbar ---------- */
.topbar { background: var(--brand-900); color: rgba(255,255,255,.8); font-size: 14px; }
.topbar .container { min-height: 40px; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 5px; }
.topbar a:hover, .topbar a.active { color: #fff; }
.topbar-contact a { margin-right: 18px; }
.topbar-links a { margin-left: 18px; font-weight: 500; }
.topbar-links a i { color: var(--accent); font-size: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,60,93,.08); border-color: var(--line); }
.site-header .container { min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); flex-shrink: 0; }
.brand:hover { color: var(--brand); }
.brand img { max-height: 48px; width: auto; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--sky)); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; box-shadow: 0 6px 16px rgba(29,138,201,.3); }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .5px; line-height: 1; color: var(--brand); }
.brand-text small { display: block; font-size: 12.5px; font-weight: 500; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin-top: 3px; }
.brand-light .brand-text { color: #fff; }

.main-nav { margin-left: 28px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 3px; padding: 0 12px; height: var(--header-h); color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 14.5px; white-space: nowrap; position: relative; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 18px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--brand); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after { transform: scaleX(1); }
.main-nav .la-angle-down { font-size: 12px; transition: transform .25s ease; }
.main-nav .has-dropdown:hover .la-angle-down, .main-nav .has-dropdown:focus-within .la-angle-down { transform: rotate(180deg); }
/* Parent link stays highlighted while its submenu is open */
.main-nav .has-dropdown:hover > a, .main-nav .has-dropdown:focus-within > a { color: var(--brand); }
.main-nav .has-dropdown:hover > a::after, .main-nav .has-dropdown:focus-within > a::after { transform: scaleX(1); }

/* Submenu: opens instantly, closes after a short delay (hover intent) so moving the mouse in is never interrupted */
.dropdown-panel {
    position: absolute; top: calc(100% - 10px); left: -8px; min-width: 330px;
    background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(11, 60, 93, .18), 0 2px 6px rgba(11, 60, 93, .06);
    border: 1px solid var(--line); padding: 10px; z-index: 20;
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: top left;
    transition: opacity .18s ease .12s, transform .18s ease .12s, visibility 0s linear .3s;
}
/* Invisible bridge over the space between the link and the panel */
.dropdown-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
/* Small arrow pointing at the parent link */
.dropdown-panel::after { content: ''; position: absolute; top: -7px; left: 34px; width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); border-radius: 3px 0 0 0; }
.has-dropdown:hover .dropdown-panel, .has-dropdown:focus-within .dropdown-panel {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .22s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}
.dropdown-item-link { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 11px; color: var(--ink); font-size: 15px; line-height: 1.35; transition: background-color .2s ease, color .2s ease; }
/* Items slide in one after another when the panel opens */
.has-dropdown:hover .dropdown-item-link, .has-dropdown:focus-within .dropdown-item-link { animation: dd-item .35s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 35ms + 40ms); }
@keyframes dd-item { from { opacity: 0; transform: translateY(6px); } }
.dd-icon { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; background: var(--soft-2); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; transition: background-color .2s ease, color .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1); }
.dd-text { flex: 1; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.dd-arrow { color: var(--accent); font-size: 15px; opacity: 0; transform: translateX(-8px); transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1); }
.dropdown-item-link:hover, .dropdown-item-link:focus-visible { background: var(--soft); color: var(--brand); }
.dropdown-item-link:hover .dd-icon, .dropdown-item-link:focus-visible .dd-icon { background: var(--brand); color: #fff; transform: scale(1.06) rotate(-4deg); }
.dropdown-item-link:hover .dd-text, .dropdown-item-link:focus-visible .dd-text { transform: translateX(3px); }
.dropdown-item-link:hover .dd-arrow, .dropdown-item-link:focus-visible .dd-arrow { opacity: 1; transform: none; }
.dropdown-panel .dropdown-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 10px 12px; border-top: 1px dashed var(--line); color: var(--accent); font-weight: 600; font-size: 14.5px; border-radius: 0 0 10px 10px; transition: background-color .2s ease, gap .25s ease; }
.dropdown-panel .dropdown-all:hover { background: rgba(245, 130, 31, .08); gap: 10px; color: var(--accent-600); }

/* Knowledge Test hover hint */
.nav-hint { position: absolute; top: calc(100% - 14px); left: 50%; transform: translate(-50%, 6px); background: var(--brand-900); color: #fff; font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; visibility: hidden; transition: all .2s ease; pointer-events: none; box-shadow: var(--shadow); }
.nav-hint::before { content: ''; position: absolute; top: -5px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--brand-900); }
.has-hint:hover .nav-hint, .has-hint:focus-within .nav-hint { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--soft-2); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--brand); border-radius: 2px; }

/* ---------- Mobile drawer ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(7,37,56,.55); z-index: 1040; opacity: 0; visibility: hidden; transition: all .25s ease; }
.mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 1050; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
body.drawer-open .mobile-drawer { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--soft); font-size: 20px; color: var(--brand); }
.drawer-nav { list-style: none; margin: 0; padding: 10px 12px; overflow-y: auto; flex: 1; }
.drawer-row { display: flex; align-items: center; }
.drawer-row > a { flex: 1; display: block; padding: 11px 10px; border-radius: 10px; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 15.5px; }
.drawer-row > a small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--accent); font-size: 12.5px; }
.drawer-row > a.active, .drawer-row > a:hover { background: var(--soft); color: var(--brand); }
.drawer-sub-toggle { width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 16px; border-radius: 10px; }
.drawer-sub-toggle[aria-expanded="true"] i { transform: rotate(180deg); display: inline-block; }
.drawer-sub { list-style: none; padding: 0 0 6px 14px; margin: 0 0 0 10px; border-left: 2px solid var(--soft-2); display: none; }
.drawer-sub.open { display: block; }
.drawer-sub a { display: block; padding: 7px 10px; color: var(--muted); font-size: 15px; border-radius: 8px; }
.drawer-sub a:hover { color: var(--brand); background: var(--soft); }
.drawer-divider { height: 1px; background: var(--line); margin: 8px 6px; }
.drawer-foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); }
.drawer-phone { display: block; text-align: center; margin-top: 12px; font-weight: 600; color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head.text-left { margin-left: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); background: rgba(245,130,31,.1); padding: 6px 14px; border-radius: 50px; margin-bottom: 14px; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.section-lead { font-size: 18px; color: var(--muted); margin: 0; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1100px 500px at 85% -10%, rgba(29,138,201,.55), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(245,130,31,.25), transparent 60%), linear-gradient(135deg, var(--brand-900) 0%, var(--brand) 60%, #0f5d8f 100%); padding: 90px 0 120px; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%); }
.hero .container { position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 7px 16px; border-radius: 50px; font-size: 14.5px; margin-bottom: 22px; }
.hero-badge i { color: var(--accent); font-size: 18px; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.25; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; color: rgba(255,255,255,.8); font-size: 15px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust i { color: #4ade80; font-size: 18px; }
.hero-visual { position: relative; padding: 10px 0 10px 20px; }
.hero-image { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; border: 6px solid rgba(255,255,255,.12); }
.hero-card { background: rgba(255,255,255,.98); color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; }
.hero-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.hero-card-icon { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), #ffb15c); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.hero-card h3 { font-size: 19px; margin: 0; }
.hero-card-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.hero-card-meta div { background: var(--soft); border-radius: 12px; padding: 12px 6px; text-align: center; }
.hero-card-meta strong { display: block; font-family: var(--font-head); font-size: 22px; color: var(--brand); line-height: 1.1; }
.hero-card-meta span { font-size: 13px; color: var(--muted); }
.hero-card-q { border: 1px dashed var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 15px; }
.hero-card-q p { font-weight: 600; margin-bottom: 8px; }
.hero-card-q span { display: inline-block; padding: 3px 12px; border-radius: 50px; border: 1px solid var(--line); margin: 3px 4px 3px 0; font-size: 13.5px; }
.hero-card-q span.correct { background: rgba(22,163,74,.1); border-color: var(--success); color: var(--success); font-weight: 600; }
.float-chip { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 14px; animation: floaty 5s ease-in-out infinite; }
.float-chip i { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; background: var(--success); }
.float-chip strong { display: block; font-family: var(--font-head); font-size: 15px; line-height: 1.1; color: var(--brand-900); }
.float-chip.one { left: -14px; bottom: 34px; }
.float-chip.two { right: -10px; top: -14px; animation-delay: -2.5s; }
.float-chip.two i { background: var(--sky); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Stats ---------- */
.stats-wrap { margin-top: -64px; position: relative; z-index: 2; }
.stats { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(26px, 3vw, 36px); color: var(--brand); line-height: 1.1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 15px; line-height: 1.5; display: block; }

/* ---------- Feature list / intro ---------- */
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.intro-art { border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--soft-2), #fff); border: 1px solid var(--line); padding: 34px; position: relative; overflow: hidden; }
.intro-art::after { content: ''; position: absolute; width: 240px; height: 240px; right: -80px; bottom: -80px; border-radius: 50%; background: rgba(245,130,31,.12); }
.route-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 26px; }
.route-node { text-align: center; flex-shrink: 0; }
.route-node i { width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; color: var(--brand); }
.route-node span { display: block; font-size: 13.5px; font-weight: 600; margin-top: 6px; color: var(--brand-900); }
.route-dash { flex: 1; border-top: 2px dashed rgba(11,60,93,.25); margin-bottom: 26px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before { content: '\f00c'; font-family: 'Line Awesome Free'; font-weight: 900; position: absolute; left: 0; top: 3px; width: 23px; height: 23px; border-radius: 50%; background: rgba(22,163,74,.12); color: var(--success); font-size: 13px; display: flex; align-items: center; justify-content: center; }

/* ---------- Icon cards (audience, benefits, services) ---------- */
.icon-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; height: 100%; transition: all .25s ease; position: relative; }
.icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.icon-card .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--soft-2); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 18px; transition: all .25s ease; }
.icon-card:hover .ic { background: var(--brand); color: #fff; }
.icon-card h3 { font-size: 19px; margin-bottom: 8px; }
.icon-card p { color: var(--muted); margin: 0; font-size: 16px; }
.icon-card .card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-weight: 600; color: var(--accent); }
.icon-card .card-link::after { content: ''; position: absolute; inset: 0; }

/* ---------- Program cards ---------- */
.program-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: all .3s ease; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-cover { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand) 0%, var(--sky) 100%); overflow: hidden; display: flex; align-items: flex-end; padding: 20px; }
.program-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.program-card:hover .program-cover img { transform: scale(1.05); }
.program-cover .cover-icon { position: absolute; right: -12px; top: -16px; font-size: 140px; color: rgba(255,255,255,.12); }
.program-cover .cover-title { position: relative; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 1.4px; text-transform: uppercase; opacity: .9; }
.program-badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 50px; }
.program-body { padding: 24px 24px 0; flex: 1; }
.program-body h3 { font-size: 20px; margin-bottom: 10px; }
.program-body h3 a { color: var(--brand-900); }
.program-body h3 a:hover { color: var(--sky); }
.program-body > p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.program-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.program-meta span { display: inline-flex; align-items: center; gap: 5px; background: var(--soft); border-radius: 50px; padding: 4px 12px; font-size: 14px; color: var(--brand); }
.program-points { list-style: none; padding: 0; margin: 0 0 18px; font-size: 15.5px; }
.program-points li { position: relative; padding-left: 24px; margin-bottom: 6px; }
.program-points li::before { content: '\f00c'; font-family: 'Line Awesome Free'; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--success); }
.program-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-top: 1px solid var(--line); margin-top: auto; }
.price { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 22px; line-height: 1.1; }
.price del { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.price small { display: block; font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 500; }
.price-request { font-size: 16px; color: var(--muted); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); height: 100%; text-align: center; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 14px; right: 18px; font-family: var(--font-head); font-weight: 700; font-size: 34px; color: var(--soft-2); line-height: 1; }
.step i { font-size: 34px; color: var(--accent); margin-bottom: 10px; display: block; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- Quiz promo ---------- */
.quiz-promo { border-radius: var(--radius-lg); background: linear-gradient(120deg, #fff7ef, #fff 60%); border: 1px solid #fde3cb; padding: 44px; position: relative; overflow: hidden; }
.quiz-promo::after { content: '?'; position: absolute; right: 30px; bottom: -70px; font-family: var(--font-head); font-weight: 700; font-size: 280px; color: rgba(245,130,31,.08); line-height: 1; }
.quiz-promo-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.quiz-promo-meta span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #fde3cb; padding: 6px 14px; border-radius: 50px; font-weight: 600; color: var(--brand); font-size: 15px; }
.quiz-promo-meta i { color: var(--accent); }
.level-ladder { position: relative; z-index: 1; display: grid; gap: 10px; }
.level-ladder div { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-sm); }
.level-ladder b { font-family: var(--font-head); min-width: 58px; color: var(--accent); }
.level-ladder span { font-weight: 600; color: var(--brand-900); }

/* ---------- Blog cards ---------- */
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: all .25s ease; position: relative; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--soft-2), #dbe9f5); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb i { font-size: 56px; color: rgba(11,60,93,.25); }
.post-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 14px; color: var(--muted); display: flex; gap: 14px; margin-bottom: 8px; }
.post-meta .cat { color: var(--accent); font-weight: 600; }
.post-body h3 { font-size: 19px; margin-bottom: 10px; }
.post-body h3 a { color: var(--brand-900); }
.post-body h3 a::after { content: ''; position: absolute; inset: 0; }
.post-body p { color: var(--muted); font-size: 16px; margin-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand-900), var(--brand) 70%, #0f5d8f); color: #fff; padding: 64px 0 70px; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 22px 22px; }
.page-hero::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -180px; background: radial-gradient(rgba(245,130,31,.35), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 14.5px; }
.crumbs li { color: rgba(255,255,255,.65); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: rgba(255,255,255,.4); }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: #fff; }

/* ---------- Detail pages ---------- */
.detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 34px; }
.fact { background: var(--soft); border-radius: var(--radius); padding: 16px 18px; }
.fact i { font-size: 24px; color: var(--accent); }
.fact span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.fact strong { display: block; font-family: var(--font-head); color: var(--brand-900); font-size: 16.5px; }
.content-block { margin-bottom: 40px; }
.content-block > h2 { font-size: 24px; margin-bottom: 18px; }
.learn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.learn-grid div { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 16px; }
.learn-grid i { color: var(--success); font-size: 20px; margin-top: 3px; }

.prose { font-size: 17.5px; line-height: 1.85; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .6em; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius); margin: 1em 0; }
.prose blockquote { border-left: 4px solid var(--accent); background: var(--soft); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 1.4em 0; }
.prose table { width: 100%; margin-bottom: 1.2em; border-collapse: collapse; }
.prose table td, .prose table th { border: 1px solid var(--line); padding: 8px 12px; }
.prose a { text-decoration: underline; }

.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); }
.enquiry-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.enquiry-card-head { background: linear-gradient(135deg, var(--brand), var(--sky)); color: #fff; padding: 22px 26px; }
.enquiry-card-head h3 { color: #fff; font-size: 20px; margin: 0 0 4px; }
.enquiry-card-head p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }
.enquiry-card-head .price { color: #fff; font-size: 28px; margin-top: 8px; }
.enquiry-card-head .price del, .enquiry-card-head .price small { color: rgba(255,255,255,.75); }
.enquiry-card-body { padding: 24px 26px 26px; }

/* ---------- Forms ---------- */
.form-control { height: auto; padding: .7rem 1rem; border-radius: 10px; border: 1.5px solid var(--line); font-size: 16px; color: var(--ink); transition: all .2s ease; }
.form-control:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(29,138,201,.12); }
textarea.form-control { min-height: 110px; }
.form-group label { font-weight: 600; font-size: 15px; color: var(--brand-900); margin-bottom: 6px; }
.form-group label .req { color: var(--danger); }
.invalid-feedback { font-size: 14px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; transition: all .2s ease; }
.contact-card:hover { box-shadow: var(--shadow); }
.contact-card i { width: 50px; height: 50px; border-radius: 12px; background: var(--soft-2); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.contact-card h3 { font-size: 16px; margin: 0 0 2px; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); word-break: break-word; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px; }
.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--radius-lg); display: block; }

/* ---------- About ---------- */
.about-photo { position: relative; padding: 0 0 26px 26px; }
.about-photo::before { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--accent), #ffb15c); }
.about-photo img, .about-photo .photo-fallback { position: relative; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-fallback { background: linear-gradient(160deg, var(--brand), var(--sky)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 140px; }
.about-name { font-size: clamp(30px, 4vw, 42px); margin-bottom: 4px; }
.about-role { color: var(--accent); font-weight: 600; font-size: 18px; margin-bottom: 20px; }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 26px 0; }
.highlight-grid div { background: var(--soft); border-radius: var(--radius); padding: 18px; }
.highlight-grid strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--brand); line-height: 1.1; }
.highlight-grid span { color: var(--muted); font-size: 15px; }
.mv-card { border-radius: var(--radius-lg); padding: 34px; height: 100%; background: #fff; box-shadow: var(--shadow-sm); border-top: 4px solid var(--accent); }
.mv-card.alt { border-top-color: var(--sky); }
.mv-card i { font-size: 38px; color: var(--accent); }
.mv-card.alt i { color: var(--sky); }
.mv-card h3 { font-size: 22px; margin: 10px 0; }
.mv-card p { color: var(--muted); margin: 0; }

/* ---------- Free resources / course ---------- */
.resource-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: 100%; transition: all .2s ease; }
.resource-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.resource-card .ic { width: 52px; height: 52px; border-radius: 12px; background: rgba(245,130,31,.12); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.resource-card h3 { font-size: 18px; margin-bottom: 6px; }
.resource-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.lesson-player { background: #000; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.lesson-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.lesson-list { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; }
.lesson-list-head { padding: 18px 20px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; color: var(--brand-900); display: flex; justify-content: space-between; }
.lesson-items { max-height: 520px; overflow-y: auto; }
.lesson-item { display: flex; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink); cursor: pointer; background: none; border-left: 3px solid transparent; width: 100%; text-align: left; }
.lesson-item:last-child { border-bottom: 0; }
.lesson-item:hover { background: var(--soft); }
.lesson-item.active { background: var(--soft-2); border-left-color: var(--accent); }
.lesson-num { width: 32px; height: 32px; border-radius: 50%; background: var(--soft-2); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.lesson-item.active .lesson-num { background: var(--accent); color: #fff; }
.lesson-item strong { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.lesson-item small { color: var(--muted); }

/* ---------- Knowledge test ---------- */
.quiz-landing { background: radial-gradient(900px 400px at 100% 0, rgba(29,138,201,.12), transparent 60%), radial-gradient(700px 400px at 0 100%, rgba(245,130,31,.12), transparent 60%), var(--soft); padding: 80px 0; }
.quiz-hero-card { background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); padding: clamp(28px, 5vw, 56px); text-align: center; max-width: 780px; margin: 0 auto; }
.quiz-hero-icon { width: 84px; height: 84px; border-radius: 24px; background: linear-gradient(135deg, var(--accent), #ffb15c); color: #fff; font-size: 44px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: 0 14px 30px rgba(245,130,31,.35); }
.quiz-hero-card h1 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.quiz-hero-card .lead { color: var(--muted); font-size: 19px; }
.quiz-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 26px 0 32px; }
.quiz-meta div { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 14px; padding: 12px 20px; font-family: var(--font-head); font-weight: 600; color: var(--brand-900); }
.quiz-meta i { font-size: 24px; color: var(--accent); }
.quiz-meta .sep { display: none; }
.quiz-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.quiz-topics span { font-size: 14px; color: var(--muted); border: 1px solid var(--line); padding: 4px 12px; border-radius: 50px; }

.quiz-shell { max-width: 780px; margin: 0 auto; }
.quiz-progress-wrap { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-family: var(--font-head); font-weight: 600; color: var(--brand-900); }
.quiz-progress-wrap .answered { color: var(--muted); font-family: var(--font-body); font-weight: 500; font-size: 15px; }
.quiz-progress { height: 10px; background: var(--soft-2); border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--accent)); border-radius: 10px; transition: width .35s ease; }
.quiz-dots { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.quiz-dots button { width: 32px; height: 32px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--muted); padding: 0; transition: all .15s ease; }
.quiz-dots button.answered { background: var(--soft-2); border-color: var(--soft-2); color: var(--brand); }
.quiz-dots button.current { border-color: var(--accent); color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(245,130,31,.15); }
.quiz-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 40px); }
.quiz-q { display: none; animation: fadeUp .3s ease; }
.quiz-q.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-q-topic { display: inline-block; font-size: 13px; font-weight: 600; color: var(--sky); background: rgba(29,138,201,.1); padding: 4px 12px; border-radius: 50px; margin-bottom: 14px; }
.quiz-q h2 { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.5; margin-bottom: 22px; }
.quiz-q h2 span { color: var(--accent); }
.quiz-option { display: flex; align-items: center; gap: 14px; border: 2px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 12px; cursor: pointer; transition: all .15s ease; font-size: 17px; font-weight: 500; background: #fff; }
.quiz-option:hover { border-color: rgba(29,138,201,.5); background: #f8fbfe; }
.quiz-option input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-option .opt-key { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); flex-shrink: 0; text-transform: uppercase; transition: all .15s ease; }
.quiz-option.selected { border-color: var(--sky); background: rgba(29,138,201,.07); }
.quiz-option.selected .opt-key { background: var(--sky); border-color: var(--sky); color: #fff; }
.quiz-option input:focus-visible + .opt-key { box-shadow: 0 0 0 3px rgba(245,130,31,.5); }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.quiz-warning { color: var(--danger); font-size: 15px; display: none; margin-top: 12px; }

.result-card { background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 860px; margin: 0 auto; }
.result-top { background: linear-gradient(135deg, var(--brand-900), var(--brand) 60%, var(--sky)); color: #fff; padding: 44px 30px 40px; text-align: center; position: relative; overflow: hidden; }
.result-top::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 20px 20px; }
.result-top > * { position: relative; }
.result-top h1 { color: rgba(255,255,255,.85); font-size: 18px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; margin-bottom: 22px; }
.score-ring { --p: 0; width: 180px; height: 180px; border-radius: 50%; margin: 0 auto 20px; background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255,255,255,.15) 0); display: flex; align-items: center; justify-content: center; }
.score-ring-inner { width: 146px; height: 146px; border-radius: 50%; background: var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-ring-inner strong { font-family: var(--font-head); font-size: 44px; line-height: 1; color: #fff; }
.score-ring-inner span { font-size: 16px; color: rgba(255,255,255,.75); margin-top: 4px; }
.level-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--brand-900); font-family: var(--font-head); font-weight: 700; padding: 8px 20px; border-radius: 50px; font-size: 18px; }
.level-pill i { color: var(--accent); font-size: 22px; }
.result-body { padding: clamp(24px, 4vw, 44px); }
.result-message { font-size: 19px; text-align: center; max-width: 640px; margin: 0 auto 30px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.topic-chips span { background: rgba(220,38,38,.08); color: var(--danger); border-radius: 50px; padding: 5px 14px; font-weight: 600; font-size: 15px; }
.result-improve { background: var(--soft); border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.result-improve h2 { font-size: 24px; margin-bottom: 8px; }
.lead-box { background: #fff7ef; border: 1px solid #fde3cb; border-radius: var(--radius-lg); padding: 28px; margin-top: 26px; }
.lead-box h3 { font-size: 20px; margin-bottom: 6px; }
.review-list { margin-top: 30px; }
.review-item { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; }
.review-item .q { font-weight: 600; margin-bottom: 6px; }
.review-item .a { font-size: 15.5px; color: var(--muted); }
.review-item .a b.ok { color: var(--success); }
.review-item .a b.no { color: var(--danger); }
.review-item.correct { border-left: 4px solid var(--success); }
.review-item.wrong { border-left: 4px solid var(--danger); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 0; margin-bottom: -70px; position: relative; z-index: 2; }
.cta-band-inner { background: linear-gradient(120deg, var(--accent) 0%, #f9a14b 100%); border-radius: var(--radius-lg); padding: 40px 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 20px 50px rgba(245,130,31,.3); position: relative; overflow: hidden; }
.cta-band-inner::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.1); right: -80px; top: -140px; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.92); margin: 0; font-size: 17px; }
.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; position: relative; flex-wrap: wrap; }
.cta-band .btn-accent { background: var(--brand-900); box-shadow: none; }
.cta-band .btn-accent:hover { background: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: rgba(255,255,255,.72); padding: 130px 0 0; font-size: 16px; }
.site-footer .brand img { max-height: 52px; }
.footer-about { margin: 18px 0; }
.footer-about p { margin-bottom: 0; }
.footer-title { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: var(--accent); padding-left: 3px; }
.footer-links-inline { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact i { color: var(--accent); font-size: 20px; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.8); }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; transition: all .2s ease; }
.social-links a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding: 20px 0; font-size: 14.5px; }
.footer-legal a { color: rgba(255,255,255,.72); margin-left: 18px; }
.footer-legal a:first-child { margin-left: 0; }
.footer-legal a:hover { color: #fff; }

/* ---------- Floating buttons / alerts ---------- */
.whatsapp-float { position: fixed; right: 20px; bottom: 84px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 1020; box-shadow: 0 10px 24px rgba(37,211,102,.4); }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }
.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--brand); color: #fff; font-size: 22px; z-index: 1020; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; box-shadow: var(--shadow); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); }
.alert-float { margin: 20px 0 0; border-radius: 12px; border: 0; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 8px; }
.alert-float i { font-size: 22px; }
.alert-float .close { margin-left: auto; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 60px; color: var(--line); display: block; margin-bottom: 10px; }

.pagination { justify-content: center; margin-top: 40px; gap: 6px; }
.page-link { border-radius: 10px !important; border: 1px solid var(--line); color: var(--brand); min-width: 42px; text-align: center; }
.page-item.active .page-link { background: var(--brand); border-color: var(--brand); }

/* ---------- Motion ----------
   Nothing on screen at load is ever hidden: JS only hides .reveal elements that are below the fold,
   then animates them in as they scroll into view. That removes the "blank page, then content" flash. */
.reveal-wait { opacity: 0; transform: translateY(28px); }
.reveal-wait.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }

/* Hero / page banner entrance */
@keyframes anim-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes anim-right { from { opacity: 0; transform: translateX(28px) scale(.98); } to { opacity: 1; transform: none; } }
.anim-up { animation: anim-up .65s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0ms); }
.anim-up.anim-right { animation-name: anim-right; animation-duration: .8s; }

/* Entrance animations wait until the page loader has faded out */
html.is-loading .anim-up, html.is-loading .score-ring, html.is-loading .level-pill { animation-play-state: paused; }

/* Button shine on hover */
.btn-accent, .btn-brand { position: relative; overflow: hidden; }
.btn-accent::after, .btn-brand::after { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); pointer-events: none; }
.btn-accent:hover::after, .btn-brand:hover::after { animation: shine .75s ease; }
@keyframes shine { to { left: 130%; } }
.btn:active { transform: translateY(0) scale(.98); }

/* Quiz: answer pop + score ring fill */
.quiz-option.selected .opt-key { animation: pop .3s ease; }
@keyframes pop { 50% { transform: scale(1.18); } }
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }
.score-ring { animation: ring-fill 1.4s cubic-bezier(.2, .7, .2, 1) .2s both; }
@keyframes ring-fill { from { --p: 0; } }
.level-pill { animation: anim-up .6s cubic-bezier(.2, .7, .2, 1) .9s both; }

/* Mobile drawer: links slide in one after another */
body.drawer-open .drawer-nav > li { animation: drawer-in .4s cubic-bezier(.2, .7, .2, 1) both; }
body.drawer-open .drawer-nav > li:nth-child(2) { animation-delay: .03s; }
body.drawer-open .drawer-nav > li:nth-child(3) { animation-delay: .06s; }
body.drawer-open .drawer-nav > li:nth-child(4) { animation-delay: .09s; }
body.drawer-open .drawer-nav > li:nth-child(5) { animation-delay: .12s; }
body.drawer-open .drawer-nav > li:nth-child(6) { animation-delay: .15s; }
body.drawer-open .drawer-nav > li:nth-child(7) { animation-delay: .18s; }
body.drawer-open .drawer-nav > li:nth-child(n+8) { animation-delay: .21s; }
@keyframes drawer-in { from { opacity: 0; transform: translateX(24px); } }

/* Gentle image zoom on blog cards (programs/services already zoom) */
.post-thumb img { transition: transform .5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal-wait { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    :root { --header-h: 70px; }
}
@media (max-width: 991.98px) {
    body { font-size: 16.5px; }
    .section { padding: 70px 0; }
    .hero { padding: 64px 0 110px; }
    .hero-visual { padding: 40px 0 0; max-width: 520px; margin: 0 auto; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .sticky-side { position: static; }
    .cta-band-inner { flex-direction: column; text-align: center; padding: 34px 28px; }
    .cta-band-actions { justify-content: center; }
}
@media (max-width: 767.98px) {
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 34px; }
    .topbar-contact a:not(:first-child) { display: none; }
    .topbar-links a { margin-left: 12px; }
    .brand-text { font-size: 19px; }
    .brand-mark { width: 38px; height: 38px; font-size: 22px; }
    .quiz-promo { padding: 30px 22px; }
    .quiz-landing { padding: 36px 0 56px; }
    .form-card { padding: 24px 20px; }
    .float-chip.one { left: 0; }
    .float-chip.two { right: 0; }
    .map-frame { height: 280px; }
}
@media (max-width: 575.98px) {
    .topbar-contact { display: none; }
    .topbar .container { justify-content: center !important; }
    .topbar-links a { margin: 0 8px; }
    .stat { padding: 20px 12px; }
    .stat span { font-size: 14px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-card { padding: 20px; }
    .float-chip { display: none; }
    .level-pill { font-size: 15px; padding: 7px 16px; }
    .score-ring { width: 150px; height: 150px; }
    .score-ring-inner { width: 120px; height: 120px; }
    .score-ring-inner strong { font-size: 34px; }
    .hero-card-meta strong { font-size: 18px; }
    .quiz-option { padding: 12px 14px; font-size: 16px; }
    .quiz-nav .btn { flex: 1; padding-left: .8rem; padding-right: .8rem; }
    .quiz-dots button { width: 28px; height: 28px; font-size: 12px; }
    .program-foot { flex-direction: column; align-items: stretch; text-align: center; }
    .footer-legal a { margin: 0 8px; }
}

/* Program cover variations (used when a program has no image) */
.program-cover.cover-1 { background: linear-gradient(135deg, #0b3c5d 0%, #127c8a 100%); }
.program-cover.cover-2 { background: linear-gradient(135deg, #10314f 0%, #1d8ac9 100%); }
.program-cover.cover-3 { background: linear-gradient(135deg, #7a3a06 0%, #f5821f 100%); }
.program-cover.cover-4 { background: linear-gradient(135deg, #1f2a5a 0%, #4a5fc1 100%); }
.program-cover .cover-icon { transition: transform .5s ease; }
.program-card:hover .program-cover .cover-icon { transform: rotate(-8deg) scale(1.06); }
.price-request { white-space: nowrap; }

/* ---------- Photo backgrounds (hero + inner page banners) ---------- */
.hero.has-photo {
    background:
        linear-gradient(100deg, rgba(7, 37, 56, .96) 0%, rgba(11, 60, 93, .88) 45%, rgba(11, 60, 93, .55) 100%),
        var(--hero-photo) center / cover no-repeat;
}
.page-hero.has-photo {
    background:
        linear-gradient(100deg, rgba(7, 37, 56, .94) 0%, rgba(11, 60, 93, .82) 55%, rgba(11, 60, 93, .55) 100%),
        var(--hero-photo) center / cover no-repeat;
}
.page-hero.has-photo::before { opacity: .35; }
@media (max-width: 991.98px) {
    .hero.has-photo { background: linear-gradient(180deg, rgba(7, 37, 56, .93), rgba(11, 60, 93, .9)), var(--hero-photo) center / cover no-repeat; }
}

/* ---------- Service cards with photo ---------- */
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all .3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-photo { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand), var(--sky)); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-photo img { transform: scale(1.05); }
.service-photo .ic { position: absolute; left: 20px; bottom: -26px; width: 54px; height: 54px; border-radius: 14px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 10px 20px rgba(245, 130, 31, .35); }
.service-photo { overflow: visible; }
.service-photo img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.service-body { padding: 38px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 19px; margin-bottom: 8px; }
.service-body h3 a { color: var(--brand-900); }
.service-body h3 a:hover { color: var(--sky); }
.service-body p { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.service-body .card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--accent); }

/* ---------- Student auth (login / register / password) ---------- */
.topbar-sep { display: inline-block; width: 1px; height: 14px; background: rgba(255, 255, 255, .25); margin-left: 18px; vertical-align: middle; }
.topbar-links .topbar-account { color: #fff; font-weight: 600; }
.topbar-links .topbar-account i { color: #ffc07a; }
.auth-section { padding: 70px 0 90px; background: radial-gradient(800px 400px at 100% 0, rgba(29, 138, 201, .1), transparent 60%), radial-gradient(700px 400px at 0 100%, rgba(245, 130, 31, .1), transparent 60%), var(--soft); }
.auth-card { display: grid; grid-template-columns: 5fr 7fr; max-width: 980px; margin: 0 auto; background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; }
.auth-side { position: relative; padding: 46px 40px; color: #fff; background: linear-gradient(160deg, rgba(7, 37, 56, .96), rgba(11, 60, 93, .9)), var(--auth-photo, none) center / cover; overflow: hidden; }
.auth-side::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; bottom: -90px; border: 46px solid rgba(245, 130, 31, .16); }
.auth-side h2 { color: #fff; font-size: 26px; margin: 6px 0 26px; position: relative; z-index: 1; }
.eyebrow-light { background: rgba(255, 255, 255, .12); color: #ffc07a; }
.auth-perks { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.auth-perks li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: rgba(255, 255, 255, .88); font-size: 15.5px; }
.auth-perks i { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .1); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: #ffc07a; flex-shrink: 0; }
.auth-main { padding: 46px 44px; }
.auth-title { font-size: 28px; margin-bottom: 6px; }
.auth-switch { text-align: center; margin: 24px 0 0; color: var(--muted); }
.auth-switch a { font-weight: 600; color: var(--accent); }
.password-field { position: relative; }
.password-field .form-control { padding-right: 48px; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: transparent; color: var(--muted); font-size: 20px; border-radius: 8px; }
.password-toggle:hover { color: var(--brand); background: var(--soft); }
.custom-control-label { font-weight: 500 !important; color: var(--ink) !important; }

/* ---------- Student account ---------- */
.account-section { padding: 50px 0 90px; background: var(--soft); min-height: 60vh; }
.account-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); padding: 26px; margin-bottom: 24px; }
.account-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.account-card-head h2 { font-size: 19px; margin: 0; display: flex; align-items: center; gap: 8px; }
.account-card-head h2 i { color: var(--accent); font-size: 24px; }
.account-nav { padding: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.account-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 18px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.account-user strong { display: block; color: var(--brand-900); line-height: 1.3; }
.account-user small { color: var(--muted); word-break: break-all; }
.account-avatar { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; background: linear-gradient(135deg, var(--accent), #ffb15c); color: #fff; font-family: var(--font-head); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.account-nav nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 11px; color: var(--ink); font-weight: 500; transition: background-color .2s ease, color .2s ease; }
.account-nav nav a i { font-size: 20px; color: var(--muted); }
.account-nav nav a:hover { background: var(--soft); color: var(--brand); }
.account-nav nav a.active { background: var(--soft-2); color: var(--brand); font-weight: 600; }
.account-nav nav a.active i { color: var(--accent); }
.account-logout { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; margin-top: 8px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--danger); font-weight: 600; text-align: left; border-radius: 0 0 11px 11px; }
.account-logout:hover { background: rgba(220, 38, 38, .06); }
.account-welcome { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; color: #fff; background: linear-gradient(120deg, var(--brand-900), var(--brand) 60%, var(--sky)); }
.account-welcome h1 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 4px 0 6px; }
.account-welcome p { color: rgba(255, 255, 255, .85); margin: 0; }
.account-welcome-icon { position: absolute; right: -10px; bottom: -40px; font-size: 180px; color: rgba(255, 255, 255, .08); }
.account-tile { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink); transition: all .25s ease; }
.account-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.account-tile .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--soft-2); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 12px; transition: all .25s ease; }
.account-tile:hover .ic { background: var(--accent); color: #fff; }
.account-tile strong { display: block; font-family: var(--font-head); color: var(--brand-900); }
.account-tile small { color: var(--muted); font-size: 14px; }

@media (max-width: 991.98px) {
    .auth-card { grid-template-columns: 1fr; }
    .auth-side { padding: 30px 28px; }
    .auth-perks { display: none; }
    .auth-side h2 { margin-bottom: 0; font-size: 22px; }
    .account-nav { position: static; }
}
@media (max-width: 575.98px) {
    .auth-section { padding: 30px 0 60px; }
    .auth-main { padding: 28px 22px; }
    .topbar-sep { display: none; }
    .topbar-links a { margin: 0 6px; font-size: 13px; }
    .account-card { padding: 20px; }
}

/* Account menu becomes a compact tab bar on tablets and phones */
@media (max-width: 991.98px) {
    .account-nav { padding: 14px; }
    .account-user { padding: 2px 4px 12px; }
    .account-nav nav { display: flex; gap: 6px; overflow-x: auto; }
    .account-nav nav a { flex: 1; justify-content: center; white-space: nowrap; padding: 9px 10px; font-size: 14.5px; }
    .account-logout { justify-content: center; margin-top: 10px; padding: 9px; }
    .account-section { padding-top: 24px; }
}
@media (max-width: 575.98px) {
    .account-nav nav { scrollbar-width: none; }
    .account-nav nav::-webkit-scrollbar { display: none; }
    .account-nav nav a { gap: 6px; padding: 9px 6px; font-size: 14px; }
    .account-nav nav a i { font-size: 17px; }
    .account-tile { padding: 16px; }
    .account-tile .ic { width: 40px; height: 40px; font-size: 21px; margin-bottom: 8px; }
    .account-welcome { padding: 24px; }
}

/* ---------- Knowledge test: topic cards ---------- */
.topic-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.topic-card-media { position: relative; height: 120px; background: linear-gradient(135deg, var(--brand), var(--sky)); }
.topic-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.topic-card:hover .topic-card-media img { transform: scale(1.05); }
.topic-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 37, 56, .35)); }
.topic-card-icon { position: absolute; left: 22px; bottom: -26px; z-index: 1; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 10px 22px rgba(245, 130, 31, .35); transition: transform .3s ease; }
.topic-card:hover .topic-card-icon { transform: rotate(-6deg) scale(1.06); }
.topic-card-body { padding: 40px 22px 12px; flex: 1; }
.topic-card-body h2 { font-size: 20px; margin-bottom: 8px; color: var(--brand-900); }
.topic-card-body p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.topic-card-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-card-meta span { display: inline-flex; align-items: center; gap: 5px; background: var(--soft); border-radius: 50px; padding: 4px 12px; font-size: 14px; color: var(--brand); }
.topic-card-cta { display: flex; align-items: center; justify-content: space-between; margin: 10px 22px 20px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent); font-family: var(--font-head); font-weight: 600; }
.topic-card-cta i { transition: transform .25s ease; }
.topic-card:hover .topic-card-cta i { transform: translateX(4px); }
.quiz-topic-cover { margin: calc(-1 * clamp(28px, 5vw, 56px)) calc(-1 * clamp(28px, 5vw, 56px)) 0; height: 180px; overflow: hidden; }
.quiz-topic-cover img { width: 100%; height: 100%; object-fit: cover; }
.quiz-topic-cover + .quiz-hero-icon { margin-top: -42px; position: relative; border: 5px solid #fff; box-sizing: content-box; }
.crumbs-dark { display: flex; margin-bottom: 18px; }
.crumbs-dark li { color: var(--muted); }
.crumbs-dark li + li::before { color: var(--line); }
.crumbs-dark a { color: var(--sky); }
.quiz-topic-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; margin-bottom: 16px; font-family: var(--font-head); font-weight: 600; color: var(--brand-900); }
.quiz-topic-bar i { color: var(--accent); font-size: 20px; margin-right: 4px; }
.quiz-topic-bar a { font-family: var(--font-body); font-size: 14px; font-weight: 500; }

/* ---------- Service detail blocks ---------- */
.process-steps { list-style: none; padding: 0; margin: 0; position: relative; }
.process-steps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--sky)); opacity: .35; }
.process-steps li { position: relative; display: flex; gap: 18px; padding-bottom: 22px; }
.process-steps li:last-child { padding-bottom: 0; }
.process-num { position: relative; z-index: 1; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--accent); font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.process-steps h3 { font-size: 17.5px; margin: 8px 0 4px; }
.process-steps p { color: var(--muted); margin: 0; font-size: 16px; }
.doc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.doc-list div { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 12px; padding: 12px 16px; font-size: 16px; }
.doc-list i { color: var(--sky); font-size: 22px; }
.faq-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 20px; border: 0; background: #fff; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--brand-900); transition: background-color .2s ease; }
.faq-q:hover { background: var(--soft); }
.faq-q i { color: var(--accent); transition: transform .25s ease; }
.faq-q:not(.collapsed) i { transform: rotate(180deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 16px; }
.service-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.service-facts span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .14); border-radius: 50px; padding: 5px 12px; font-size: 14px; color: #fff; }

/* ---------- Account dashboard ---------- */
.account-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 30px 32px; border-radius: 22px; color: #fff; background: radial-gradient(500px 240px at 100% 0, rgba(245, 130, 31, .35), transparent 70%), linear-gradient(120deg, var(--brand-900), var(--brand) 60%, var(--sky)); box-shadow: var(--shadow); }
.account-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; }
.account-hero > * { position: relative; z-index: 1; }
.account-hero-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.account-avatar-lg { width: 72px; height: 72px; border-radius: 20px; font-size: 26px; border: 3px solid rgba(255, 255, 255, .35); }
.account-hello { color: #ffc07a; font-weight: 600; font-size: 15px; }
.account-hero h1 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 2px 0 6px; }
.account-hero-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.account-hero-meta span { display: inline-flex; align-items: center; gap: 5px; word-break: break-all; }
.account-hero-actions { display: flex; gap: 10px; }
.account-tabs { display: flex; gap: 6px; margin: 22px 0 24px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); overflow-x: auto; scrollbar-width: none; }
.account-tabs::-webkit-scrollbar { display: none; }
.account-tabs a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 10px; color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.account-tabs a i { font-size: 20px; }
.account-tabs a:hover { color: var(--brand); background: var(--soft); }
.account-tabs a.active { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(11, 60, 93, .25); }
.stat-card { display: flex; align-items: center; gap: 14px; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-card .ic { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.stat-card strong { display: block; font-family: var(--font-head); font-size: 24px; line-height: 1.1; color: var(--brand-900); }
.stat-card small { color: var(--muted); font-size: 14px; }
.tone-sky .ic { background: rgba(29, 138, 201, .12); color: var(--sky); }
.tone-accent .ic { background: rgba(245, 130, 31, .12); color: var(--accent); }
.tone-brand .ic { background: var(--soft-2); color: var(--brand); }
.tone-success .ic { background: rgba(22, 163, 74, .12); color: var(--success); }
.account-card .account-card-head a { color: var(--accent); }
.account-empty { text-align: center; padding: 18px 10px 8px; }
.account-empty-ic { width: 68px; height: 68px; border-radius: 50%; background: var(--soft); color: var(--sky); display: inline-flex; align-items: center; justify-content: center; font-size: 34px; margin-bottom: 12px; }
.account-empty h3 { font-size: 17px; margin-bottom: 6px; }
.account-empty p { color: var(--muted); font-size: 15px; max-width: 360px; margin: 0 auto 16px; }
.test-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.test-row:last-child { border-bottom: 0; }
.test-row-main { flex: 1; min-width: 0; }
.test-row-main strong { display: block; color: var(--brand-900); font-size: 15.5px; }
.test-row-main small { color: var(--muted); }
.test-row-retake { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.test-row-retake:hover { background: var(--accent); color: #fff; }
.mini-ring { --p: 0; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--soft-2) 0); display: flex; align-items: center; justify-content: center; }
.mini-ring b { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--brand-900); }
.account-tile { position: relative; }
.account-tile-arrow { position: absolute; right: 16px; top: 18px; color: var(--line); font-size: 18px; transition: transform .25s ease, color .25s ease; }
.account-tile:hover .account-tile-arrow { color: var(--accent); transform: translateX(3px); }

/* ---------- Logout confirmation ---------- */
.logout-modal { border: 0; border-radius: 20px; padding: 28px 24px 22px; text-align: center; box-shadow: var(--shadow-lg); }
.logout-modal-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: rgba(245, 130, 31, .12); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.logout-modal h2 { font-size: 21px; margin-bottom: 6px; }
.logout-modal p { color: var(--muted); margin-bottom: 20px; }
.logout-modal-actions { display: flex; gap: 10px; }
.logout-modal-actions .btn { flex: 1; }
.modal-backdrop.show { opacity: .55; background: var(--brand-900); }
.drawer-logout { flex: 1; display: flex; align-items: center; gap: 6px; padding: 11px 10px; border: 0; background: none; border-radius: 10px; color: var(--danger); font-family: var(--font-head); font-weight: 500; font-size: 15.5px; text-align: left; }
.drawer-logout:hover { background: rgba(220, 38, 38, .06); }

@media (max-width: 767.98px) {
    .account-hero { padding: 22px; }
    .account-hero-actions { width: 100%; }
    .account-hero-actions .btn { flex: 1; }
    .account-avatar-lg { width: 58px; height: 58px; font-size: 21px; }
    .account-tabs a { padding: 10px 8px; font-size: 14px; }
    .stat-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
}

.logout-dialog { max-width: 380px; }
.logout-modal-actions .btn { white-space: nowrap; }

.drawer-logo { max-height: 40px; max-width: 180px; width: auto; }

/* ---------- Knowledge test: one page with topic buttons ---------- */
.quiz-picker { max-width: 940px; margin: 0 auto; }
.topic-pills { display: flex; gap: 8px; padding: 6px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); overflow-x: auto; scrollbar-width: none; }
.topic-pills::-webkit-scrollbar { display: none; }
.topic-pill { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 14.5px; white-space: nowrap; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.topic-pill:hover { background: var(--soft); color: var(--brand); }
.topic-pill.active { background: var(--brand-900); color: #fff; box-shadow: 0 6px 16px rgba(7, 37, 56, .25); }
.topic-pill-count { min-width: 22px; padding: 1px 7px; border-radius: 6px; background: var(--soft-2); color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; }
.topic-pill.active .topic-pill-count { background: rgba(255, 255, 255, .18); color: #fff; }
.quiz-pick-card { display: grid; grid-template-columns: 300px 1fr; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; animation: fadeUp .35s ease; }
.quiz-pick-media { position: relative; min-height: 260px; background: linear-gradient(135deg, var(--brand-900), var(--brand) 55%, var(--sky)); }
.quiz-pick-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quiz-pick-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(7, 37, 56, .15), rgba(7, 37, 56, .55)); }
.quiz-pick-icon { position: absolute; left: 24px; bottom: 24px; z-index: 1; width: 64px; height: 64px; border-radius: 18px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 12px 26px rgba(245, 130, 31, .4); }
.quiz-pick-body { padding: clamp(24px, 4vw, 40px); }
.quiz-pick-body h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 8px; }
.quiz-pick-body > p { color: var(--muted); font-size: 17px; }
.quiz-pick-body .quiz-meta { margin: 20px 0 24px; }
@media (max-width: 767.98px) {
    .quiz-pick-card { grid-template-columns: 1fr; }
    .quiz-pick-media { min-height: 150px; }
    .quiz-pick-body { text-align: center; }
    .quiz-pick-body .quiz-meta { justify-content: center !important; }
    .topic-pill { padding: 9px 13px; font-size: 14px; }
}
@media (min-width: 768px) {
    .topic-pills { flex-wrap: wrap; overflow-x: visible; }
}
@media (max-width: 575.98px) {
    .quiz-pick-body .quiz-meta { gap: 6px; flex-wrap: wrap; }
    .quiz-pick-body .quiz-meta div { padding: 7px 10px; font-size: 13.5px; gap: 5px; }
    .quiz-pick-body .quiz-meta i { font-size: 18px; }
}

/* Knowledge test: buttons + questions on one page */
.quiz-landing-compact { padding-top: 44px; }
.quiz-heading { text-align: center; margin-bottom: 20px; }
.quiz-heading h1 { font-size: clamp(22px, 3vw, 30px); margin: 0; }
.quiz-landing-compact .topic-pills { margin-bottom: 22px; }
.quiz-landing-compact .topic-pill { text-decoration: none; }
@media (max-width: 575.98px) {
    .quiz-landing-compact { padding-top: 24px; }
}
@media (max-width: 400px) {
    .topbar-links { display: flex; justify-content: center; flex-wrap: nowrap; }
    .topbar-links a { margin: 0 5px; font-size: 12.5px; white-space: nowrap; }
    .topbar-links a i { display: none; }
    .topbar-links .topbar-account i { display: inline; }
}

/* Knowledge test countdown */
.quiz-progress-wrap { gap: 10px; flex-wrap: wrap; }
.quiz-timer { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 50px; background: var(--soft-2); color: var(--brand-900); font-family: var(--font-head); font-size: 15px; font-variant-numeric: tabular-nums; }
.quiz-timer i { font-size: 18px; color: var(--sky); }
.quiz-timer.is-warning { background: rgba(220, 38, 38, .1); color: var(--danger); animation: pop 1s ease infinite; }
.quiz-timer.is-warning i { color: var(--danger); }

/* Round 4: footer names that wrap stay tight; floating "Import" chip sits below the hero card, not over its button */
.footer-links li { margin-bottom: 11px; line-height: 1.35; }
.footer-links a { display: inline-block; }
.float-chip.one { left: -18px; bottom: -6px; }
.hero-visual { padding-bottom: 46px; }

/* About: previous-work slider */
.work-slider { max-width: 980px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--brand-900); }
.work-slider .carousel-item { aspect-ratio: 16 / 9; }
.work-slider .carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 28px 22px; background: linear-gradient(180deg, transparent, rgba(7, 37, 56, .9)); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: clamp(16px, 2vw, 21px); }
.work-caption span { display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 50px; background: var(--accent); font-size: 13px; vertical-align: 2px; }
.work-slider .carousel-indicators { top: 16px; bottom: auto; margin: 0; right: 20px; left: auto; justify-content: flex-end; }
.work-slider .carousel-indicators li { width: 22px; height: 4px; border-radius: 4px; border: 0; opacity: .5; }
.work-slider .carousel-indicators .active { opacity: 1; background: var(--accent); }
.work-slider .carousel-control-prev, .work-slider .carousel-control-next { width: 70px; opacity: 1; }
.work-arrow { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--brand-900); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--shadow); transition: transform .2s ease, background-color .2s ease; }
.work-slider a:hover .work-arrow { background: var(--accent); color: #fff; transform: scale(1.06); }
@media (max-width: 575.98px) { .work-caption { padding: 36px 16px 14px; } .work-arrow { width: 38px; height: 38px; } .work-slider .carousel-control-prev, .work-slider .carousel-control-next { width: 52px; } }

/* Training enrolment card (bKash Send Money + transaction details) */
.enroll-card .enquiry-card-head h3 { font-size: 18px; line-height: 1.45; }
.enroll-steps { list-style: none; padding: 0; margin: 0 0 18px; }
.enroll-steps li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 15px; }
.enroll-step-no { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--soft-2); color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.enroll-steps li > div { flex: 1; min-width: 0; padding-top: 2px; }
.bkash-box { margin-top: 8px; background: #fdf0f6; border: 1px dashed #e2136e; border-radius: 12px; padding: 10px 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.bkash-amount { font-weight: 700; font-size: 18px; color: #e2136e; }
.bkash-to { color: var(--muted); font-size: 14px; }
.bkash-number { border: 0; background: #e2136e; color: #fff; font-weight: 600; letter-spacing: .5px; border-radius: 8px; padding: 4px 10px; font-size: 15px; cursor: pointer; transition: background .2s; }
.bkash-number:hover { background: #c40f5f; }
.bkash-number.is-copied { background: var(--success); }
.bkash-number.is-copied .la-copy:before { content: "\f00c"; }
.enroll-card .form-group { margin-bottom: 14px; }
.enroll-card label { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.enroll-card .req { color: var(--danger); }
.enroll-done { text-align: center; padding: 8px 0; }
.enroll-done .la-check-circle { font-size: 56px; color: var(--success); }
.enroll-done h4 { font-size: 19px; margin: 8px 0 6px; }
.enroll-done p { color: var(--muted); margin: 0; }

/* Account: enrolled courses */
.course-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.course-row:last-child { border-bottom: 0; }
.course-row-ic { flex: 0 0 42px; height: 42px; border-radius: 12px; background: var(--soft-2); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.course-row-main { flex: 1; min-width: 0; }
.course-row-main strong { display: block; color: var(--brand-900); font-size: 15.5px; line-height: 1.4; }
.course-row-main small { color: var(--muted); word-break: break-all; }
.course-status { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--soft); color: var(--muted); }
.course-status.is-warning { background: #fff7ed; color: #c2410c; }
.course-status.is-success { background: #ecfdf5; color: var(--success); }
.course-status.is-brand { background: var(--soft-2); color: var(--brand); }
.course-status.is-danger { background: #fef2f2; color: var(--danger); }

/* Enrol card: coupon code */
.coupon-box { margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.coupon-box label { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .form-control { flex: 1; min-width: 0; }
.coupon-apply { flex: 0 0 auto; border: 1px solid var(--brand); color: var(--brand); background: #fff; font-weight: 600; border-radius: 10px; padding: 0 16px; }
.coupon-apply:hover { background: var(--brand); color: #fff; }
.coupon-msg { font-size: 13.5px; margin-top: 6px; min-height: 0; }
.coupon-msg.is-ok { color: var(--success); }
.coupon-msg.is-error { color: var(--danger); }
.bkash-amount.is-discounted { color: var(--success); }

/* Consultancy: topic (bold) with its sub topic on the next line, and the optional notes */
.topic-list { display: grid; gap: 12px; }
.topic-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.topic-item > i { color: var(--success); font-size: 22px; flex: 0 0 auto; margin-top: 1px; }
.topic-item strong { display: block; color: var(--brand-900); font-size: 16px; line-height: 1.45; }
.topic-item p { margin: 3px 0 0; color: var(--ink); line-height: 1.6; }
.program-note { margin-top: 18px; background: #fff7ed; border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 18px; }
.program-note-label { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--accent-600); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.program-note p { margin: 0; line-height: 1.7; }

/* Footer hover animation: links slide right with an orange arrow and a growing underline; icons lift */
.footer-links a, .footer-contact a, .footer-legal a {
    position: relative;
    transition: color .25s ease, transform .25s ease;
}
.footer-links a::after, .footer-contact a::after, .footer-legal a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.footer-links a:hover::after, .footer-contact a:hover::after, .footer-legal a:hover::after { transform: scaleX(1); }
.footer-links:not(.footer-links-inline) li { position: relative; }
.footer-links:not(.footer-links-inline) li::before {
    content: '\203A'; position: absolute; left: -2px; top: -1px; color: var(--accent); font-weight: 700;
    opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .25s ease;
}
.footer-links:not(.footer-links-inline) li:hover::before { opacity: 1; transform: translateX(0); }
.footer-links a:hover { padding-left: 0; color: var(--accent); }
.footer-links:not(.footer-links-inline) a:hover { transform: translateX(12px); }
.footer-contact a:hover { color: var(--accent); }
.footer-contact li i { transition: transform .3s ease; }
.footer-contact li:hover i { transform: scale(1.18) rotate(-8deg); }
.footer-legal a:hover { color: var(--accent); }
.social-links a { transition: background .25s ease, transform .25s ease, box-shadow .25s ease; }
.social-links a:hover { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(245, 130, 31, .35); }
.social-links a:hover i { animation: footer-icon-pop .4s ease; }
@keyframes footer-icon-pop { 50% { transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) {
    .footer-links a, .footer-contact a, .footer-legal a, .footer-links li::before, .social-links a, .footer-contact li i { transition: none; }
    .footer-links:not(.footer-links-inline) a:hover { transform: none; }
    .social-links a:hover i { animation: none; }
}

/* Round 6: the coupon is a quiet, optional extra — a small grey link that opens the field */
.coupon-box { margin: 0 0 14px; padding-bottom: 12px; }
.coupon-toggle { border: 0; background: none; padding: 0; color: var(--muted); font-size: 13.5px; opacity: .8; cursor: pointer; transition: color .2s ease, opacity .2s ease; }
.coupon-toggle:hover, .coupon-box.is-open .coupon-toggle { color: var(--brand); opacity: 1; }
.coupon-toggle .la-ticket-alt { font-size: 15px; vertical-align: -1px; }
.coupon-fields { display: none; margin-top: 8px; }
.coupon-box.is-open .coupon-fields { display: block; animation: coupon-in .25s ease; }
@keyframes coupon-in { from { opacity: 0; transform: translateY(-4px); } }
.coupon-hint { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.coupon-row .form-control { height: 38px; font-size: 14px; background: var(--soft); border-color: var(--line); }
.coupon-apply { border-color: var(--line); color: var(--muted); padding: 0 14px; font-size: 14px; }
.coupon-apply:hover { border-color: var(--brand); }

/* Round 6: on small laptops (992–1199px) the About block takes its own row, so the link columns are wide enough
   for long service names to stay within 2 lines */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .footer-col-about { flex: 0 0 100%; max-width: 100%; }
    .footer-col-about .footer-about { max-width: 640px; }
    .footer-col-training { flex: 0 0 31%; max-width: 31%; }
    .footer-col-consultancy { flex: 0 0 21%; max-width: 21%; }
    .footer-col-services { flex: 0 0 25%; max-width: 25%; }
    .footer-col-contact { flex: 0 0 23%; max-width: 23%; }
}
/* Tablets (768–991px): Consultancy and Services share the row more evenly with the wider names */
@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-col-consultancy { flex: 0 0 40%; max-width: 40%; }
    .footer-col-services { flex: 0 0 60%; max-width: 60%; }
}

/* Round 6: the "Import" chip mirrors the "Export" chip — same blue icon box, and the same overlap on its corner
   (Export: top-right, Import: bottom-left), still clear of the "Start Test" button */
.float-chip.one { left: 10px; bottom: 10px; }
.float-chip.one i { background: var(--sky); }
/* Export floats up (away from its corner), Import floats down (away from its corner), so it never covers the button */
.float-chip.one { animation-name: floaty-down; }
@keyframes floaty-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (max-width: 991.98px) {
    /* Tablets: the card has no left inset and 40px space above, so the same mirror needs other offsets */
    .float-chip.one { left: -10px; }
    .float-chip.two { right: -10px; top: 9px; }
}
.enroll-done .la-graduation-cap { font-size: 56px; color: var(--brand); }
