/* =====================================================
   home.css — Styles for home.html (Scott's Academy)
   Replaces Tailwind CSS CDN
   ===================================================== */

/* ── CSS Variables ── */
:root {
    --primary:  #0B3C6D;
    --accent:   #00B8D9;
    --white:    #ffffff;
    --bg:       #f8fafc;      /* slate-50 */
    --bg-alt:   #f1f5f9;      /* slate-100 */
    --text:     #0f172a;      /* slate-900 */
    --text-muted: #64748b;    /* slate-500 */
    --text-light: #94a3b8;    /* slate-400 */
    --border:   #e2e8f0;      /* slate-200 */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --shadow-md: 0 4px 16px rgba(11,60,109,0.12);
    --shadow-lg: 0 16px 40px rgba(11,60,109,0.18);
    --shadow-xl: 0 24px 50px rgba(11,60,109,0.22);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ── Animations ── */
.molecule-bg {
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

.ecg-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: ecg-dash 8s linear infinite;
    opacity: 0.4;
}

@keyframes ecg-dash {
    to { stroke-dashoffset: 0; }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50%       { transform: translateY(-20px) rotate(2deg); }
}

/* ── Hero Section Specific Styles ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    background: radial-gradient(circle at 50% 50%, #1a3a5f 0%, #0b1e33 100%);
}

/* Mesh Background Effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 184, 217, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to bottom, transparent, black, transparent);
}

.hero-content {
    position: relative;
    max-width: 1100px;
    z-index: 10;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInDown 0.8s forwards;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-top: 70px;
    margin-bottom: 2rem;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Glassmorphism Mindbender Card */
.mindbender-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
@media (max-width: 768px) {
    .mindbender-card {
        background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    margin-top: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }
}

.mindbender-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 184, 217, 0.3);
}

.mindbender-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 184, 217, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.mb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent); /* #00B8D9 / Cyan */
    background: rgba(0, 184, 217, 0.08);
    border: 1px solid rgba(0, 184, 217, 0.25);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 15px rgba(0, 184, 217, 0.1);
    text-shadow: 0 0 8px rgba(0, 184, 217, 0.4);
    font-family: var(--font-sans);
}

.mb-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse-dot 1.5s infinite alternate;
}

@keyframes pulse-dot {
    0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 4px var(--accent); }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px var(--accent); }
}

.mindbender-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.mindbender-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-accent-glow {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 184, 217, 0.3);
}

.btn-accent-glow:hover {
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 184, 217, 0.5);
    transform: scale(1.05);
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Floating Shapes Optimization */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 2;
    opacity: 0.4;
    pointer-events: none;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero { padding: 140px 20px 80px; }
    .hero h1 { font-size: 2.2rem; margin-top: 30px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .mindbender-card { padding: 1.5rem; }
}

/* ── Shared Utility Components ── */
.glass-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
}

.glass-btn {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: background 0.3s, box-shadow 0.3s;
}
.glass-btn:hover { background: rgba(255,255,255,0.2); }

.glass-btn-primary {
    background: rgba(0,184,217,0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(0,184,217,0.4);
    color: var(--white);
    box-shadow: 0 8px 32px rgba(0,184,217,0.2);
    transition: background 0.3s;
}
.glass-btn-primary:hover { background: rgba(0,184,217,0.3); }

.blue-glow {
    box-shadow: 0 0 30px rgba(11,60,109,0.2), 0 0 15px rgba(0,184,217,0.1);
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Navbar ── */
.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(11,60,109,0.1);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 1024px) { .site-nav { padding: 16px 80px; } }

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand__icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.nav-brand__name {
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-links-desktop {
    display: none;
    align-items: center;
    gap: 40px;
}

@media (min-width: 1024px) { .nav-links-desktop { display: flex; } }

.nav-links-desktop a {
    font-size: 14px;
    font-weight: 600;
    color: rgba(11,60,109,0.8);
    transition: color 0.2s;
}
.nav-links-desktop a:hover { color: var(--primary); }

.nav-register-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 32px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    transition: box-shadow 0.3s;
}
.nav-register-btn:hover {
    box-shadow: 0 10px 30px rgba(11,60,109,0.2);
}

/* ── About / Legacy Section ── */
.about {
    padding: 128px 32px;
    background-color: var(--white);
}

body.dark-mode .about {
    background-color: #2d333a;
}

@media (min-width: 1024px) { .about { padding: 128px 80px; } }

.about__grid {
    display: grid;
    gap: 96px;
    align-items: center;
}

@media (min-width: 920px) { .about__grid { grid-template-columns: 1fr 1fr; } }

.about__eyebrow {
    color: var(--accent);
    font-weight: 900;
    letter-spacing: 0.2em;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.about__title {
    font-family: var(--font-serif);
    font-size: 36px;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 24px;
}


.about__desc {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
    text-align: justify;
}

.about__feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 16px;
}

@media (max-width: 768px) {
    .about {
        padding: 64px 20px;
    }
    .about__title {
        font-size: clamp(1.2rem, 6vw, 2.5rem);
    }
    .about__desc {
        font-size: clamp(0.6rem, 3.5vw, 1rem);
    }
    .about__feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.about__feature-card {
    padding: 24px;
    border-radius: 16px;
    background-color: var(--bg-alt);
    border: 1px solid var(--border);
}

body.dark-mode .about__feature-card {
    background-color: #0f172a;
    border: 1px solid var(--border);
}

.about__feature-card .material-symbols-outlined {
    color: var(--accent);
    font-size: 30px;
    margin-bottom: 16px;
    display: block;
}

.about__feature-card h4 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.about__feature-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* About visual */
.about__visual {
    display: flex;
    justify-content: center;
}

.about__visual-frame {
    width: 100%;
    max-width: 512px;
    aspect-ratio: 1;
    border-radius: 48px;
    /* border: 1px solid rgba(11,60,109,0.1); */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("../image/about-img2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.dark-mode .about__visual-frame {
    border: 1px solid var(--border);
    opacity: 0.6;
}

.about__visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px; 
    height: 100%;
}

body.dark-mode .about__visual-frame img {
    border: 0px solid #0f172a;
}

.about__doc-card {
    width: 256px;
    height: 320px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.15);
    border: 4px solid var(--white);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about__doc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 24px;
}

.about__doc-icon {
    width: 48px;
    height: 48px;
    background: rgba(11,60,109,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

body.dark-mode .about__doc-icon {
    background: rgba(11,60,109,0.1);
    border: 1px solid var(--border);
    color: #55b5d8;
}

.about__doc-status-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    text-align: right;
}

.about__doc-status {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
}

body.dark-mode .about__doc-status {
    color: #55b5d8;
}

.about__doc-lines { width: 100%; margin-bottom: 16px; }

.about__doc-line {
    height: 8px;
    border-radius: 9999px;
    margin-bottom: 10px;
}

.about__doc-line--full    { width: 100%; background: var(--border); }
.about__doc-line--two-thirds { width: 66.66%; background: var(--border); }
.about__doc-line--half    { width: 50%; background: rgba(0,184,217,0.2); }

.about__doc-btn {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

body.dark-mode .about__doc-btn {
    background: var(--accent);
    color: var(--white);
}

/* ── Pillars Section ── */
.pillars {
    padding: 96px 32px;
    background-color: var(--bg-alt);
    overflow: hidden;
}

body.dark-mode .pillars {
    background-color: var(--white);
}

@media (min-width: 1024px) { .pillars { padding: 96px 80px; } }

.pillars__header {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 80px;
}

.pillars__title {
    font-family: var(--font-serif);
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 24px;
}

@media (min-width: 1024px) { .pillars__title { font-size: 36px; } }

.pillars__divider {
    height: 4px;
    width: 80px;
    background-color: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

.pillars__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px)  { .pillars__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pillars__grid { grid-template-columns: repeat(5, 1fr); } }

.pillar-card {
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(11,60,109,0.05);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s;
    cursor: default;
}

.pillar-card:hover { background: var(--white); }

.pillar-card .material-symbols-outlined {
    color: var(--primary);
    font-size: 40px;
    margin-bottom: 24px;
    display: block;
    transition: transform 0.3s;
}

body.dark-mode .pillar-card .material-symbols-outlined {
    color: rgb(0, 184, 217);
}

.pillar-card:hover .material-symbols-outlined { transform: scale(1.1); }

.pillar-card h4 {
    font-weight: 700;
    color: var(--primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Quiz Section ── */
.quiz-section {
    position: relative;
    background-color: var(--primary);
    padding: 120px 32px;
    text-align: center;
    overflow: hidden;
}

body.dark-mode .quiz-section {
    background-color: #082140;
}

.quiz-section__waves {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

.quiz-section__waves svg {
    width: 100%;
    height: 400px;
    display: block;
}

.quiz-section__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quiz-section__eyebrow {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
}

.quiz-section__title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 64px);
    color: var(--white);
    max-width: 1000px;
    line-height: 1.15;
}

.quiz-section__desc {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 56px;
}

.quiz-countdown {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 64px;
}

@media (max-width: 600px) {
    .quiz-countdown { gap: 16px; }
}

.quiz-countdown__box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quiz-countdown__number {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .quiz-countdown__number { width: 80px; height: 80px; font-size: 32px; }
}

.quiz-countdown__label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.quiz-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent); /* #00B8D9 / Cyan */
    color: var(--primary); /* Deep blue text */
    font-size: 18px;
    font-weight: 800;
    padding: 18px 48px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 184, 217, 0.3);
}

.quiz-section__btn:hover {
    cursor:pointer;
}
@media (max-width: 600px) {
    .quiz-section__eyebrow{
        font-size: clamp(6px, 4vw, 10px);
    }
    
    .quiz-section__title {
        font-size: clamp(28px, 4vw, 36px);
    }
    .quiz-section__desc {
        font-size: clamp(14px, 2vw, 18px);
    }
    .quiz-section__btn { 
        padding: 12px 32px; 
        font-size: clamp(12px, 2vw, 16px); 
    }
}
/* ── Journey / Goal Section ── */
.journey {
    padding: 128px 0;
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
}

body.dark-mode .journey {
    background-color: #263860;
}

.journey__bg-ecg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

body.dark-mode .journey__bg-ecg {
    opacity: 0.5;
}

.journey__inner {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 32px;
}

@media (min-width: 1024px) { .journey__inner { padding: 0 80px; } }

.journey__title {
    font-family: var(--font-serif);
    font-size: 30px;
    color: var(--white);
    margin-bottom: 80px;
    text-wrap: balance;
}

@media (min-width: 1024px) { .journey__title { font-size: 48px; } }

.journey__steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .journey__steps { flex-direction: row; gap: 16px; }
}

.journey__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.journey__step-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.journey__step-circle:hover {
    background-color: #00B8D9 !important;
    border-color: #04305d !important;
    color: var(--primary);
    box-shadow: 0 2px 40px rgba(38, 190, 217, 0.5);
}

.journey__step-circle--highlight {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,184,217,0.2);
}

.journey__step-circle .material-symbols-outlined { font-size: 40px; }

.journey__step-label {
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 11px;
    text-transform: uppercase;
}

body.dark-mode .journey__step-label {
    color: #ffffff;
}

.journey__arrow {
    color: var(--accent);
    font-size: 30px;
    display: none;
}

@media (min-width: 1024px) { .journey__arrow { display: block; } }

/* ── Why Us Section ── */
.why-us {
    padding: 128px 32px;
    background-color: var(--white);
}

@media (min-width: 1024px) { .why-us { padding: 128px 80px; } }

.why-us__grid {
    display: grid;
    gap: 80px;
    align-items: center;
}

@media (min-width: 1024px) { .why-us__grid { grid-template-columns: 1fr 1fr; } }

.why-us__text { order: 2; }
@media (min-width: 1024px) { .why-us__text { order: 1; } }

.why-us__title {
    font-family: var(--font-serif);
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 48px;
}
.our-goal__description {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 32px;
    text-align: justify;
}
.why-us__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-us__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-us__item-dot {
    width: 24px;
    height: 24px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.why-us__item-dot .material-symbols-outlined { font-size: 14px; font-variation-settings: 'wght' 700; }

.why-us__item h4 { font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.why-us__item p  { color: var(--text-light); font-size: 14px; }

/* Certificate visual */
.why-us__visual { order: 1; display: flex; justify-content: center; }
@media (min-width: 1024px) { .why-us__visual { order: 2; } }

.why-us__visual-wrap {
    position: relative;
}

.why-us__visual-glow {
    position: absolute;
    inset: 0;
    background: rgba(0,184,217,0.2);
    filter: blur(64px);
    border-radius: 50%;
    opacity: 0.5;
}

body.dark-mode .why-us__visual-glow {
    background: rgba(0,184,217,0.8);
}

.certificate-card {
    position: relative;
    width: 288px;
    height: 384px;
    background-color: var(--bg-alt);
    border-radius: 12px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.12);
    border: 4px solid var(--white);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body.dark-mode .certificate-card {
    background-color: #032b3f;
    border: 4px solid rgba(171, 202, 232, 0.8);
}

.certificate-card__icon {
    width: 64px;
    height: 64px;
    border: 2px solid rgba(11,60,109,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

body.dark-mode .certificate-card__icon {
    border: 2px solid rgba(171, 202, 232, 0.8);
}

.certificate-card__icon .material-symbols-outlined { font-size: 30px; color: var(--primary); }

body.dark-mode .certificate-card__icon .material-symbols-outlined {
    color: rgba(218, 234, 250, 0.8);
}

.certificate-card__divider {
    width: 100%;
    border-bottom: 1px solid rgba(11,60,109,0.1);
    margin-bottom: 24px;
}

body.dark-mode .certificate-card__divider {
    border-bottom: 1px solid rgba(171, 202, 232, 0.8);
}

.certificate-card__title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 8px;
}

body.dark-mode .certificate-card__title {
    color: rgba(46, 150, 255, 1);
}

.certificate-card__sub {
    font-size: 10px;
    color: var(--text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.certificate-card__line {
    height: 8px;
    border-radius: 9999px;
    background-color: var(--border);
    margin-bottom: 8px;
}

.certificate-card__line--three-quarters { width: 75%; }
.certificate-card__line--half           { width: 50%; }

.certificate-card__sigs {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
    margin-top: 40px;
}

.certificate-card__sig { width: 48px; height: 1px; background-color: var(--border); }

/* ── Commitment Quote Section ── */
.commitment {
    padding: 96px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

body.dark-mode .commitment {
    border-top:0;
}

.commitment__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.commitment__rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    opacity: 0.3;
    margin-bottom: 48px;
}

.commitment__quote {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 200;
    color: var(--primary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 48px;
}

.commitment__label {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 36px;
    margin-bottom: 48px;
    font-family: var(--font-serif);
}

body.dark-mode .commitment {
    background-color: #2d333a;
}

body.dark-mode .commitment__rule {
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    opacity: 0.3;
}

body.dark-mode .commitment__label {
    color: #ffffff;
}

@media (max-width: 600px) {
    .commitment__quote {
        font-size: clamp(12px, 4vw, 15px);
        font-weight: 400;
    }
    .commitment__label {
        font-size: clamp(20px, 4vw, 28px);
    }
}

/* ── Testimonials Section ── */
.testimonials {
    padding: clamp(64px, 10vw, 96px) 20px;
    background-color: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) { .testimonials { padding: 96px 80px; } }

body.dark-mode .testimonials {
    background-color: #131c2b;
}

/* subtle decorative blob */
.testimonials::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,184,217,0.08) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.testimonials__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.testimonials__eyebrow {
    display: block;
    color: var(--accent);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.testimonials__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.15;
}

body.dark-mode .testimonials__title { color: #e2eaf5; }

.testimonials__subtitle {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 3.5vw, 15px);
    line-height: 1.6;
}

body.dark-mode .testimonials__subtitle { color: #94a3b8; }

/* Scroll Wrapper */
.testimonials__scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(53, 88, 114, 0.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.testimonials__arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(53, 88, 114, 0.3);
}

.testimonials__arrow--left { left: -24px; }
.testimonials__arrow--right { right: -24px; }

body.dark-mode .testimonials__arrow {
    background: rgba(23, 36, 52, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    color: #9CD5FF;
}
body.dark-mode .testimonials__arrow:hover {
    background: #7AAACE;
    color: #0d1621;
    border-color: #7AAACE;
}

@media (max-width: 768px) {
    .testimonials__arrow--left { left: -5px; }
    .testimonials__arrow--right { right: -5px; }
    .testimonials__arrow { width: 36px; height: 36px; }
}

/* Grid – horizontal scroll */
.testimonials__grid {
    display: flex;
    gap: clamp(16px, 4vw, 32px);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px 5px;
    max-width: 100%;
}

.testimonials__grid::-webkit-scrollbar { display: none; }

.testimonials__grid > .tcard {
    flex: 0 0 clamp(260px, 85vw, 360px);
    scroll-snap-align: start;
}

/* Testimonial Card */
.tcard {
    background: var(--white);
    border-radius: 24px;
    padding: clamp(24px, 6vw, 36px);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(11,60,109,0.06);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(11,60,109,0.12);
}

/* Accent variant (middle card) */
.tcard--accent {
    background: linear-gradient(135deg, var(--primary) 0%, #0f2550 100%);
    border-color: transparent;
    color: var(--white);
}

.tcard--accent:hover {
    box-shadow: 0 16px 40px rgba(11,60,109,0.35);
}

body.dark-mode .tcard {
    background-color: #1e2d45;
    border-color: rgba(255,255,255,0.07);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

body.dark-mode .tcard--accent {
    background: linear-gradient(135deg, #0a3060 0%, #041830 100%);
    border-color: rgba(0,184,217,0.2);
}

/* Quote icon */
.tcard__quote-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(0,184,217,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tcard__quote-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--accent);
    font-variation-settings: 'FILL' 1;
}

.tcard--accent .tcard__quote-icon {
    background-color: rgba(255,255,255,0.12);
}

.tcard--accent .tcard__quote-icon .material-symbols-outlined {
    color: var(--white);
}

/* Body text */
.tcard__body {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
    flex: 1;
    /* clamp long quotes so cards stay the same height */
    display: -webkit-box;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tcard--accent .tcard__body {
    color: rgba(255,255,255,0.78);
}

body.dark-mode .tcard__body { color: #94a3b8; }
body.dark-mode .tcard--accent .tcard__body { color: rgba(255,255,255,0.72); }

/* Stars */
.tcard__stars {
    display: flex;
    gap: 2px;
}

.tcard__stars .material-symbols-outlined {
    color: #f59e0b;
    font-size: 18px;
}

.tcard--accent .tcard__stars .material-symbols-outlined {
    color: #fbbf24;
}

/* Author row */
.tcard__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.tcard--accent .tcard__author {
    border-top-color: rgba(255,255,255,0.12);
}

body.dark-mode .tcard__author { border-top-color: rgba(255,255,255,0.07); }

/* Avatar initials circle */
.tcard__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    letter-spacing: 0;
    overflow: hidden;
}

.tcard__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tcard__avatar--white {
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.tcard__name {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 2px;
}

.tcard--accent .tcard__name { color: var(--white); }
body.dark-mode .tcard__name { color: #e2eaf5; }

.tcard__role {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

.tcard--accent .tcard__role { color: rgba(255,255,255,0.65); }
body.dark-mode .tcard__role { color: #64748b; }

.tcard__inst {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    margin-top: 2px;
}

.tcard--accent .tcard__inst { color: rgba(0,220,255,0.85); }

/* Read-more button on tcard */
.tcard__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background-color: rgba(11,60,109,0.08);
    color: var(--primary);
    border: 1px solid rgba(11,60,109,0.12);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    letter-spacing: 0.03em;
    align-self: flex-start;
}

.tcard__read-more:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.tcard__read-more .material-symbols-outlined { font-size: 15px; }

.tcard__read-more--white {
    background-color: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: rgba(255,255,255,0.2);
}

.tcard__read-more--white:hover {
    background-color: rgba(255,255,255,0.25);
    color: var(--white);
}

body.dark-mode .tcard__read-more {
    background-color: rgba(255,255,255,0.06);
    color: #c8dff5;
    border-color: rgba(255,255,255,0.1);
}

body.dark-mode .tcard__read-more:hover {
    background-color: var(--accent);
    color: var(--primary);
}

/* ── Testimonial Modal ── */
.t-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    pointer-events: none;
}

.t-modal.is-open {
    visibility: visible;
    pointer-events: all;
}

/* Backdrop */
.t-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 45, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.t-modal.is-open .t-modal__backdrop { opacity: 1; }

/* Panel */
.t-modal__panel {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 28px;
    padding: 48px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0,0,0,0.25);
    transform: translateY(32px) scale(0.97);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.t-modal.is-open .t-modal__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

body.dark-mode .t-modal__panel {
    background: #1a2535;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

/* Close button */
.t-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(11,60,109,0.07);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.t-modal__close:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.t-modal__close .material-symbols-outlined { font-size: 20px; }

body.dark-mode .t-modal__close {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.1);
    color: #94a3b8;
}
/* ── beyond-education Quote Section ── */
.beyond-education {
    padding: 96px 0;
    background-color: #1a2633;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

body.dark-mode .beyond-education {
    border-top:0;
}

.beyond-education__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.beyond-education__rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    opacity: 0.3;
    margin-bottom: 48px;
}

.beyond-education__quote {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 200;
    color: #ffffff;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 48px;
}

.beyond-education__label {
    font-weight: 700;
    color: #00b8d9;
    text-transform: uppercase;
    font-size: 36px;
    margin-bottom: 48px;
    font-family: var(--font-serif);
}

body.dark-mode .beyond-education {
    background-color: #2d333a;
}

body.dark-mode .beyond-education__rule {
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    opacity: 0.3;
}

body.dark-mode .beyond-education__label {
    color: #ffffff;
}

@media (max-width: 600px) {
    .beyond-education__quote {
        font-size: clamp(12px, 4vw, 15px);
        font-weight: 400;
    }
    .beyond-education__label {
        font-size: clamp(20px, 4vw, 28px);
    }
}

/* Header row */
.t-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.t-modal__quote-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0,184,217,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-modal__quote-icon .material-symbols-outlined {
    font-size: 28px;
    color: var(--accent);
    font-variation-settings: 'FILL' 1;
}

.t-modal__stars {
    display: flex;
    gap: 3px;
}

.t-modal__stars .material-symbols-outlined {
    color: #f59e0b;
    font-size: 20px;
}

/* Body text */
.t-modal__body {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    white-space: pre-line;  /* renders &#10; line breaks */
}

body.dark-mode .t-modal__body { color: #94a3b8; }

/* Author */
.t-modal__author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

body.dark-mode .t-modal__author { border-top-color: rgba(255,255,255,0.07); }

.t-modal__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
    overflow: hidden;
}

.t-modal__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-modal__name {
    font-weight: 700;
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 3px;
}

body.dark-mode .t-modal__name { color: #e2eaf5; }

.t-modal__role {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
}

body.dark-mode .t-modal__role { color: #64748b; }

.t-modal__inst {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    margin-top: 2px;
}

/* ── Academy Leadership Section ── */
.leadership {


    padding: 96px 32px;
    background-color: var(--bg);
    border-top: 1px solid var(--border);
}

@media (min-width: 1024px) { .leadership { padding: 96px 80px; } }

body.dark-mode .leadership {
    background-color: #1a2535;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.leadership__header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 64px;
}

@media (min-width: 568px) {
    .leadership__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.leadership__header-left { max-width: 640px; }

.leadership__eyebrow {
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

body.dark-mode .leadership__eyebrow { color: var(--accent); }

.leadership__title {
    font-family: var(--font-serif);
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.15;
}

@media (min-width: 1024px) { .leadership__title { font-size: 52px; } }

body.dark-mode .leadership__title { color: #e2eaf5; }

.leadership__subtitle {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    max-width: 460px;
}

body.dark-mode .leadership__subtitle { color: #94a3b8; }

.leadership__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--bg-alt);
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.leadership__cta-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(11,60,109,0.2);
}

.leadership__cta-btn .material-symbols-outlined { font-size: 20px; }

body.dark-mode .leadership__cta-btn {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #e2eaf5;
}

body.dark-mode .leadership__cta-btn:hover {
    background-color: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

/* Scroll Wrapper */
.leadership__scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.leadership__arrow {
    position: absolute;
    top: 33%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(53, 88, 114, 0.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.leadership__arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(11,60,109,0.2);
}

.leadership__arrow--left { left: -48px; }
.leadership__arrow--right { right: -48px; }

@media (max-width: 768px) {
    .leadership__arrow--left { left: -35px; width: 36px; height: 36px; }
    .leadership__arrow--right { right: -35px; width: 36px; height: 36px; }
}

body.dark-mode .leadership__arrow {
    background: rgba(23, 36, 52, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    color: #9CD5FF;
}
body.dark-mode .leadership__arrow:hover {
    background: #7AAACE;
    color: #0d1621;
    border-color: #7AAACE;
}

/* Team Grid */
.leadership__grid {
    --grid-gap: clamp(10px, 4vw, 20px);
    display: flex;
    gap: var(--grid-gap);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px 5px;
    max-width: 100%;
}
.leadership__grid::-webkit-scrollbar { display: none; }

.leadership__grid > .member-card {
    /* Desktop: 3 cards */
    flex: 0 0 calc((100% - (2 * var(--grid-gap))) / 3);
    scroll-snap-align: start;
}

@media (max-width: 900px) {
    .leadership__grid > .member-card {
        /* Tablet: 2 cards */
        flex: 0 0 calc((100% - var(--grid-gap)) / 2);
    }
}

@media (max-width: 600px) {
    .leadership__grid > .member-card {
        /* Mobile: 1 card */
        flex: 0 0 100%;
    }
}

/* Member Card */
.member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.85;
    transition: opacity 0.3s;
}

.member-card:hover { opacity: 1; }

.member-card--featured { opacity: 1; }

.member-card__img-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 8px 32px rgba(11,60,109,0.14);
    margin-bottom: 24px;
    transition: transform 0.4s ease, box-shadow 0.3s;
}

.member-card:hover .member-card__img-wrap {
    transform: scale(1.04);
    box-shadow: 0 14px 40px rgba(11,60,109,0.2);
}


.member-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-card__img-wrap img { transform: scale(1.08); }

.member-card__badge {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background-color: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 9999px;
    letter-spacing: 0.03em;
}

.member-card__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

body.dark-mode .member-card__name { color: #e2eaf5; }

.member-card__role {
    font-size: 13px;
    color: var(--text-muted);
}

body.dark-mode .member-card__role { color: #94a3b8; }

/* ── Register / CTA Section ── */
.register {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}
body.dark-mode .register {
    background-color: #0d1621;
}


.register__inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    display: grid;
    gap: 80px;
    align-items: center;
}

/* Card */
.register__card--single {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    position: relative;
}

body.dark-mode .register__card--single {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.register__card--single::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(10px);
}
body.dark-mode .register__card--single::after {
    background: radial-gradient(circle, var(--accent) 0%, #97c6fc 50%);
    opacity: 0.2;
    filter: blur(10px);
}

/* Title */
.register__form-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.15;
}
body.dark-mode .register__form-title {
    color: #e2eaf5;
}

/* Subtitle */
.register__subtitle {
    text-align: center;
    color: #0f233e;
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 1.5;
}
body.dark-mode .register__subtitle {
    color: #94a3b8;
}

/* Form */
.register__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Row layout */
.register__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.register__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register__label {
    font-size: 12px;
    font-weight: 600;
    color: #020b18;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 4px;
}
body.dark-mode .register__label {
    color: #e2eaf5;
}

/* Input styles */
.register__input,
.register__select,
.register__textarea {
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 15px;
    background: rgba(255, 255, 255, 0.05);
    color: #020b18;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.dark-mode .register__input,
body.dark-mode .register__select,
body.dark-mode .register__textarea {
    color: #e2eaf5;
}
.register__input::placeholder,
.register__textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}
body.dark-mode .register__input::placeholder,
body.dark-mode .register__textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.register__select {
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

.register__select option {
    color: #020b18;
}

.register__input:focus,
.register__select:focus,
.register__textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 184, 217, 0.15);
    transform: translateY(-2px);
}

/* Button */
.register__submit {
    margin-top: 10px;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), #0098b3);
    color: #020b18;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 184, 217, 0.2);
}

.register__submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 184, 217, 0.4);
    background: linear-gradient(135deg, #00d2f7, var(--accent));
}

.register__submit:active {
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 1024px) {
    .register__inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .register__info-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }
    
    .register__stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .register {
        padding: 80px 0;
    }
    
    .register__card--single {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .register__row {
        grid-template-columns: 1fr;
    }

    .register__form-title {
        font-size: 26px;
    }
}

/* ── Material Symbols helpers ── */
.material-symbols-outlined.text-3xl  { font-size: 30px; }
.material-symbols-outlined.text-4xl  { font-size: 36px; }
.material-symbols-outlined.text-6xl  { font-size: 60px; }
.material-symbols-outlined.text-xs   { font-size: 14px; }
.material-symbols-outlined.text-sm   { font-size: 16px; }
.material-symbols-outlined.text-\[18px\] { font-size: 18px; }
