/* ==========================================================================
   Public website theme — Bootstrap 5 + custom design system
   Light / dark mode via [data-theme] on <html>
   ========================================================================== */

:root {
    --ws-primary: #3B2C85;
    --ws-primary-2: #6A4DE0;
    --ws-primary-deep: #241A5C;
    --ws-accent: #FF4D6D;
    --ws-accent-2: #FF8A5B;
    --ws-gold: #F7B32B;
    --ws-bg: #FFFFFF;
    --ws-surface: #FFFFFF;
    --ws-surface-2: #F6F5FB;
    --ws-heading: #17152B;
    --ws-text: #5B5E72;
    --ws-border: #ECEAF4;
    --ws-glass: rgba(255, 255, 255, .78);
    --ws-shadow: 0 18px 50px -12px rgba(38, 27, 99, .18);
    --ws-shadow-sm: 0 6px 20px -6px rgba(38, 27, 99, .14);
    --ws-band: linear-gradient(135deg, #3B2C85 0%, #6A4DE0 100%);
    --ws-grad-accent: linear-gradient(135deg, #FF4D6D 0%, #FF8A5B 100%);
    --ws-radius: 14px;
    --ws-radius-sm: 8px;
    --ws-heading-font: 'Libre Baskerville', 'Hind Siliguri', Georgia, serif;
    --ws-body-font: 'Lora', 'Hind Siliguri', Georgia, serif;
    --ws-ease: cubic-bezier(.22, 1, .36, 1);
    --ws-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.2'%3E%3Cpath d='M40 4l10.6 25.4L76 40 50.6 50.6 40 76 29.4 50.6 4 40l25.4-10.6z'/%3E%3Cpath d='M40 16l7 17 17 7-17 7-7 17-7-17-17-7 17-7z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");
    color-scheme: light;
}

[data-theme="dark"] {
    --ws-primary: #9C88FF;
    --ws-primary-deep: #140F33;
    --ws-bg: #0C0A18;
    --ws-surface: #15122A;
    --ws-surface-2: #100D21;
    --ws-heading: #F4F2FF;
    --ws-text: #B3B0C9;
    --ws-border: #272246;
    --ws-glass: rgba(16, 13, 33, .78);
    --ws-shadow: 0 18px 50px -12px rgba(0, 0, 0, .6);
    --ws-shadow-sm: 0 6px 20px -6px rgba(0, 0, 0, .5);
    --ws-band: linear-gradient(135deg, #1D1650 0%, #3A2A8E 100%);
    color-scheme: dark;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.website {
    font-family: var(--ws-body-font);
    color: var(--ws-text);
    background: var(--ws-bg);
    font-size: 15.5px;
    line-height: 1.8;
    overflow-x: hidden;
    transition: background-color .4s ease, color .4s ease;
}
.website h1, .website h2, .website h3, .website h4, .website h5, .website h6 {
    font-family: var(--ws-heading-font);
    color: var(--ws-heading);
    line-height: 1.35;
    transition: color .4s ease;
}
.website a { color: inherit; text-decoration: none; transition: color .25s, background .25s, transform .25s; }
.website a:hover { color: var(--ws-accent); }
.website img { max-width: 100%; }
.website ::selection { background: var(--ws-accent); color: #fff; }

.section-padding { padding: 110px 0; position: relative; }
.bg-soft { background: var(--ws-surface-2); transition: background-color .4s ease; }
.text-accent { color: var(--ws-accent) !important; }
.text-gradient {
    background: linear-gradient(90deg, var(--ws-accent), var(--ws-gold), var(--ws-accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 5s linear infinite;
}
.pattern-bg { position: relative; isolation: isolate; }
.pattern-bg::before { content: ''; position: absolute; inset: 0; background-image: var(--ws-pattern); z-index: -1; pointer-events: none; }

/* ---------- Buttons ---------- */
.btn-ws {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 14.5px;
    font-weight: 500;
    border: 0;
    transition: transform .3s var(--ws-ease), box-shadow .3s var(--ws-ease);
}
.btn-ws::after {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-25deg);
}
.btn-ws:hover::after { animation: shine .8s; }
.btn-ws:hover { transform: translateY(-3px); }
.btn-accent { background: var(--ws-grad-accent); color: #fff !important; box-shadow: 0 10px 25px -8px rgba(255, 77, 109, .6); }
.btn-accent:hover { box-shadow: 0 16px 30px -8px rgba(255, 77, 109, .7); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-glass:hover { background: #fff; color: var(--ws-primary-deep) !important; }
.btn-outline-ws { background: transparent; color: var(--ws-accent) !important; border: 1.5px solid var(--ws-accent); }
.btn-outline-ws:hover { background: var(--ws-accent); color: #fff !important; }
.btn-ws.btn-sm { padding: 8px 20px; font-size: 13.5px; }

/* ---------- Section titles ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--ws-accent); font-weight: 600; margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-title .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 16px; }
.section-title p { margin: 0; }
.section-title.light h2, .section-title.light p { color: #fff; }
.section-title.light .eyebrow { color: var(--ws-gold); }
.title-divider { display: flex; justify-content: center; gap: 6px; margin: 0 auto 18px; }
.title-divider span { width: 8px; height: 8px; border-radius: 50%; background: var(--ws-accent); }
.title-divider span:nth-child(2) { width: 40px; border-radius: 8px; background: var(--ws-gold); }

/* ---------- Preloader & progress ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 2000;
    background: var(--ws-bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader .loader-mark {
    width: 74px; height: 74px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; color: #fff; background: var(--ws-grad-accent);
    position: relative;
}
.preloader .loader-mark::before {
    content: ''; position: absolute; inset: -10px; border-radius: 50%;
    border: 3px solid transparent; border-top-color: var(--ws-primary); border-right-color: var(--ws-gold);
    animation: spin 1s linear infinite;
}
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1100; background: linear-gradient(90deg, var(--ws-accent), var(--ws-gold)); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ws-primary-deep); color: rgba(255, 255, 255, .9); font-size: 13px; padding: 9px 0; }
.topbar a { color: rgba(255, 255, 255, .9); }
.topbar a:hover { color: var(--ws-gold); }
.topbar .topbar-info a { margin-right: 24px; }
.topbar .topbar-info i { margin-right: 6px; color: var(--ws-gold); }
.topbar .social a { margin-left: 12px; font-size: 15px; }
.lang-switch { border: 1px solid rgba(255, 255, 255, .35); border-radius: 30px; padding: 2px 12px; font-size: 12px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: var(--ws-glass);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--ws-border);
    transition: box-shadow .3s ease, background-color .4s ease;
}
.site-header.is-scrolled { box-shadow: var(--ws-shadow-sm); }
.site-header .navbar { padding: 14px 0; transition: padding .3s ease; }
.site-header.is-scrolled .navbar { padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--ws-heading-font); font-weight: 700; font-size: 19px; color: var(--ws-heading) !important; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--ws-grad-accent); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; box-shadow: 0 8px 18px -6px rgba(255, 77, 109, .6);
    transform: rotate(-6deg); transition: transform .4s var(--ws-ease);
}
.brand:hover .brand-mark { transform: rotate(0) scale(1.06); }
.brand small { display: block; font-family: var(--ws-body-font); font-size: 11px; font-weight: 400; color: var(--ws-text); letter-spacing: .5px; }
.site-header .nav-link { color: var(--ws-heading); font-size: 14.5px; padding: 8px 12px !important; position: relative; }
.site-header .nav-link::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
    background: var(--ws-accent); border-radius: 2px; transform: scaleX(0); transform-origin: right;
    transition: transform .35s var(--ws-ease);
}
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--ws-accent); }

.theme-toggle {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--ws-border); background: var(--ws-surface);
    color: var(--ws-heading); display: inline-flex; align-items: center; justify-content: center;
    font-size: 19px; overflow: hidden; position: relative; transition: transform .3s, border-color .3s;
}
.theme-toggle:hover { transform: rotate(15deg); border-color: var(--ws-accent); color: var(--ws-accent); }
.theme-toggle i { position: absolute; transition: transform .5s var(--ws-ease), opacity .3s; }
.theme-toggle .bx-sun { transform: translateY(30px) rotate(-90deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .bx-moon { transform: translateY(-30px) rotate(90deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .bx-sun { transform: none; opacity: 1; color: var(--ws-gold); }
.menu-toggle { border: 0; background: transparent; font-size: 30px; color: var(--ws-heading); line-height: 1; }

/* Offcanvas mobile menu */
.offcanvas.mobile-menu { background: var(--ws-surface); color: var(--ws-text); width: 300px; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--ws-border); }
.mobile-menu .btn-close-ws { border: 0; background: transparent; font-size: 28px; color: var(--ws-heading); }
.mobile-menu .nav-link { color: var(--ws-heading); padding: 12px 4px; border-bottom: 1px dashed var(--ws-border); display: flex; align-items: center; gap: 10px; }
.mobile-menu .nav-link i { color: var(--ws-accent); font-size: 18px; }
.mobile-menu .nav-link.active { color: var(--ws-accent); }

/* Notice ticker */
.notice-ticker { background: var(--ws-surface-2); border-bottom: 1px solid var(--ws-border); display: flex; align-items: stretch; overflow: hidden; font-size: 14px; }
.notice-ticker .label { flex: 0 0 auto; background: var(--ws-grad-accent); color: #fff; padding: 9px 18px; display: flex; align-items: center; gap: 6px; font-weight: 600; z-index: 1; }
.notice-ticker .label i { animation: ring 2s ease-in-out infinite; }
.notice-ticker .viewport { flex: 1; min-width: 0; overflow: hidden; }
.notice-ticker .track { display: flex; gap: 60px; width: max-content; white-space: nowrap; padding: 9px 0 9px 30px; animation: marquee 40s linear infinite; }
.notice-ticker:hover .track { animation-play-state: paused; }
.notice-ticker .track a { color: var(--ws-heading); }
.notice-ticker .track a::before { content: '◆'; color: var(--ws-gold); margin-right: 10px; font-size: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #0C0A18; }
.hero .carousel-item { height: min(88vh, 760px); min-height: 560px; position: relative; overflow: hidden; }
.hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); }
.hero .carousel-item.active .hero-bg { animation: kenburns 9s ease-out forwards; }
.hero .carousel-item::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, rgba(20, 12, 60, .92) 0%, rgba(36, 26, 92, .72) 45%, rgba(255, 77, 109, .25) 100%);
}
.hero .hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; max-width: 720px; }
.hero .hero-content > * { opacity: 0; transform: translateY(40px); }
.hero .carousel-item.active .hero-content > * { animation: fadeUp .9s var(--ws-ease) forwards; }
.hero .carousel-item.active .hero-content > *:nth-child(2) { animation-delay: .15s; }
.hero .carousel-item.active .hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero .carousel-item.active .hero-content > *:nth-child(4) { animation-delay: .45s; }
.hero .eyebrow { color: var(--ws-gold); }
.hero h1 { color: #fff; font-size: clamp(32px, 5.4vw, 62px); margin-bottom: 20px; }
.hero p { font-size: 17px; color: rgba(255, 255, 255, .85); margin-bottom: 34px; max-width: 560px; }
.hero .carousel-indicators { justify-content: flex-start; margin: 0; left: auto; right: 40px; bottom: 50%; transform: translateY(50%); flex-direction: column; gap: 10px; }
.hero .carousel-indicators [data-bs-target] { width: 4px; height: 26px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .45); opacity: 1; margin: 0; transition: height .4s var(--ws-ease), background .3s; }
.hero .carousel-indicators .active { height: 54px; background: var(--ws-accent); }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 1; pointer-events: none; animation: float 12s ease-in-out infinite; }
.hero .blob-1 { width: 320px; height: 320px; background: var(--ws-accent); right: 8%; top: 12%; }
.hero .blob-2 { width: 240px; height: 240px; background: var(--ws-primary-2); right: 28%; bottom: 8%; animation-delay: -6s; }
.hero .floating-badge {
    position: absolute; z-index: 3; right: 9%; bottom: 22%;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(12px); color: #fff; border-radius: 18px; padding: 16px 22px;
    display: flex; align-items: center; gap: 14px; animation: float 6s ease-in-out infinite;
}
.hero .floating-badge i { width: 46px; height: 46px; border-radius: 12px; background: var(--ws-gold); color: var(--ws-primary-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.hero .floating-badge strong { display: block; font-family: var(--ws-heading-font); font-size: 20px; }
.hero .floating-badge span { font-size: 13px; opacity: .85; }
.scroll-down { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; }
.scroll-down::before { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollWheel 1.8s infinite; }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; z-index: 5; margin-top: -70px; }
.stat-card {
    background: var(--ws-surface); border: 1px solid var(--ws-border); border-radius: var(--ws-radius);
    padding: 26px 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--ws-shadow);
    transition: transform .4s var(--ws-ease), background-color .4s;
    height: 100%;
}
.stat-card:hover { transform: translateY(-8px); }
.stat-card .icon { flex: 0 0 58px; height: 58px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; background: var(--ws-grad-accent); }
.col-6:nth-child(2) .stat-card .icon, .col-lg-3:nth-child(2) .stat-card .icon { background: var(--ws-band); }
.col-lg-3:nth-child(3) .stat-card .icon { background: linear-gradient(135deg, #F7B32B, #FF8A5B); }
.col-lg-3:nth-child(4) .stat-card .icon { background: linear-gradient(135deg, #12B886, #0CA678); }
.stat-card h3 { font-size: 30px; margin: 0; }
.stat-card span { font-size: 14px; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; padding: 120px 0 110px; text-align: center; color: #fff; overflow: hidden; isolation: isolate; }
.page-banner .banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transform: scale(1.1); animation: kenburns 14s ease-out forwards; }
.page-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(20, 12, 60, .93), rgba(106, 77, 224, .78)), var(--ws-pattern); }
.page-banner h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 14px; animation: fadeUp .9s var(--ws-ease) both; }
.page-banner .breadcrumb { justify-content: center; margin: 0; display: inline-flex; padding: 8px 22px; border-radius: 40px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); animation: fadeUp .9s .15s var(--ws-ease) both; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: rgba(255, 255, 255, .9) !important; }
.page-banner .breadcrumb-item.active { color: var(--ws-gold) !important; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.wave svg { width: 100%; height: 60px; display: block; }
.wave path { fill: var(--ws-bg); transition: fill .4s ease; }

/* ---------- About / statement ---------- */
.about-images { position: relative; padding: 0 0 60px 0; }
.about-images .img-main { border-radius: var(--ws-radius); width: 82%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--ws-shadow); }
.about-images .img-sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ws-radius); border: 8px solid var(--ws-bg); box-shadow: var(--ws-shadow); transition: border-color .4s; }
.about-images .exp-badge {
    position: absolute; left: -10px; bottom: 30px; z-index: 2;
    background: var(--ws-grad-accent); color: #fff; border-radius: var(--ws-radius); padding: 18px 22px; text-align: center;
    box-shadow: 0 16px 30px -10px rgba(255, 77, 109, .6); animation: float 6s ease-in-out infinite;
}
.about-images .exp-badge strong { display: block; font-size: 34px; font-family: var(--ws-heading-font); line-height: 1; }
.about-images .exp-badge span { font-size: 13px; }
.about-images .dots { position: absolute; top: -24px; left: -24px; width: 120px; height: 120px; background-image: radial-gradient(var(--ws-accent) 2px, transparent 2px); background-size: 16px 16px; opacity: .35; z-index: -1; }
.mv-item { display: flex; gap: 18px; padding: 20px; border-radius: var(--ws-radius); background: var(--ws-surface-2); border: 1px solid var(--ws-border); transition: transform .35s var(--ws-ease), border-color .35s, background-color .4s; }
.mv-item + .mv-item { margin-top: 16px; }
.mv-item:hover { transform: translateX(8px); border-color: var(--ws-accent); }
.mv-item i { flex: 0 0 52px; height: 52px; border-radius: 14px; background: var(--ws-band); color: #fff; font-size: 24px; display: inline-flex; align-items: center; justify-content: center; }
.mv-item h5 { font-size: 17px; margin-bottom: 4px; }
.mv-item p { margin: 0; font-size: 14.5px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li + li { margin-top: 10px; }
.check-list i { color: var(--ws-accent); font-size: 20px; margin-top: 4px; }

/* ---------- Feature band ---------- */
.study-band { background: var(--ws-band); padding: 110px 0; position: relative; overflow: hidden; isolation: isolate; }
.study-band::before { content: ''; position: absolute; inset: 0; background-image: var(--ws-pattern); z-index: -1; }
.feature-card {
    position: relative; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px); border-radius: var(--ws-radius); padding: 34px 30px; height: 100%; color: rgba(255, 255, 255, .82);
    transition: transform .45s var(--ws-ease), background .45s;
    overflow: hidden;
}
.feature-card::after { content: ''; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: var(--ws-accent); filter: blur(50px); opacity: 0; right: -40px; top: -40px; transition: opacity .45s; }
.feature-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, .14); }
.feature-card:hover::after { opacity: .5; }
.feature-card .icon { width: 62px; height: 62px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--ws-accent); font-size: 30px; margin-bottom: 20px; transition: transform .6s var(--ws-ease); }
.feature-card:hover .icon { transform: rotateY(360deg); }
.feature-card h4 { color: #fff; font-size: 19px; }
.feature-card p { margin: 0; font-size: 14.5px; }

/* ---------- Principal message ---------- */
.principal-card { position: relative; background: var(--ws-surface); border: 1px solid var(--ws-border); border-radius: 24px; padding: 50px; box-shadow: var(--ws-shadow); overflow: hidden; transition: background-color .4s; }
.principal-card .quote-icon { position: absolute; right: 30px; top: 10px; font-size: 140px; color: var(--ws-accent); opacity: .08; }
.principal-photo { position: relative; }
.principal-photo img { border-radius: 20px; width: 100%; aspect-ratio: 6 / 7; object-fit: cover; position: relative; z-index: 1; }
.principal-photo::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border-radius: 20px; background: var(--ws-grad-accent); }
.principal-card blockquote { font-size: 18px; font-style: italic; color: var(--ws-heading); line-height: 1.9; margin-bottom: 24px; }
.signature h5 { margin: 0; font-size: 18px; }
.signature span { color: var(--ws-accent); font-size: 14px; }

/* ---------- Highlights (about) ---------- */
.highlight-row + .highlight-row { margin-top: 90px; }
.highlight-row .img-wrap { position: relative; border-radius: var(--ws-radius); overflow: hidden; box-shadow: var(--ws-shadow); }
.highlight-row .img-wrap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ws-ease); }
.highlight-row .img-wrap:hover img { transform: scale(1.08); }
.highlight-row .icon { width: 60px; height: 60px; border-radius: 16px; background: var(--ws-grad-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; }
.highlight-row h3 { font-size: clamp(24px, 3vw, 32px); margin: 18px 0 14px; }
.highlight-row .num { font-family: var(--ws-heading-font); font-size: 80px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ws-border); position: absolute; right: 0; top: -20px; z-index: -1; }

/* ---------- Teachers ---------- */
.teacher-card { position: relative; border-radius: var(--ws-radius); overflow: hidden; background: var(--ws-surface); border: 1px solid var(--ws-border); transition: transform .45s var(--ws-ease), box-shadow .45s, background-color .4s; height: 100%; }
.teacher-card:hover { transform: translateY(-10px); box-shadow: var(--ws-shadow); }
.teacher-card .photo { position: relative; overflow: hidden; }
.teacher-card .photo img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; transition: transform .7s var(--ws-ease); }
.teacher-card:hover .photo img { transform: scale(1.1); }
.teacher-card .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(36, 26, 92, .85)); opacity: 0; transition: opacity .4s; }
.teacher-card:hover .photo::after { opacity: 1; }
.teacher-card .social { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: 8px; transform: translateY(60px); transition: transform .45s var(--ws-ease); }
.teacher-card:hover .social { transform: none; }
.teacher-card .social a { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--ws-primary-deep); display: inline-flex; align-items: center; justify-content: center; }
.teacher-card .social a:hover { background: var(--ws-accent); color: #fff; }
.teacher-card .info { padding: 18px 16px; text-align: center; }
.teacher-card .info h5 { font-size: 16.5px; margin: 0 0 2px; }
.teacher-card .info span { font-size: 13.5px; color: var(--ws-accent); }

/* ---------- Events ---------- */
.event-card { background: var(--ws-surface); border: 1px solid var(--ws-border); border-radius: var(--ws-radius); overflow: hidden; height: 100%; transition: transform .45s var(--ws-ease), box-shadow .45s, background-color .4s; }
.event-card:hover { transform: translateY(-10px); box-shadow: var(--ws-shadow); }
.event-card .thumb { position: relative; overflow: hidden; }
.event-card .thumb img { width: 100%; height: 220px; object-fit: cover; transition: transform .7s var(--ws-ease); }
.event-card:hover .thumb img { transform: scale(1.1); }
.event-card .date-box { position: absolute; left: 18px; bottom: -26px; width: 66px; height: 70px; background: var(--ws-grad-accent); color: #fff; border-radius: 12px; text-align: center; padding-top: 9px; line-height: 1.15; box-shadow: 0 10px 20px -8px rgba(255, 77, 109, .7); }
.event-card .date-box strong { display: block; font-size: 24px; font-family: var(--ws-heading-font); }
.event-card .date-box small { font-size: 11px; text-transform: uppercase; }
.event-card .body { padding: 40px 24px 24px; }
.event-card h5 { font-size: 18px; margin-bottom: 10px; }
.event-card .meta { font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.event-card .meta i { color: var(--ws-accent); }

/* ---------- Blog ---------- */
.blog-card { background: var(--ws-surface); border: 1px solid var(--ws-border); border-radius: var(--ws-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .45s var(--ws-ease), box-shadow .45s, background-color .4s; }
.blog-card:hover { transform: translateY(-10px); box-shadow: var(--ws-shadow); }
.blog-card .thumb { position: relative; overflow: hidden; display: block; }
.blog-card .thumb img { width: 100%; height: 230px; object-fit: cover; transition: transform .7s var(--ws-ease); }
.blog-card:hover .thumb img { transform: scale(1.1) rotate(1deg); }
.blog-card .tag { position: absolute; left: 16px; top: 16px; background: var(--ws-glass); backdrop-filter: blur(8px); color: var(--ws-heading); border-radius: 30px; padding: 3px 14px; font-size: 12.5px; }
.blog-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card h5 { font-size: 18px; }
.blog-card p { flex: 1; font-size: 14.5px; }
.read-more { color: var(--ws-accent) !important; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.read-more i { transition: transform .3s; }
.read-more:hover i { transform: translateX(5px); }

.blog-feature { position: relative; border-radius: var(--ws-radius); overflow: hidden; height: 100%; min-height: 420px; display: block; }
.blog-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ws-ease); }
.blog-feature:hover img { transform: scale(1.08); }
.blog-feature .overlay { position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(20, 12, 60, .95)); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: rgba(255, 255, 255, .85); }
.blog-feature h4 { color: #fff; font-size: 24px; }
.blog-list-item { display: flex; gap: 18px; padding: 16px; border-radius: var(--ws-radius); background: var(--ws-surface); border: 1px solid var(--ws-border); transition: transform .35s var(--ws-ease), border-color .35s, background-color .4s; }
.blog-list-item + .blog-list-item { margin-top: 16px; }
.blog-list-item:hover { transform: translateX(8px); border-color: var(--ws-accent); }
.blog-list-item img { width: 120px; height: 100px; border-radius: 10px; object-fit: cover; flex: 0 0 120px; }
.blog-list-item h6 { font-size: 16px; margin-bottom: 6px; }
.meta-date { font-size: 13px; color: var(--ws-accent); display: inline-flex; align-items: center; gap: 4px; }

.post-detail img.cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--ws-radius); margin-bottom: 30px; }
.sidebar-widget { background: var(--ws-surface-2); border: 1px solid var(--ws-border); border-radius: var(--ws-radius); padding: 28px; transition: background-color .4s; }
.sidebar-widget h5 { font-size: 18px; margin-bottom: 20px; }
.recent-post { display: flex; gap: 14px; }
.recent-post + .recent-post { margin-top: 18px; }
.recent-post img { width: 80px; height: 70px; object-fit: cover; border-radius: 10px; }
.recent-post h6 { font-size: 14.5px; margin: 0 0 4px; }

/* ---------- Testimonials ---------- */
.testimonial-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 30px; scrollbar-width: none; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; background: var(--ws-surface); border: 1px solid var(--ws-border); border-radius: 20px; padding: 34px 30px; position: relative; transition: transform .4s var(--ws-ease), box-shadow .4s, background-color .4s; }
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--ws-shadow); }
.testimonial-card .bxs-quote-alt-left { font-size: 44px; color: var(--ws-accent); opacity: .25; position: absolute; right: 26px; top: 20px; }
.testimonial-card .stars { color: var(--ws-gold); margin-bottom: 14px; }
.testimonial-card p { font-style: italic; }
.testimonial-card .person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial-card .avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--ws-band); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--ws-heading-font); font-size: 18px; }
.testimonial-card h6 { margin: 0; font-size: 16px; }
.testimonial-card small { color: var(--ws-accent); }
.slider-nav { display: flex; gap: 10px; justify-content: center; }
.slider-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ws-border); background: var(--ws-surface); color: var(--ws-heading); font-size: 22px; display: inline-flex; align-items: center; justify-content: center; transition: all .3s; }
.slider-nav button:hover { background: var(--ws-accent); border-color: var(--ws-accent); color: #fff; }

/* ---------- Gallery ---------- */
.gallery-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.gallery-filter button { border: 1px solid var(--ws-border); background: var(--ws-surface); color: var(--ws-heading); padding: 7px 20px; border-radius: 40px; font-size: 14px; font-family: var(--ws-body-font); transition: all .3s; }
.gallery-filter button.active, .gallery-filter button:hover { background: var(--ws-grad-accent); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px rgba(255, 77, 109, .7); }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--ws-radius); cursor: zoom-in; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ws-ease); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(59, 44, 133, .75), rgba(255, 77, 109, .6)); opacity: 0; transition: opacity .4s; }
.gallery-item .zoom { position: absolute; left: 50%; top: 50%; z-index: 2; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: var(--ws-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; transform: scale(0); transition: transform .4s var(--ws-ease); }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover .zoom { transform: scale(1); }
.gallery-col { transition: opacity .4s, transform .4s var(--ws-ease); }
.gallery-col.is-hidden { display: none; }
.gallery-col.is-filtering { opacity: 0; transform: scale(.9); }
.lightbox { position: fixed; inset: 0; z-index: 2050; background: rgba(8, 6, 20, .94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; padding: 20px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; transform: scale(.9); transition: transform .4s var(--ws-ease); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 28px; display: inline-flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: var(--ws-accent); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Notices ---------- */
.notice-item { display: flex; gap: 20px; background: var(--ws-surface); border: 1px solid var(--ws-border); border-radius: var(--ws-radius); padding: 24px; position: relative; overflow: hidden; transition: transform .35s var(--ws-ease), box-shadow .35s, background-color .4s; }
.notice-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ws-grad-accent); transform: scaleY(0); transition: transform .4s var(--ws-ease); }
.notice-item:hover { transform: translateX(6px); box-shadow: var(--ws-shadow-sm); }
.notice-item:hover::before { transform: scaleY(1); }
.notice-item + .notice-item { margin-top: 18px; }
.notice-item .date-box { flex: 0 0 70px; height: 76px; background: var(--ws-band); color: #fff; border-radius: 12px; text-align: center; padding-top: 10px; line-height: 1.2; }
.notice-item .date-box strong { display: block; font-size: 24px; font-family: var(--ws-heading-font); }
.notice-item .date-box small { font-size: 11px; text-transform: uppercase; }
.notice-item h5 { font-size: 17px; margin-bottom: 6px; }
.notice-item p { margin: 0; font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; padding: 110px 0; overflow: hidden; isolation: isolate; color: rgba(255, 255, 255, .88); text-align: center; }
.cta-band .cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; z-index: -2; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(20, 12, 60, .92), rgba(255, 77, 109, .7)), var(--ws-pattern); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 44px); margin-bottom: 14px; }
.cta-band .pulse-ring { position: relative; display: inline-flex; }
.cta-band .pulse-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50px; border: 2px solid #fff; animation: pulseRing 2s ease-out infinite; }

/* ---------- Forms ---------- */
.form-card { background: var(--ws-surface); border: 1px solid var(--ws-border); box-shadow: var(--ws-shadow); border-radius: 20px; padding: 44px; transition: background-color .4s; }
.form-card h4 { font-size: 19px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px dashed var(--ws-border); display: flex; align-items: center; gap: 10px; }
.form-card h4 i { color: var(--ws-accent); }
.website .form-control, .website .form-select { background-color: var(--ws-surface-2); color: var(--ws-heading); border: 1.5px solid var(--ws-border); border-radius: 10px; padding: 12px 15px; font-size: 14.5px; transition: border-color .3s, box-shadow .3s, background-color .4s; }
.website .form-control::placeholder { color: var(--ws-text); opacity: .6; }
.website .form-control:focus, .website .form-select:focus { background-color: var(--ws-surface); color: var(--ws-heading); border-color: var(--ws-accent); box-shadow: 0 0 0 4px rgba(255, 77, 109, .14); }
[data-theme="dark"] .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23B3B0C9' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); }
[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.website .form-label { font-size: 14px; color: var(--ws-heading); margin-bottom: 6px; font-weight: 500; }
.website .alert { border-radius: 12px; }
[data-theme="dark"] .alert-success { background: rgba(18, 184, 134, .14); color: #63E6BE; border-color: rgba(18, 184, 134, .3); }
[data-theme="dark"] .alert-warning { background: rgba(247, 179, 43, .14); color: #FFD43B; border-color: rgba(247, 179, 43, .3); }
.contact-info-item { display: flex; gap: 16px; padding: 18px; border-radius: var(--ws-radius); border: 1px solid var(--ws-border); background: var(--ws-surface); transition: transform .35s var(--ws-ease), border-color .35s, background-color .4s; }
.contact-info-item:hover { transform: translateX(8px); border-color: var(--ws-accent); }
.contact-info-item + .contact-info-item { margin-top: 14px; }
.contact-info-item i { flex: 0 0 52px; height: 52px; border-radius: 14px; background: var(--ws-grad-accent); color: #fff; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; }
.contact-info-item h6 { margin: 0 0 2px; font-size: 16px; }
.map-frame { width: 100%; height: 420px; border: 0; display: block; }
[data-theme="dark"] .map-frame { filter: invert(.9) hue-rotate(180deg) saturate(.6); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ws-primary-deep); color: rgba(255, 255, 255, .78); padding-top: 90px; font-size: 14.5px; overflow: hidden; isolation: isolate; }
[data-theme="dark"] .site-footer { background: #08060F; border-top: 1px solid var(--ws-border); }
.site-footer::before { content: ''; position: absolute; inset: 0; background-image: var(--ws-pattern); z-index: -1; }
.site-footer::after { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: var(--ws-accent); filter: blur(140px); opacity: .25; z-index: -1; }
.site-footer h6 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.site-footer h6::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--ws-accent); }
.site-footer .brand { color: #fff !important; margin-bottom: 18px; }
.site-footer .brand small { color: rgba(255, 255, 255, .6); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li + li { margin-top: 9px; }
.site-footer ul a { color: rgba(255, 255, 255, .78); display: inline-flex; align-items: center; gap: 4px; }
.site-footer ul a::before { content: '›'; color: var(--ws-accent); transition: transform .3s; }
.site-footer ul a:hover { color: #fff; transform: translateX(4px); }
.site-footer .contact-line { display: flex; gap: 10px; }
.site-footer .contact-line + .contact-line { margin-top: 8px; }
.site-footer .contact-line i { color: var(--ws-gold); margin-top: 5px; }
.site-footer .newsletter { display: flex; margin-top: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 50px; padding: 5px; }
.site-footer .newsletter input { background: transparent; border: 0; color: #fff; padding: 6px 14px; font-size: 13.5px; flex: 1; min-width: 0; outline: none; }
.site-footer .newsletter input::placeholder { color: rgba(255, 255, 255, .55); }
.site-footer .social { display: flex; gap: 10px; margin-top: 22px; }
.site-footer .social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: transform .3s, background .3s; }
.site-footer .social a:hover { background: var(--ws-accent); transform: translateY(-4px); }
.site-footer .copyright { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 60px; padding: 22px 0; text-align: center; font-size: 13.5px; }

/* ---------- Floating UI ---------- */
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--ws-surface); color: var(--ws-accent) !important; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; z-index: 1040; box-shadow: var(--ws-shadow-sm); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .35s var(--ws-ease); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.back-to-top circle { fill: none; stroke: var(--ws-accent); stroke-width: 3; stroke-dasharray: 145; stroke-dashoffset: 145; transition: stroke-dashoffset .1s linear; }

.mobile-bar { display: none; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ws-ease), transform .9s var(--ws-ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="down"] { transform: translateY(-40px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"] { transform: scale(.85); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { to { left: 130%; } }
@keyframes gradientShift { to { background-position: 200% center; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-15deg); } 20%, 40% { transform: rotate(15deg); } 50% { transform: rotate(0); } }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes pulseRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35, 1.6); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .testimonial-card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 991.98px) {
    .section-padding, .study-band, .cta-band { padding: 80px 0; }
    .hero .carousel-item { height: 78vh; min-height: 520px; }
    .hero .floating-badge, .hero .blob-2 { display: none; }
    .hero .carousel-indicators { right: 16px; }
    .stats-wrap { margin-top: -50px; }
    .highlight-row + .highlight-row { margin-top: 60px; }
    .principal-card { padding: 30px; }
    .cta-band .cta-bg { background-attachment: scroll; }

    /* App-like bottom bar on mobile */
    body.website { padding-bottom: 68px; }
    .mobile-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045;
        background: var(--ws-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--ws-border); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        justify-content: space-around; align-items: flex-end;
    }
    .mobile-bar a, .mobile-bar button { flex: 1; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--ws-text); padding: 4px 0; font-family: var(--ws-body-font); }
    .mobile-bar i { font-size: 22px; }
    .mobile-bar .active { color: var(--ws-accent); }
    .mobile-bar .primary-action i { width: 54px; height: 54px; margin-top: -30px; border-radius: 50%; background: var(--ws-grad-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 10px 22px -6px rgba(255, 77, 109, .7); border: 4px solid var(--ws-bg); }
    .back-to-top { bottom: 84px; right: 16px; width: 44px; height: 44px; }
}

@media (max-width: 767.98px) {
    .testimonial-card { flex-basis: 88%; }
    .about-images { margin-bottom: 20px; }
    .blog-feature { min-height: 320px; }
}

@media (max-width: 575.98px) {
    body.website { font-size: 15px; }
    .section-padding, .study-band, .cta-band { padding: 64px 0; }
    .section-title { margin-bottom: 40px; }
    .hero .carousel-item { min-height: 500px; }
    .hero p { font-size: 15px; }
    .hero .btn-ws { padding: 10px 22px; }
    .page-banner { padding: 80px 0 90px; }
    .stat-card { padding: 18px 14px; gap: 10px; flex-direction: column; text-align: center; }
    .stat-card .icon { flex-basis: auto; width: 50px; height: 50px; font-size: 24px; }
    .stat-card h3 { font-size: 24px; }
    .form-card { padding: 26px 20px; }
    .blog-list-item img { width: 90px; height: 80px; flex-basis: 90px; }
    .notice-item { padding: 18px; gap: 14px; }
    .about-images .exp-badge { left: 0; padding: 12px 16px; }
    .about-images .exp-badge strong { font-size: 26px; }
    .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 20px; transform: none; }
}

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

/* Keep nav labels and header buttons on one line (long Bangla labels) */
.site-header .nav-link, .site-header .btn-ws, .brand { white-space: nowrap; }
@media (max-width: 1599.98px) { .site-header .nav-link { padding: 8px 9px !important; font-size: 14px; } }
@media (max-width: 575.98px) { .brand small { display: none; } .brand { font-size: 17px; } }
.site-header .brand { min-width: 0; flex-shrink: 1; }
.site-header .brand > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.notice-ticker { max-width: 100vw; }

/* ---------- Dynamic notices & events ---------- */
.notice-item.is-pinned { border-color: var(--ws-accent, #ff4d6d); }
.notice-item.is-pinned::before { transform: scaleY(1); }
.notice-pin { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; margin-right: 6px; border-radius: 999px; color: #fff; background: var(--ws-grad-accent); vertical-align: middle; }
.notice-attachment { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; }
.event-card .event-desc { font-size: 14px; margin: 10px 0 0; }
.event-card.is-past .thumb img { filter: grayscale(.55); }

/* ---------- Dynamic gallery ---------- */
.gallery-item .gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 14px 10px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ws-ease); }
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* ---------- Online result ---------- */
.result-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.result-badge { min-width: 140px; text-align: center; padding: 14px 18px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #12a150, #0f9b72); box-shadow: 0 12px 24px -12px rgba(15, 155, 114, .8); }
.result-badge.is-fail { background: linear-gradient(135deg, #e5484d, #c2333a); box-shadow: 0 12px 24px -12px rgba(229, 72, 77, .8); }
.result-badge small { display: block; font-size: 11px; letter-spacing: .1em; opacity: .85; }
.result-badge strong { display: block; font-size: 32px; line-height: 1.1; font-family: var(--ws-heading-font); }
.result-badge span { font-size: 13px; }
.result-table thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ws-heading); }
.result-table tr.is-fail td { color: #e5484d; }
.result-table tfoot th { border-top: 2px solid var(--ws-border); }
@media print {
    body * { visibility: hidden; }
    .result-card, .result-card * { visibility: visible; }
    .result-card { position: absolute; inset: 0 auto auto 0; width: 100%; box-shadow: none !important; }
    .result-card .btn-ws { display: none; }
}
