/* Sibonga Community College – public website styles (on top of Bootstrap 5.3) */
:root {
    --scc-purple: #432774;
    --scc-purple-dark: #2f1a53;
    --scc-purple-light: #ede8f5;
    --scc-gold: #ffb606;
    --scc-gold-dark: #e6a300;
    --scc-ink: #1f1b2e;
    --scc-muted: #6b6880;
    --bs-primary: #432774;
    --bs-primary-rgb: 67, 39, 116;
    --bs-link-color: #432774;
    --bs-link-color-rgb: 67, 39, 116;
    --bs-link-hover-color: #2f1a53;
    --bs-link-hover-color-rgb: 47, 26, 83;
    --bs-body-color: #2b2740;
    --bs-body-font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-size: 1rem; line-height: 1.65; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-head); font-weight: 600; color: var(--scc-ink); line-height: 1.25; }
img { max-width: 100%; height: auto; }
.text-gold { color: var(--scc-gold) !important; }
.btn { font-weight: 600; border-radius: .5rem; padding: .6rem 1.25rem; }
.btn-primary { --bs-btn-bg: var(--scc-purple); --bs-btn-border-color: var(--scc-purple); --bs-btn-hover-bg: var(--scc-purple-dark); --bs-btn-hover-border-color: var(--scc-purple-dark); --bs-btn-active-bg: var(--scc-purple-dark); --bs-btn-active-border-color: var(--scc-purple-dark); }
.btn-outline-primary { --bs-btn-color: var(--scc-purple); --bs-btn-border-color: var(--scc-purple); --bs-btn-hover-bg: var(--scc-purple); --bs-btn-hover-border-color: var(--scc-purple); --bs-btn-active-bg: var(--scc-purple); --bs-btn-active-border-color: var(--scc-purple); }
.btn-gold { --bs-btn-bg: var(--scc-gold); --bs-btn-border-color: var(--scc-gold); --bs-btn-color: #1f1b2e; --bs-btn-hover-bg: var(--scc-gold-dark); --bs-btn-hover-border-color: var(--scc-gold-dark); --bs-btn-hover-color: #1f1b2e; --bs-btn-active-bg: var(--scc-gold-dark); --bs-btn-active-border-color: var(--scc-gold-dark); --bs-btn-active-color: #1f1b2e; }
.form-control:focus { border-color: #9b84c4; box-shadow: 0 0 0 .25rem rgba(67, 39, 116, .18); }
.badge-cat { background: var(--scc-purple-light); color: var(--scc-purple); font-weight: 600; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: var(--scc-gold); color: #000; padding: .5rem 1rem; border-radius: .5rem; }
.page-link { color: var(--scc-purple); }
.active > .page-link, .page-link.active { background-color: var(--scc-purple); border-color: var(--scc-purple); }

/* Top bar + header */
.topbar { background: var(--scc-purple-dark); color: rgba(255,255,255,.85); font-size: .85rem; padding: .4rem 0; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.topbar a:hover { color: var(--scc-gold); }
.site-header { background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 .35rem 1rem rgba(31, 27, 46, .12); }
.navbar { padding: .5rem 0; }
.navbar-brand img { border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; color: var(--scc-purple); font-size: 1.05rem; }
.brand-sub { font-size: .72rem; color: var(--scc-muted); letter-spacing: .02em; }
.navbar-nav .nav-link { font-weight: 600; color: var(--scc-ink); padding: .6rem .9rem !important; position: relative; white-space: nowrap; }
.navbar .btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav .nav-link { padding: .6rem .6rem !important; font-size: .92rem; }
    .brand-name { font-size: .95rem; }
    .brand-sub { display: none; }
    .navbar .btn { padding: .45rem .9rem; font-size: .9rem; }
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--scc-purple); }
@media (min-width: 992px) {
    .navbar-nav .nav-link.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 3px; border-radius: 2px; background: var(--scc-gold); }
    .navbar-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
.dropdown-menu { border: 0; box-shadow: 0 .5rem 1.5rem rgba(31,27,46,.15); border-radius: .75rem; padding: .5rem; }
.dropdown-item { border-radius: .5rem; padding: .5rem .9rem; font-weight: 500; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--scc-purple-light); color: var(--scc-purple); }
.navbar-toggler { border-color: rgba(67,39,116,.3); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(67,39,116,.2); }

/* Hero carousel */
.hero .carousel-item { position: relative; background: var(--scc-purple-dark); }
.hero .carousel-item img { width: 100%; height: auto; aspect-ratio: 1920 / 800; object-fit: cover; display: block; }
.hero-caption { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(31,27,46,.72) 0%, rgba(31,27,46,.35) 55%, rgba(31,27,46,0) 100%); }
.hero-text { max-width: 640px; color: #fff; }
.hero-title { font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 700; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); margin-bottom: .75rem; }
.hero-sub { font-size: clamp(.95rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.9); margin-bottom: 1.25rem; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 0; }
.hero .carousel-indicators .active { background: var(--scc-gold); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 8%; opacity: .6; }
@media (max-width: 767.98px) {
    .hero .carousel-item img { aspect-ratio: 4 / 3; }
    .hero-caption { align-items: flex-end; background: linear-gradient(180deg, rgba(31,27,46,0) 25%, rgba(31,27,46,.85) 100%); padding-bottom: 2.5rem; }
    .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
}

/* Page banner */
.page-banner { position: relative; background: var(--scc-purple-dark); }
.page-banner img { width: 100%; aspect-ratio: 1920 / 600; object-fit: cover; display: block; max-height: 420px; }
.page-banner-overlay { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(31,27,46,.7), rgba(31,27,46,.2)); }
.page-banner h1 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.75rem); font-weight: 700; margin-bottom: .5rem; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a, .page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.8); }
.page-banner .breadcrumb-item.active { color: var(--scc-gold); }
.page-title-bar { background: var(--scc-purple); color: #fff; padding: 1rem 0; }
.page-title-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 2rem; }
.page-title-bar h1 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; margin: 0; }
.page-title-bar .breadcrumb-item, .page-title-bar .breadcrumb-item a, .page-title-bar .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.75); font-size: .85rem; }
.page-title-bar .breadcrumb-item.active { color: var(--scc-gold); }
.page-title-bar .breadcrumb-item a { text-decoration: none; }
@media (max-width: 767.98px) { .page-banner img { aspect-ratio: 4 / 3; max-height: 300px; } }

/* Sections */
.section { padding: 4.5rem 0; }
@media (max-width: 767.98px) { .section { padding: 3rem 0; } }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head.text-start { text-align: left; }
.eyebrow { font-family: var(--font-head); color: var(--scc-gold-dark); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; margin-bottom: .5rem; }
.section-title { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 700; color: var(--scc-purple); margin-bottom: .75rem; }
.section-sub { color: var(--scc-muted); max-width: 720px; margin: 0 auto; }
.lead-text { font-size: 1.1rem; color: #3f3a55; }
.read-more { font-weight: 600; text-decoration: none; color: var(--scc-purple); }
.read-more:hover { color: var(--scc-gold-dark); }
.quote { border-left: 4px solid var(--scc-gold); padding: .5rem 1rem; font-style: italic; color: #4a4560; margin: 1rem 0; }

/* Stats strip */
.stats-strip { background: var(--scc-purple); color: #fff; padding: 1.5rem 0; }
.stat { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.stat i { font-size: 1.6rem; color: var(--scc-gold); }
.stat strong { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; }
.stat span { font-size: .85rem; color: rgba(255,255,255,.8); }

/* About media */
.about-media { position: relative; padding-bottom: 3rem; padding-right: 2rem; }
.about-main { width: 100%; border-radius: 1.25rem; box-shadow: 0 1rem 2.5rem rgba(31,27,46,.15); }
.about-founder { position: absolute; right: 0; bottom: 0; width: 44%; max-width: 260px; margin: 0; background: #fff; padding: .5rem; border-radius: 1rem; box-shadow: 0 .75rem 2rem rgba(31,27,46,.2); }
.about-founder img { width: 100%; border-radius: .75rem; aspect-ratio: 4/3; object-fit: cover; }
.about-founder figcaption { display: flex; flex-direction: column; padding: .5rem .25rem 0; font-size: .85rem; line-height: 1.2; }
.about-founder figcaption span { color: var(--scc-gold-dark); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }

/* Program cards */
.program-card { position: relative; background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 .4rem 1.25rem rgba(31,27,46,.08); height: 100%; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.program-card:hover { transform: translateY(-4px); box-shadow: 0 1rem 2rem rgba(31,27,46,.15); }
.program-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.program-logo { position: absolute; top: calc(75% * 0.78); right: 1rem; width: 64px; height: 64px; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 .25rem .75rem rgba(0,0,0,.2); transform: translateY(-50%); }
.program-body { padding: 1.5rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.program-body h3 a { text-decoration: none; color: var(--scc-ink); }
.program-body h3 a:hover { color: var(--scc-purple); }
.program-body .read-more { margin-top: auto; }
.program-wide { display: grid; grid-template-columns: 220px 1fr; background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 .4rem 1.25rem rgba(31,27,46,.08); height: 100%; }
.program-wide-img img { width: 100%; height: 100%; object-fit: cover; }
.program-wide-body { padding: 1.5rem; }
.program-wide-body h3 a { text-decoration: none; color: var(--scc-ink); }
@media (max-width: 575.98px) { .program-wide { grid-template-columns: 1fr; } .program-wide-img img { aspect-ratio: 16/9; } }
.program-mini { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid #e9e6f1; border-radius: 1rem; text-decoration: none; color: var(--scc-ink); transition: border-color .2s, transform .2s; height: 100%; }
.program-mini:hover { border-color: var(--scc-purple); transform: translateY(-2px); color: var(--scc-purple); }
.program-mini div { display: flex; flex-direction: column; }
.program-mini strong { color: var(--scc-purple); }
.program-mini span { font-size: .85rem; color: var(--scc-muted); }
.other-programs li + li { margin-top: .5rem; }
.other-programs a { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--scc-ink); font-weight: 500; padding: .5rem; border-radius: .5rem; }
.other-programs a:hover { background: var(--scc-purple-light); color: var(--scc-purple); }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.75rem; position: relative; margin-bottom: .5rem; }
.check-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; color: var(--scc-gold-dark); position: absolute; left: 0; }

/* Video */
.video-section { background: radial-gradient(circle at 20% 20%, #5d3c96 0%, var(--scc-purple-dark) 60%); }
.video-wrap { position: relative; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 1.5rem 3rem rgba(0,0,0,.4); background: #000; }
.video-wrap video { width: 100%; height: auto; display: block; aspect-ratio: 16/9; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--scc-gold); color: #1f1b2e; font-size: 2.6rem; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(255,182,6,.25); transition: transform .2s; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-wrap.playing .video-play { display: none; }

/* News */
.news-card { border: 0; border-radius: 1rem; overflow: hidden; box-shadow: 0 .4rem 1.25rem rgba(31,27,46,.08); transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 1rem 2rem rgba(31,27,46,.15); }
.news-card-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.news-meta { font-size: .8rem; color: var(--scc-muted); margin-bottom: .5rem; }
.news-card h3 a { text-decoration: none; color: var(--scc-ink); }
.news-card h3 a:hover { color: var(--scc-purple); }
.side-box { background: #faf9fc; border: 1px solid #e9e6f1; border-radius: 1rem; padding: 1.5rem; }
.side-title { color: var(--scc-purple); border-bottom: 2px solid var(--scc-gold); padding-bottom: .5rem; margin-bottom: 1rem; }
.announce-list li { padding: .6rem 0; border-bottom: 1px dashed #e0dcea; }
.announce-list li:last-child { border-bottom: 0; }
.announce-list a { display: block; font-weight: 600; text-decoration: none; color: var(--scc-ink); }
.announce-list a:hover { color: var(--scc-purple); }
.announce-list time { font-size: .78rem; color: var(--scc-muted); }
.event-list li { display: flex; gap: .9rem; padding: .6rem 0; border-bottom: 1px dashed #e0dcea; }
.event-list li:last-child { border-bottom: 0; }
.event-list li > div:last-child { display: flex; flex-direction: column; }
.event-list strong { color: var(--scc-ink); }
.event-list small { color: var(--scc-muted); }
.date-box { flex: 0 0 56px; height: 56px; border-radius: .6rem; background: var(--scc-purple); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.date-box .m { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.date-box .d { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; }
.date-box.pinned { background: var(--scc-gold); color: #1f1b2e; }
.announce-card { display: flex; gap: 1.25rem; padding: 1.25rem; background: #fff; border: 1px solid #e9e6f1; border-radius: 1rem; margin-bottom: 1rem; }
.announce-card h2 a { text-decoration: none; color: var(--scc-ink); }
.announce-card h2 a:hover { color: var(--scc-purple); }
.article-title { font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--scc-purple); }
.article-body { font-size: 1.05rem; }
.article-body img { max-width: 100%; height: auto; border-radius: .75rem; }
.article-body h2, .article-body h3, .article-body h4 { margin-top: 1.5rem; }
.article-body blockquote { border-left: 4px solid var(--scc-gold); padding-left: 1rem; color: #4a4560; }

/* Facilities */
.facility-card { display: block; position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 4/3; background: var(--scc-purple-dark); text-decoration: none; }
.facility-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.facility-card:hover img { transform: scale(1.06); }
.facility-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1rem .9rem; color: #fff; font-weight: 600; background: linear-gradient(180deg, rgba(31,27,46,0), rgba(31,27,46,.85)); }
.facility-section { padding: 2.5rem 0; border-top: 1px solid #e9e6f1; }
.facility-section:first-of-type { border-top: 0; }
.facility-icon { width: 56px; height: 56px; border-radius: 1rem; display: grid; place-items: center; font-size: 1.6rem; background: var(--scc-purple-light); color: var(--scc-purple); margin-bottom: 1rem; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; gap: .6rem; }
.photo-grid a { display: block; border-radius: .75rem; overflow: hidden; background: #eee; }
.photo-grid a.big { grid-column: span 2; grid-row: span 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-grid a:hover img { transform: scale(1.05); }
@media (max-width: 575.98px) { .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; } }

/* Galleries */
.gallery-card { display: block; position: relative; border-radius: 1rem; overflow: hidden; aspect-ratio: 4/3; background: var(--scc-purple-dark); text-decoration: none; }
.gallery-card.tall { aspect-ratio: 3/2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1rem .9rem; color: #fff; font-weight: 600; background: linear-gradient(180deg, rgba(31,27,46,0), rgba(31,27,46,.85)); display: flex; flex-direction: column; }
.gallery-label small { font-weight: 400; opacity: .85; font-size: .78rem; }
.masonry { columns: 3 260px; column-gap: .75rem; }
.masonry a { display: block; margin-bottom: .75rem; break-inside: avoid; border-radius: .75rem; overflow: hidden; background: #eee; }
.masonry img { width: 100%; display: block; transition: transform .3s; }
.masonry a:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(15, 10, 30, .94); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: .5rem; box-shadow: 0 1rem 3rem rgba(0,0,0,.6); }
.lb-figure figcaption { color: rgba(255,255,255,.85); margin-top: .75rem; font-size: .9rem; text-align: center; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; display: grid; place-items: center; }
.lb-close:hover, .lb-nav:hover { background: var(--scc-gold); color: #1f1b2e; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
[data-lightbox] { cursor: zoom-in; }

/* People */
.person-card { text-align: center; }
.person-card img { width: 100%; max-width: 180px; aspect-ratio: 320/353; object-fit: cover; border-radius: 1rem; background: var(--scc-purple-light); box-shadow: 0 .4rem 1rem rgba(31,27,46,.1); margin-bottom: .75rem; }
.person-card h3 { margin-bottom: .15rem; font-size: .95rem; }
.person-card p { font-size: .8rem; color: var(--scc-muted); margin: 0; }
.group-title { color: var(--scc-purple); border-left: 4px solid var(--scc-gold); padding-left: .75rem; margin-bottom: 1.5rem; }
.orgchart-img { max-height: 70vh; width: auto; max-width: 100%; }

/* VMGO */
.vm-card { background: #fff; border-radius: 1.25rem; padding: 2rem; height: 100%; border-top: 5px solid var(--scc-gold); box-shadow: 0 .5rem 1.5rem rgba(31,27,46,.08); }
.vm-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--scc-purple); color: var(--scc-gold); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; }
.vm-tabs .nav-link { color: var(--scc-ink); font-weight: 600; border-radius: 2rem; }
.vm-tabs .nav-link.active { background: var(--scc-purple); color: #fff; }
.vm-content { background: #faf9fc; border: 1px solid #e9e6f1; border-radius: 1.25rem; padding: 2rem; }
.goal-list { counter-reset: goal; list-style: none; padding: 0; }
.goal-list li { counter-increment: goal; position: relative; padding-left: 2.75rem; margin-bottom: .75rem; }
.goal-list li::before { content: "3." counter(goal); position: absolute; left: 0; top: 0; font-family: var(--font-head); font-weight: 700; color: var(--scc-gold-dark); }
.acro-list { list-style: none; padding: 0; }
.acro-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: .75rem; }
.acro-list span { flex: 0 0 44px; height: 44px; border-radius: .75rem; background: var(--scc-purple); color: var(--scc-gold); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }
.value-card { background: #fff; border-radius: 1rem; padding: 1.5rem; height: 100%; border: 1px solid #e9e6f1; }
.value-card i { font-size: 2rem; color: var(--scc-gold-dark); }
.value-card p { font-size: .9rem; color: var(--scc-muted); margin: 0; }

/* About */
.timeline { border-left: 3px solid var(--scc-purple-light); padding-left: 1.25rem; }
.tl-item { display: flex; gap: 1rem; margin-bottom: 1rem; position: relative; }
.tl-item::before { content: ""; position: absolute; left: calc(-1.25rem - 8px); top: .35rem; width: 13px; height: 13px; border-radius: 50%; background: var(--scc-gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--scc-purple-light); }
.tl-year { flex: 0 0 64px; font-family: var(--font-head); font-weight: 700; color: var(--scc-purple); }
.seal-img { max-width: 360px; }
.seal-list { list-style: none; padding: 0; }
.seal-list li { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.seal-list img { flex: 0 0 72px; width: 72px; height: 72px; object-fit: contain; border-radius: .75rem; background: #fff; border: 1px solid #e9e6f1; padding: .25rem; }
.founder-box { background: var(--scc-purple-light); border-radius: 1.5rem; padding: 2rem; margin: 0; }

/* Admission */
.req-list { list-style: none; padding: 0; }
.req-list li { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; background: #fff; border: 1px solid #e9e6f1; border-radius: .9rem; margin-bottom: .6rem; }
.req-list i { font-size: 1.4rem; color: var(--scc-purple); }
.req-list div { display: flex; flex-direction: column; }
.req-list small { color: var(--scc-muted); }
.step-card { background: #fff; border-radius: 1.25rem; padding: 2rem 1.5rem; height: 100%; box-shadow: 0 .4rem 1.25rem rgba(31,27,46,.08); position: relative; }
.step-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--scc-gold); color: #1f1b2e; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 1rem; }

/* Calendar */
.cal { background: #fff; border: 1px solid #e9e6f1; border-radius: 1.25rem; padding: 1.25rem; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cal-head h2 { color: var(--scc-purple); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--scc-muted); padding: .35rem 0; }
.cal-day { min-height: 86px; border: 1px solid #efedf5; border-radius: .5rem; padding: .3rem; font-size: .8rem; position: relative; background: #fff; }
.cal-day.out { background: #faf9fc; color: #b8b4c8; }
.cal-day.today { border-color: var(--scc-gold); box-shadow: inset 0 0 0 1px var(--scc-gold); }
.cal-day .n { font-weight: 600; display: block; margin-bottom: .2rem; }
.cal-ev { display: block; font-size: .7rem; line-height: 1.2; padding: .15rem .3rem; border-radius: .3rem; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; background: var(--scc-purple); }
.cal-ev.cat-event { background: #0d8a6a; } .cal-ev.cat-holiday { background: #c0392b; } .cal-ev.cat-exam { background: #d35400; } .cal-ev.cat-enrollment { background: #1f6fb2; } .cal-ev.cat-other { background: #6c6880; }
.date-box.cat-event { background: #0d8a6a; } .date-box.cat-holiday { background: #c0392b; } .date-box.cat-exam { background: #d35400; } .date-box.cat-enrollment { background: #1f6fb2; } .date-box.cat-other { background: #6c6880; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; font-size: .78rem; color: var(--scc-muted); }
.cal-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; background: var(--scc-purple); }
.cal-legend .cat-event::before { background: #0d8a6a; } .cal-legend .cat-holiday::before { background: #c0392b; } .cal-legend .cat-exam::before { background: #d35400; } .cal-legend .cat-enrollment::before { background: #1f6fb2; } .cal-legend .cat-other::before { background: #6c6880; }
.cal-month-list { margin-top: 1.25rem; }
.cal-month-list .item { display: flex; gap: .75rem; padding: .5rem 0; border-top: 1px dashed #e0dcea; font-size: .9rem; }
.cal-month-list .item .when { flex: 0 0 150px; color: var(--scc-muted); }
@media (max-width: 575.98px) { .cal-day { min-height: 58px; } .cal-ev { font-size: 0; height: 6px; padding: 0; border-radius: 3px; } .cal-month-list .item { flex-direction: column; gap: .1rem; } }

/* Contact */
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-list i { font-size: 1.3rem; color: var(--scc-gold-dark); width: 36px; height: 36px; border-radius: .75rem; background: var(--scc-purple-light); display: grid; place-items: center; flex: 0 0 36px; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list strong { color: var(--scc-ink); }
.contact-list a { text-decoration: none; }
.form-card { background: #fff; border: 1px solid #e9e6f1; border-radius: 1.25rem; padding: 2rem; box-shadow: 0 .5rem 1.5rem rgba(31,27,46,.06); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.map-section iframe { display: block; filter: saturate(.9); }

/* Portals */
.portal-card { display: block; position: relative; border-radius: 1.5rem; overflow: hidden; aspect-ratio: 1; text-decoration: none; background: var(--scc-purple-dark); }
.portal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.portal-card:hover img { transform: scale(1.05); }
.portal-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.5rem 1.5rem; background: linear-gradient(180deg, rgba(31,27,46,0), rgba(31,27,46,.9)); color: #fff; display: flex; flex-direction: column; }
.portal-label i { font-size: 1.8rem; color: var(--scc-gold); }
.portal-label strong { font-family: var(--font-head); font-size: 1.4rem; }
.portal-label small { opacity: .85; }

/* CTA + footer */
.cta-band { background: linear-gradient(100deg, var(--scc-purple) 0%, #5d3c96 100%); padding: 3rem 0; }
.site-footer { background: var(--scc-purple-dark); color: rgba(255,255,255,.8); padding: 3.5rem 0 0; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--scc-gold); }
.footer-title { font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; color: var(--scc-gold); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; font-size: .92rem; }
.site-footer .social { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); }
.site-footer .social:hover { background: var(--scc-gold); color: #1f1b2e; }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 2.5rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--scc-gold); color: #1f1b2e; box-shadow: 0 .5rem 1rem rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 1030; }
.back-to-top.show { opacity: 1; pointer-events: auto; }

/* Error page */
.error-body { min-height: 100vh; display: grid; place-items: center; background: #faf9fc; padding: 1rem; }
.error-box { text-align: center; max-width: 520px; }
.error-box h1 { color: var(--scc-purple); font-size: 2.5rem; }

/* Compact header on phones so the brand and menu toggle share one row */
@media (max-width: 575.98px) {
    .navbar-brand img { width: 40px; height: 40px; }
    .brand-name { font-size: .9rem; }
    .brand-sub { display: none; }
    .navbar-toggler { padding: .3rem .5rem; }
    .navbar-toggler-icon { width: 1.3em; height: 1.3em; }
}
