/* ============================================================
   Hatim Computers - public stylesheet
   Sections: tokens · base · buttons · header · hero · sections ·
   cards · batches · about · blog · career · contact · footer ·
   modals · lightbox · responsive
   ============================================================ */

/* ------------------------------------------------------------ tokens */
:root {
    --navy-900: #071c39;
    --navy-800: #0b2545;
    --navy-700: #123a7a;
    --navy-600: #1a4b96;
    --accent: #ff7a1a;
    --accent-dark: #e35f00;
    --accent-soft: #fff2e5;
    --ink: #16243c;
    --muted: #5d6b83;
    --line: #e3e9f3;
    --surface: #f5f8fd;
    --surface-2: #eef3fb;
    --white: #fff;
    --green: #16a34a;
    --amber: #d97706;
    --red: #dc2626;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-sm: 10px;
    --shadow-sm: 0 4px 14px rgba(12, 34, 68, .06);
    --shadow: 0 14px 34px rgba(12, 34, 68, .1);
    --shadow-lg: 0 26px 60px rgba(9, 28, 58, .16);
    --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --header-h: 74px;
    --bs-primary: var(--navy-800);
    --bs-primary-rgb: 11, 37, 69;
    --bs-link-color: var(--navy-700);
    --bs-link-hover-color: var(--accent-dark);
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--ink);
    --bs-border-color: var(--line);
}

/* ------------------------------------------------------------ base */
* {
    scrollbar-width: thin;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
    font-family: var(--font-head);
    letter-spacing: -.018em;
}

h1, h2, h3 {
    font-weight: 800;
    line-height: 1.16;
    color: var(--navy-900);
}

h2 { font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.5rem); margin-bottom: .75rem; }
h3 { font-size: 1.16rem; }
h4 { font-size: 1.05rem; }

p { color: var(--muted); }

a {
    color: var(--navy-700);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover { color: var(--accent-dark); }

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

.container.narrow { max-width: 880px; }

.section { padding: 76px 0; }
.section + .section { padding-top: 72px; }
.section-alt { background: var(--surface); }
.section-dark {
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(255, 122, 26, .18), transparent 60%),
        linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 45%, #102e5c 100%);
    color: #e9f0fb;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c3d3ea; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-head);
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border: 1px solid #ffe0c4;
    padding: .3rem .7rem;
    border-radius: 999px;
    margin-bottom: .8rem;
}
.eyebrow.light {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .25);
    color: #ffd7b8;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.4rem;
    flex-wrap: wrap;
}
.section-head p { max-width: 620px; margin: 0; }
.section-head.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.section-head.center p { max-width: 640px; }
.section-head.light h2 { color: #fff; }

.lead-soft {
    font-size: 1.06rem;
    font-weight: 500;
    color: #3f5170;
}

.block-sub {
    color: var(--muted);
    margin-bottom: 1.2rem;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 2000;
    background: var(--navy-800);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 8px;
}
.skip-link:focus { left: 12px; color: #fff; }

/* ------------------------------------------------------------ buttons */
.btn {
    --bs-btn-font-weight: 700;
    --bs-btn-padding-x: 1.35rem;
    --bs-btn-padding-y: .68rem;
    --bs-btn-border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { --bs-btn-padding-x: 1.7rem; --bs-btn-padding-y: .85rem; font-size: 1.02rem; }
.btn-sm { --bs-btn-padding-x: .85rem; --bs-btn-padding-y: .4rem; font-size: .87rem; }

.btn-primary {
    --bs-btn-bg: var(--navy-800);
    --bs-btn-border-color: var(--navy-800);
    --bs-btn-hover-bg: var(--navy-700);
    --bs-btn-hover-border-color: var(--navy-700);
    --bs-btn-active-bg: var(--navy-900);
    --bs-btn-disabled-bg: var(--navy-800);
    box-shadow: 0 10px 22px rgba(11, 37, 69, .22);
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-accent {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-color: #2b1400;
    --bs-btn-hover-bg: var(--accent-dark);
    --bs-btn-hover-border-color: var(--accent-dark);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    box-shadow: 0 10px 24px rgba(255, 122, 26, .32);
}
.btn-accent:hover { transform: translateY(-2px); }

.btn-outline-primary {
    --bs-btn-color: var(--navy-800);
    --bs-btn-border-color: rgba(11, 37, 69, .35);
    --bs-btn-hover-bg: var(--navy-800);
    --bs-btn-hover-border-color: var(--navy-800);
}
.btn-outline-secondary {
    --bs-btn-color: #55627a;
    --bs-btn-border-color: var(--line);
    --bs-btn-hover-bg: var(--surface-2);
    --bs-btn-hover-border-color: var(--line);
    --bs-btn-hover-color: var(--navy-800);
}
.btn-outline-light {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .55);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-color: var(--navy-800);
    --bs-btn-hover-border-color: #fff;
}

.btn-primary-soft {
    --bs-btn-color: var(--navy-800);
    --bs-btn-bg: #e6edfa;
    --bs-btn-border-color: #e6edfa;
    --bs-btn-hover-bg: var(--navy-800);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-border-color: var(--navy-800);
}
.btn-soft {
    --bs-btn-color: var(--navy-800);
    --bs-btn-bg: rgba(255, 255, 255, .1);
    --bs-btn-border-color: rgba(255, 255, 255, .3);
    --bs-btn-hover-bg: rgba(255, 255, 255, .2);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-border-color: rgba(255, 255, 255, .6);
}
.btn-ghost {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .4);
    --bs-btn-hover-bg: rgba(255, 255, 255, .14);
    --bs-btn-hover-color: #fff;
}
.btn-enquire {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-color: #2b1400;
    --bs-btn-hover-bg: var(--accent-dark);
    --bs-btn-hover-border-color: var(--accent-dark);
    --bs-btn-hover-color: #fff;
    padding: .55rem 1.15rem;
    font-size: .93rem;
    border-radius: 999px;
}
.btn-loading { display: inline-flex; align-items: center; gap: .4rem; }

/* ------------------------------------------------------------ topbar + header */
.topbar {
    background: var(--navy-900);
    color: #b9cbe6;
    font-size: .84rem;
    padding: .5rem 0;
}
.topbar a { color: #d8e5f7; margin-right: 1.4rem; }
.topbar a:hover { color: var(--accent); }
.topbar i { color: var(--accent); margin-right: .3rem; }
.topbar-left { display: flex; align-items: center; gap: .2rem; }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-note {
    background: rgba(255, 122, 26, .16);
    border: 1px solid rgba(255, 122, 26, .4);
    color: #ffcf9f;
    padding: .18rem .7rem;
    border-radius: 999px;
    font-weight: 600;
}
.topbar-social a { margin: 0 .35rem; font-size: .9rem; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease, padding .25s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 8px 26px rgba(12, 34, 68, .1);
    border-bottom-color: var(--line);
}
.main-nav {
    min-height: var(--header-h);
    padding: .35rem 0;
}
.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--navy-900);
}
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    box-shadow: 0 8px 18px rgba(11, 37, 69, .28);
    flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.12rem; font-weight: 800; }
.brand-sub {
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-dark);
    font-weight: 700;
}

.nav-menu { gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-menu .nav-link {
    --bs-nav-link-color: var(--navy-800);
    --bs-nav-link-hover-color: var(--accent-dark);
    position: relative;
    font-weight: 600;
    font-size: .95rem;
    padding: .55rem .8rem;
    border-radius: 10px;
    color: var(--navy-800);
    background: none;
    border: 0;
}
.nav-menu .nav-link::before {
    content: "";
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .28rem;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.nav-menu .nav-link:hover { color: var(--accent-dark); background: transparent; }
.nav-menu .nav-link:hover::before,
.nav-menu .nav-link.active::before { transform: scaleX(1); }
.nav-menu .nav-link.active { color: var(--navy-900); }
.nav-menu .dropdown-toggle::after {
    border: 0;
    content: "\f282";
    font-family: "bootstrap-icons";
    vertical-align: middle;
    margin-left: .25rem;
    font-size: .7rem;
}

.mega-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
    background: #fff;
    min-width: min(640px, 92vw);
}
.mega-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: .9rem;
    margin-bottom: .9rem;
    border-bottom: 1px dashed var(--line);
}
.mega-head .eyebrow { margin-bottom: .35rem; }
.mega-head h6 { margin: 0; font-size: 1rem; color: var(--navy-900); }
.mega-all { font-weight: 700; font-size: .86rem; white-space: nowrap; }
.mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem;
}
.mega-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .65rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: .92rem;
    color: var(--navy-800);
}
.mega-item:hover { background: var(--surface); color: var(--accent-dark); }
.mega-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    color: var(--navy-700);
    font-size: 1rem;
    flex: 0 0 auto;
}
.mega-item:hover .mega-icon { background: var(--accent-soft); color: var(--accent-dark); }

.menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy-800);
    font-size: 1.4rem;
    display: grid;
    place-items: center;
}
.menu-toggle:hover { background: var(--surface); color: var(--accent-dark); }

.mobile-nav {
    background: #fff;
    color: var(--ink);
    width: min(360px, 88vw);
    border: 0;
}
.mobile-nav .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu > li { border-bottom: 1px solid var(--line); }
.mobile-menu a, .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .9rem .2rem;
    font-weight: 700;
    color: var(--navy-800);
    cursor: pointer;
    list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary { justify-content: space-between; }
.mobile-menu a i:first-child, .mobile-menu summary i:first-child { color: var(--accent-dark); width: 20px; }
.mobile-menu a.active { color: var(--accent-dark); }
.mobile-course-list { padding: 0 0 .6rem 1.6rem; }
.mobile-course-list a {
    display: flex;
    padding: .5rem .2rem;
    font-size: .92rem;
    font-weight: 600;
    color: #40506b;
}
.mobile-course-list .all-link { color: var(--accent-dark); font-weight: 700; }
.mobile-nav-contact {
    margin-top: 1.2rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: .9rem;
    color: var(--muted);
}
.mobile-nav-contact a { color: var(--navy-800); font-weight: 600; }
.mobile-nav-contact i { color: var(--accent-dark); margin-right: .3rem; }

.flash-stack { position: relative; z-index: 5; padding-top: 1rem; }
.flash-stack .alert { box-shadow: var(--shadow-sm); border-radius: 12px; }

/* ------------------------------------------------------------ hero */
.hero {
    position: relative;
    padding: 64px 0 78px;
    overflow: hidden;
    background: linear-gradient(155deg, #f7faff 0%, #eef4fd 55%, #e7eefb 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 320px at 88% 12%, rgba(255, 122, 26, .16), transparent 62%),
        radial-gradient(520px 280px at 8% 92%, rgba(18, 58, 122, .14), transparent 60%);
    pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1px solid #ffe1c6;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: .82rem;
    padding: .45rem .95rem;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.2rem;
}
.hero-title {
    font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.5rem);
    line-height: 1.08;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}
.hero-title .accent-line { color: var(--accent-dark); }
.hero-lead {
    font-size: 1.06rem;
    max-width: 540px;
    color: #46566f;
    margin-bottom: 1.1rem;
}
.hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: .5rem;
}
.hero-points li {
    font-weight: 600;
    color: var(--navy-800);
    display: flex;
    align-items: center;
    gap: .55rem;
}
.hero-points i { color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.hero-contact {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-size: .9rem;
    color: var(--muted);
    font-weight: 600;
}
.hero-contact a { color: var(--navy-800); }
.hero-contact a i { color: var(--accent-dark); }
.hero-dot { width: 5px; height: 5px; border-radius: 50%; background: #c3cfe2; }

.hero-visual { position: relative; }
.hero-frame {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid #fff;
    aspect-ratio: 16 / 10;
    background: var(--surface-2);
}
.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 28, 57, .38));
}
.hero-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .6rem .85rem;
    box-shadow: var(--shadow);
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.25;
    animation: float-chip 6s ease-in-out infinite;
}
.hero-chip strong { display: block; color: var(--navy-900); font-size: .9rem; }
.hero-chip i { font-size: 1.3rem; color: var(--accent); }
.hero-chip-1 { top: 8%; left: -22px; animation-delay: .4s; }
.hero-chip-2 { bottom: 16%; left: -34px; animation-delay: 1.6s; }
.hero-chip-3 { bottom: -14px; right: 8%; animation-delay: 2.6s; }
@keyframes float-chip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ------------------------------------------------------------ stat strip */
.stat-strip {
    background: #fff;
    border-block: 1px solid var(--line);
    padding: 26px 0;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .4rem .6rem;
}
.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    background: var(--surface);
    color: var(--navy-700);
    border: 1px solid var(--line);
    flex: 0 0 auto;
}
.stat-value {
    display: block;
    font-family: var(--font-head);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.1;
}
.stat-label { font-size: .86rem; color: var(--muted); font-weight: 600; }

/* ------------------------------------------------------------ search panel */
.course-search-section { padding-top: 64px; padding-bottom: 0; }
.search-panel {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(140deg, var(--navy-800), #14396b);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.search-copy h2 { color: #fff; font-size: 1.6rem; }
.search-copy p { color: #c5d6ee; margin: 0; }
.search-form .input-group { border-radius: 999px; overflow: hidden; box-shadow: var(--shadow); }
.search-form .input-group-text { background: #fff; border: 0; padding-inline: 1rem; color: var(--muted); }
.search-form .form-control {
    border: 0;
    padding: .9rem .5rem;
    font-size: 1rem;
}
.search-form .form-control:focus { box-shadow: none; }
.search-form .btn { padding: .9rem 1.4rem; }
.search-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.search-tags a {
    font-size: .78rem;
    font-weight: 600;
    color: #d9e6f8;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    padding: .25rem .7rem;
    border-radius: 999px;
}
.search-tags a:hover { background: var(--accent); border-color: var(--accent); color: #2b1400; }

/* ------------------------------------------------------------ cards: course */
.course-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #cfdcf1;
}
.course-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-2);
}
.course-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.course-card:hover .course-media img { transform: scale(1.06); }
.course-media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 28, 57, .06) 40%, rgba(7, 28, 57, .6));
}
.course-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .92);
    color: var(--navy-700);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}
.course-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    background: rgba(7, 28, 57, .62);
    padding: .28rem .65rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}
.course-body { padding: 1.1rem 1.15rem .4rem; flex: 1; }
.course-cat {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: .35rem;
}
.course-body h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.course-body h3 a { color: var(--navy-900); }
.course-body h3 a:hover { color: var(--accent-dark); }
.course-desc { font-size: .92rem; color: var(--muted); margin-bottom: .8rem; }
.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    font-size: .8rem;
    color: #4c5c74;
    font-weight: 600;
    padding-top: .2rem;
}
.course-meta i { color: var(--navy-600); margin-right: .25rem; }
.course-actions {
    display: flex;
    gap: .5rem;
    padding: .9rem 1.15rem 1.15rem;
    border-top: 1px solid var(--line);
    margin-top: auto;
}
.course-actions .btn { flex: 1; }

/* ------------------------------------------------------------ features */
.feature-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.15rem;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: var(--accent-dark);
    background: var(--accent-soft);
    margin-bottom: .8rem;
}
.feature-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.feature-card p { font-size: .88rem; margin: 0; }

.assurance {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    height: 100%;
}
.assurance i { font-size: 1.6rem; color: var(--navy-700); }
.assurance h3 { font-size: 1rem; margin: .6rem 0 .3rem; }
.assurance p { font-size: .88rem; margin: 0; }

/* ------------------------------------------------------------ about */
.about-media { position: relative; }
.about-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: block;
}
.about-media-badge, .about-media-ribbon {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: .8rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    color: var(--muted);
    font-weight: 600;
}
.about-media-badge { bottom: 20px; right: 20px; flex-direction: column; text-align: center; }
.about-media-badge strong {
    font-family: var(--font-head);
    font-size: 1.7rem;
    color: var(--accent-dark);
    line-height: 1;
}
.about-media-ribbon { left: 18px; bottom: 18px; max-width: 78%; }
.about-media-ribbon i { color: var(--accent); font-size: 1.1rem; }

.about-points {
    display: grid;
    gap: .8rem;
    margin-top: 1.3rem;
}
.about-points > div {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}
.about-points i { color: var(--navy-600); font-size: 1.25rem; margin-top: .1rem; }
.about-points strong { display: block; color: var(--navy-900); font-size: .96rem; }
.about-points span { font-size: .88rem; color: var(--muted); }

.mini-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    margin-top: 1.6rem;
}
.mini-facts > div {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .9rem;
    text-align: center;
}
.mini-facts strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--navy-800);
}
.mini-facts span { font-size: .8rem; color: var(--muted); font-weight: 600; }

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}
.mv-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow-sm);
}
.mv-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
    color: #fff;
    margin-bottom: .9rem;
}
.mv-card h3 { font-size: 1.1rem; }
.mv-sub { color: var(--accent-dark); font-weight: 600; font-size: .9rem; }
.mv-card ul { padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }

.story-block { text-align: center; }
.story-block .lead-soft { max-width: 620px; margin: 0 auto 1rem; }

.tick-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: .55rem;
}
.tick-list li { display: flex; gap: .6rem; align-items: flex-start; color: #3d4d66; font-size: .95rem; }
.tick-list i { color: var(--green); font-size: 1.05rem; line-height: 1.3; }

/* ------------------------------------------------------------ methodology */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 1.1rem;
}
.method-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem 1.3rem;
    overflow: hidden;
}
.method-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ffbe7a);
}
.method-card.dark {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .16);
}
.method-card.dark p { color: #c5d6ee; }
.method-step {
    position: absolute;
    top: .6rem;
    right: .9rem;
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 800;
    color: rgba(11, 37, 69, .07);
}
.method-card.dark .method-step { color: rgba(255, 255, 255, .12); }
.method-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    background: var(--accent-soft);
    color: var(--accent-dark);
    margin-bottom: .8rem;
}
.method-card.dark .method-icon { background: rgba(255, 122, 26, .18); color: #ffc79a; }
.method-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.method-card p { font-size: .89rem; margin: 0; }
.method-note {
    margin-top: 1.6rem;
    padding: 1.1rem 1.3rem;
    background: rgba(255, 255, 255, .07);
    border: 1px dashed rgba(255, 255, 255, .22);
    border-radius: var(--radius);
    font-size: .92rem;
    color: #d5e3f6;
}
.method-note p { color: inherit; margin-bottom: .4rem; }

/* ------------------------------------------------------------ certificates band */
.certificate-band { background: #fff; }
.cert-media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 8px solid #fff;
    width: 100%;
}

/* ------------------------------------------------------------ batches */
.batch-section { padding: 76px 0; }
.batch-card {
    height: 100%;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    transition: transform .22s ease, background-color .22s ease;
}
.batch-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .12); }
.batch-course {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
    color: #ffd7b8;
    font-size: .95rem;
    margin-bottom: .9rem;
}
.batch-course a { color: #fff; }
.batch-course a:hover { color: var(--accent); }
.batch-date { display: flex; align-items: baseline; gap: .5rem; }
.batch-day {
    font-family: var(--font-head);
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.batch-month { color: #a8c1e4; font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.batch-meta {
    list-style: none;
    padding: 0;
    margin: .9rem 0;
    display: grid;
    gap: .4rem;
    font-size: .86rem;
    color: #cddcf2;
}
.batch-meta i { color: var(--accent); margin-right: .35rem; }
.seat-bar {
    height: 7px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .18);
    overflow: hidden;
}
.seat-bar span {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), #ffc178);
}
.seat-state { font-size: .82rem; font-weight: 700; display: inline-block; margin-top: .5rem; }
.seat-success { color: #79e3a6; }
.seat-warning { color: #ffd166; }
.seat-danger { color: #ff9a9a; }
.batch-note {
    margin-top: 1.6rem;
    font-size: .88rem;
    color: #b9cbe6;
    text-align: center;
}
.batch-note i { color: var(--accent); }

/* light-scheme batch cards (new batch page) */
.batch-card.wide {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.batch-card.wide:hover { background: #fff; box-shadow: var(--shadow); }
.batch-card.wide .batch-course,
.batch-card.wide .batch-day { color: var(--navy-900); }
.batch-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: .4rem; }
.batch-title h3 { font-size: 1.08rem; margin: .35rem 0 .25rem; }
.batch-title h3 a { color: var(--navy-900); }
.batch-card.wide .batch-date { flex-direction: column; align-items: center; text-align: center; }
.batch-card.wide .batch-month { color: var(--accent-dark); }
.batch-shift { font-size: .74rem; }
.batch-status { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.status-upcoming { color: var(--green); }
.status-ongoing { color: var(--navy-600); }
.status-closed { color: var(--red); }
.batch-card.wide .batch-meta { color: #4c5c74; }
.batch-card.wide .batch-meta i { color: var(--navy-600); }
.batch-card.wide .seat-bar { background: var(--surface-2); }
.batch-card.wide .batch-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-top: .8rem;
    padding-top: .8rem;
    border-top: 1px solid var(--line);
}
.badge-soft {
    background: var(--surface-2);
    color: var(--navy-700);
    border-radius: 999px;
    padding: .25rem .7rem;
    font-size: .78rem;
    font-weight: 700;
}
.batch-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.6rem;
    margin: 1.4rem 0 1.8rem;
    font-size: .9rem;
    color: var(--muted);
    font-weight: 600;
}
.batch-summary i { color: var(--accent-dark); margin-right: .3rem; }

.next-batch {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.8rem;
    margin-bottom: 2.2rem;
    box-shadow: var(--shadow);
}
.nb-copy { flex: 1 1 260px; }
.nb-copy h2 { color: #fff; font-size: 1.5rem; margin: .3rem 0 .4rem; }
.nb-copy p { color: #cddcf2; margin: 0; font-size: .92rem; }
.nb-copy i { color: var(--accent); }
.nb-count { display: flex; gap: .6rem; }
.nb-count > div {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    padding: .5rem .7rem;
    text-align: center;
    min-width: 62px;
}
.nb-count span {
    display: block;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.nb-count small { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #a8c1e4; }

.shift-list { display: grid; gap: .9rem; margin-top: 1.4rem; }
.shift-row {
    display: flex;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
}
.shift-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    flex: 0 0 auto;
}
.shift-row h3 { font-size: 1rem; margin-bottom: .2rem; }
.shift-row p { font-size: .88rem; margin: 0; }

.admission-steps .steps { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1.1rem; }
.admission-steps .steps > li { display: flex; gap: 1rem; }
.admission-steps .steps span {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--navy-800);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    flex: 0 0 auto;
    font-family: var(--font-head);
}
.admission-steps .steps h3 { font-size: 1rem; margin-bottom: .15rem; }
.admission-steps .steps p { font-size: .89rem; margin: 0; }

/* ------------------------------------------------------------ testimonials */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.testimonial-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.testimonial-top strong { display: block; color: var(--navy-900); font-size: .98rem; }
.testimonial-top span:not(.avatar) { font-size: .82rem; color: var(--muted); }
.testimonial-quote { margin-left: auto; font-size: 1.7rem; color: var(--accent); opacity: .5; }
.avatar {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-family: var(--font-head);
    font-size: .95rem;
    flex: 0 0 auto;
}
.avatar-lg { width: 60px; height: 60px; font-size: 1.2rem; border-radius: 18px; }
.testimonial-card p { font-size: .92rem; margin-bottom: .9rem; flex: 1; }
.testimonial-foot { margin-top: auto; }
.stars { color: #f7b52c; font-size: .9rem; letter-spacing: .08em; }

.testimonials-swiper { padding-bottom: 2.6rem !important; }
.testimonials-swiper .swiper-slide { height: auto; }
.testimonials-swiper .swiper-pagination-bullet-active { background: var(--accent); }
.swiper-nav { display: flex; gap: .5rem; }
.nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy-800);
    display: grid;
    place-items: center;
    transition: all .2s ease;
}
.nav-btn:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ------------------------------------------------------------ gallery + lightbox */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: .9rem;
}
.gallery-item {
    position: relative;
    border: 0;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem .8rem .7rem;
    background: linear-gradient(180deg, transparent, rgba(7, 28, 57, .82));
    color: #fff;
    font-size: .84rem;
    font-weight: 600;
    text-align: left;
}
.gallery-zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--navy-800);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity .2s ease;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }
.mini-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem;
    margin-top: 1.2rem;
}
.mini-gallery-item {
    border: 1px solid var(--line);
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: zoom-in;
    background: var(--surface-2);
}
.mini-gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(6, 18, 36, .92);
    display: grid;
    place-items: center;
    padding: 4vw;
    animation: fade-in .2s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1000px, 92vw); text-align: center; }
.lightbox img {
    max-height: 76vh;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox figcaption { color: #dbe6f5; margin-top: .8rem; font-size: .92rem; }
.lb-close, .lb-nav {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.lb-close { top: 18px; right: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); border-color: var(--accent); }
body.lb-open { overflow: hidden; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------ blog */
.blog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-media img { transform: scale(1.05); }
.blog-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.blog-topline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .7rem;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: .5rem;
}
.blog-cat {
    background: var(--accent-soft);
    color: var(--accent-dark);
    border: 1px solid #ffe1c6;
    padding: .15rem .6rem;
    border-radius: 999px;
    font-weight: 700;
}
.blog-date i, .blog-views i { color: var(--navy-600); margin-right: .2rem; }
.blog-body h3 { font-size: 1.06rem; margin-bottom: .4rem; line-height: 1.35; }
.blog-body h3 a { color: var(--navy-900); }
.blog-body h3 a:hover { color: var(--accent-dark); }
.blog-body p { font-size: .9rem; margin-bottom: .9rem; }
.blog-link {
    margin-top: auto;
    font-weight: 700;
    font-size: .88rem;
    color: var(--accent-dark);
}
.blog-link i { transition: transform .2s ease; }
.blog-card:hover .blog-link i { transform: translateX(4px); }

.featured-post {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.6rem;
}
.featured-media { position: relative; display: block; overflow: hidden; background: var(--surface-2); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.featured-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #2b1400;
    font-weight: 700;
    font-size: .76rem;
    padding: .3rem .7rem;
    border-radius: 999px;
}
.featured-body { padding: 1.5rem 1.6rem; display: flex; flex-direction: column; }
.featured-body h2 { font-size: 1.45rem; line-height: 1.3; }
.featured-body h2 a { color: var(--navy-900); }
.featured-body h2 a:hover { color: var(--accent-dark); }
.featured-body p { font-size: .95rem; }
.featured-foot {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.featured-foot .avatar { width: 38px; height: 38px; font-size: .82rem; }
.byline { font-size: .86rem; color: var(--muted); font-weight: 600; }
.featured-foot .btn { margin-left: auto; }

.article-meta {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
    padding-bottom: 1.1rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}
.article-meta strong { display: block; color: var(--navy-900); }
.article-meta > div:nth-child(2) span { font-size: .82rem; color: var(--muted); }
.article-stats { margin-left: auto; display: flex; gap: 1rem; font-size: .84rem; color: var(--muted); }
.article-stats i { color: var(--accent-dark); }

.article-body { font-size: 1.03rem; }
.rich-text { color: #35475f; }
.rich-text h2, .rich-text h3 { margin: 1.8rem 0 .7rem; }
.rich-text p { margin-bottom: 1.05rem; }
.rich-text ul, .rich-text ol { margin-bottom: 1.1rem; padding-left: 1.3rem; }
.rich-text li { margin-bottom: .45rem; }
.rich-text strong { color: var(--navy-800); }
.rich-text a { text-decoration: underline; }
.rich-text blockquote {
    border-left: 4px solid var(--accent);
    background: var(--surface);
    padding: 1rem 1.2rem;
    border-radius: 0 12px 12px 0;
    color: var(--navy-800);
    font-weight: 500;
    margin: 1.4rem 0;
}
.page-body { font-size: 1rem; }

.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy-800);
    font-size: .84rem;
    font-weight: 600;
    padding: .38rem .85rem;
    border-radius: 999px;
    transition: all .18s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-soft); }
.chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip.static { background: var(--surface); color: var(--muted); }
.chip.small { font-size: .78rem; padding: .25rem .65rem; }
.chip span { background: rgba(11, 37, 69, .08); border-radius: 999px; padding: 0 .4rem; font-size: .74rem; }
.chip.active span { background: rgba(255, 255, 255, .2); }

.share-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.1rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    margin-bottom: 1.4rem;
}
.share-label { font-weight: 700; font-size: .88rem; color: var(--navy-800); }
.share-links { display: flex; gap: .45rem; margin-left: auto; }
.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy-700);
    display: grid;
    place-items: center;
    font-size: 1rem;
    transition: all .18s ease;
}
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-btn.wa:hover { background: #25d366; border-color: #25d366; }
.share-btn.fb:hover { background: #1877f2; border-color: #1877f2; }
.share-btn.tw:hover { background: #111; border-color: #111; }
.share-btn.tg:hover { background: #229ed9; border-color: #229ed9; }
.share-btn.copied { background: var(--green); border-color: var(--green); color: #fff; }

.post-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; margin-bottom: 1.4rem; }
.post-nav-link {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .9rem 1rem;
    background: #fff;
    transition: all .2s ease;
}
.post-nav-link:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.post-nav-link small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.post-nav-link strong { color: var(--navy-900); font-size: .95rem; line-height: 1.35; }
.post-nav-link.next { text-align: right; }

.author-box {
    display: flex;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.3rem;
}
.author-box h3 { font-size: 1.05rem; }
.author-box p { font-size: .9rem; }
.author-box .btn { margin-right: .4rem; }

.pagination-wrap { margin-top: 2.2rem; }
.pagination { --bs-pagination-border-radius: 10px; --bs-pagination-color: var(--navy-700); --bs-pagination-active-bg: var(--navy-800); --bs-pagination-active-border-color: var(--navy-800); }

/* ------------------------------------------------------------ sidebar blocks */
.sticky-side { display: grid; gap: 1.2rem; }
@media (min-width: 992px) {
    .sticky-side { position: sticky; top: calc(var(--header-h) + 18px); }
}
.side-card, .enquire-card, .side-cta {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.3rem;
    box-shadow: var(--shadow-sm);
}
.side-card h3 {
    font-size: 1rem;
    padding-bottom: .7rem;
    margin-bottom: .8rem;
    border-bottom: 1px solid var(--line);
}
.side-card h3 i { color: var(--accent-dark); margin-right: .35rem; }
.cat-list, .link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.cat-list a, .link-list a {
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    padding: .55rem .1rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--navy-800);
    border-bottom: 1px dashed var(--line);
}
.cat-list li:last-child a, .link-list li:last-child a { border-bottom: 0; }
.cat-list a:hover, .link-list a:hover { color: var(--accent-dark); padding-left: .3rem; }
.cat-list a.active { color: var(--accent-dark); }
.link-list small { display: block; color: var(--muted); font-weight: 500; font-size: .76rem; }
.mini-post-list { display: grid; gap: .8rem; }
.mini-post {
    display: flex;
    gap: .7rem;
    align-items: center;
}
.mini-post img {
    width: 68px;
    height: 52px;
    object-fit: cover;
    border-radius: 9px;
    flex: 0 0 auto;
}
.mini-post strong { font-size: .87rem; line-height: 1.3; color: var(--navy-900); }
.mini-post small { display: block; color: var(--muted); font-size: .76rem; }
.mini-batch { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.mini-batch:last-of-type { border-bottom: 0; }
.mini-date {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: .3rem .5rem;
    font-size: .78rem;
    font-weight: 800;
    color: var(--navy-800);
    height: fit-content;
}
.mini-batch strong { display: block; font-size: .88rem; color: var(--navy-900); }
.mini-batch small { color: var(--muted); font-size: .78rem; }
.side-cta {
    background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
    border-color: transparent;
    color: #dbe6f5;
}
.side-cta h3 { color: #fff; }
.side-cta p { color: #c0d2ea; font-size: .9rem; }
.newsletter { background: var(--accent-soft); border-color: #ffe1c6; }
.newsletter p { font-size: .88rem; }

/* ------------------------------------------------------------ filters / empty */
.filter-bar {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: .8rem;
    box-shadow: var(--shadow-sm);
}
.filter-search {
    flex: 1 1 260px;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .5rem .95rem;
}
.filter-search i { color: var(--muted); }
.filter-search input { border: 0; background: none; outline: none; width: 100%; font-size: .95rem; }
.filter-bar .form-select { flex: 0 1 200px; border-radius: 999px; border-color: var(--line); font-size: .9rem; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0 .8rem; }
.result-count { font-size: .92rem; color: var(--muted); margin: .6rem 0 1.4rem; }
.result-count a { font-weight: 700; }

.empty-state {
    text-align: center;
    background: #fff;
    border: 1px dashed #cdd9ea;
    border-radius: var(--radius-lg);
    padding: 3rem 1.5rem;
}
.empty-state i { font-size: 2.6rem; color: var(--navy-600); margin-bottom: .7rem; }
.empty-state h3 { font-size: 1.2rem; }
.empty-state p { max-width: 520px; margin: 0 auto 1.2rem; }
.empty-state .btn { margin: .2rem .3rem; }

.compare-panel {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.4rem;
}
.compare-panel h2 { font-size: 1.5rem; }
.compare-actions { display: grid; gap: .6rem; }

/* ------------------------------------------------------------ course detail */
.detail-block { margin-bottom: 2.4rem; }
.detail-block h2 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .9rem;
}
.split-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.3rem;
    height: 100%;
}
.split-card h3 {
    font-size: 1.02rem;
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.split-card h3 i { color: var(--accent-dark); }
.split-card .tick-list { margin: 0; }

.enquire-card { padding: 0; overflow: hidden; }
.enquire-media { aspect-ratio: 16 / 10; overflow: hidden; }
.enquire-media img { width: 100%; height: 100%; object-fit: cover; }
.enquire-card h3 { padding: 1.1rem 1.3rem .4rem; font-size: 1.05rem; }
.enquire-card > .btn, .enquire-note { margin-inline: 1.3rem; }
.enquire-card .btn { width: calc(100% - 2.6rem); }
.fact-list { list-style: none; padding: 0 1.3rem; margin: 0 0 1rem; display: grid; gap: .75rem; }
.fact-list li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: .5rem .6rem;
    align-items: start;
    padding-bottom: .7rem;
    border-bottom: 1px dashed var(--line);
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list i { color: var(--navy-600); font-size: 1.05rem; margin-top: .15rem; }
.fact-list span {
    grid-column: 2;
    display: block;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 700;
}
.fact-list strong { grid-column: 2; display: block; font-size: .92rem; color: var(--navy-900); font-weight: 600; }
.enquire-note {
    font-size: .8rem;
    color: var(--muted);
    margin: .8rem 1.3rem 1.3rem !important;
}
.enquire-note i { color: var(--green); }

.syllabus-accordion .accordion-button, .faq-accordion .accordion-button {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--navy-900);
    box-shadow: none;
    font-size: .98rem;
    padding: 1rem 1.2rem;
}
.syllabus-accordion .accordion-button:not(.collapsed), .faq-accordion .accordion-button:not(.collapsed) {
    background: var(--surface);
    color: var(--navy-800);
    box-shadow: none;
}
.syllabus-accordion .accordion-button:focus, .faq-accordion .accordion-button:focus { box-shadow: none; }
.syllabus-accordion .accordion-button::after, .faq-accordion .accordion-button::after {
    background: none;
    content: "\f63b";
    font-family: "bootstrap-icons";
    width: auto;
    height: auto;
    transform: none;
    color: var(--accent-dark);
    font-size: 1.1rem;
}
.syllabus-accordion .accordion-button.collapsed::after, .faq-accordion .accordion-button.collapsed::after { content: "\f64d"; }
.mod-no {
    background: var(--navy-800);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .55rem;
    border-radius: 999px;
    margin-right: .7rem;
    white-space: nowrap;
}
.mod-name { flex: 1; }
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius) !important; margin-bottom: .6rem; overflow: hidden; }
.accordion-body { color: var(--muted); font-size: .94rem; background: #fff; }
.faq-accordion .accordion-body { padding-top: .2rem; }
.course-batch-table table { margin-bottom: 0; }
.course-batch-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.course-batch-table td { font-size: .92rem; border-color: var(--line); }
.seat-success { color: var(--green); font-weight: 700; }
.seat-warning { color: var(--amber); font-weight: 700; }
.seat-danger { color: var(--red); font-weight: 700; }

/* ------------------------------------------------------------ career page */
.support-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.3rem;
    height: 100%;
    transition: all .22s ease;
}
.support-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.support-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: .9rem;
}
.support-card h3 { font-size: 1.04rem; margin-bottom: .35rem; }
.support-card p { font-size: .9rem; }
.support-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 700;
    color: var(--green);
    background: #eafaf1;
    border-radius: 999px;
    padding: .25rem .7rem;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.2rem;
}
.path-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem;
}
.path-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.path-card p { font-size: .92rem; }
.path-card .tick-list { margin-bottom: 1.1rem; }

.job-list { display: grid; gap: 1rem; }
.job-card {
    display: grid;
    grid-template-columns: 1.6fr .8fr;
    gap: 1.4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.4rem;
    box-shadow: var(--shadow-sm);
}
.job-card:hover { border-color: #cfdcf1; }
.job-top { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .5rem; }
.job-top h3 { font-size: 1.18rem; margin: 0; }
.job-type {
    background: var(--accent-soft);
    color: var(--accent-dark);
    border: 1px solid #ffe1c6;
    font-size: .76rem;
    font-weight: 700;
    border-radius: 999px;
    padding: .2rem .65rem;
}
.job-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.2rem;
    padding: 0;
    margin: 0 0 .8rem;
    font-size: .85rem;
    color: var(--muted);
    font-weight: 600;
}
.job-meta i { color: var(--navy-600); margin-right: .25rem; }
.job-desc { font-size: .93rem; }
.job-desc ul { padding-left: 1.1rem; color: var(--muted); }
.job-side { display: flex; flex-direction: column; justify-content: center; }
.job-note { font-size: .78rem; color: var(--muted); margin: .6rem 0 0; }
.job-note i { color: var(--accent-dark); }

.role-marquee {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}
.role-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .45rem .95rem;
    font-size: .86rem;
    font-weight: 600;
    color: var(--navy-800);
}
.role-chip i { color: var(--accent-dark); }

/* ------------------------------------------------------------ contact */
.contact-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.3rem;
    text-align: left;
    transition: all .22s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--navy-700);
    font-size: 1.3rem;
    margin-bottom: .8rem;
}
.contact-card:hover .contact-icon { background: var(--accent-soft); color: var(--accent-dark); }
.contact-label {
    display: block;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    font-weight: 700;
}
.contact-card strong { display: block; font-size: 1rem; color: var(--navy-900); margin: .25rem 0 .4rem; font-family: var(--font-head); }
.contact-link { font-size: .87rem; font-weight: 700; color: var(--accent-dark); }
.contact-note { display: block; font-size: .82rem; color: var(--muted); }

.contact-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { font-size: 1.5rem; }
.form-label { font-weight: 700; font-size: .88rem; color: var(--navy-800); }
.form-label span { color: var(--red); }
.form-control, .form-select {
    border-radius: 12px;
    border-color: #d8e2f0;
    padding: .68rem .9rem;
    font-size: .95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--navy-600);
    box-shadow: 0 0 0 .18rem rgba(18, 58, 122, .12);
}
.form-footer {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 1.3rem;
}
.privacy-note { font-size: .82rem; color: var(--muted); margin: 0; flex: 1; }
.privacy-note i { color: var(--green); }
.success-panel {
    text-align: center;
    background: #f1fbf5;
    border: 1px solid #bfe8cf;
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.4rem;
}
.success-panel h3 { font-size: 1.25rem; margin: .8rem 0 .4rem; }
.success-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    margin: 0 auto;
}
.map-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.map-card iframe { width: 100%; display: block; }
.map-foot {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.2rem;
}
.map-foot h3 { font-size: 1rem; margin-bottom: .3rem; }
.map-foot h3 i { color: var(--accent-dark); }
.map-foot p { font-size: .88rem; margin: 0; }
.schedule-table { width: 100%; font-size: .9rem; }
.schedule-table th { text-align: left; color: var(--muted); font-weight: 600; padding: .5rem 0; }
.schedule-table td { text-align: right; color: var(--navy-900); font-weight: 700; padding: .5rem 0; }
.schedule-table tr { border-bottom: 1px dashed var(--line); }
.schedule-table tr:last-child { border-bottom: 0; }

/* ------------------------------------------------------------ page hero */
.page-hero {
    position: relative;
    padding: 64px 0 56px;
    color: #eaf1fb;
    overflow: hidden;
    background: var(--navy-900);
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .32;
}
.page-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(7, 28, 57, .94) 20%, rgba(18, 58, 122, .82) 60%, rgba(7, 28, 57, .9)),
        radial-gradient(700px 300px at 85% 20%, rgba(255, 122, 26, .25), transparent 62%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-inner { max-width: 860px; }
.page-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
    margin: .5rem 0 .7rem;
}
.page-hero p { color: #c9d9ef; font-size: 1.04rem; max-width: 680px; }
.hero-crumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    font-size: .84rem;
    color: #a9c0e0;
    margin-top: 1.1rem;
}
.hero-crumb a { color: #dbe7f7; font-weight: 600; }
.hero-crumb a:hover { color: var(--accent); }
.hero-crumb i { font-size: .65rem; opacity: .7; }
.hero-crumb span { color: var(--accent); font-weight: 700; }

.page-breadcrumb {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: .7rem 0;
    font-size: .85rem;
}

/* ------------------------------------------------------------ cta band + footer */
.cta-band {
    padding: 66px 0;
    background:
        radial-gradient(700px 300px at 15% 20%, rgba(255, 255, 255, .1), transparent 60%),
        linear-gradient(135deg, var(--navy-900), var(--navy-700) 60%, #1d5aa8);
    color: #e9f0fb;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-lg);
    padding: 2rem 2.2rem;
}
.cta-copy { flex: 1 1 420px; }
.cta-copy h2 { color: #fff; margin-bottom: .5rem; }
.cta-copy p { color: #c8d8ef; margin: 0; max-width: 620px; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.site-footer {
    background: #061529;
    color: #9fb4d1;
    padding: 62px 0 26px;
    font-size: .92rem;
}
.footer-brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-name { color: #fff; }
.footer-about { color: #9fb4d1; margin-bottom: 1.1rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #cfe0f5;
    display: grid;
    place-items: center;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #231200; transform: translateY(-2px); }
.footer-heading {
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 1rem;
    font-weight: 800;
}
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: #9fb4d1; }
.footer-links a:hover { color: var(--accent); padding-left: .25rem; }
.footer-contact { gap: .8rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: .15rem; }
.footer-contact a { color: #cfe0f5; }
.footer-contact small { color: #7f95b5; }
.footer-bottom {
    margin-top: 2.4rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 1.1rem; }
.footer-legal a { color: #cfe0f5; }
.footer-legal a:hover { color: var(--accent); }
.footer-credit { color: #7f95b5; font-size: .82rem; }

/* ------------------------------------------------------------ floating actions */
.floating-actions { position: fixed; right: 18px; bottom: 96px; z-index: 1035; display: grid; gap: .6rem; }
.float-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.35rem;
    box-shadow: var(--shadow);
    transition: transform .2s ease;
}
.float-btn:hover { transform: translateY(-3px) scale(1.04); color: #fff; }
.float-whatsapp { background: #25d366; }
.float-call { background: var(--navy-700); }
.float-tip {
    position: absolute;
    right: 60px;
    background: var(--navy-900);
    color: #fff;
    font-size: .78rem;
    padding: .3rem .7rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.float-btn:hover .float-tip { opacity: 1; }
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 40px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy-800);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;
    z-index: 1035;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy-800); color: #fff; }

.mobile-action-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1036;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 22px rgba(12, 34, 68, .1);
}
.mobile-action-bar a, .mobile-action-bar button {
    border: 0;
    background: none;
    padding: .55rem 0 .6rem;
    display: grid;
    justify-items: center;
    gap: .15rem;
    font-size: .74rem;
    font-weight: 700;
    color: var(--navy-800);
    font-family: var(--font-head);
}
.mobile-action-bar i { font-size: 1.2rem; color: var(--accent-dark); }
.mobile-action-bar a:nth-child(2) i { color: #25d366; }

/* ------------------------------------------------------------ modals */
.enquiry-modal .modal-content {
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.enquiry-modal .modal-header {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    color: #fff;
    border: 0;
    align-items: flex-start;
    gap: 1rem;
}
.enquiry-modal .modal-title { color: #fff; font-size: 1.2rem; }
.enquiry-modal .modal-sub { color: #c3d3ea; font-size: .87rem; margin: .3rem 0 0; }
.enquiry-modal .btn-close {
    background-color: rgba(255, 255, 255, .2);
    border-radius: 8px;
    padding: .35rem;
    filter: invert(1) grayscale(100%) brightness(200%);
}
.enquiry-modal .modal-body { padding: 1.5rem 1.6rem; background: #fff; }
.enquiry-modal .form-label span, .apply-modal .form-label span { color: var(--red); }
.modal-form-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}
.modal-form-footer .btn { margin-left: auto; }
.form-alert { border-radius: 12px; margin-top: 1rem; }
.enquiry-success, .apply-success { text-align: center; padding: 1.4rem .5rem; }
.enquiry-success h4, .apply-success h4 { font-size: 1.2rem; margin: .8rem 0 .3rem; }
.file-hint { font-size: .82rem; color: var(--muted); margin-top: .4rem; }
.file-hint i { color: var(--accent-dark); }

/* ------------------------------------------------------------ errors */
.error-page { padding: 84px 0; background: var(--surface); }
.error-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.error-code {
    font-family: var(--font-head);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(120deg, var(--navy-800), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.error-inner h1 { font-size: 1.8rem; margin: .4rem 0 .6rem; }
.error-actions { display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap; margin: 1.4rem 0; }
.error-courses { text-align: left; }
.page-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    margin-top: 2rem;
}
.page-help h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.page-help p { margin: 0; font-size: .9rem; }

/* ------------------------------------------------------------ animation states */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
img.is-loaded { animation: img-in .5s ease; }
@keyframes img-in { from { opacity: 0; transform: scale(1.01); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1199.98px) {
    .search-panel { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
    :root { --header-h: 66px; }
    .section { padding: 56px 0; }
    .hero { padding: 42px 0 60px; }
    .hero-visual { margin-top: 2.4rem; }
    .hero-chip-1 { left: auto; right: 8%; top: 4%; }
    .hero-chip-2 { left: 8%; }
    .hero-chip-3 { right: 4%; bottom: -10px; }
    .featured-post { grid-template-columns: 1fr; }
    .compare-panel { grid-template-columns: 1fr; }
    .job-card { grid-template-columns: 1fr; }
    .job-side { flex-direction: row; flex-wrap: wrap; }
    .job-side .btn { flex: 1 1 45%; }
    .sticky-side { position: static; }
}

@media (max-width: 767.98px) {
    .section-head { align-items: flex-start; }
    .section-head .btn { width: 100%; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-frame { border-width: 4px; border-radius: 20px; }
    .mini-gallery { grid-template-columns: repeat(4, 1fr); }
    .author-box { flex-direction: column; }
    .form-footer .btn { width: 100%; }
    .contact-form-card { padding: 1.3rem 1.1rem; }
    .cta-inner { padding: 1.5rem; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1 1 100%; }
    .floating-actions { bottom: 78px; right: 12px; }
    .float-btn { width: 44px; height: 44px; font-size: 1.15rem; }
    .back-to-top { bottom: 84px; right: 14px; width: 40px; height: 40px; }
    .mobile-action-bar { display: grid; }
    .filter-bar .form-select { flex: 1 1 100%; }
    .next-batch { padding: 1.3rem; gap: 1.2rem; }
    .nb-count { width: 100%; justify-content: space-between; }
    .article-stats { margin-left: 0; width: 100%; }
}

@media (max-width: 575.98px) {
    .stat-grid { grid-template-columns: 1fr; }
    .mini-facts { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .course-actions { flex-direction: column; }
    .hero-chip { font-size: .72rem; padding: .45rem .6rem; }
    .hero-chip i { font-size: 1.05rem; }
}

@media (min-width: 1400px) {
    .container { max-width: 1240px; }
}

/* ------------------------------------------------------------ print + a11y */
@media print {
    .site-header, .topbar, .floating-actions, .mobile-action-bar, .back-to-top,
    .cta-band, .enquiry-modal, .filter-bar, .page-hero-bg img { display: none !important; }
    .section { padding: 12px 0; }
    body { color: #000; }
}

:focus-visible {
    outline: 3px solid rgba(255, 122, 26, .55);
    outline-offset: 2px;
    border-radius: 6px;
}

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