/* PKTTC Professional RAC Training Website
   Self-contained, responsive, accessible and motion-aware. */
:root {
    --brand-primary: #075b9e;
    --brand-secondary: #00a99d;
    --brand-accent: #ff8a1f;
    --navy-950: #021a2d;
    --navy-900: #032842;
    --navy-800: #063a5d;
    --blue-700: #075b9e;
    --blue-500: #0e8edb;
    --cyan-400: #3bd9ff;
    --cyan-200: #a9efff;
    --teal-500: #00a99d;
    --ice-50: #f4fcff;
    --ice-100: #e8f8fc;
    --ice-200: #d5f1f7;
    --white: #ffffff;
    --ink: #102334;
    --muted: #607387;
    --line: #dce9ef;
    --danger: #c93645;
    --success: #087f5b;
    --warning: #b86b00;
    --shadow-sm: 0 8px 28px rgba(3, 40, 66, .08);
    --shadow-md: 0 20px 60px rgba(3, 40, 66, .14);
    --shadow-lg: 0 35px 90px rgba(0, 31, 55, .22);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 30px;
    --container: 1200px;
    --header-height: 88px;
    --transition: 260ms cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif; line-height: 1.65; overflow-x: hidden; }
html[lang="bn"] body { font-family: "Noto Sans Bengali", "Hind Siliguri", "Nirmala UI", Vrinda, "Segoe UI", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--cyan-200); color: var(--navy-950); }
:focus-visible { outline: 3px solid rgba(255, 138, 31, .6); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section-cool { background: linear-gradient(180deg, #f7fdff, #edf9fc); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 20px; top: -80px; background: #fff; color: var(--navy-950); padding: 12px 18px; border-radius: 0 0 10px 10px; box-shadow: var(--shadow-md); transition: top var(--transition); }
.skip-link:focus { top: 0; }

/* Loader and ambient motion */
.page-loader { position: fixed; inset: 0; z-index: 9998; display: grid; place-items: center; align-content: center; gap: 12px; color: #fff; background: radial-gradient(circle at center, #075b9e, #021a2d 70%); transition: opacity .5s ease, visibility .5s ease; }
.page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-snowflake { font-size: 52px; animation: loader-spin 1.4s linear infinite; filter: drop-shadow(0 0 16px #3bd9ff); }
.page-loader span { font-weight: 900; letter-spacing: .25em; }
@keyframes loader-spin { to { transform: rotate(360deg); } }
.frost-cursor { position: fixed; z-index: 9000; width: 24px; height: 24px; pointer-events: none; border: 1px solid rgba(59, 217, 255, .75); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; transition: width .18s, height .18s, opacity .2s; mix-blend-mode: multiply; }
.frost-cursor.visible { opacity: 1; }
.frost-cursor.hover { width: 48px; height: 48px; background: rgba(59, 217, 255, .13); }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Buttons and common typography */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; line-height: 1.2; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition); }
.btn:hover { transform: translateY(-3px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand-primary), #0c89ce); box-shadow: 0 14px 34px rgba(7, 91, 158, .26); }
.btn-primary:hover { box-shadow: 0 18px 42px rgba(7, 91, 158, .36); }
.btn-outline { color: var(--brand-primary); background: #fff; border-color: rgba(7, 91, 158, .25); }
.btn-outline:hover { color: #fff; background: var(--brand-primary); border-color: var(--brand-primary); }
.btn-dark { color: #fff; background: var(--navy-950); }
.btn-white { color: var(--navy-950); background: #fff; box-shadow: 0 18px 38px rgba(0, 20, 35, .17); }
.btn-glass { color: #fff; background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.28); backdrop-filter: blur(14px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--brand-primary); font-weight: 800; }
.text-link span { transition: transform var(--transition); }
.text-link:hover span { transform: translateX(5px); }
.section-kicker, .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-secondary); font-size: .77rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 99px; }
.light-kicker { color: var(--cyan-400); }
.section-heading { margin-bottom: 48px; }
.section-heading h2, .section-copy h2 { margin: 12px 0 18px; color: var(--navy-950); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.16; letter-spacing: -.035em; }
.section-heading p, .section-copy > p { color: var(--muted); font-size: 1.06rem; }
.section-heading.centered { max-width: 780px; margin-inline: auto; text-align: center; }
.section-heading.centered .section-kicker { justify-content: center; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.split-heading > div { max-width: 760px; }
.center-action { margin-top: 44px; text-align: center; }
.empty-state { grid-column: 1 / -1; padding: 60px 30px; text-align: center; color: var(--muted); background: var(--ice-50); border: 1px dashed #b9dce6; border-radius: var(--radius); }
.empty-state > span { display: block; margin-bottom: 12px; color: var(--brand-secondary); font-size: 42px; }
.empty-state h2 { color: var(--navy-950); }

/* Header */
.site-header { position: sticky; z-index: 1000; top: 0; transition: box-shadow var(--transition), transform var(--transition); }
.site-header.scrolled { box-shadow: 0 15px 45px rgba(2, 26, 45, .13); }
.topbar { color: #d8edf6; background: var(--navy-950); font-size: .79rem; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-contact, .topbar-actions { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: #fff; }
.verify-mini { color: var(--cyan-400); font-weight: 800; }
.language-switch { display: flex; gap: 7px; }
.language-switch a { opacity: .65; }
.language-switch a.active { color: #fff; opacity: 1; font-weight: 900; }
.main-nav { background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
.nav-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 260px; }
.brand img { width: 62px; height: 62px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.22; }
.brand-copy strong { color: var(--brand-primary); font-size: 1.28rem; letter-spacing: .06em; }
.brand-copy small { max-width: 240px; color: #40576a; font-size: .70rem; font-weight: 700; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > a:not(.btn), .nav-dropdown-toggle, .search-toggle { padding: 12px 10px; color: #2b4355; background: transparent; border: 0; font-size: .91rem; font-weight: 760; white-space: nowrap; }
.nav-menu > a.active:not(.btn), .nav-menu > a:not(.btn):hover, .nav-dropdown-toggle:hover { color: var(--brand-primary); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle span { display: inline-block; margin-left: 2px; transition: transform var(--transition); }
.nav-dropdown:hover .nav-dropdown-toggle span, .nav-dropdown:focus-within .nav-dropdown-toggle span, .nav-dropdown.open .nav-dropdown-toggle span { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 12px); left: 0; width: 240px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); }
.nav-dropdown-menu::before { content: ""; position: absolute; top: -18px; left: 0; width: 100%; height: 20px; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 12px; border-radius: 9px; color: #40576a; font-size: .9rem; font-weight: 700; }
.nav-dropdown-menu a:hover { color: var(--brand-primary); background: var(--ice-50); transform: translateX(3px); }
.nav-cta { min-height: 44px; padding: 10px 15px; margin-left: 6px; font-size: .88rem; }
.search-toggle { width: 42px; height: 42px; padding: 0; border-radius: 50%; font-size: 1.5rem; }
.search-toggle:hover { background: var(--ice-100); }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 11px; background: var(--ice-50); border: 1px solid var(--line); border-radius: 13px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy-950); transition: var(--transition); }
.search-panel { position: absolute; left: 0; right: 0; top: 100%; padding: 18px 0; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--transition); }
.search-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.search-panel form { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
.search-panel input { min-height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; }
.search-panel button { min-width: 110px; color: #fff; background: var(--brand-primary); border: 0; border-radius: 12px; font-weight: 800; }
.search-panel .search-close { min-width: 52px; color: var(--ink); background: var(--ice-100); font-size: 1.5rem; }
.admission-ticker { height: 32px; overflow: hidden; color: #fff; background: linear-gradient(90deg, var(--brand-secondary), var(--blue-500), var(--brand-secondary)); font-size: .78rem; font-weight: 800; }
.ticker-track { width: max-content; display: flex; gap: 80px; align-items: center; height: 100%; animation: ticker 28s linear infinite; }
.ticker-track span { white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Home hero */
.hero-section { position: relative; min-height: 760px; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 28%, rgba(14,142,219,.58), transparent 32%), radial-gradient(circle at 12% 18%, rgba(0,169,157,.26), transparent 30%), linear-gradient(135deg, var(--navy-950) 0%, #05395d 55%, #075b9e 100%); }
.hero-grid-bg, .page-hero-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 55px 55px; mask-image: linear-gradient(to bottom, #000, transparent); }
.hero-layout { position: relative; z-index: 2; min-height: 720px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 50px; padding: 72px 0 96px; }
.hero-copy { max-width: 650px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 9px 14px; color: #c7f6ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 99px; font-size: .79rem; font-weight: 800; backdrop-filter: blur(10px); }
.pulse-dot { width: 9px; height: 9px; background: #56f4ce; border-radius: 50%; box-shadow: 0 0 0 0 rgba(86,244,206,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(86,244,206,0); } }
.hero-copy h1 { margin: 0; font-size: clamp(2.65rem, 5.1vw, 5.2rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
html[lang="bn"] .hero-copy h1 { font-size: clamp(2.45rem, 4.7vw, 4.65rem); line-height: 1.15; letter-spacing: -.035em; }
.hero-lead { max-width: 620px; margin: 25px 0 0; color: #d6ebf4; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.play-icon { display: grid; place-items: center; width: 31px; height: 31px; color: var(--navy-950); background: #fff; border-radius: 50%; font-size: .72rem; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 35px; }
.proof-avatars { display: flex; }
.proof-avatars span { display: grid; place-items: center; width: 43px; height: 43px; margin-left: -10px; color: var(--navy-950); background: linear-gradient(135deg, #fff, #bdefff); border: 3px solid #0b4f78; border-radius: 50%; font-size: .64rem; font-weight: 900; }
.proof-avatars span:first-child { margin-left: 0; }
.hero-proof > div:last-child { display: flex; flex-direction: column; }
.hero-proof strong { font-size: .86rem; }
.hero-proof small { color: #bad3df; }
.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.hero-device-card { position: relative; z-index: 2; width: min(100%, 620px); animation: hero-float 6s ease-in-out infinite; }
@keyframes hero-float { 50% { transform: translateY(-12px); } }
.hero-device-card > img { filter: drop-shadow(0 35px 50px rgba(0,0,0,.34)); }
.orbit { position: absolute; border: 1px solid rgba(91,225,255,.25); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; animation: orbit 24s linear infinite; }
.orbit-two { width: 390px; height: 390px; border-style: dashed; animation: orbit 16s linear reverse infinite; }
.orbit::after { content: "❄"; position: absolute; top: -14px; left: 50%; color: var(--cyan-400); font-size: 24px; filter: drop-shadow(0 0 8px var(--cyan-400)); }
@keyframes orbit { to { transform: rotate(360deg); } }
.sensor-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; min-width: 150px; padding: 12px 14px; background: rgba(255,255,255,.92); color: var(--navy-950); border: 1px solid rgba(255,255,255,.7); border-radius: 15px; box-shadow: var(--shadow-md); backdrop-filter: blur(14px); }
.sensor-card > span { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--brand-secondary)); border-radius: 11px; }
.sensor-card div { display: flex; flex-direction: column; }
.sensor-card small { color: var(--muted); font-size: .68rem; }
.sensor-card strong { font-size: 1.05rem; }
.sensor-temp { top: 12%; left: -3%; animation: sensor-float 4s ease-in-out infinite; }
.sensor-skill { right: -2%; bottom: 18%; animation: sensor-float 4.8s ease-in-out -.7s infinite; }
@keyframes sensor-float { 50% { transform: translateY(-9px) rotate(1deg); } }
.airflow { position: absolute; z-index: 3; width: 110px; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan-400), transparent); border-radius: 99px; filter: drop-shadow(0 0 5px var(--cyan-400)); animation: air-flow 2.2s ease-in-out infinite; }
.airflow-a { top: 27%; left: 10%; transform: rotate(12deg); }
.airflow-b { top: 34%; left: 7%; transform: rotate(4deg); animation-delay: .4s; }
.airflow-c { top: 40%; left: 12%; transform: rotate(-5deg); animation-delay: .8s; }
@keyframes air-flow { 0%,100% { opacity: 0; transform: translateX(-25px) scaleX(.5); } 45% { opacity: 1; } 70% { transform: translateX(65px) scaleX(1.2); } }
.batch-card { position: absolute; z-index: 5; right: 1%; bottom: 2%; display: flex; align-items: center; gap: 13px; max-width: 350px; padding: 14px 16px; color: #fff; }
.glass-panel { background: rgba(3,40,66,.62); border: 1px solid rgba(255,255,255,.18); border-radius: 17px; box-shadow: var(--shadow-md); backdrop-filter: blur(14px); }
.batch-card .batch-icon { display: grid; place-items: center; width: 42px; height: 42px; background: var(--brand-accent); border-radius: 12px; }
.batch-card div { display: flex; flex-direction: column; }
.batch-card small { color: #b9d6e2; }
.batch-card strong { line-height: 1.25; }
.batch-card a { margin-left: auto; font-size: 1.3rem; }
.frost-particles i { position: absolute; z-index: 1; width: 5px; height: 5px; background: rgba(255,255,255,.7); border-radius: 50%; animation: snow-fall linear infinite; }
.frost-particles i:nth-child(1) { left: 8%; top: -10px; animation-duration: 9s; }
.frost-particles i:nth-child(2) { left: 22%; top: -10px; animation-duration: 12s; animation-delay: 2s; }
.frost-particles i:nth-child(3) { left: 39%; top: -10px; animation-duration: 10s; animation-delay: 5s; }
.frost-particles i:nth-child(4) { left: 54%; top: -10px; animation-duration: 14s; animation-delay: 1s; }
.frost-particles i:nth-child(5) { left: 69%; top: -10px; animation-duration: 8s; animation-delay: 4s; }
.frost-particles i:nth-child(6) { left: 81%; top: -10px; animation-duration: 13s; animation-delay: 6s; }
.frost-particles i:nth-child(7) { left: 92%; top: -10px; animation-duration: 11s; animation-delay: 3s; }
.frost-particles i:nth-child(8) { left: 47%; top: -10px; animation-duration: 16s; animation-delay: 7s; }
@keyframes snow-fall { to { transform: translate3d(45px, 820px, 0) rotate(180deg); opacity: 0; } }
.hero-wave { position: absolute; z-index: 3; left: -2%; right: -2%; bottom: -1px; height: 55px; background: #fff; clip-path: polygon(0 55%, 7% 38%, 15% 65%, 23% 39%, 32% 68%, 42% 43%, 52% 66%, 62% 36%, 72% 64%, 82% 42%, 91% 68%, 100% 48%, 100% 100%, 0 100%); }

/* Stats */
.stats-strip { position: relative; z-index: 5; margin-top: -18px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-md); overflow: hidden; }
.stat-item { position: relative; min-height: 142px; padding: 27px 25px; display: grid; grid-template-columns: auto auto 1fr; align-items: center; align-content: center; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: 0; }
.stat-icon { grid-row: span 2; display: grid; place-items: center; width: 50px; height: 50px; margin-right: 16px; color: var(--brand-primary); background: var(--ice-100); border-radius: 15px; font-size: 1.4rem; }
.stat-item strong { color: var(--navy-950); font-size: 2rem; line-height: 1; }
.stat-item em { color: var(--brand-secondary); font-size: 1.4rem; font-style: normal; font-weight: 900; }
.stat-item small { grid-column: 2 / -1; margin-top: 7px; color: var(--muted); line-height: 1.3; }

/* Cards and home sections */
.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 250px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.feature-card:hover { transform: translateY(-7px); border-color: rgba(0,169,157,.35); box-shadow: var(--shadow-md); }
.feature-number { position: absolute; right: 18px; top: 13px; color: #e6f1f5; font-size: 2.4rem; font-weight: 900; }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); border-radius: 16px; box-shadow: 0 13px 25px rgba(7,91,158,.2); font-size: 1.35rem; }
.feature-card h3 { margin: 0 0 10px; color: var(--navy-950); font-size: 1.2rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 23px; box-shadow: var(--shadow-sm); transform-style: preserve-3d; transition: box-shadow var(--transition), border-color var(--transition); }
.course-card:hover { border-color: rgba(7,91,158,.25); box-shadow: var(--shadow-md); }
.course-card-visual { position: relative; height: 225px; overflow: hidden; background: linear-gradient(145deg, #dff7fc, #eefaff); }
.course-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.course-card:hover .course-card-visual img { transform: scale(1.04); }
.course-duration { position: absolute; left: 17px; top: 17px; padding: 7px 11px; color: #fff; background: rgba(3,40,66,.85); border-radius: 99px; font-size: .75rem; font-weight: 800; backdrop-filter: blur(8px); }
.course-card-body { padding: 25px; }
.course-card h3 { margin: 9px 0 10px; color: var(--navy-950); font-size: 1.32rem; line-height: 1.35; }
.course-card h3 a:hover { color: var(--brand-primary); }
.course-card p { color: var(--muted); }
.course-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; padding: 15px; background: var(--ice-50); border-radius: 13px; }
.course-meta span { display: flex; flex-direction: column; color: var(--navy-950); font-size: 1.08rem; font-weight: 900; }
.course-meta small { color: var(--muted); font-size: .69rem; font-weight: 700; }
.course-meta .price-highlight { color: var(--success); }
.process-section { overflow: hidden; }
.process-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.process-grid article { text-align: center; }
.process-icon { position: relative; width: 94px; height: 94px; display: grid; place-items: center; margin: 0 auto 24px; color: rgba(7,91,158,.25); background: #fff; border: 2px solid var(--ice-200); border-radius: 50%; box-shadow: var(--shadow-sm); font-size: .75rem; font-weight: 900; }
.process-icon span { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); border-radius: 50%; font-size: 1.25rem; }
.process-grid h3 { margin: 0 0 8px; color: var(--navy-950); }
.process-grid p { margin: 0; color: var(--muted); font-size: .93rem; }
.process-line { position: absolute; left: 15%; right: 15%; margin-top: 47px; height: 2px; background: repeating-linear-gradient(90deg, var(--cyan-400) 0 8px, transparent 8px 16px); }
.process-line span { display: block; width: 22px; height: 8px; background: var(--brand-accent); border-radius: 99px; animation: process-travel 5s linear infinite; }
@keyframes process-travel { to { transform: translateX(700px); } }
.verification-showcase { overflow: hidden; padding: 110px 0; color: #fff; background: radial-gradient(circle at 20% 20%, rgba(59,217,255,.22), transparent 28%), linear-gradient(135deg, #021a2d, #075b9e); }
.verification-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.certificate-mockup { position: relative; min-height: 450px; display: grid; place-items: center; perspective: 1200px; }
.certificate-paper { position: relative; width: min(100%, 510px); padding: 38px; color: var(--navy-950); background: linear-gradient(135deg, #fff, #f0fbfe); border: 9px double #c5e9f3; border-radius: 8px; box-shadow: var(--shadow-lg); text-align: center; transform: rotate(-4deg) rotateY(7deg); animation: certificate-float 5s ease-in-out infinite; }
@keyframes certificate-float { 50% { transform: translateY(-10px) rotate(-2deg) rotateY(4deg); } }
.certificate-top { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 900; letter-spacing: .12em; }
.certificate-paper > small { display: block; margin-top: 15px; color: var(--brand-secondary); font-weight: 900; letter-spacing: .18em; }
.certificate-paper h3 { margin: 15px 0 18px; font-size: 1.65rem; }
.certificate-name { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid var(--navy-900); font-family: Georgia, serif; font-size: 1.45rem; }
.certificate-seal { position: absolute; right: 30px; bottom: 36px; display: grid; place-items: center; width: 64px; height: 64px; color: #fff; background: var(--brand-secondary); border: 5px double #fff; border-radius: 50%; font-size: 1.5rem; }
.certificate-code { margin-top: 32px; color: var(--muted); font-family: ui-monospace, monospace; font-size: .75rem; }
.certificate-glow { position: absolute; width: 360px; height: 360px; background: var(--cyan-400); border-radius: 50%; filter: blur(100px); opacity: .18; }
.light-copy h2 { color: #fff; }
.light-copy > p { color: #c6dce6; }
.check-list { padding: 0; margin: 25px 0 30px; list-style: none; }
.check-list li { position: relative; margin: 11px 0; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; display: grid; place-items: center; width: 20px; height: 20px; color: var(--navy-950); background: var(--cyan-400); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.dark-check li { color: var(--ink); }
.dark-check li::before { color: #fff; background: var(--brand-secondary); }
.trainer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trainer-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.trainer-photo { position: relative; height: 280px; overflow: hidden; background: linear-gradient(145deg, #dff5fa, #f8fdff); }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar-placeholder { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; color: #fff; background: radial-gradient(circle at 65% 25%, #2ab8dd, transparent 30%), linear-gradient(145deg, var(--navy-800), var(--brand-primary)); }
.avatar-placeholder span { display: grid; place-items: center; width: 125px; height: 125px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 2.3rem; font-weight: 900; }
.avatar-placeholder i { position: absolute; right: -10px; bottom: -40px; font-size: 155px; font-style: normal; opacity: .08; }
.experience-badge { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; align-items: center; min-width: 66px; padding: 8px; color: #fff; background: var(--brand-accent); border: 3px solid #fff; border-radius: 14px; line-height: 1; }
.experience-badge strong { font-size: 1.1rem; }
.experience-badge small { margin-top: 4px; font-size: .62rem; }
.trainer-info { padding: 22px; }
.trainer-info h3 { margin: 0; color: var(--navy-950); font-size: 1.18rem; }
.trainer-role { margin: 4px 0 11px; color: var(--brand-primary) !important; font-size: .83rem; font-weight: 800; }
.trainer-info p:last-child { margin: 0; color: var(--muted); font-size: .9rem; }
.testimonial-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.testimonial-slider { position: relative; min-height: 420px; }
.testimonial-card { position: absolute; inset: 0; padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: 25px; box-shadow: var(--shadow-md); opacity: 0; transform: translateX(30px) scale(.98); pointer-events: none; transition: .55s ease; }
.testimonial-card.active { opacity: 1; transform: none; pointer-events: auto; }
.quote-mark { position: absolute; right: 28px; top: 0; color: var(--ice-200); font-family: Georgia, serif; font-size: 8rem; line-height: 1; }
.stars { color: #ffab2e; letter-spacing: .08em; }
.testimonial-card blockquote { position: relative; margin: 24px 0 32px; color: #294252; font-size: 1.18rem; line-height: 1.8; }
.testimonial-person { display: flex; align-items: center; gap: 13px; }
.mini-avatar, .story-avatar { display: grid; place-items: center; width: 52px; height: 52px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); border-radius: 50%; font-weight: 900; }
.testimonial-person div:last-child { display: flex; flex-direction: column; }
.testimonial-person small { color: var(--muted); }
.slider-controls { position: absolute; z-index: 10; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; }
.slider-controls button { display: grid; place-items: center; width: 42px; height: 42px; color: var(--navy-950); background: var(--ice-100); border: 0; border-radius: 50%; }
.slider-dots { display: flex; gap: 6px; }
.slider-dots button { width: 8px; height: 8px; min-width: 0; padding: 0; background: #bdd5dd; }
.slider-dots button.active { width: 22px; background: var(--brand-primary); border-radius: 99px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-grid-full { grid-template-columns: repeat(3, 1fr); }
.post-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.post-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.post-visual { position: relative; display: block; height: 220px; overflow: hidden; background: var(--ice-100); }
.post-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .post-visual img { transform: scale(1.05); }
.post-visual > span { position: absolute; left: 16px; bottom: 16px; padding: 7px 10px; color: #fff; background: rgba(2,26,45,.84); border-radius: 8px; font-size: .72rem; font-weight: 800; }
.post-body { padding: 24px; }
.post-body h3 { margin: 8px 0 10px; color: var(--navy-950); line-height: 1.4; }
.post-body h3 a:hover { color: var(--brand-primary); }
.post-body p { color: var(--muted); font-size: .92rem; }
.final-cta { position: relative; overflow: hidden; padding: 80px 0; color: #fff; background: radial-gradient(circle at 85% 30%, rgba(59,217,255,.3), transparent 25%), linear-gradient(120deg, var(--brand-primary), var(--navy-950)); }
.final-cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.final-cta h2 { max-width: 820px; margin: 8px 0; font-size: clamp(1.9rem, 3.7vw, 3.2rem); line-height: 1.2; }
.final-cta p { margin: 0; color: #cae2ec; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.compact-cta { padding: 65px 0; }
.compact-cta h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); }
.newsletter-band { padding: 65px 0; color: #fff; background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary)); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.newsletter-inner > div:first-child { display: flex; align-items: center; gap: 20px; }
.newsletter-inner > div:first-child > span { font-size: 42px; }
.newsletter-inner h2 { margin: 0; max-width: 720px; }

/* Page hero */
.page-hero { position: relative; overflow: hidden; min-height: 385px; color: #fff; background: radial-gradient(circle at 82% 25%, rgba(59,217,255,.3), transparent 26%), linear-gradient(135deg, var(--navy-950), var(--brand-primary)); }
.page-hero-inner { position: relative; z-index: 2; min-height: 385px; display: grid; grid-template-columns: 1fr 270px; align-items: center; gap: 40px; padding: 62px 0; }
.page-hero h1 { max-width: 880px; margin: 10px 0 13px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.1; letter-spacing: -.045em; }
.page-hero p { max-width: 720px; margin: 0; color: #d1e6ef; font-size: 1.08rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; color: #b8d4df; font-size: .8rem; }
.breadcrumbs a:hover { color: #fff; }
.page-hero-icon { position: relative; display: grid; place-items: center; width: 220px; height: 220px; justify-self: end; }
.page-hero-icon span { position: relative; z-index: 2; display: grid; place-items: center; width: 105px; height: 105px; color: var(--navy-950); background: linear-gradient(135deg, #fff, #b6efff); border-radius: 30px; box-shadow: 0 25px 65px rgba(0,0,0,.2); font-size: 2.7rem; transform: rotate(-8deg); animation: icon-float 4.5s ease-in-out infinite; }
@keyframes icon-float { 50% { transform: translateY(-12px) rotate(4deg); } }
.page-hero-icon i, .page-hero-icon b { position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; animation: orbit 16s linear infinite; }
.page-hero-icon i { width: 180px; height: 180px; }
.page-hero-icon b { width: 230px; height: 230px; animation-direction: reverse; }
.page-hero-snow { position: absolute; right: 12%; bottom: -110px; color: #fff; font-size: 280px; opacity: .035; transform: rotate(17deg); }
.document-hero, .article-header, .event-detail-hero { color: #fff; background: radial-gradient(circle at 80% 20%, rgba(59,217,255,.22), transparent 27%), linear-gradient(135deg, var(--navy-950), var(--brand-primary)); }
.document-hero .container { padding-top: 80px; padding-bottom: 80px; }
.document-hero h1 { max-width: 900px; margin: 18px 0 10px; font-size: clamp(2.2rem, 4.7vw, 4rem); line-height: 1.18; }
.document-hero p { color: #c3dbe5; }

/* About and content pages */
.about-intro { grid-template-columns: 1fr 1fr; }
.about-visual { position: relative; min-height: 500px; }
.about-visual > img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; background: var(--ice-100); border-radius: 28px; box-shadow: var(--shadow-md); }
.floating-year, .cost-card { position: absolute; right: -25px; bottom: 35px; min-width: 170px; padding: 20px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); border: 6px solid #fff; border-radius: 20px; box-shadow: var(--shadow-md); }
.floating-year { display: flex; flex-direction: column; }
.floating-year strong { font-size: 2rem; line-height: 1; }
.floating-year span { margin-top: 5px; font-size: .8rem; }
.signature-block { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); }
.signature-mark { display: grid; place-items: center; width: 54px; height: 54px; color: #fff; background: var(--navy-950); border-radius: 50%; font-family: Georgia, serif; font-style: italic; font-weight: 900; }
.signature-block > div:last-child { display: flex; flex-direction: column; }
.signature-block span { color: var(--muted); font-size: .83rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.values-grid article { position: relative; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden; }
.values-grid article > span { position: absolute; right: 18px; top: 8px; color: #e6f4f7; font-size: 3.5rem; font-weight: 900; }
.values-grid h3 { margin: 0 0 12px; color: var(--navy-950); font-size: 1.4rem; }
.values-grid p { color: var(--muted); }
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 112px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--brand-secondary), var(--brand-primary)); }
.timeline article { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 48px; padding: 0 0 45px; }
.timeline article::before { content: ""; position: absolute; left: 103px; top: 8px; width: 18px; height: 18px; background: #fff; border: 5px solid var(--brand-secondary); border-radius: 50%; box-shadow: 0 0 0 7px var(--ice-100); }
.timeline time { color: var(--brand-primary); font-size: 1.12rem; font-weight: 900; text-align: right; }
.timeline h3 { margin: 0 0 7px; color: var(--navy-950); }
.timeline p { margin: 0; color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit-grid article { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.benefit-grid article > span { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); border-radius: 15px; font-size: 1.25rem; }
.benefit-grid h3 { margin: 0 0 9px; color: var(--navy-950); }
.benefit-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 25px 0; }
.amenity-grid span { padding: 12px 14px; background: var(--ice-50); border: 1px solid var(--line); border-radius: 11px; font-size: .91rem; font-weight: 700; }
.info-alert { margin: 22px 0; padding: 18px; color: #42576a; background: #fff8e8; border: 1px solid #ffe0a3; border-left: 4px solid var(--brand-accent); border-radius: 12px; }
.cost-card { left: -22px; right: auto; bottom: 32px; display: flex; flex-direction: column; }
.cost-card strong { font-size: 1.55rem; }
.cost-card span, .cost-card small { font-size: .72rem; }
.steps-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps-cards article { position: relative; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.steps-cards article > span { position: absolute; right: 20px; top: 12px; color: var(--ice-200); font-size: 3rem; font-weight: 900; }
.steps-cards h3 { margin-top: 10px; color: var(--navy-950); }
.steps-cards p { color: var(--muted); }
.trainer-grid-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.trainer-profile { display: grid; grid-template-columns: 250px 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 25px; box-shadow: var(--shadow-sm); }
.trainer-profile .trainer-photo { height: 100%; min-height: 440px; }
.trainer-profile-body { padding: 34px; }
.trainer-profile-body h2 { margin: 8px 0 15px; color: var(--navy-950); font-size: 1.7rem; }
.trainer-profile-body > p { color: var(--muted); }
.trainer-qualifications { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.trainer-qualifications h3 { color: var(--navy-950); font-size: 1rem; }
.trainer-qualifications p { color: var(--muted); font-size: .9rem; }

/* Course detail */
.course-detail-hero { color: #fff; background: radial-gradient(circle at 72% 20%, rgba(59,217,255,.28), transparent 28%), linear-gradient(135deg, var(--navy-950), var(--brand-primary)); }
.course-detail-layout { display: grid; grid-template-columns: 1fr 390px; align-items: center; gap: 60px; padding-top: 75px; padding-bottom: 75px; }
.course-detail-copy h1 { margin: 12px 0 18px; font-size: clamp(2.4rem, 4.8vw, 4.5rem); line-height: 1.1; }
.course-detail-copy > p { max-width: 720px; color: #d1e5ee; font-size: 1.08rem; }
.course-detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.course-detail-facts > div { padding: 15px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.15); border-radius: 13px; backdrop-filter: blur(10px); }
.course-detail-facts small, .course-detail-facts strong { display: block; }
.course-detail-facts small { color: #b7d2df; font-size: .69rem; }
.course-detail-facts strong { margin-top: 4px; font-size: .87rem; line-height: 1.35; }
.course-enroll-card { padding: 23px; color: var(--ink); background: #fff; border-radius: 25px; box-shadow: var(--shadow-lg); }
.course-enroll-card img { width: 100%; height: 190px; object-fit: contain; background: var(--ice-50); border-radius: 17px; }
.enroll-pricing { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 12px; margin: 20px 0; }
.enroll-pricing small { grid-column: 1 / -1; color: var(--muted); }
.enroll-pricing del { color: #82929e; }
.enroll-pricing strong { color: var(--success); font-size: 1.8rem; line-height: 1; }
.enroll-pricing span { grid-column: 1 / -1; color: var(--muted); font-size: .75rem; }
.course-enroll-card .btn { width: 100%; margin-top: 10px; }
.course-content-layout { display: grid; grid-template-columns: 1fr 330px; align-items: start; gap: 60px; }
.rich-content { font-size: 1.04rem; }
.rich-content h2, .rich-content h3 { color: var(--navy-950); line-height: 1.3; }
.rich-content h2 { margin: 35px 0 14px; font-size: 1.8rem; }
.rich-content p { color: #40576a; line-height: 1.9; }
.rich-content ul, .rich-content ol { color: #40576a; }
.course-sidebar, .sidebar-card { padding: 25px; background: var(--ice-50); border: 1px solid var(--line); border-radius: 20px; }
.course-sidebar h3, .sidebar-card h3 { margin-top: 0; color: var(--navy-950); }
.course-sidebar ul { padding: 0; margin: 0; list-style: none; }
.course-sidebar li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.course-sidebar li:last-child { border-bottom: 0; }
.course-sidebar li span { color: var(--success); font-weight: 900; }
.module-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module-columns > div { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.module-columns > div > h3 { margin-top: 0; color: var(--navy-950); }
.module-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.module-item > span { display: grid; place-items: center; width: 32px; height: 32px; color: var(--brand-primary); background: var(--ice-100); border-radius: 9px; font-size: .7rem; font-weight: 900; }
.module-item h4 { margin: 1px 0 5px; color: var(--navy-950); font-size: .97rem; }
.module-item p { margin: 0; color: var(--muted); font-size: .82rem; }
.batch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.batch-list-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.status-pill { display: inline-flex; padding: 6px 10px; color: #fff; background: #657786; border-radius: 99px; font-size: .69rem; font-weight: 900; text-transform: uppercase; }
.status-pill.open, .status-pill.approved, .result-badge.approved, .result-badge.enrolled { background: var(--success); }
.status-pill.upcoming, .result-badge.shortlisted { background: var(--brand-primary); }
.status-pill.closed, .result-badge.rejected { background: var(--danger); }
.batch-list-card h3 { color: var(--navy-950); }
.batch-list-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.batch-list-card dl div { padding: 10px; background: var(--ice-50); border-radius: 9px; }
.batch-list-card dt { color: var(--muted); font-size: .68rem; }
.batch-list-card dd { margin: 0; font-weight: 800; }

/* Forms and admissions */
.admission-layout { display: grid; grid-template-columns: 1fr 360px; align-items: start; gap: 35px; }
.admission-main, .contact-form-panel, .verify-panel { padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-md); }
.form-heading h2 { margin: 12px 0 8px; color: var(--navy-950); font-size: 2rem; }
.form-heading p { color: var(--muted); }
.form-section-title { display: flex; align-items: center; gap: 15px; margin: 34px 0 19px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.form-section-title > span { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); border-radius: 12px; font-size: .76rem; font-weight: 900; }
.form-section-title h3 { margin: 0; color: var(--navy-950); font-size: 1.05rem; }
.form-section-title p { margin: 2px 0 0; color: var(--muted); font-size: .8rem; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.field-group { display: flex; flex-direction: column; gap: 7px; }
.field-group.full { grid-column: 1 / -1; }
.field-group label, .verify-form label { color: #304858; font-size: .85rem; font-weight: 800; }
.form-control { width: 100%; min-height: 50px; padding: 11px 13px; color: var(--ink); background: #fbfdfe; border: 1px solid #cfe0e7; border-radius: 11px; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-control:focus { background: #fff; border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(7,91,158,.1); outline: 0; }
.form-check-input { width: 19px; height: 19px; accent-color: var(--brand-primary); }
.errorlist { margin: 0; padding: 0; color: var(--danger); list-style: none; font-size: .78rem; }
.form-alert { padding: 14px; border-radius: 10px; }
.form-alert.error { color: #8d1f2b; background: #fff0f2; border: 1px solid #f5c2c8; }
.file-field .form-control { padding: 9px; }
.file-hint { color: var(--muted); font-size: .72rem; }
.consent-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 25px 0; align-items: start; }
.consent-row .errorlist { grid-column: 2; }
.consent-row label { color: var(--muted); font-size: .84rem; }
.submit-btn { min-width: 250px; }
.admission-sidebar { display: grid; gap: 20px; }
.status-check-card, .support-card, .security-note { padding: 25px; background: var(--navy-950); color: #fff; border-radius: 22px; box-shadow: var(--shadow-sm); }
.status-check-card h2 { margin: 10px 0 7px; }
.status-check-card p, .support-card p { color: #bbd2dc; font-size: .87rem; }
.status-check-card .field-group { margin: 13px 0; }
.status-check-card label { font-size: .76rem; font-weight: 800; }
.status-check-card .form-control { background: rgba(255,255,255,.09); color: #fff; border-color: rgba(255,255,255,.16); }
.status-check-card .btn { width: 100%; margin-top: 8px; background: #fff; color: var(--navy-950); }
.status-icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--brand-secondary); border-radius: 14px; font-size: 1.4rem; }
.support-card { background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); }
.support-card > span { font-size: 2rem; }
.support-card h3 { margin: 7px 0; }
.support-card a { font-weight: 900; }
.security-note { display: flex; gap: 12px; color: #526879; background: var(--ice-50); border: 1px solid var(--line); box-shadow: none; }
.security-note p { margin: 0; font-size: .78rem; }
.ajax-result { margin-top: 18px; }
.ajax-loading { padding: 15px; text-align: center; color: var(--muted); }
.ajax-error, .result-error { padding: 14px; color: #8a1f2b; background: #fff0f2; border: 1px solid #f1c4ca; border-radius: 10px; }
.result-card { padding: 18px; color: var(--ink); background: #fff; border-radius: 14px; }
.result-badge { display: inline-flex; padding: 5px 9px; color: #fff; background: #6b7c88; border-radius: 99px; font-size: .68rem; font-weight: 900; }
.status-result h3 { margin: 10px 0; }
.status-result dl { margin: 0; }
.status-result dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
.status-result dt { color: var(--muted); }
.status-result dd { margin: 0; text-align: right; font-weight: 800; }
.result-message { margin-bottom: 0; color: var(--success) !important; font-size: .82rem !important; }
.closed-panel { padding: 60px 30px; text-align: center; }
.closed-panel > span { color: var(--brand-secondary); font-size: 50px; }
.closed-panel h2 { color: var(--navy-950); }
.closed-panel p { color: var(--muted); }
.success-screen, .error-screen { min-height: 70vh; display: grid; place-items: center; padding: 80px 0; background: radial-gradient(circle at center, #eefbfe, #fff); }
.success-card, .error-card { position: relative; max-width: 760px; margin: 0 auto; padding: 50px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-md); overflow: hidden; }
.success-check { display: grid; place-items: center; width: 82px; height: 82px; margin: 0 auto 20px; color: #fff; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 12px rgba(8,127,91,.1); font-size: 2rem; }
.success-card h1 { margin: 10px 0; color: var(--navy-950); font-size: 2.2rem; }
.success-card > p { color: var(--muted); }
.application-id-box { max-width: 480px; margin: 25px auto; padding: 20px; background: var(--navy-950); color: #fff; border-radius: 16px; }
.application-id-box small { display: block; color: #acc9d5; }
.application-id-box strong { display: block; margin: 5px 0 12px; color: var(--cyan-400); font-family: ui-monospace, monospace; font-size: 1.45rem; letter-spacing: .05em; }
.application-id-box button { padding: 7px 13px; color: var(--navy-950); background: #fff; border: 0; border-radius: 8px; font-weight: 800; }
.next-steps { max-width: 540px; margin: 0 auto 25px; text-align: left; }
.next-steps h2 { color: var(--navy-950); font-size: 1.2rem; }
.next-steps li { margin: 8px 0; color: var(--muted); }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Certificate */
.certificate-verify-layout { display: grid; grid-template-columns: 1.2fr .8fr; align-items: start; gap: 35px; }
.verify-panel-head { display: flex; align-items: center; gap: 15px; }
.verify-shield { display: grid; place-items: center; width: 62px; height: 62px; color: #fff; background: linear-gradient(135deg, var(--success), var(--brand-secondary)); border-radius: 18px; font-size: 1.6rem; }
.verify-panel-head h2 { margin: 4px 0; color: var(--navy-950); }
.verify-form { margin-top: 28px; padding: 25px; background: var(--ice-50); border: 1px solid var(--line); border-radius: 18px; }
.verify-input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 8px; }
.verify-form small { display: block; margin-top: 8px; color: var(--muted); }
.verification-info { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 25px; box-shadow: var(--shadow-sm); }
.verification-info img { height: 230px; margin: 0 auto 20px; }
.verification-info h2 { color: var(--navy-950); }
.certificate-result-card { margin-top: 22px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.certificate-result-card.valid { border-top: 5px solid var(--success); }
.certificate-result-card.revoked { border-top: 5px solid var(--danger); }
.result-status { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.result-status > span { display: grid; place-items: center; width: 45px; height: 45px; color: #fff; background: var(--success); border-radius: 50%; font-weight: 900; }
.revoked .result-status > span { background: var(--danger); }
.result-status div { display: flex; flex-direction: column; }
.result-status small { color: var(--muted); }
.result-status strong { color: var(--success); font-size: 1.1rem; }
.revoked .result-status strong { color: var(--danger); }
.result-identity { padding: 18px; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--brand-primary)); border-radius: 14px; }
.result-identity small { color: #b9d5df; }
.result-identity h3 { margin: 3px 0; font-size: 1.35rem; }
.result-identity p { margin: 0; color: var(--cyan-200); font-family: ui-monospace, monospace; }
.certificate-result-card dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.certificate-result-card dl div { padding: 12px; background: var(--ice-50); border-radius: 10px; }
.certificate-result-card dt { color: var(--muted); font-size: .7rem; }
.certificate-result-card dd { margin: 3px 0 0; font-weight: 800; }
.verified-note { padding: 12px; color: var(--success); background: #eafaf4; border-radius: 10px; font-size: .83rem; font-weight: 700; }
.verified-note.warning { color: var(--danger); background: #fff0f2; }

/* Blog/article/document */
.article-header-inner { padding-top: 80px; padding-bottom: 80px; }
.article-header h1 { max-width: 980px; margin: 13px 0; font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1.15; }
.article-header p { max-width: 850px; color: #c7dde7; font-size: 1.08rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; color: #b8d3df; font-size: .8rem; }
.article-layout, .document-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 50px; padding-top: 75px; padding-bottom: 95px; }
.article-cover { overflow: hidden; height: 440px; margin-bottom: 35px; background: var(--ice-100); border-radius: 24px; box-shadow: var(--shadow-sm); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 840px; }
.article-callout { display: flex; gap: 17px; margin-top: 35px; padding: 22px; background: #fff8e8; border: 1px solid #ffe1a7; border-radius: 15px; }
.article-callout > span { font-size: 1.6rem; }
.article-callout h3 { margin: 0 0 5px; color: var(--navy-950); }
.article-callout p { margin: 0; color: #685534; }
.article-sidebar, .document-sidebar { display: grid; gap: 20px; position: sticky; top: 145px; }
.sidebar-card { background: #fff; box-shadow: var(--shadow-sm); }
.sidebar-card p { color: var(--muted); }
.sidebar-card .btn { width: 100%; }
.copy-link-btn { width: 100%; padding: 12px; color: var(--brand-primary); background: var(--ice-50); border: 1px solid var(--line); border-radius: 10px; font-weight: 800; }
.document-paper { padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.notice-list { display: grid; gap: 18px; }
.notice-row { display: grid; grid-template-columns: 90px 1fr 70px; gap: 25px; align-items: center; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 21px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.notice-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.notice-row.important { border-left: 5px solid var(--brand-accent); }
.notice-date { display: flex; flex-direction: column; align-items: center; padding: 13px; color: #fff; background: var(--navy-950); border-radius: 14px; }
.notice-date strong { font-size: 1.55rem; }
.notice-date span { font-size: .66rem; }
.important-tag { display: inline-flex; padding: 5px 9px; color: #7d4300; background: #fff0cd; border-radius: 99px; font-size: .68rem; font-weight: 900; }
.notice-content h2 { margin: 6px 0; color: var(--navy-950); font-size: 1.28rem; }
.notice-content h2 a:hover { color: var(--brand-primary); }
.notice-content p { margin: 6px 0; color: var(--muted); }
.notice-icon { color: var(--ice-200); font-size: 3.2rem; }

/* Events */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-card { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 21px; box-shadow: var(--shadow-sm); }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: start; min-height: 82px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); border-radius: 15px; }
.event-date strong { font-size: 1.55rem; line-height: 1; }
.event-date span { margin-top: 5px; font-size: .68rem; text-align: center; }
.event-card h3 { margin: 7px 0; color: var(--navy-950); line-height: 1.4; }
.event-card h3 a:hover { color: var(--brand-primary); }
.event-card p, .event-card small { color: var(--muted); font-size: .85rem; }
.event-card .text-link { margin-top: 13px; font-size: .82rem; }
.compact-events .event-card { grid-template-columns: 66px 1fr; }
.event-detail-layout { min-height: 500px; display: grid; grid-template-columns: 1fr 380px; align-items: center; gap: 60px; padding-top: 70px; padding-bottom: 70px; }
.event-detail-layout h1 { margin: 12px 0; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1.15; }
.event-detail-layout > div:first-child > p { color: #cae0e9; }
.event-fact-card { padding: 27px; color: var(--navy-950); background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); }
.event-fact-card > div { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.event-fact-card > div > span { display: grid; place-items: center; width: 43px; height: 43px; color: #fff; background: var(--brand-primary); border-radius: 12px; }
.event-fact-card > div > div { display: flex; flex-direction: column; }
.event-fact-card small { color: var(--muted); }
.event-fact-card .btn { width: 100%; margin-top: 18px; color: #fff; background: var(--brand-primary); }

/* Gallery */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 35px; }
.filter-bar a { padding: 9px 16px; color: #486073; background: var(--ice-50); border: 1px solid var(--line); border-radius: 99px; font-size: .82rem; font-weight: 800; }
.filter-bar a.active, .filter-bar a:hover { color: #fff; background: var(--brand-primary); border-color: var(--brand-primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 250px; gap: 16px; }
.gallery-card { position: relative; grid-column: span 4; overflow: hidden; background: var(--ice-100); border-radius: 20px; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.gallery-card.large { grid-column: span 6; grid-row: span 2; }
.gallery-card.wide { grid-column: span 8; }
.gallery-card > img, .gallery-placeholder, .gallery-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder { background: linear-gradient(145deg, #e1f8fc, #f7fdff); }
.gallery-card > img, .gallery-placeholder img { transition: transform .6s ease; }
.gallery-card:hover > img, .gallery-card:hover .gallery-placeholder img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: 22px; color: #fff; background: linear-gradient(transparent 30%, rgba(2,26,45,.92)); opacity: 0; transition: opacity var(--transition); }
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-overlay > span { color: var(--cyan-400); font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.gallery-overlay h3 { margin: 4px 0; }
.gallery-overlay p { margin: 0; color: #c7dce5; font-size: .8rem; }
.gallery-overlay button, .gallery-overlay a { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; color: var(--navy-950); background: #fff; border: 0; border-radius: 50%; font-weight: 900; }
.lightbox { position: fixed; z-index: 9500; inset: 0; display: grid; place-items: center; padding: 40px; color: #fff; background: rgba(1,14,24,.93); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: var(--transition); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(100%, 1100px); max-height: 75vh; border-radius: 18px; box-shadow: var(--shadow-lg); }
.lightbox > button { position: absolute; right: 28px; top: 28px; width: 48px; height: 48px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 1.8rem; }
.lightbox > div { text-align: center; }
.lightbox h3 { margin-bottom: 0; }
.lightbox p { color: #c6dbe4; }

/* Stories */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.story-card { position: relative; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden; }
.story-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; }
.story-avatar { overflow: hidden; }
.story-avatar img { width: 100%; height: 100%; object-fit: cover; }
.story-top h2 { margin: 0; color: var(--navy-950); font-size: 1.08rem; }
.story-top p { margin: 2px 0; color: var(--muted); font-size: .78rem; }
.story-card blockquote { margin: 25px 0 0; color: #40576a; font-size: 1.03rem; line-height: 1.85; }
.story-snow { position: absolute; right: -15px; bottom: -50px; color: var(--ice-100); font-size: 120px; z-index: 0; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 35px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.contact-cards article { display: flex; gap: 13px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow-sm); }
.contact-cards article > span { display: grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); border-radius: 12px; }
.contact-cards article small { color: var(--muted); font-size: .68rem; }
.contact-cards article h3 { margin: 3px 0; color: var(--navy-950); font-size: .91rem; line-height: 1.4; overflow-wrap: anywhere; }
.contact-cards article p { margin: 0; color: var(--muted); font-size: .73rem; }
.contact-map-placeholder { position: relative; grid-column: 1 / -1; min-height: 260px; display: grid; place-items: center; align-content: center; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--brand-primary)); border-radius: 20px; text-align: center; }
.map-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 32px 32px; transform: rotate(8deg) scale(1.4); }
.contact-map-placeholder > span, .contact-map-placeholder h3, .contact-map-placeholder a { position: relative; }
.contact-map-placeholder > span { font-size: 2.4rem; }
.contact-map-placeholder h3 { margin: 5px 0 15px; }

/* FAQ and policy */
.faq-layout { display: grid; grid-template-columns: 1fr 330px; align-items: start; gap: 45px; }
.faq-list { display: grid; gap: 13px; }
.faq-item { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.faq-item > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; color: var(--navy-950); background: #fff; border: 0; text-align: left; font-weight: 850; }
.faq-item > button b { display: grid; place-items: center; width: 31px; height: 31px; flex-shrink: 0; color: var(--brand-primary); background: var(--ice-100); border-radius: 50%; font-size: 1.25rem; transition: transform var(--transition); }
.faq-item.open > button b { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer p { margin: 0; padding: 0 22px 22px; color: var(--muted); }
.sticky-card { position: sticky; top: 145px; text-align: center; }
.large-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 15px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); border-radius: 18px; font-size: 1.8rem; font-weight: 900; }
.sticky-card .btn { margin-top: 10px; }
.policy-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 45px; }
.policy-nav { position: sticky; top: 145px; display: grid; gap: 5px; padding: 15px; background: var(--ice-50); border: 1px solid var(--line); border-radius: 16px; }
.policy-nav a { padding: 10px 12px; color: #4d6476; border-radius: 9px; font-size: .83rem; font-weight: 700; }
.policy-nav a:hover { color: var(--brand-primary); background: #fff; }
.policy-paper { padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.policy-paper h2 { scroll-margin-top: 150px; }
.policy-updated { padding-bottom: 17px; border-bottom: 1px solid var(--line); font-size: .8rem; }

/* Search and errors */
.search-page-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 850px; margin: 0 auto 35px; }
.search-page-form input { min-height: 58px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.search-summary { max-width: 850px; margin: 0 auto 20px; color: var(--muted); font-weight: 700; }
.search-results { max-width: 850px; margin: 0 auto; display: grid; gap: 13px; }
.search-results article { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.search-results article > span { color: var(--brand-secondary); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.search-results h2 { margin: 4px 0; color: var(--navy-950); font-size: 1.2rem; }
.search-results h2 a:hover { color: var(--brand-primary); }
.search-results p { margin: 6px 0 0; color: var(--muted); }
.error-card { min-width: min(100%, 620px); }
.error-code { color: var(--brand-primary); font-size: clamp(4rem, 12vw, 8rem); font-weight: 950; line-height: .9; letter-spacing: -.08em; }
.error-card h1 { color: var(--navy-950); }
.error-card p { color: var(--muted); }
.error-snow { position: absolute; right: -20px; top: -45px; color: var(--ice-100); font-size: 150px; }

/* Footer and floating actions */
.site-footer { position: relative; padding-top: 85px; color: #c2d6df; background: var(--navy-950); }
.footer-ice { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 30%, 95% 100%, 89% 31%, 83% 100%, 76% 30%, 68% 100%, 59% 31%, 50% 100%, 41% 30%, 33% 100%, 25% 31%, 17% 100%, 9% 30%, 0 100%); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .75fr 1fr; gap: 45px; padding-bottom: 55px; }
.brand-light .brand-copy strong { color: #fff; }
.brand-light .brand-copy small { color: #bad0da; }
.footer-brand p { max-width: 380px; }
.social-row { display: flex; gap: 9px; }
.social-row a { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 11px; font-size: .78rem; font-weight: 900; }
.social-row a:hover { background: var(--brand-secondary); transform: translateY(-3px); }
.site-footer h3 { margin-top: 0; color: #fff; font-size: 1rem; }
.footer-links { padding: 0; list-style: none; }
.footer-links li { margin: 9px 0; }
.footer-links a { font-size: .88rem; }
.footer-links a:hover { color: var(--cyan-400); padding-left: 4px; }
.footer-contact p { display: flex; gap: 10px; margin: 10px 0; font-size: .85rem; }
.footer-contact p span { color: var(--cyan-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom-inner { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .78rem; }
.floating-action { position: fixed; z-index: 800; right: 20px; display: grid; place-items: center; width: 52px; height: 52px; color: #fff; border: 3px solid #fff; border-radius: 50%; box-shadow: var(--shadow-md); font-size: .75rem; font-weight: 900; transition: transform var(--transition); }
.floating-action:hover { transform: scale(1.1); }
.floating-whatsapp { bottom: 22px; background: #16a767; }
.floating-call { bottom: 84px; background: var(--brand-primary); }
.back-to-top { position: fixed; z-index: 790; left: 20px; bottom: 22px; width: 46px; height: 46px; color: #fff; background: var(--navy-950); border: 0; border-radius: 50%; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.toast-stack { position: fixed; z-index: 9200; right: 22px; top: 145px; display: grid; gap: 9px; }
.toast { max-width: 370px; padding: 15px 18px; color: #fff; background: var(--navy-950); border-radius: 12px; box-shadow: var(--shadow-md); animation: toast-in .4s ease; }
.toast.success { background: var(--success); }
@keyframes toast-in { from { transform: translateX(30px); opacity: 0; } }

/* Responsive */
@media (max-width: 1180px) {
    :root { --container: 1040px; }
    .brand { min-width: 220px; }
    .brand-copy small { max-width: 180px; }
    .nav-menu > a:not(.btn), .nav-dropdown-toggle { padding-inline: 7px; font-size: .83rem; }
    .nav-cta { display: none; }
    .hero-layout { gap: 20px; }
    .trainer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    :root { --header-height: 76px; }
    .topbar-contact span, .topbar-contact a:nth-child(2) { display: none; }
    .nav-toggle { display: block; }
    .nav-menu { position: fixed; z-index: 1001; top: 0; right: 0; bottom: 0; width: min(86vw, 390px); display: block; padding: 92px 24px 30px; background: #fff; box-shadow: -20px 0 60px rgba(2,26,45,.18); transform: translateX(105%); transition: transform .4s cubic-bezier(.2,.8,.2,1); overflow-y: auto; }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu > a:not(.btn), .nav-dropdown-toggle, .search-toggle { width: 100%; display: flex; justify-content: space-between; padding: 13px 5px; border-bottom: 1px solid var(--line); font-size: .97rem; text-align: left; }
    .nav-dropdown-menu { position: static; width: 100%; display: none; padding: 5px 0 10px 12px; background: var(--ice-50); border: 0; border-radius: 10px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .nav-dropdown.open:hover .nav-dropdown-menu { display: block; }
    .nav-cta { display: inline-flex; width: 100%; margin: 20px 0 0; }
    .nav-toggle.active { position: fixed; z-index: 1002; right: 20px; top: 51px; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero-section { min-height: auto; }
    .hero-layout { grid-template-columns: 1fr; padding-top: 70px; text-align: center; }
    .hero-copy { margin-inline: auto; }
    .hero-kicker, .hero-actions, .hero-proof { justify-content: center; }
    .hero-visual { min-height: 500px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: 0; }
    .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .split-layout, .verification-layout, .testimonial-layout, .about-intro, .contact-layout { grid-template-columns: 1fr; }
    .about-visual { max-width: 700px; }
    .course-grid, .post-grid, .post-grid-full { grid-template-columns: repeat(2, 1fr); }
    .process-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); row-gap: 45px; }
    .process-line { display: none; }
    .page-hero-inner { grid-template-columns: 1fr 180px; }
    .page-hero-icon { width: 160px; height: 160px; }
    .course-detail-layout, .event-detail-layout { grid-template-columns: 1fr; }
    .course-enroll-card { max-width: 500px; }
    .course-content-layout, .certificate-verify-layout, .article-layout, .document-layout, .faq-layout { grid-template-columns: 1fr; }
    .course-sidebar, .article-sidebar, .document-sidebar, .sticky-card { position: static; }
    .module-columns { grid-template-columns: 1fr 1fr; }
    .batch-grid, .event-grid { grid-template-columns: repeat(2, 1fr); }
    .admission-layout { grid-template-columns: 1fr; }
    .admission-sidebar { grid-template-columns: repeat(2, 1fr); }
    .security-note { grid-column: 1 / -1; }
    .trainer-grid-full { grid-template-columns: 1fr; }
    .gallery-card { grid-column: span 6; }
    .gallery-card.wide { grid-column: span 12; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .policy-layout { grid-template-columns: 1fr; }
    .policy-nav { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 75px 0; }
    .topbar-inner { justify-content: center; }
    .topbar-contact { display: none; }
    .brand { min-width: 0; }
    .brand img { width: 52px; height: 52px; }
    .brand-copy small { max-width: 180px; font-size: .62rem; }
    .brand-copy strong { font-size: 1.06rem; }
    .nav-toggle.active { top: 48px; right: 14px; }
    .admission-ticker { height: 30px; }
    .hero-layout { padding-top: 55px; padding-bottom: 75px; }
    .hero-copy h1 { font-size: 2.65rem; }
    html[lang="bn"] .hero-copy h1 { font-size: 2.45rem; }
    .hero-lead { font-size: 1rem; }
    .hero-actions .btn { width: 100%; }
    .hero-proof { align-items: flex-start; text-align: left; }
    .hero-visual { min-height: 380px; }
    .sensor-card { min-width: 130px; padding: 9px; }
    .sensor-card > span { width: 32px; height: 32px; }
    .sensor-temp { left: 0; top: 5%; }
    .sensor-skill { right: 0; bottom: 12%; }
    .batch-card { left: 0; right: 0; bottom: -10px; max-width: none; }
    .orbit-one { width: 350px; height: 350px; }
    .orbit-two { width: 260px; height: 260px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { min-height: 115px; border-right: 0 !important; border-bottom: 1px solid var(--line); }
    .stat-item:last-child { border-bottom: 0; }
    .feature-grid, .course-grid, .course-grid-wide, .post-grid, .post-grid-full, .values-grid, .benefit-grid, .steps-cards, .story-grid, .event-grid, .module-columns, .batch-grid { grid-template-columns: 1fr; }
    .split-heading { display: block; }
    .split-heading .text-link { margin-top: 10px; }
    .process-grid { grid-template-columns: 1fr; }
    .certificate-paper { padding: 25px 18px; transform: rotate(-2deg); }
    .certificate-seal { width: 52px; height: 52px; right: 17px; bottom: 26px; }
    .trainer-grid { grid-template-columns: 1fr; }
    .testimonial-slider { min-height: 490px; }
    .testimonial-card { padding: 28px 23px; }
    .final-cta-inner, .newsletter-inner { display: block; text-align: center; }
    .cta-actions { justify-content: center; margin-top: 25px; }
    .page-hero { min-height: 330px; }
    .page-hero-inner { min-height: 330px; grid-template-columns: 1fr; padding: 50px 0; }
    .page-hero-icon { display: none; }
    .page-hero h1 { font-size: 2.6rem; }
    .about-visual, .about-visual > img { min-height: 360px; }
    .floating-year { right: 12px; }
    .cost-card { left: 12px; }
    .timeline::before { left: 25px; }
    .timeline article { grid-template-columns: 1fr; gap: 8px; padding-left: 55px; }
    .timeline article::before { left: 16px; }
    .timeline time { text-align: left; }
    .trainer-profile { grid-template-columns: 1fr; }
    .trainer-profile .trainer-photo { min-height: 360px; }
    .course-detail-facts { grid-template-columns: 1fr; }
    .course-detail-layout { padding-top: 50px; padding-bottom: 55px; }
    .course-content-layout { gap: 30px; }
    .admission-main, .contact-form-panel, .verify-panel, .success-card, .policy-paper, .document-paper { padding: 25px 20px; }
    .form-grid.two-col { grid-template-columns: 1fr; }
    .field-group.full { grid-column: auto; }
    .admission-sidebar { grid-template-columns: 1fr; }
    .security-note { grid-column: auto; }
    .submit-btn { width: 100%; min-width: 0; }
    .verify-input-row { grid-template-columns: 1fr; }
    .certificate-result-card dl { grid-template-columns: 1fr; }
    .article-cover { height: 270px; }
    .article-layout, .document-layout { padding-top: 50px; padding-bottom: 70px; }
    .notice-row { grid-template-columns: 65px 1fr; gap: 15px; padding: 18px; }
    .notice-icon { display: none; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
    .gallery-card, .gallery-card.large, .gallery-card.wide { grid-column: auto; grid-row: auto; }
    .gallery-overlay { opacity: 1; }
    .contact-cards { grid-template-columns: 1fr; }
    .contact-map-placeholder { grid-column: auto; }
    .policy-nav { grid-template-columns: 1fr; }
    .search-page-form { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom-inner { flex-direction: column; justify-content: center; padding: 18px 0; text-align: center; }
    .floating-action { right: 12px; width: 48px; height: 48px; }
    .floating-call { bottom: 75px; }
    .floating-whatsapp { bottom: 18px; }
    .back-to-top { left: 12px; bottom: 18px; }
    .search-panel form { grid-template-columns: 1fr auto; }
    .search-panel form button:not(.search-close) { grid-column: 1 / -1; order: 3; min-height: 44px; }
    .search-panel .search-close { grid-column: 2; grid-row: 1; }
}

@media (hover: none), (pointer: coarse) {
    .frost-cursor { display: none; }
    .gallery-overlay { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .page-loader { display: none; }
    .frost-cursor { display: none; }
}

@media print {
    .site-header, .admission-ticker, .site-footer, .floating-action, .back-to-top, .page-loader, .frost-cursor { display: none !important; }
    body { color: #000; background: #fff; }
    .section { padding: 20px 0; }
    .certificate-result-card { box-shadow: none; break-inside: avoid; }
}

/* Runtime interaction states */
.nav-backdrop { position: fixed; z-index: 998; inset: 0; padding: 0; background: rgba(1, 18, 31, .55); border: 0; backdrop-filter: blur(3px); }
body.nav-open, body.lightbox-open { overflow: hidden; }
.button-spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.42); border-top-color: #fff; border-radius: 50%; animation: loader-spin .7s linear infinite; }
.btn.is-loading { cursor: wait; opacity: .86; }
.toast.hidden { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { width: min(100%, 1120px); margin: 0; text-align: center; }
.lightbox figure img { margin-inline: auto; }
.lightbox figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.lightbox figcaption strong { font-size: 1.15rem; }
.lightbox figcaption span { color: #c6dbe4; }
.lightbox-close { position: absolute; right: 28px; top: 28px; width: 48px; height: 48px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 1.8rem; }
.ajax-result.has-success { animation: result-in .35s ease; }
.ajax-result.has-error { animation: result-shake .35s ease; }
.result-error { display: flex; align-items: center; gap: 10px; }
@keyframes result-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes result-shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.hero-visual { transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0); transition: transform .2s linear; }
@media (min-width: 1081px) { .nav-backdrop { display: none; } }

/* Staff authentication and recovery */
.auth-section { background: radial-gradient(circle at 75% 15%, rgba(59, 217, 255, .18), transparent 28%), linear-gradient(180deg, #f7fdff, #eef8fb); }
.auth-shell { display: grid; place-items: center; }
.auth-card { width: min(100%, 560px); padding: clamp(28px, 5vw, 50px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.auth-card > h2 { margin: 12px 0 8px; color: var(--navy-950); font-size: clamp(1.65rem, 4vw, 2.3rem); }
.auth-card > p { margin: 0 0 25px; color: var(--muted); }
.auth-icon { display: grid; place-items: center; width: 64px; height: 64px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); border-radius: 20px; box-shadow: 0 15px 35px rgba(7, 91, 158, .22); font-size: 1.8rem; font-weight: 900; }
.auth-icon.success { background: var(--success); }
.auth-icon.warning { background: var(--warning); }
.auth-form { display: grid; gap: 18px; }
.auth-form input { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.auth-form input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(7, 91, 158, .1); outline: 0; }
.auth-link { display: inline-flex; margin-top: 22px; color: var(--brand-primary); font-weight: 800; }
.centered-card { text-align: center; }
.centered-card .auth-icon { margin: 0 auto 20px; }
.centered-card .btn { margin-top: 18px; }

/* Student, guardian and trainer portal */
.portal-shell{padding:clamp(3.5rem,8vw,7rem) 0;background:linear-gradient(145deg,#eef8ff 0%,#f8fcff 45%,#effbf8 100%);min-height:65vh}.portal-narrow{max-width:760px}.portal-card{background:#fff;border:1px solid rgba(7,91,158,.13);border-radius:24px;padding:clamp(1.4rem,4vw,2.5rem);box-shadow:0 22px 60px rgba(13,55,88,.10)}.portal-card h1,.portal-card h2,.portal-card h3{margin-top:.35rem}.portal-form{display:grid;gap:1rem;margin-top:1.5rem}.portal-form .form-group{display:grid;gap:.45rem}.portal-form label{font-weight:750;color:#163a55}.portal-form small{color:#5e7180}.btn-block{width:100%;justify-content:center}.portal-help{margin:1.25rem 0 0;color:#5e7180;font-size:.94rem}.form-alert{border-radius:14px;padding:.9rem 1rem;margin:1rem 0}.form-alert.warning{background:#fff6dd;color:#705000;border:1px solid #f1d58a}.form-alert.error{background:#fff0f0;color:#8a1f1f;border:1px solid #efb4b4}.portal-hero{background:linear-gradient(130deg,#064e87,#087d89);padding:3rem 0;color:#fff}.portal-hero-inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.portal-hero h1{color:#fff;margin:.35rem 0}.portal-actions{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.portal-actions form{margin:0}.portal-dashboard{background:#f5f9fc}.portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.2rem}.portal-summary{grid-column:span 2}.record-list{display:grid;gap:.15rem;margin:1.2rem 0 0}.record-list>div{display:grid;grid-template-columns:minmax(120px,.7fr) 1.3fr;gap:1rem;padding:.72rem 0;border-bottom:1px solid #e8eef2}.record-list dt{font-weight:750;color:#4d6475}.record-list dd{margin:0;color:#102f45}.compact-student-list{list-style:none;padding:0;margin:1rem 0 0}.compact-student-list li{display:flex;gap:.75rem;padding:.55rem 0;border-bottom:1px solid #edf1f4}.compact-student-list span{font-weight:800;color:#075b9e;min-width:54px}@media(max-width:760px){.portal-hero-inner{align-items:flex-start;flex-direction:column}.portal-summary{grid-column:span 1}.record-list>div{grid-template-columns:1fr;gap:.15rem}}

.portal-profile-photo{width:112px;height:112px;border-radius:20px;object-fit:cover;float:right;margin:0 0 1rem 1rem;border:4px solid rgba(15,108,147,.12);box-shadow:0 10px 30px rgba(8,48,70,.12)}
.portal-profile-photo.small{width:72px;height:72px;border-radius:16px}
@media (max-width:640px){.portal-profile-photo{float:none;margin:0 0 1rem}}


/* Student photo inside certificate verification result */
.result-identity-with-photo {
    display: flex;
    align-items: center;
    gap: 18px;
}
.result-identity-content {
    min-width: 0;
    flex: 1;
}
.certificate-student-photo-frame {
    position: relative;
    width: 92px;
    min-width: 92px;
    height: 108px;
    padding: 4px;
    overflow: visible;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 20, 45, .24);
}
.certificate-student-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: var(--ice-100);
    border-radius: 12px;
}
.certificate-student-photo-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .28), transparent 38%),
        linear-gradient(145deg, rgba(25, 190, 202, .95), rgba(10, 82, 144, .96));
    border-radius: 12px;
}
.certificate-student-photo-placeholder span {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}
.certificate-photo-verified {
    position: absolute;
    right: -7px;
    bottom: -7px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #fff;
    background: var(--success);
    border: 3px solid #fff;
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 900;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .22);
}
.result-identity-with-photo h3,
.result-identity-with-photo p {
    overflow-wrap: anywhere;
}

@media (max-width: 520px) {
    .result-identity-with-photo {
        align-items: flex-start;
        gap: 14px;
    }
    .certificate-student-photo-frame {
        width: 76px;
        min-width: 76px;
        height: 90px;
        border-radius: 14px;
    }
    .certificate-student-photo,
    .certificate-student-photo-placeholder {
        border-radius: 10px;
    }
    .certificate-student-photo-placeholder span {
        font-size: 1.7rem;
    }
    .result-identity-with-photo h3 {
        font-size: 1.15rem;
    }
}

@media print {
    .certificate-student-photo-frame {
        box-shadow: none;
    }
}

/* =========================================================
   Professional full-width certificate verification result
   Add this block at the END of static/css/app.css
========================================================= */

.certificate-section-pro {
    background:
        radial-gradient(circle at 12% 14%, rgba(0, 169, 157, .055), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fcfe 100%);
}

.certificate-verify-layout-pro {
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
}

.certificate-result-wide {
    width: 100%;
    margin-top: 34px;
}

.certificate-result-wide:empty {
    display: none;
}

.certificate-result-error-wide {
    padding: 20px 22px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.credential-record {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid rgba(7, 91, 158, .16);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(3, 40, 66, .14);
    isolation: isolate;
}

.credential-record::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 auto 0 0;
    width: 7px;
    background: linear-gradient(180deg, var(--brand-secondary), var(--brand-primary));
}

.credential-record--revoked::before {
    background: linear-gradient(180deg, #e96a75, var(--danger));
}

.credential-record__watermark {
    position: absolute;
    z-index: -1;
    right: 22px;
    bottom: -48px;
    color: rgba(7, 91, 158, .035);
    font-size: clamp(7rem, 16vw, 13rem);
    font-weight: 950;
    letter-spacing: -.08em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.credential-record__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 30px;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 0%, rgba(59, 217, 255, .18), transparent 33%),
        linear-gradient(118deg, var(--navy-950), #064d7d 62%, var(--brand-primary));
}

.credential-record--revoked .credential-record__header {
    background:
        radial-gradient(circle at 82% 0%, rgba(255, 255, 255, .1), transparent 33%),
        linear-gradient(118deg, #3d1720, #7f2431 62%, var(--danger));
}

.credential-record__heading {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.credential-record__seal {
    display: grid;
    place-items: center;
    width: 58px;
    min-width: 58px;
    height: 58px;
    color: #ffffff;
    background: var(--brand-secondary);
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
    font-size: 1.45rem;
    font-weight: 950;
}

.credential-record--revoked .credential-record__seal {
    background: var(--danger);
}

.credential-record__heading small {
    display: block;
    margin-bottom: 3px;
    color: #bde6f2;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.credential-record--revoked .credential-record__heading small {
    color: #ffd5da;
}

.credential-record__heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -.025em;
}

.credential-record__status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 170px;
    padding: 11px 15px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.credential-record__status span {
    color: #c5e5ef;
    font-size: .72rem;
}

.credential-record__status strong {
    color: #74f0c5;
    font-size: 1.18rem;
    line-height: 1.3;
}

.credential-record--revoked .credential-record__status span {
    color: #ffd4da;
}

.credential-record--revoked .credential-record__status strong {
    color: #ffffff;
}

.credential-record__body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
    padding: 34px;
}

.credential-person {
    align-self: start;
    padding: 18px;
    background: linear-gradient(180deg, #f1fbfd, #e8f5f9);
    border: 1px solid #d5e9ef;
    border-radius: 22px;
    text-align: center;
}

.credential-person__photo-frame {
    position: relative;
    width: 176px;
    height: 218px;
    margin: 0 auto;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #c7dfe7;
    border-radius: 19px;
    box-shadow: 0 18px 42px rgba(3, 40, 66, .18);
}

.credential-person__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: var(--ice-100);
    border-radius: 14px;
}

.credential-person__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    background:
        radial-gradient(circle at 35% 20%, rgba(255, 255, 255, .28), transparent 34%),
        linear-gradient(145deg, var(--brand-secondary), var(--brand-primary));
    border-radius: 14px;
}

.credential-person__placeholder span {
    font-size: 4.2rem;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.credential-person__verified {
    position: absolute;
    right: -11px;
    bottom: -11px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: var(--success);
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    font-size: 1rem;
    font-weight: 950;
}

.credential-person__caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px;
}

.credential-person__caption span {
    color: var(--muted);
    font-size: .74rem;
}

.credential-person__caption strong {
    color: var(--success);
    font-size: .9rem;
}

.credential-record--revoked .credential-person__caption strong {
    color: var(--danger);
}

.credential-record__content {
    min-width: 0;
}

.credential-identity {
    position: relative;
    padding: 24px 26px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 92% 15%, rgba(59, 217, 255, .18), transparent 27%),
        linear-gradient(122deg, #06314e, #075b9e);
    border-radius: 20px;
}

.credential-record--revoked .credential-identity {
    background:
        radial-gradient(circle at 92% 15%, rgba(255, 255, 255, .1), transparent 27%),
        linear-gradient(122deg, #421b23, #9c3341);
}

.credential-identity::after {
    content: "✓";
    position: absolute;
    right: 20px;
    top: 50%;
    color: rgba(255, 255, 255, .07);
    font-size: 7rem;
    font-weight: 950;
    line-height: 1;
    transform: translateY(-50%);
}

.credential-record--revoked .credential-identity::after {
    content: "×";
}

.credential-identity__label {
    position: relative;
    z-index: 1;
    display: block;
    color: #b8dce9;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.credential-identity h3 {
    position: relative;
    z-index: 1;
    max-width: 78%;
    margin: 5px 0 16px;
    color: #ffffff;
    font-size: clamp(1.7rem, 4vw, 2.65rem);
    line-height: 1.15;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.credential-identity__registration {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    min-width: min(100%, 310px);
    padding: 10px 13px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
}

.credential-identity__registration small {
    color: #b9dce8;
    font-size: .67rem;
}

.credential-identity__registration strong {
    color: var(--cyan-200);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 1rem;
    letter-spacing: .025em;
    overflow-wrap: anywhere;
}

.credential-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 0;
}

.credential-details__item {
    min-width: 0;
    padding: 17px 18px;
    background: #f6fbfd;
    border: 1px solid #dfedf2;
    border-radius: 15px;
    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.credential-details__item:hover {
    transform: translateY(-2px);
    border-color: rgba(7, 91, 158, .26);
    box-shadow: var(--shadow-sm);
}

.credential-details__item--wide {
    grid-column: 1 / -1;
}

.credential-details dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: .71rem;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.credential-details dd {
    margin: 0;
    color: var(--navy-950);
    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.credential-record__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0 34px 34px;
    padding: 17px 19px;
    color: #11664d;
    background: #eaf8f2;
    border: 1px solid #c9eadc;
    border-radius: 16px;
}

.credential-record--revoked .credential-record__footer {
    color: #8f2935;
    background: #fff0f2;
    border-color: #efc8ce;
}

.credential-record__footer-icon {
    display: grid;
    place-items: center;
    width: 27px;
    min-width: 27px;
    height: 27px;
    color: #ffffff;
    background: var(--success);
    border-radius: 50%;
    font-size: .78rem;
    font-weight: 950;
}

.credential-record--revoked .credential-record__footer-icon {
    background: var(--danger);
}

.credential-record__footer p {
    margin: 1px 0 0;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .certificate-verify-layout-pro {
        grid-template-columns: 1fr;
    }

    .credential-record__body {
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 24px;
        padding: 26px;
    }

    .credential-person__photo-frame {
        width: 148px;
        height: 186px;
    }

    .credential-record__footer {
        margin: 0 26px 26px;
    }
}

@media (max-width: 680px) {
    .certificate-result-wide {
        margin-top: 24px;
    }

    .credential-record {
        border-radius: 21px;
    }

    .credential-record__header {
        align-items: flex-start;
        padding: 21px 20px;
    }

    .credential-record__seal {
        width: 50px;
        min-width: 50px;
        height: 50px;
        border-radius: 15px;
    }

    .credential-record__status {
        align-items: flex-start;
        width: 100%;
        min-width: 0;
    }

    .credential-record__header {
        flex-direction: column;
    }

    .credential-record__body {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px 20px;
    }

    .credential-person {
        display: grid;
        grid-template-columns: 128px 1fr;
        align-items: center;
        gap: 18px;
        text-align: left;
    }

    .credential-person__photo-frame {
        width: 128px;
        height: 158px;
    }

    .credential-person__caption {
        margin-top: 0;
    }

    .credential-identity {
        padding: 21px 20px;
    }

    .credential-identity h3 {
        max-width: 100%;
        padding-right: 35px;
        font-size: 1.65rem;
    }

    .credential-details {
        grid-template-columns: 1fr;
    }

    .credential-details__item--wide {
        grid-column: auto;
    }

    .credential-record__footer {
        margin: 0 20px 22px;
    }
}

@media (max-width: 440px) {
    .credential-person {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .credential-person__photo-frame {
        width: 150px;
        height: 188px;
    }

    .credential-record__heading {
        align-items: flex-start;
    }

    .credential-record__heading h2 {
        font-size: 1.35rem;
    }

    .credential-identity__registration {
        width: 100%;
        min-width: 0;
    }
}

@media print {
    .credential-record {
        box-shadow: none;
        break-inside: avoid;
    }

    .credential-details__item:hover {
        transform: none;
        box-shadow: none;
    }
}