/* =========================================================
   Web Training Institute - Training Theme
   Bangladesh flag inspired: green #006A4E + red #F42A41
   ========================================================= */

:root {
    --brand: #006A4E;
    --brand-dark: #064E3B;
    --brand-deep: #043D2E;
    --brand-light: #E6F4EF;
    --brand-soft: #F1FAF6;
    --accent: #F42A41;
    --accent-dark: #D61F35;
    --accent-soft: #FEF2F2;
    --ink: #0F172A;
    --text: #475569;
    --muted: #64748B;
    --line: #E2E8F0;
    --surface: #F8FAFC;
    --white: #FFFFFF;
    --warning: #F59E0B;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .05);
    --shadow: 0 14px 40px rgba(15, 23, 42, .08);
    --shadow-lg: 0 24px 70px rgba(4, 61, 46, .16);
    --font: 'Inter', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
}

a { color: var(--brand); text-decoration: none; transition: .2s ease; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; }
p { margin-bottom: 1rem; }
::selection { background: var(--brand); color: #fff; }

.container { max-width: 1200px; }

.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--surface); }
.section-brand { background: var(--brand-soft); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
    background: var(--brand-light);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.eyebrow.red { color: var(--accent); background: var(--accent-soft); }

.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; margin-bottom: 0; }

.text-brand { color: var(--brand) !important; }
.text-accent { color: var(--accent) !important; }
.bg-brand { background: var(--brand) !important; }
.bg-brand-light { background: var(--brand-light) !important; }
.bg-soft { background: var(--surface) !important; }

/* ---------- Buttons ---------- */
.btn {
    font-weight: 700;
    border-radius: 12px;
    padding: 11px 22px;
    border-width: 2px;
    transition: .22s ease;
}
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 9px; }

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 106, 78, .22);
}
.btn-brand:hover, .btn-brand:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 106, 78, .28);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(244, 42, 65, .2);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-brand { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.btn-white { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn-white:hover { background: var(--brand-light); border-color: var(--brand-light); color: var(--brand-dark); }

.btn i, .btn svg { margin-right: 6px; }

/* ---------- Top strip + navbar ---------- */
.top-strip { background: var(--brand-deep); color: rgba(255, 255, 255, .82); font-size: 13px; }
.top-strip a { color: #fff; }
.top-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.top-strip .left, .top-strip .right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-strip i { color: #86EFAC; margin-right: 5px; }

.site-header { position: sticky; top: 0; z-index: 1040; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.navbar-main { min-height: 76px; }
.navbar-main .navbar-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 19px; letter-spacing: -.02em; }
.navbar-main .brand-logo { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, var(--brand), var(--brand-dark));
    color: #fff; font-weight: 800; font-size: 21px;
    box-shadow: 0 8px 18px rgba(0, 106, 78, .25);
}
.brand-text small { display: block; font-size: 10px; letter-spacing: .16em; color: var(--muted); font-weight: 700; text-transform: uppercase; }

.navbar-main .nav-link { color: #334155; font-weight: 600; font-size: 15px; padding: 9px 14px !important; border-radius: 9px; }
.navbar-main .nav-link:hover, .navbar-main .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.navbar-main .nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.navbar-toggler { border: 0; padding: 8px; }
.navbar-toggler:focus { box-shadow: none; }

.dropdown-menu { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; }
.dropdown-item { border-radius: 9px; padding: 9px 12px; font-weight: 600; color: var(--text); }
.dropdown-item:hover { background: var(--brand-soft); color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 74px 0 84px;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 106, 78, .11), transparent 34%),
        radial-gradient(circle at 88% 78%, rgba(244, 42, 65, .09), transparent 30%),
        linear-gradient(180deg, #F7FCFA 0%, #FFFFFF 100%);
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute; right: -140px; top: -120px; width: 440px; height: 440px;
    border-radius: 50%; border: 70px solid rgba(0, 106, 78, .05);
}
.hero-title { font-size: clamp(36px, 5vw, 62px); letter-spacing: -.04em; margin: 18px 0; }
.hero-title .accent { color: var(--accent); position: relative; white-space: nowrap; }
.hero-title .accent::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 10px;
    background: rgba(244, 42, 65, .15); z-index: -1; border-radius: 8px;
}
.hero-lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-trust .item { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 14px; font-weight: 600; }
.hero-trust .item i { color: var(--brand); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.hero-stats .stat strong { display: block; font-size: 26px; color: var(--ink); line-height: 1; }
.hero-stats .stat span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; padding: 16px; }
.hero-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden; position: relative; z-index: 2;
}
.hero-card-top { background: linear-gradient(145deg, var(--brand), #0B7D5E); padding: 22px; color: #fff; }
.hero-card-top .chip { display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,.16); padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.hero-card-top h3 { color: #fff; font-size: 20px; margin: 14px 0 6px; }
.hero-card-top p { color: rgba(255,255,255,.75); font-size: 13px; margin: 0; }
.hero-card-body { padding: 18px 20px 20px; }
.hero-progress-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 7px; }
.progress { height: 9px; background: #EEF2F6; border-radius: 999px; }
.progress-bar { background: linear-gradient(90deg, var(--brand), #10B981); border-radius: 999px; }
.hero-lesson { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.hero-lesson:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-lesson .icon { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-light); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.hero-lesson .icon.red { background: var(--accent-soft); color: var(--accent); }
.hero-float {
    position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 10px 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; color: var(--ink); z-index: 3;
}
.hero-float .icon { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-light); color: var(--brand); }
.hero-float.one { left: -16px; top: 18%; animation: floaty 5s ease-in-out infinite; }
.hero-float.two { right: -10px; bottom: 12%; animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Logo strip ---------- */
.logo-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: #fff; }
.logo-strip .inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.logo-strip span { color: #94A3B8; font-weight: 800; letter-spacing: .04em; font-size: 14px; text-transform: uppercase; }

/* ---------- Category cards ---------- */
.cat-card {
    display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; height: 100%; transition: .22s ease; color: var(--ink);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(0, 106, 78, .28); color: var(--brand-dark); }
.cat-icon { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-light); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.cat-card:nth-child(3n+2) .cat-icon { background: var(--accent-soft); color: var(--accent); }
.cat-card h3 { font-size: 17px; margin-bottom: 5px; }
.cat-card p { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------- Course card ---------- */
.course-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; height: 100%; transition: .24s ease; display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0, 106, 78, .24); }
.course-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--brand-light); }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.course-card:hover .course-thumb img { transform: scale(1.05); }
.course-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge-soft { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.badge-green { background: rgba(0, 106, 78, .92); color: #fff; }
.badge-red { background: rgba(244, 42, 65, .94); color: #fff; }
.badge-white { background: rgba(255,255,255,.94); color: var(--ink); }
.course-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.course-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 7px; }
.course-title { font-size: 17px; line-height: 1.4; margin-bottom: 8px; }
.course-title a { color: var(--ink); }
.course-title a:hover { color: var(--brand); }
.course-sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 15px; }
.course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-meta i { color: var(--brand); }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.course-price { font-weight: 800; color: var(--ink); font-size: 19px; line-height: 1; }
.course-price small { font-size: 12px; color: var(--muted); font-weight: 600; }
.course-price del { font-size: 12px; color: #94A3B8; font-weight: 500; margin-left: 5px; }
.course-price.free { color: var(--brand); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink); }
.rating i { color: var(--warning); }

/* ---------- Feature / value cards ---------- */
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; transition: .22s ease; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(0,106,78,.24); }
.feature-icon { width: 54px; height: 54px; border-radius: 15px; background: var(--brand-light); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.feature-card:nth-child(2n) .feature-icon { background: var(--accent-soft); color: var(--accent); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Software / portfolio ---------- */
.soft-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; position: relative; overflow: hidden; transition: .24s ease; }
.soft-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: 0; transition: .24s ease; }
.soft-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.soft-card:hover::before { opacity: 1; }
.soft-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-deep); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 18px; }
.soft-card h3 { font-size: 18px; margin-bottom: 8px; }
.soft-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.soft-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }

/* ---------- Stats ---------- */
.stats-band { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; border-radius: var(--radius-lg); padding: 48px; position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.stats-band .stat { text-align: center; }
.stats-band .stat strong { display: block; font-size: clamp(30px, 3.4vw, 44px); color: #fff; line-height: 1; }
.stats-band .stat span { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 600; }

/* ---------- Testimonial ---------- */
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; }
.review-card .quote { color: var(--brand); font-size: 28px; line-height: 1; margin-bottom: 12px; }
.review-card p { color: var(--text); font-size: 14px; }
.review-user { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-light); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-user strong { display: block; font-size: 14px; color: var(--ink); }
.review-user span { font-size: 12px; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: .24s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-light); display: block; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 20px; }
.blog-body .meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.blog-body h3 { font-size: 17px; line-height: 1.4; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--brand); }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 60%, var(--brand-deep) 100%); border-radius: var(--radius-lg); padding: 52px; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border: 50px solid rgba(255,255,255,.06); border-radius: 50%; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.cta-band p { color: rgba(255,255,255,.78); margin-bottom: 0; }
.cta-band .btn-accent { box-shadow: 0 14px 30px rgba(0,0,0,.15); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--brand-soft); border: 1px solid rgba(0,106,78,.14); border-radius: var(--radius-lg); padding: 40px; }
.newsletter h2 { font-size: 28px; }
.newsletter .form-control { height: 50px; border-radius: 12px; border-color: #D7E5DF; }
.newsletter .btn { height: 50px; }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--brand-soft), #fff); padding: 62px 0 54px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -100px; top: -100px; width: 320px; height: 320px; border-radius: 50%; border: 55px solid rgba(0,106,78,.05); }
.page-hero h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 640px; margin-bottom: 0; }
.breadcrumb { background: transparent; padding: 0; margin: 14px 0 0; font-size: 13px; }
.breadcrumb-item + .breadcrumb-item::before { color: #94A3B8; }
.breadcrumb a { color: var(--brand); }

/* ---------- Forms ---------- */
.form-control, .form-select {
    border-radius: 11px; border: 1.5px solid var(--line); padding: 11px 14px;
    color: var(--ink); font-size: 14px; background-color: #fff;
}
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 106, 78, .08); }
.form-label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.input-group-text { border-radius: 11px 0 0 11px; background: var(--surface); border-color: var(--line); }

/* ---------- Course details ---------- */
.course-hero { background: linear-gradient(180deg, #F3FAF7, #fff); padding: 54px 0; border-bottom: 1px solid var(--line); }
.course-hero h1 { font-size: clamp(28px, 3.6vw, 44px); }
.course-hero .lead { font-size: 17px; color: var(--muted); }
.course-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--text); margin: 0 6px 6px 0; }
.course-chip i { color: var(--brand); }
.course-sidebar { position: sticky; top: 100px; }
.purchase-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.purchase-cover { aspect-ratio: 16 / 9; background: var(--brand-light); }
.purchase-cover img { width: 100%; height: 100%; object-fit: cover; }
.purchase-body { padding: 22px; }
.price-big { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1; }
.price-big del { font-size: 16px; color: #94A3B8; font-weight: 500; margin-left: 8px; }
.purchase-list { list-style: none; padding: 0; margin: 18px 0; }
.purchase-list li { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.purchase-list li:last-child { border-bottom: 0; }
.purchase-list span { color: var(--muted); }
.purchase-list strong { color: var(--ink); font-weight: 700; }

.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.content-card h3 { font-size: 21px; margin-bottom: 16px; }
.course-description { color: var(--text); font-size: 15px; }
.course-description h1, .course-description h2, .course-description h3 { font-size: 20px; margin: 22px 0 10px; }
.course-description ul { padding-left: 20px; }
.course-description li { margin-bottom: 6px; }

.curriculum { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.curriculum-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.curriculum-head strong { font-size: 14px; }
.curriculum-head span { font-size: 12px; color: var(--muted); }
.lesson-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.lesson-row:last-child { border-bottom: 0; }
.lesson-row .icon { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-light); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.lesson-row .icon.lock { background: var(--surface); color: #94A3B8; }
.lesson-row .title { flex: 1; color: var(--ink); font-weight: 600; }
.lesson-row .meta { font-size: 12px; color: var(--muted); }

.instructor-box { display: flex; gap: 18px; align-items: flex-start; }
.instructor-box .avatar { width: 72px; height: 72px; border-radius: 18px; font-size: 24px; }
.instructor-box h4 { margin-bottom: 4px; }
.instructor-box .role { color: var(--brand); font-weight: 700; font-size: 13px; }

.rating-summary { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rating-big { font-size: 52px; font-weight: 800; color: var(--ink); line-height: 1; }
.rating-bars { flex: 1; min-width: 220px; }
.rating-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 5px; }
.rating-bar-row .label { width: 34px; color: var(--muted); }
.rating-bar-row .progress { flex: 1; height: 7px; }

.review-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: 0; }
.review-item .head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.review-item .head strong { font-size: 14px; }
.review-item p { font-size: 14px; color: var(--text); margin: 0; }

/* ---------- Checkout ---------- */
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--text); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.payment-option { border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; margin-bottom: 10px; transition: .2s; background: #fff; }
.payment-option:hover { border-color: var(--brand); background: var(--brand-soft); }
.payment-option input { margin: 0; }
.payment-option strong { font-size: 14px; display: block; }
.payment-option small { color: var(--muted); font-size: 12px; }
.payment-logo { width: 38px; height: 38px; border-radius: 9px; background: var(--brand-light); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px; }

/* ---------- Learning player ---------- */
.learn-shell { background: var(--surface); min-height: calc(100vh - 76px); padding: 26px 0 50px; }
.player-card { background: #0F172A; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrap { position: relative; aspect-ratio: 16 / 9; background: #0B1220; }
.video-wrap iframe, .video-wrap video { width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,.72); text-align: center; padding: 24px; }
.video-placeholder i { font-size: 46px; color: #64748B; margin-bottom: 12px; }
.player-meta { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 22px; }
.lesson-sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 96px; max-height: calc(100vh - 130px); display: flex; flex-direction: column; }
.lesson-sidebar .head { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.lesson-sidebar .head h3 { font-size: 16px; margin: 0; }
.lesson-sidebar .body { overflow-y: auto; padding: 8px 0; }
.lesson-group-title { padding: 10px 18px 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lesson-link { display: flex; align-items: center; gap: 10px; padding: 10px 18px; color: var(--text); font-size: 13px; border-left: 3px solid transparent; }
.lesson-link:hover { background: var(--brand-soft); color: var(--brand); }
.lesson-link.active { background: var(--brand-soft); border-left-color: var(--brand); color: var(--brand); font-weight: 700; }
.lesson-link .num { width: 24px; height: 24px; border-radius: 50%; background: var(--surface); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; flex: 0 0 auto; }
.lesson-link.active .num, .lesson-link.done .num { background: var(--brand); color: #fff; }
.lesson-link .txt { flex: 1; }
.lesson-link .dur { font-size: 11px; color: var(--muted); }
.lesson-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 18px 0; flex-wrap: wrap; }
.lesson-tab { padding: 9px 14px; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; border-bottom: 2px solid transparent; }
.lesson-tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.lesson-tab-content { display: none; font-size: 14px; }
.lesson-tab-content.active { display: block; }

/* ---------- User panel ---------- */
.user-shell { background: var(--surface); min-height: 70vh; padding: 34px 0 60px; }
.user-sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 96px; }
.user-profile-mini { text-align: center; padding: 16px 10px 18px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.user-profile-mini .avatar { width: 62px; height: 62px; font-size: 21px; margin: 0 auto 10px; }
.user-profile-mini h4 { font-size: 15px; margin-bottom: 2px; }
.user-profile-mini span { font-size: 12px; color: var(--muted); }
.user-nav { list-style: none; padding: 0; margin: 0; }
.user-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 600; }
.user-nav a i { width: 18px; text-align: center; color: #94A3B8; }
.user-nav a:hover, .user-nav a.active { background: var(--brand-soft); color: var(--brand); }
.user-nav a:hover i, .user-nav a.active i { color: var(--brand); }
.user-nav .user-nav-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--accent); font-size: 14px; font-weight: 600; background: transparent; border: 0; text-align: left; }
.user-nav .user-nav-link:hover { background: rgba(244,42,65,.08); }
.user-nav .user-nav-link i { width: 18px; text-align: center; color: var(--accent); }
.user-content { min-height: 400px; }
.user-content .card, .panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-card { padding: 24px; }
.panel-title { font-size: 20px; margin-bottom: 4px; }
.panel-sub { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; height: 100%; }
.stat-card .icon { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-light); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.stat-card h4 { font-size: 26px; margin-bottom: 2px; }
.stat-card p { font-size: 12px; color: var(--muted); margin: 0; }

.my-course-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; height: 100%; }
.my-course-card .thumb { aspect-ratio: 16 / 9; background: var(--brand-light); }
.my-course-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-course-card .body { padding: 16px; }
.my-course-card h4 { font-size: 15px; margin-bottom: 8px; }
.my-course-card h4 a { color: var(--ink); }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 120px); display: flex; align-items: center; padding: 50px 0; background: radial-gradient(circle at 15% 20%, rgba(0,106,78,.1), transparent 35%), radial-gradient(circle at 85% 80%, rgba(244,42,65,.08), transparent 30%), #F8FAFC; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.auth-side { background: linear-gradient(150deg, var(--brand-deep), var(--brand)); color: #fff; padding: 42px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.auth-side h2 { color: #fff; font-size: 30px; }
.auth-side p { color: rgba(255,255,255,.75); }
.auth-side ul { list-style: none; padding: 0; margin: 20px 0 0; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: rgba(255,255,255,.86); font-size: 14px; }
.auth-side li i { color: #86EFAC; margin-top: 4px; }
.auth-form { padding: 42px; }
.auth-form h2 { font-size: 28px; margin-bottom: 6px; }
.auth-form .sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* ---------- Tables ---------- */
.table { font-size: 14px; }
.table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom-width: 1px; }
.table td, .table th { vertical-align: middle; }
.data-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* ---------- FAQ accordion ---------- */
.accordion-item { border: 1px solid var(--line) !important; border-radius: 12px !important; margin-bottom: 10px; overflow: hidden; }
.accordion-button { font-weight: 700; color: var(--ink); font-size: 15px; background: #fff; }
.accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--line); }
.accordion-body { color: var(--text); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--brand-deep); color: rgba(255,255,255,.7); padding: 62px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.03); }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; font-size: 14px; }
.footer .company-bio { font-size: 14px; color: rgba(255,255,255,.68); margin: 16px 0 20px; }
.footer .brand-logo { height: 42px; max-width: 220px; object-fit: contain; }
.footer .contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 14px; }
.footer .contact-line i { color: #86EFAC; margin-top: 5px; }
.footer .social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .social a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.footer .social a:hover { background: var(--accent); }
.footer-bottom { margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; }
.footer-bottom .langs a { margin-left: 10px; font-weight: 700; font-size: 12px; }
.payment-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.payment-badges span { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.8); }

/* ---------- Certificate ---------- */
.cert-page { background: #F1F5F9; padding: 40px 0; }
.certificate {
    background: #fff; border: 10px solid var(--brand); padding: 18px; max-width: 980px; margin: 0 auto;
    box-shadow: var(--shadow-lg); position: relative;
}
.certificate-inner { border: 2px solid #C9A227; padding: 46px; text-align: center; position: relative; }
.certificate-inner::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201,162,39,.4); pointer-events: none; }
.cert-logo { font-weight: 800; color: var(--brand); font-size: 21px; letter-spacing: -.02em; }
.cert-title { font-size: 42px; letter-spacing: .18em; color: var(--brand-deep); text-transform: uppercase; margin: 14px 0 6px; }
.cert-sub { letter-spacing: .24em; text-transform: uppercase; font-size: 11px; color: var(--muted); }
.cert-name { font-size: 38px; color: var(--accent); margin: 28px 0 6px; font-family: Georgia, serif; }
.cert-course { font-size: 22px; color: var(--ink); margin: 8px 0 4px; }
.cert-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.cert-meta strong { display: block; color: var(--ink); font-size: 13px; border-top: 1px solid #94A3B8; padding-top: 7px; margin-top: 22px; }
.cert-seal { width: 96px; height: 96px; border-radius: 50%; border: 2px dashed var(--brand); display: flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 800; font-size: 10px; text-align: center; margin: 0 auto; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Misc ---------- */
.alert { border-radius: 12px; border: 0; font-size: 14px; }
.alert-success { background: #ECFDF5; color: #065F46; }
.alert-danger { background: #FEF2F2; color: #991B1B; }
.alert-info { background: #EFF6FF; color: #1E40AF; }
.alert-warning { background: #FFFBEB; color: #92400E; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state i { font-size: 42px; color: #CBD5E1; margin-bottom: 12px; display: block; }
.scroll-up {
    position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 12px;
    background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow); z-index: 1030; opacity: 0; visibility: hidden; transition: .25s;
}
.scroll-up.show { opacity: 1; visibility: visible; }
.scroll-up:hover { background: var(--brand-dark); color: #fff; }
.skeleton { background: linear-gradient(90deg, #EEF2F6 25%, #F8FAFC 37%, #EEF2F6 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

@media (max-width: 991.98px) {
    .section { padding: 60px 0; }
    .hero { padding: 50px 0 60px; }
    .hero-visual { margin-top: 40px; }
    .navbar-main .nav-actions { margin: 12px 0 4px; }
    .course-sidebar { position: static; margin-top: 30px; }
    .lesson-sidebar { position: static; max-height: none; margin-top: 20px; }
    .stats-band, .cta-band, .newsletter { padding: 34px 24px; }
    .user-sidebar { position: static; margin-bottom: 20px; }
    .auth-form, .auth-side { padding: 28px; }
}

@media (max-width: 575.98px) {
    .section { padding: 48px 0; }
    .hero-title { font-size: 34px; }
    .hero-actions .btn { flex: 1; }
    .top-strip .right > :not(.lang-switch) { display: none !important; }
    .top-strip .left { display: none; }
    .top-strip .wrap { justify-content: flex-end; }
    .hero-stats { gap: 18px; }
    .hero-float { display: none; }
    .certificate-inner { padding: 26px; }
    .cert-title { font-size: 28px; }
    .cert-name { font-size: 26px; }
    .cert-course { font-size: 17px; }
}

@media print {
    .site-header, .top-strip, .footer, .scroll-up, .no-print { display: none !important; }
    body { background: #fff; }
    .cert-page { padding: 0; background: #fff; }
    .certificate { box-shadow: none; max-width: 100%; }
}

/* =========================================================
   Premium visual layer � editorial green / sand / gold
   ========================================================= */
:root {
    --font-display: 'Manrope', 'Hind Siliguri', system-ui, sans-serif;
    --cream: #FAF7F0;
    --cream-2: #F4EFE4;
    --sand: #EDE6D6;
    --gold: #C9A227;
    --gold-soft: #F6EBCB;
    --ink-2: #082B22;
    --ink-3: #041C16;
    --line-soft: rgba(8, 43, 34, .10);
    --shadow-premium: 0 24px 60px rgba(4, 38, 29, .12);
}

body {
    background: var(--cream);
    color: #40564F;
    font-size: 15.5px;
}

h1, h2, h3, h4, h5, h6, .hero-title, .display-font {
    font-family: var(--font-display);
    color: var(--ink-2);
    letter-spacing: -.035em;
}

.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--cream); }
.section-white { background: #fff; }
.section-dark {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 12%, rgba(0, 106, 78, .45), transparent 28%),
        radial-gradient(circle at 8% 88%, rgba(244, 42, 65, .18), transparent 26%),
        linear-gradient(135deg, #041C16 0%, #072D24 48%, #084735 100%);
    color: rgba(255, 255, 255, .72);
}
.section-dark::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(120deg, rgba(0,0,0,.7), transparent 72%);
    pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,.62); }
.section-dark .eyebrow { color: #C8F7E5; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.section-dark .eyebrow::before { background: #C8F7E5; }

.eyebrow {
    background: transparent;
    border: 1px solid rgba(0, 106, 78, .18);
    color: var(--brand);
    letter-spacing: .12em;
    padding: 7px 13px 7px 11px;
    gap: 7px;
}
.eyebrow::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(244, 42, 65, .10);
}
.eyebrow.red { background: transparent; color: var(--accent); border-color: rgba(244,42,65,.22); }
.eyebrow.red::before { background: var(--accent); }

.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.12; }
.section-head p { font-size: 16px; line-height: 1.75; }
.section-head.left { max-width: 720px; }

/* Header */
.top-strip {
    background: var(--ink-3);
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: 12.5px;
}
.top-strip .wrap { min-height: 42px; }
.top-strip i { color: var(--gold); }
.top-strip .right a { color: rgba(255,255,255,.9); }
.top-strip .right a:hover { color: #fff; }

.site-header {
    background: rgba(255, 253, 248, .96);
    border-bottom: 1px solid rgba(8, 43, 34, .08);
    box-shadow: 0 1px 0 rgba(8,43,34,.03);
}
.site-header::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 58%, var(--accent) 58%, var(--accent) 100%);
}
.site-header.scrolled { box-shadow: 0 14px 38px rgba(4, 38, 29, .10); }
.navbar-main { min-height: 84px; }
.navbar-main .navbar-brand { gap: 12px; }
.navbar-main .brand-logo { height: 48px; }
.navbar-main .nav-link {
    position: relative;
    font-weight: 650;
    font-size: 14.5px;
    color: #2B453D;
    padding: 10px 13px !important;
}
.navbar-main .nav-link:hover { background: transparent; color: var(--brand); }
.navbar-main .nav-link::after {
    content: "";
    position: absolute;
    left: 13px; right: 13px; bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: .2s ease;
}
.navbar-main .nav-link:hover::after, .navbar-main .nav-link.active::after { transform: scaleX(1); }
.navbar-main .nav-link.active { background: transparent; color: var(--brand); }
.nav-actions { gap: 9px; }
.nav-actions .btn { border-radius: 999px; }
.nav-actions .btn-brand { box-shadow: 0 8px 20px rgba(0, 106, 78, .20); }

/* Buttons */
.btn { font-weight: 700; letter-spacing: .01em; }
.btn-brand {
    background: linear-gradient(135deg, #08765A 0%, #00563F 100%);
    border-color: #006A4E;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 26px rgba(0, 106, 78, .20);
}
.btn-brand:hover { background: linear-gradient(135deg, #005C46 0%, #043D2E 100%); border-color: #043D2E; }
.btn-accent {
    background: linear-gradient(135deg, #FF5468 0%, #E21F37 100%);
    border-color: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 28px rgba(244, 42, 65, .22);
}
.btn-outline-brand { border-color: rgba(0,106,78,.36); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); border-color: var(--brand); }
.btn-ghost { background: rgba(255,255,255,.7); border-color: rgba(8,43,34,.14); color: var(--ink-2); }
.btn-ghost:hover { background: #fff; border-color: var(--brand); }

/* Hero */
.hero {
    padding: 108px 0 118px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(244, 42, 65, .22), transparent 28%),
        radial-gradient(circle at 12% 82%, rgba(30, 155, 116, .28), transparent 32%),
        linear-gradient(128deg, #031B15 0%, #063528 45%, #084A37 100%);
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: radial-gradient(circle at 30% 40%, rgba(0,0,0,.9), transparent 72%);
    pointer-events: none;
}
.hero::after {
    right: -180px; top: -180px; width: 620px; height: 620px;
    border: 96px solid rgba(255,255,255,.035);
    box-shadow: 0 0 0 1px rgba(255,255,255,.04);
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: #B8F3DF; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.16); }
.hero .eyebrow::before { background: #FF6B7A; box-shadow: 0 0 0 4px rgba(255,107,122,.12); }
.hero-title { color: #fff; font-size: clamp(40px, 5.2vw, 70px); line-height: 1.02; letter-spacing: -.05em; margin: 22px 0 20px; }
.hero-title .accent { color: #FF6B7A; white-space: normal; }
.hero-title .accent::after { display: none; }
.hero-lead { color: rgba(255,255,255,.70); font-size: 17px; line-height: 1.8; max-width: 585px; }
.hero-actions { margin-top: 32px; }
.hero-actions .btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(8px); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.hero-trust { gap: 24px; margin-top: 30px; }
.hero-trust .item { color: rgba(255,255,255,.78); font-size: 13px; }
.hero-trust .item i { color: #7CE3BA; }
.hero-stats { gap: 0; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); max-width: 560px; }
.hero-stats .stat { padding-right: 30px; margin-right: 30px; border-right: 1px solid rgba(255,255,255,.12); }
.hero-stats .stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats .stat strong { color: #fff; font-family: var(--font-display); font-size: 30px; letter-spacing: -.04em; }
.hero-stats .stat span { color: rgba(255,255,255,.55); font-size: 12px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.hero-proof .tech-stack { display: flex; gap: 8px; }
.hero-proof .tech-stack span {
    width: 34px; height: 34px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.12);
    color: #fff; font-size: 16px;
    border: 1px solid rgba(255,255,255,.14);
}
.hero-proof .tech-stack span:nth-child(1) { color: #8892BF; }
.hero-proof .tech-stack span:nth-child(2) { color: #FF2D20; }
.hero-proof .tech-stack span:nth-child(3) { color: #61DAFB; }
.hero-proof .tech-stack span:nth-child(4) { color: #7952B3; }
.hero-proof p { margin: 0; font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; }
.hero-proof strong { color: #fff; display: block; font-size: 13px; }

.hero-visual { padding: 12px 20px; }
.hero-card {
    background: #FFFDF8;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 26px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .32);
    transform: rotate(1.3deg);
}
.hero-card-top { background: linear-gradient(135deg, #0A7A5C 0%, #04402F 100%); padding: 26px; }
.hero-card-top h3 { font-size: 21px; line-height: 1.3; }
.hero-card-top .chip { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.hero-card-body { padding: 22px; }
.hero-lesson { font-size: 13px; }
.hero-lesson .icon { background: var(--cream-2); color: var(--brand); }
.hero-lesson .icon.red { background: #FDE8EA; color: var(--accent); }
.hero-float { background: #FFFDF8; border-color: rgba(8,43,34,.08); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.hero-float .icon { background: var(--gold-soft); color: #8A6D10; }
.hero-float.two .icon { background: #FDE8EA; color: var(--accent); }

.logo-strip {
    background: #FFFDF8;
    border-bottom: 1px solid var(--line-soft);
    padding: 24px 0;
}
.logo-strip .inner { justify-content: center; gap: 16px 34px; }
.logo-strip span { color: #8A9B94; font-size: 12px; letter-spacing: .10em; }
.logo-strip span:first-child { color: var(--brand); }
.logo-strip span:not(:first-child) { position: relative; }
.logo-strip span:not(:first-child)::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); position: absolute; left: -20px; top: 50%; transform: translateY(-50%); }

/* Categories */
.cat-card {
    position: relative;
    padding: 28px 26px;
    border-radius: 22px;
    border-color: rgba(8,43,34,.10);
    background: linear-gradient(180deg, #FFFFFF 0%, #FCFAF5 100%);
    box-shadow: 0 1px 0 rgba(8,43,34,.03);
    overflow: hidden;
}
.cat-card::after {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 22px; bottom: 24px;
    color: rgba(8,43,34,.18);
    font-size: 13px;
    transition: .2s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium); border-color: rgba(0,106,78,.24); }
.cat-card:hover::after { color: var(--accent); transform: translateX(3px); }
.cat-icon {
    width: 52px; height: 52px; border-radius: 15px;
    background: linear-gradient(145deg, #0A7A5C, #043D2E);
    color: #B8F3DF;
    box-shadow: 0 12px 24px rgba(0,106,78,.20);
}
.cat-card:nth-child(3n+2) .cat-icon { background: linear-gradient(145deg, #FFF0F1, #FDE0E3); color: var(--accent); box-shadow: none; }
.cat-card h3 { font-size: 18px; margin-bottom: 6px; }
.cat-card p { font-size: 12.5px; line-height: 1.6; padding-right: 18px; }
.cat-card .cat-desc { color: var(--muted); font-size: 12.5px; line-height: 1.6; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card .cat-count { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; }

/* Course cards */
.course-card {
    border-radius: 22px;
    border-color: rgba(8,43,34,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(8,43,34,.03);
}
.course-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-premium); border-color: rgba(0,106,78,.22); }
.course-thumb { aspect-ratio: 16 / 10; }
.course-thumb::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(4,28,22,.02) 40%, rgba(4,28,22,.54) 100%);
    pointer-events: none;
}
.course-badges .badge-soft { backdrop-filter: blur(8px); }
.course-body { padding: 20px; }
.course-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .12em; margin-bottom: 9px; }
.course-cat::before { content: ""; width: 16px; height: 1px; background: currentColor; opacity: .55; }
.course-title { font-size: 18px; line-height: 1.38; margin-bottom: 8px; }
.course-sub { font-size: 13px; line-height: 1.65; }
.course-meta { gap: 10px 14px; margin-bottom: 12px; }
.course-rating { display: inline-flex; align-items: center; gap: 4px; color: #8A6D10; font-size: 12px; font-weight: 800; }
.course-rating i { color: var(--gold); }
.course-instructor { display: flex; align-items: center; gap: 8px; padding: 10px 0 4px; }
.course-instructor .mini-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(145deg, #0A7A5C, #043D2E); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; }
.course-instructor span { font-size: 11.5px; color: var(--muted); }
.course-foot { padding-top: 14px; }
.course-price { font-family: var(--font-display); letter-spacing: -.03em; }
.course-price.free { color: var(--brand); }

/* Feature cards */
.feature-card {
    border-radius: 22px;
    border-color: rgba(8,43,34,.10);
    background: #fff;
    padding: 30px;
    box-shadow: 0 1px 0 rgba(8,43,34,.03);
}
.feature-icon {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--cream-2); color: var(--brand);
    border: 1px solid rgba(0,106,78,.10);
}
.feature-card:nth-child(2n) .feature-icon { background: #FDE8EA; }
.feature-card h3 { font-size: 19px; }
.feature-card p { font-size: 13.5px; line-height: 1.7; }
.feature-index { display: block; font-family: var(--font-display); font-size: 11px; font-weight: 800; color: var(--gold); letter-spacing: .16em; margin-bottom: 16px; }

/* Software dark cards */
.section-software .soft-card {
    background: rgba(255,255,255,.045);
    border-color: rgba(255,255,255,.10);
    border-radius: 22px;
    backdrop-filter: blur(8px);
}
.section-software .soft-card:hover { background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.18); }
.section-software .soft-card h3 { color: #fff; }
.section-software .soft-card p { color: rgba(255,255,255,.58); }
.section-software .soft-icon { background: rgba(255,255,255,.08); color: #B8F3DF; border: 1px solid rgba(255,255,255,.10); }
.section-software .tag { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.65); }
.section-software .btn-outline-brand { border-color: rgba(255,255,255,.28); color: #fff; }
.section-software .btn-outline-brand:hover { background: #fff; color: var(--brand-deep); border-color: #fff; }
.section-software .text-muted { color: rgba(255,255,255,.58) !important; }
.section-software .soft-card::before { height: 3px; }

/* Stats band */
.stats-band {
    background: linear-gradient(120deg, #041C16 0%, #073B2D 58%, #0A5A43 100%);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 26px;
    padding: 52px 48px;
    box-shadow: 0 28px 70px rgba(4,28,22,.22);
}
.stats-band::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), rgba(201,162,39,0));
}
.stats-band .stat strong { font-family: var(--font-display); letter-spacing: -.05em; }

/* Testimonials */
.review-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #FCF8EF 100%);
    border-color: rgba(8,43,34,.10);
    border-radius: 22px;
    padding: 30px;
    position: relative;
}
.review-card::before {
    content: "\201C";
    position: absolute;
    right: 26px; top: 18px;
    font-family: Georgia, serif;
    font-size: 92px;
    line-height: 1;
    color: rgba(0,106,78,.08);
}
.review-card .quote { display: none; }
.review-card p { font-size: 14px; line-height: 1.8; color: #40564F; }
.review-card .text-warning { color: var(--gold) !important; }
.review-card .avatar { background: linear-gradient(145deg, #0A7A5C, #043D2E); color: #fff; }
.review-card:nth-child(2n) .avatar { background: linear-gradient(145deg, #E75565, #9E2437); }
.review-card:nth-child(3n) .avatar { background: linear-gradient(145deg, #C9A227, #7B5F0B); }

/* Blog */
.blog-card { border-radius: 22px; border-color: rgba(8,43,34,.10); background: #fff; }
.blog-thumb { position: relative; }
.blog-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4,28,22,.25)); }
.blog-body { padding: 24px; }
.blog-body .meta { color: #879991; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.blog-body h3 { font-size: 18px; }
.blog-body .read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; font-weight: 800; color: var(--brand); }

/* CTA */
.cta-band {
    background:
        radial-gradient(circle at 90% 10%, rgba(244,42,65,.26), transparent 28%),
        linear-gradient(120deg, #052A20 0%, #064E3B 56%, #0A6B50 100%);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    padding: 58px;
    box-shadow: 0 30px 80px rgba(4,28,22,.24);
}
.cta-band h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.cta-band p { font-size: 15px; line-height: 1.75; }

/* Page hero */
.page-hero {
    background:
        radial-gradient(circle at 82% 12%, rgba(244,42,65,.08), transparent 24%),
        linear-gradient(180deg, #F6F1E6 0%, #FAF7F0 100%);
    border-bottom: 1px solid var(--line-soft);
    padding: 72px 0 62px;
}
.page-hero::after { border-color: rgba(0,106,78,.06); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.page-hero p { font-size: 16px; line-height: 1.75; }

/* Forms */
.form-control, .form-select { background: #FFFDF8; border-color: rgba(8,43,34,.14); }
.form-control:focus, .form-select:focus { background: #fff; }

/* Content cards */
.content-card { border-radius: 22px; border-color: rgba(8,43,34,.10); background: #fff; box-shadow: 0 1px 0 rgba(8,43,34,.03); }
.course-hero {
    background:
        radial-gradient(circle at 86% 18%, rgba(244,42,65,.08), transparent 24%),
        linear-gradient(180deg, #F6F1E6 0%, #FAF7F0 100%);
    padding: 64px 0;
}
.purchase-card { border-radius: 22px; border-color: rgba(8,43,34,.12); box-shadow: var(--shadow-premium); }
.purchase-cover { position: relative; }
.purchase-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(4,28,22,.30)); }
.purchase-body { padding: 24px; }
.price-big { font-family: var(--font-display); letter-spacing: -.04em; }

/* User panel */
.user-shell { background: var(--cream); }
.user-sidebar { background: linear-gradient(160deg, #072D24 0%, #041C16 100%); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.72); box-shadow: 0 18px 44px rgba(4,28,22,.16); }
.user-profile-mini { border-bottom-color: rgba(255,255,255,.10); }
.user-profile-mini .avatar { background: linear-gradient(145deg, #0A7A5C, #064E3B); color: #fff; border: 2px solid rgba(255,255,255,.14); }
.user-profile-mini h4 { color: #fff; }
.user-profile-mini span { color: rgba(255,255,255,.48); }
.user-nav a { color: rgba(255,255,255,.66); }
.user-nav a i { color: rgba(255,255,255,.38); }
.user-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.user-nav a:hover i { color: #B8F3DF; }
.user-nav a.active { background: #fff; color: var(--brand-deep); box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.user-nav a.active i { color: var(--brand); }
.user-nav .user-nav-link { color: #FF8A96; }
.user-nav .user-nav-link i { color: #FF8A96; }
.user-nav .user-nav-link:hover { background: rgba(244,42,65,.12); }
.panel-card, .user-content .card { border-color: rgba(8,43,34,.10); background: #fff; box-shadow: 0 1px 0 rgba(8,43,34,.03); }
.stat-card { border-color: rgba(8,43,34,.10); background: #fff; border-radius: 18px; box-shadow: 0 1px 0 rgba(8,43,34,.03); }
.stat-card .icon { border-radius: 13px; background: var(--cream-2); }
.panel-title { font-family: var(--font-display); }

/* Auth */
.auth-wrap { background: radial-gradient(circle at 12% 18%, rgba(0,106,78,.12), transparent 32%), radial-gradient(circle at 88% 82%, rgba(244,42,65,.09), transparent 28%), var(--cream); }
.auth-card { border-radius: 26px; border-color: rgba(8,43,34,.10); box-shadow: 0 30px 80px rgba(4,28,22,.14); }
.auth-side { background: radial-gradient(circle at 80% 10%, rgba(244,42,65,.22), transparent 26%), linear-gradient(150deg, #041C16, #07533D); }
.auth-side h2 { font-family: var(--font-display); font-size: 34px; letter-spacing: -.04em; }

/* FAQ */
.accordion-item { border-radius: 14px !important; border-color: rgba(8,43,34,.10) !important; background: #fff; }
.accordion-button { background: #fff; padding: 18px 20px; font-size: 15px; }
.accordion-button:not(.collapsed) { background: #FFFDF8; color: var(--brand-deep); }
.accordion-body { padding: 0 20px 20px; line-height: 1.75; }

/* Footer */
.footer {
    background:
        radial-gradient(circle at 92% 8%, rgba(0,106,78,.42), transparent 28%),
        linear-gradient(135deg, #041C16 0%, #05261E 64%, #073326 100%);
    padding-top: 74px;
}
.footer::after {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--gold) 50%, var(--accent) 100%);
}
.footer h4 { font-family: var(--font-display); letter-spacing: -.01em; }
.footer .footer-brand-title { color: #fff; font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.footer .company-bio { color: rgba(255,255,255,.56); line-height: 1.8; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a { color: rgba(255,255,255,.58); }
.footer ul li a:hover { color: #fff; }
.footer .social a { border-radius: 11px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
.footer .social a:hover { background: var(--accent); border-color: var(--accent); }
.newsletter { background: linear-gradient(135deg, #FFFDF8, #F6F0E2); border-color: rgba(8,43,34,.10); border-radius: 24px; box-shadow: 0 18px 50px rgba(4,28,22,.10); }

/* Certificate */
.certificate { border-color: var(--brand-deep); border-width: 8px; }
.certificate-inner { border-color: var(--gold); }
.cert-title { font-family: var(--font-display); }

/* Misc */
.badge-soft { letter-spacing: .02em; }
.tag { background: var(--cream-2); border-color: rgba(8,43,34,.10); }
.data-table { border-color: rgba(8,43,34,.10); }
.table thead th { color: #80958C; }
.scroll-up { border-radius: 50%; background: var(--brand-deep); }
.scroll-up:hover { background: var(--accent); }

/* Decorative section rule */
.section-rule { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-rule span { width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-rule small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

/* Responsive premium */
@media (max-width: 991.98px) {
    .hero { padding: 76px 0 90px; }
    .hero-visual { margin-top: 54px; padding: 0 8px; }
    .hero-card { transform: none; }
    .hero-stats .stat { padding-right: 22px; margin-right: 22px; }
    .section { padding: 72px 0; }
    .cta-band { padding: 42px 30px; }
    .stats-band { padding: 38px 28px; }
    .user-sidebar { background: linear-gradient(160deg, #072D24, #041C16); }
    .user-nav { display: flex; flex-wrap: wrap; gap: 4px; }
    .user-nav li { flex: 0 0 auto; }
    .user-nav a { padding: 8px 11px; }
    .user-nav a.active { background: #fff; }
}

@media (max-width: 575.98px) {
    .hero { padding: 58px 0 72px; }
    .hero-title { font-size: 38px; }
    .hero-stats { flex-wrap: wrap; row-gap: 18px; }
    .hero-stats .stat { border-right: 0; margin-right: 24px; padding-right: 0; }
    .hero-trust { gap: 12px 18px; }
    .logo-strip .inner { justify-content: flex-start; }
    .logo-strip span:not(:first-child)::before { display: none; }
    .section { padding: 58px 0; }
    .cat-card { padding: 20px; }
    .course-body, .blog-body { padding: 18px; }
    .review-card { padding: 24px; }
    .stats-band { padding: 30px 22px; }
    .cta-band { padding: 34px 24px; }
    .footer { padding-top: 54px; }
}

@media print {
    .site-header, .top-strip, .footer, .scroll-up, .no-print { display: none !important; }
    body { background: #fff; }
    .cert-page { padding: 0; background: #fff; }
    .certificate { box-shadow: none; max-width: 100%; border-width: 6px; }
}

/* Instructor editorial block */
.instructor-visual { position: relative; padding: 10px 10px 18px 0; }
.instructor-portrait {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    padding: 42px 36px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 74% 18%, rgba(244, 42, 65, .28), transparent 24%),
        radial-gradient(circle at 12% 92%, rgba(21, 156, 117, .45), transparent 30%),
        linear-gradient(150deg, #041C16 0%, #063A2C 55%, #07533D 100%);
    box-shadow: 0 30px 70px rgba(4, 28, 22, .24);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.instructor-portrait::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 80%);
}
.portrait-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
}
.portrait-ring.one { width: 310px; height: 310px; right: -95px; top: 24px; }
.portrait-ring.two { width: 430px; height: 430px; right: -155px; top: -36px; border-color: rgba(255,255,255,.07); }
.portrait-label { position: relative; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #B8F3DF; }
.portrait-mark {
    position: relative;
    font-family: var(--font-display);
    font-size: 96px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.08em;
    color: rgba(255,255,255,.94);
    margin: 12px 0 18px;
    text-shadow: 0 18px 48px rgba(0,0,0,.25);
}
.portrait-mark::after {
    content: "";
    display: block;
    width: 54px; height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    margin-top: 20px;
}
.instructor-portrait h3 { position: relative; color: #fff; font-size: 24px; margin-bottom: 6px; }
.instructor-portrait p { position: relative; color: rgba(255,255,255,.58); font-size: 13px; margin-bottom: 22px; }
.portrait-tags { position: relative; display: flex; flex-wrap: wrap; gap: 7px; }
.portrait-tags span { padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: 11px; font-weight: 700; color: rgba(255,255,255,.78); }
.instructor-photo { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 70px rgba(4,28,22,.24); }
.instructor-badge {
    position: absolute; left: -14px; bottom: 32px;
    display: flex; align-items: center; gap: 11px;
    padding: 12px 16px;
    border-radius: 15px;
    background: #FFFDF8;
    border: 1px solid rgba(8,43,34,.08);
    box-shadow: 0 18px 48px rgba(0,0,0,.18);
    font-size: 12px; font-weight: 800; color: var(--ink-2);
}
.instructor-badge .icon { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-soft); color: #8A6D10; }
.instructor-badge small { color: var(--muted); font-weight: 600; font-size: 10.5px; }
.instructor-points > div > div { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed rgba(8,43,34,.10); font-size: 13.5px; font-weight: 600; color: #324C43; }
.instructor-points i { color: var(--brand); margin-top: 3px; }
.instructor-bio p:last-child { margin-bottom: 0; }

/* Small refinements from content pass */
.hero-proof p span { display: block; }
.online-pay-box {
    padding: 18px;
    border: 1px solid rgba(0, 106, 78, .14);
    border-radius: 16px;
    background: linear-gradient(180deg, #F7FBF8 0%, #FFFDF8 100%);
}
.online-pay-box .btn-dark { background: #635BFF; border-color: #635BFF; }
.online-pay-box .btn-dark:hover { background: #4D46D9; border-color: #4D46D9; }
.row > div:nth-child(2n) .feature-card .feature-icon { background: #FDE8EA; color: var(--accent); }
.row > div:nth-child(3n) .feature-card .feature-icon { background: var(--gold-soft); color: #8A6D10; }
.row > div:nth-child(2n) .cat-card .cat-icon { background: linear-gradient(145deg, #FFF0F1, #FDE0E3); color: var(--accent); box-shadow: none; }
.row > div:nth-child(3n) .cat-card .cat-icon { background: linear-gradient(145deg, #FBF0CD, #F2DFA4); color: #7B5F0B; box-shadow: none; }
.review-card { display: flex; flex-direction: column; height: 100%; }
.review-card .review-person, .review-card .review-user { margin-top: auto; }
@media (max-width: 991.98px) {
    .instructor-portrait { min-height: 420px; padding: 34px 28px; }
    .portrait-mark { font-size: 76px; }
    .instructor-visual { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
    .instructor-portrait { min-height: 360px; padding: 28px 22px; }
    .portrait-mark { font-size: 62px; margin: 10px 0 14px; }
    .instructor-badge { left: 8px; bottom: 14px; padding: 10px 12px; font-size: 11px; }
    .hero-proof { align-items: flex-start; }
    .hero-proof p { font-size: 11.5px; }
    .online-pay-box { padding: 15px; }
}

/* Layout guard + uniform cards */
html { overflow-x: hidden; }
.course-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.cat-card { height: 100%; }
.cat-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 767.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
    .cat-card { padding: 18px 16px; }
    .cat-desc { font-size: 12px; }
    .cat-card h3 { font-size: 15px; }
    .cat-count { font-size: 11px; }
}
@media (max-width: 575.98px) {
    .cat-card { padding: 16px 14px; }
    .cat-icon { width: 40px; height: 40px; font-size: 17px; margin-bottom: 12px; }
    .cat-desc { display: none; }
    .cat-count { margin-top: 12px; }
}

/* Language switcher: keep the strip (and its dropdown) above the sticky header */
.top-strip { position: relative; z-index: 1050; }

.lang-switch .lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.9);
    font-size: 12.5px;
    font-weight: 600;
}
.lang-switch .lang-btn i { color: var(--gold); margin-right: 0; }
.lang-switch .dropdown-menu { min-width: 126px; font-size: 13px; margin-top: 8px !important; z-index: 9999; }
.lang-switch .dropdown-item.active { background: var(--brand-light); color: var(--brand-deep); font-weight: 700; }
@media (max-width: 575.98px) {
    .top-strip .wrap { gap: 8px; }
    .top-strip .right { gap: 12px; }
    .top-strip .left { gap: 10px; }
}

/* hero card: make module names readable (text inherited a light colour on the white card) */
.hero-card-body .hero-lesson .flex-grow-1 { color: #1f2937; font-weight: 600; }

/* ---------- Bangla hero ---------- */
.hero-bn .hero-title { font-family: 'Hind Siliguri', 'Inter', sans-serif; letter-spacing: 0; line-height: 1.3; font-weight: 700; font-size: clamp(32px, 4.6vw, 54px); }
.hero-bn .hero-title .accent::after { bottom: 2px; }
.hero-bn .hero-lead { font-family: 'Hind Siliguri', 'Inter', sans-serif; font-size: 18px; line-height: 1.8; }
.hero-quote { position: relative; margin: 22px 0 0; padding: 16px 18px 16px 52px; max-width: 560px; background: var(--brand-soft); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.hero-quote i { position: absolute; left: 18px; top: 18px; color: var(--brand); opacity: .55; font-size: 20px; }
.hero-quote blockquote { margin: 0; font-family: 'Hind Siliguri', 'Inter', sans-serif; font-size: 16px; line-height: 1.75; color: var(--ink); font-weight: 500; }
.hero-bn .hero-actions { margin-top: 24px; }
.hero-bn .hero-stats .stat strong { font-family: 'Hind Siliguri', 'Inter', sans-serif; }
@media (max-width: 575px) { .hero-quote { padding: 14px 14px 14px 44px; } .hero-quote i { left: 14px; } }
.hero-bn, .hero-bn *, .logo-strip, .logo-strip * { letter-spacing: 0 !important; }
.hero-bn .hero-card, .hero-bn .hero-visual { transform: none !important; }
.hero-bn .hero-card { font-family: 'Hind Siliguri', 'Inter', sans-serif; }
.hero-bn .hero-card-top h3 { line-height: 1.4; font-size: 21px; }
.hero-bn .eyebrow, .hero-bn .btn, .hero-bn .hero-trust .item, .hero-bn .stat span { font-family: 'Hind Siliguri', 'Inter', sans-serif; }
.hero-bn .eyebrow, .hero-bn .hero-card-top .chip, .hero-bn .hero-progress-row, .hero-bn .badge-soft { font-weight: 600; font-size: 13px; }
.hero-bn .hero-lesson, .hero-bn .hero-trust .item { font-size: 15px; font-weight: 500; }
.hero-bn .btn { font-weight: 600; }

/* ---------- Notification bell ---------- */
.notif-bell { display: inline-block; position: relative; }
.notif-btn { position: relative; padding: 6px 10px; }
.notif-count { position: absolute; top: -4px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.notif-menu { width: 340px; max-width: calc(100vw - 24px); padding: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.notif-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.notif-clear { border: 0; background: none; color: var(--brand); font-size: 13px; font-weight: 600; padding: 0; }
.notif-list { max-height: 340px; overflow-y: auto; }
.notif-item { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.notif-item:hover { background: var(--brand-soft); color: var(--ink); }
.notif-item > i { color: var(--brand); margin-top: 4px; }
.notif-text { font-size: 14px; line-height: 1.5; }
.notif-item small { color: var(--muted); font-size: 12px; }
.notif-empty { padding: 26px 16px; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 575px) { .notif-menu { position: fixed !important; left: 12px !important; right: 12px !important; top: 64px !important; width: auto; transform: none !important; } }

/* Dropdown links inside the dark top strip must stay dark on the white menu */
.top-strip .lang-switch .dropdown-item { color: var(--text) !important; }
.top-strip .lang-switch .dropdown-item:hover { color: var(--brand) !important; background: var(--brand-soft); }
.top-strip .lang-switch .dropdown-item.active { color: var(--brand-deep) !important; }

/* ===================== Auth pages (login / register / forgot / reset) ===================== */
.auth-wrap { min-height: calc(100vh - 210px); padding: 56px 0; }
.auth-card { max-width: 1060px; margin: 0 auto; border-radius: 24px; box-shadow: 0 24px 70px rgba(4, 28, 22, .12); background: #fff; }
.auth-card-sm { max-width: 460px; }
.auth-card > .row { min-height: 560px; }
.auth-side { padding: 40px 44px; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; bottom: -120px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.auth-side > * { position: relative; }
.auth-side-logo { height: 40px; width: auto; align-self: flex-start; }
.auth-eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; margin-bottom: 18px; }
.auth-side h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 14px; }
.auth-side p { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.auth-side ul { margin-top: 26px; }
.auth-side li { align-items: center; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, .92); margin-bottom: 14px; }
.auth-side .tick { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: rgba(134, 239, 172, .2); color: #86EFAC; display: inline-flex; align-items: center; justify-content: center; }
.auth-side-foot { font-size: 13px; color: rgba(255, 255, 255, .65); display: flex; gap: 8px; align-items: center; }
.auth-form { padding: 44px 48px; }
.auth-form h2 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 6px; }
.auth-form .sub { font-size: 15px; line-height: 1.6; color: #5b6b7a; margin-bottom: 26px; }
.auth-mobile-logo { margin-bottom: 18px; }
.auth-mobile-logo img { height: 38px; width: auto; }
.auth-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: var(--brand-soft, #E8F5F0); color: var(--brand, #006A4E); }
.auth-card-sm .auth-form { padding: 40px 36px; }
.auth-card-sm .auth-form h2 { font-size: 26px; }

.auth-form .form-label { font-size: 13.5px; font-weight: 700; color: #1b2a36; margin-bottom: 7px; }
.field { position: relative; }
.field > i:first-child { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #8a98a6; font-size: 15px; pointer-events: none; transition: color .15s; }
.field .form-control, .field .form-select {
    height: 50px; padding-left: 44px; border: 1.5px solid #dbe3ea; border-radius: 12px; background-color: #fff; font-size: 15px; color: #14232f; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.field .form-control::placeholder { color: #9aa7b3; }
.field .form-control:hover, .field .form-select:hover { border-color: #c3cfd9; }
.field .form-control:focus, .field .form-select:focus { border-color: var(--brand, #006A4E); box-shadow: 0 0 0 4px rgba(0, 106, 78, .12); }
.field:focus-within > i:first-child { color: var(--brand, #006A4E); }
.field .form-control.is-invalid { border-color: #d92d20; background-image: none; }
.field-select .form-select { padding-right: 36px; }
.field-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: transparent; color: #8a98a6; border-radius: 10px; cursor: pointer; }
.field-toggle:hover { background: #f1f5f8; color: #14232f; }
.field:has(.field-toggle) .form-control { padding-right: 48px; }
.field-error { color: #d92d20; font-size: 13px; margin-top: 6px; }
.auth-form .form-check-input { width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid #b8c4ce; border-radius: 5px; cursor: pointer; }
.auth-form .form-check-input:checked { background-color: var(--brand, #006A4E); border-color: var(--brand, #006A4E); }
.auth-form .form-check-input:focus { box-shadow: 0 0 0 4px rgba(0, 106, 78, .12); }
.auth-form .form-check-label { color: #3d4f5d; cursor: pointer; }
.auth-form .btn-brand { height: 52px; border-radius: 12px; font-size: 15.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 8px 20px rgba(0, 106, 78, .22); }
.auth-form .btn-brand:hover { transform: translateY(-1px); }
.auth-form .alert { border-radius: 12px; font-size: 14px; border: 0; }
.auth-form .alert-danger { background: #fef3f2; color: #b42318; }
.auth-form .alert-success { background: #ecfdf3; color: #067647; }
@media (max-width: 991.98px) {
    .auth-wrap { padding: 28px 0 40px; }
    .auth-card > .row { min-height: 0; }
    .auth-form { padding: 30px 24px; }
}
.auth-form .row.g-3 { --bs-gutter-y: .85rem; }
.auth-form .field-select .form-select { text-overflow: ellipsis; }
.auth-form h2 + :not(.sub) { margin-top: 24px; }

/* ===================== Student dashboard (professional skin) ===================== */
.user-shell { background: linear-gradient(180deg, #F4F7F5 0, #FAF8F3 320px); padding: 32px 0 70px; }

/* sidebar */
.user-sidebar.usb { background: #fff; border: 1px solid #E4EAE7; border-radius: 20px; padding: 0; overflow: hidden; color: #1b2a36; box-shadow: 0 10px 30px rgba(8, 43, 34, .07); top: 96px; }
.usb-head { display: flex; gap: 12px; align-items: center; padding: 20px 18px; background: linear-gradient(135deg, #07533D, #0A7D5B); color: #fff; }
.usb-head .avatar { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 20px; font-weight: 800; border: 1px solid rgba(255, 255, 255, .35); overflow: hidden; }
.usb-head .avatar img { width: 100%; height: 100%; object-fit: cover; }
.usb-who { min-width: 0; }
.usb-who h4 { color: #fff; font-size: 16px; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.usb-who span { display: block; color: rgba(255, 255, 255, .78); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.usb-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px; }
.usb-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #33475a; font-size: 14.5px; font-weight: 600; position: relative; transition: background .15s, color .15s; }
.usb-nav a i { width: 20px; text-align: center; font-size: 15px; color: #7a8c9b; transition: color .15s; }
.usb-nav a:hover { background: #F1F6F3; color: #0b3b2d; }
.usb-nav a:hover i { color: var(--brand, #006A4E); }
.usb-nav a.active { background: #E6F4EE; color: #05543F; font-weight: 700; }
.usb-nav a.active::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand, #006A4E); }
.usb-nav a.active i { color: var(--brand, #006A4E); }
.usb-foot { padding: 4px 12px 14px; margin: 0; border-top: 1px solid #EDF1EF; padding-top: 10px; }
.usb-foot button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; background: transparent; color: #c0392b; font-size: 14.5px; font-weight: 600; border-radius: 12px; text-align: left; }
.usb-foot button:hover { background: #FDF0EE; }
.usb-foot i { width: 20px; text-align: center; }

/* hero */
.dash-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border-radius: 22px; color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(circle at 90% 0%, rgba(244, 42, 65, .22), transparent 40%), linear-gradient(135deg, #062F25 0%, #07533D 55%, #0A7D5B 100%); box-shadow: 0 18px 44px rgba(4, 28, 22, .2); }
.dash-hero::after { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; bottom: -130px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.dash-hero-text, .dash-ring { position: relative; z-index: 1; }
.dash-hello { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #86EFAC; margin-bottom: 6px; }
.dash-hero h1 { color: #fff; font-size: 32px; letter-spacing: -.02em; margin: 0 0 6px; }
.dash-hero p { color: rgba(255, 255, 255, .8); margin: 0 0 20px; font-size: 15px; }
.dash-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-light-solid { background: #fff; color: #06402F; border: 0; font-weight: 700; border-radius: 12px; padding: 11px 20px; }
.btn-light-solid:hover { background: #ECFDF5; color: #06402F; }
.btn-ghost-light { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); font-weight: 600; border-radius: 12px; padding: 11px 20px; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.dash-ring { position: relative; width: 136px; height: 136px; flex: 0 0 136px; }
.dash-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dash-ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: rgba(255, 255, 255, .16); }
.ring-fg { stroke: #86EFAC; stroke-linecap: round; }
.ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-text strong { font-size: 28px; line-height: 1; }
.ring-text span { font-size: 11px; color: rgba(255, 255, 255, .75); margin-top: 4px; max-width: 80px; line-height: 1.2; }

/* stats */
.stat-pro { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; transition: transform .15s, box-shadow .15s; }
.stat-pro:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(8, 43, 34, .08); }
.stat-pro .icon { margin: 0; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; font-size: 18px; }
.stat-pro h4 { font-size: 26px; line-height: 1.1; margin: 0; }
.stat-pro p { font-size: 12.5px; margin: 2px 0 0; color: #5b6b7a; }
.tone-green { background: #E6F4EE !important; color: #0A7D5B !important; }
.tone-blue { background: #E8F1FF !important; color: #2563EB !important; }
.tone-amber { background: #FFF4DB !important; color: #C27803 !important; }
.tone-rose { background: #FDE8EC !important; color: #D6314B !important; }

/* panels */
.pro-panel { padding: 22px; border-radius: 20px; border: 1px solid #E4EAE7; box-shadow: none; }
.pro-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pro-panel-head h3 { font-size: 17px; margin: 0; }
.pro-panel-head a { font-size: 13px; font-weight: 700; color: var(--brand, #006A4E); }
.course-row { display: flex; align-items: center; gap: 14px; padding: 10px; margin: 0 -10px; border-radius: 14px; color: inherit; transition: background .15s; }
.course-row:hover { background: #F4F8F6; color: inherit; }
.course-row img { width: 84px; height: 56px; object-fit: cover; border-radius: 10px; flex: 0 0 84px; }
.course-row-body { flex: 1; min-width: 0; }
.course-row-body strong { display: block; font-size: 14.5px; color: #14232f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; }
.course-row-bar { display: flex; align-items: center; gap: 10px; }
.course-row-bar .progress { flex: 1; height: 6px; background: #E9EFEC; border-radius: 99px; }
.course-row-bar .progress-bar { background: linear-gradient(90deg, #0A7D5B, #34D399); border-radius: 99px; }
.course-row-bar span { font-size: 12px; font-weight: 700; color: #33475a; width: 34px; text-align: right; }
.course-row-go { color: #a3b1bd; }
.live-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.live-date { flex: 0 0 46px; height: 50px; border-radius: 12px; background: #E6F4EE; color: #06402F; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.live-date b { font-size: 18px; }
.live-date small { font-size: 10.5px; text-transform: uppercase; font-weight: 700; }
.live-row strong { font-size: 14px; color: #14232f; }
.live-row small { color: #5b6b7a; font-size: 12px; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; color: inherit; border-top: 1px solid #EEF2F0; }
.order-row:first-of-type { border-top: 0; }
.order-row strong { display: block; font-size: 13.5px; color: #14232f; }
.order-row small { color: #6b7a88; font-size: 12px; }
.mini-empty { display: flex; align-items: center; gap: 10px; padding: 14px 12px; border-radius: 12px; background: #F6F9F7; color: #5b6b7a; font-size: 13.5px; }

@media (max-width: 991.98px) {
    .user-sidebar.usb { position: static; }
    .usb-nav { flex-direction: row; overflow-x: auto; gap: 6px; padding: 10px; -webkit-overflow-scrolling: touch; }
    .usb-nav a { flex: 0 0 auto; white-space: nowrap; padding: 9px 14px; background: #F4F8F6; }
    .usb-nav a.active::before { display: none; }
    .usb-foot { display: none; }
    .usb-head { padding: 16px; }
    .dash-hero { padding: 24px 22px; flex-direction: column; align-items: flex-start; }
    .dash-ring { align-self: center; }
    .dash-hero h1 { font-size: 26px; }
}
.usb-head .avatar { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.usb-head .avatar img { position: absolute; inset: 0; }
.dash-hero + .row { margin-top: .75rem; }
.user-shell .table thead, .user-shell .table thead th, .user-shell .table > :not(:first-child) { border-top-color: transparent; border-bottom-color: #E4EAE7 !important; }
.user-shell .table thead th { background: #F7FAF8; color: #5b6b7a; font-size: 11.5px; letter-spacing: .06em; border-bottom: 1px solid #E4EAE7 !important; }
.user-shell .panel-title { font-size: 24px; letter-spacing: -.02em; margin-bottom: 6px; }
