/* ================================================================
   AURELIA ACADEMY — Public Site Stylesheet
   Font: Plus Jakarta Sans · Bootstrap 5 base
   ================================================================ */

/* ── Page Hero (used on every inner page) ────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #001a35 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-eyebrow {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    padding: .3rem .9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero p.lead { color: rgba(255,255,255,.75); max-width: 580px; }

/* Breadcrumb inside hero */
.hero-breadcrumb { font-size: .8rem; opacity: .65; margin-bottom: 1rem; }
.hero-breadcrumb a { color: #fff; text-decoration: none; }
.hero-breadcrumb a:hover { text-decoration: underline; }
.hero-breadcrumb .sep { margin: 0 .4rem; }

/* ── Section spacing ─────────────────────────────────────────── */
.section-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-bottom: .6rem;
    display: block;
}

/* ── Cards (generic) ─────────────────────────────────────────── */
.card-lift {
    transition: transform .25s cubic-bezier(.4,0,.2,1), box-shadow .25s;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
}
.card-lift:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }

/* ── Step / process list ──────────────────────────────────────── */
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bs-primary);
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.step-item + .step-item { margin-top: 1.5rem; }
.step-item h6 { font-weight: 700; margin-bottom: .25rem; }

/* ── Stat boxes ──────────────────────────────────────────────── */
.stat-box {
    background: var(--bs-tertiary-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}
.stat-box .stat-num { font-size: 2rem; font-weight: 800; color: var(--bs-primary); line-height: 1; }
.stat-box .stat-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bs-secondary-color); margin-top: .4rem; }

/* ── Info sidebar box ─────────────────────────────────────────── */
.info-box {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    padding: 2rem;
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--bs-border-color);
    font-size: .875rem;
}
.info-row:last-child { border-bottom: none; }
.info-row .label { font-weight: 600; color: var(--bs-secondary-color); white-space: nowrap; }
.info-row .value { font-weight: 500; text-align: right; }

/* ── Tag / badge pills ───────────────────────────────────────── */
.tag-pill {
    display: inline-block;
    padding: .25rem .75rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    color: var(--bs-secondary-color);
}

/* ── Feature card (icon + title + text) ──────────────────────── */
.feature-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    transition: border-color .2s, box-shadow .2s;
    background: var(--bs-body-bg);
}
.feature-card:hover { border-color: var(--bs-primary); box-shadow: 0 8px 24px rgba(13,110,253,.08); }
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}

/* ── News / announcement card ────────────────────────────────── */
.news-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
    background: var(--bs-body-bg);
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.news-card-thumb {
    height: 200px;
    background: linear-gradient(135deg, var(--bs-primary), #001a35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,.2);
    flex-shrink: 0;
}
.news-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bs-secondary-color); margin-bottom: .5rem; }
.news-title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: .75rem; }
.news-excerpt { font-size: .875rem; color: var(--bs-secondary-color); line-height: 1.65; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Event row ───────────────────────────────────────────────── */
.event-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .875rem;
    background: var(--bs-body-bg);
    transition: border-color .2s, box-shadow .2s;
}
.event-row:hover { border-color: var(--bs-primary); box-shadow: 0 4px 16px rgba(13,110,253,.08); }
.event-date { text-align: center; min-width: 56px; }
.event-date .day { font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--bs-primary); }
.event-date .mon { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bs-secondary-color); }
.event-row .divider { width: 1px; height: 40px; background: var(--bs-border-color); flex-shrink: 0; }
.event-type-pill {
    display: inline-block;
    padding: .15rem .6rem;
    border-radius: 100px;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .25rem;
    color: #fff;
}

/* ── Contact methods ─────────────────────────────────────────── */
.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: .75rem;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ── Gallery grid ────────────────────────────────────────────── */
.gallery-tile {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    transition: transform .25s, box-shadow .25s;
}
.gallery-tile:hover { transform: scale(1.02); box-shadow: 0 12px 32px rgba(0,0,0,.15); }
.gallery-tile-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1.5rem;
    text-align: center;
}
.gallery-tile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,110,253,.85);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    color: #fff;
    transition: opacity .25s;
}
.gallery-tile:hover .gallery-tile-overlay { opacity: 1; }

/* ── Policy card ─────────────────────────────────────────────── */
.policy-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    background: var(--bs-body-bg);
    border-top: 3px solid var(--bs-primary);
    transition: box-shadow .2s;
}
.policy-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }

/* ── Vacancy card ────────────────────────────────────────────── */
.vacancy-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .875rem;
    background: var(--bs-body-bg);
    transition: border-color .2s;
    flex-wrap: wrap;
}
.vacancy-card:hover { border-color: var(--bs-primary); }

/* ── Curriculum level pill ───────────────────────────────────── */
.curriculum-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    height: 100%;
    background: var(--bs-body-bg);
    overflow: hidden;
}
.curriculum-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bs-primary), #001a35);
    color: #fff;
}

/* ── Dark mode tweaks ────────────────────────────────────────── */
[data-bs-theme="dark"] .feature-card,
[data-bs-theme="dark"] .news-card,
[data-bs-theme="dark"] .event-row,
[data-bs-theme="dark"] .contact-method,
[data-bs-theme="dark"] .policy-card,
[data-bs-theme="dark"] .vacancy-card,
[data-bs-theme="dark"] .curriculum-card {
    border-color: rgba(255,255,255,.1);
}
[data-bs-theme="dark"] .stat-box { background: rgba(255,255,255,.05); }
[data-bs-theme="dark"] .info-box { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
[data-bs-theme="dark"] .gallery-tile { border-color: rgba(255,255,255,.1); }

/* ── Utility ─────────────────────────────────────────────────── */
.tracking-wide { letter-spacing: .06em; }
.lh-relaxed { line-height: 1.75; }
