/* ==================================================
   GOOGLE FONTS
================================================== */

/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Poppins:wght@300;400;500;600;700&display=swap');


/* ==================================================
   ROOT VARIABLES
================================================== */

:root {
    --csi-green: #2a1d9e;
    --csi-green-dark: #b80909;
    /* --csi-green-dark: #0a0850; */
    --csi-green-mid: #6e0f0f;
    --csi-green-light: #e1e9f5;
    --csi-gold: #fa0000;

    --csi-red: #b80909;

    --csi-navy: #0a0850;

    --csi-gold: #F5C518;
    --csi-gold-dark: #D4A017;

    --csi-text: #1a1a1a;
    --csi-muted: #5a6472;

    --csi-border: rgba(0, 0, 0, 0.09);

    --csi-bg-soft: #f7f9f8;
}


/* ==================================================
   GLOBAL TYPOGRAPHY
================================================== */

/* body {
    font-family: 'DM Sans', sans-serif;
    color: var(--csi-text);
} */

body {
    font-family: 'Poppins', sans-serif;
    color: var(--csi-text);
}

/* h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
} */

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Libre Baskerville', serif;
}


/* ==================================================
   NAVBAR
================================================== */

.navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--csi-border);
    transition: box-shadow 0.3s;
    padding: 10px 0;
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    height: 88px;
    width: auto;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--csi-muted) !important;
    border-radius: 8px;
    padding: 7px 14px !important;
    transition:
        color 0.2s,
        background 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--csi-green) !important;
    background: var(--csi-green-light);
}

.nav-cta {
    background: var(--csi-green-dark) !important;
    color: #fff !important;
}

.nav-cta:hover {
    background: var(--csi-green-mid) !important;
}


/* ==================================================
   BUTTONS
================================================== */

.btn-csi-gold {
    background: var(--csi-gold);
    color: #1a1a1a;
    font-weight: 600;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    transition:
        background 0.2s,
        transform 0.2s;
}

.btn-csi-gold:hover {
    background: var(--csi-gold-dark);
    transform: translateY(-2px);
    color: #1a1a1a;
}

.btn-csi-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 500;
    transition:
        border-color 0.2s,
        background 0.2s;
}

.btn-csi-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-csi-green {
    background: var(--csi-green-dark);
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 10px;
    border: none;
    transition:
        background 0.2s,
        transform 0.2s;
}

.btn-csi-green:hover {
    background: var(--csi-green-mid);
    transform: translateY(-2px);
    color: #fff;
}


/* ==================================================
   HERO SECTION
================================================== */

.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url('../images/hero.jpg')
        center top / cover
        no-repeat;
    filter: brightness(0.32);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(8, 21, 80, 0.88) 0%,
            rgba(26, 42, 74, 0.65) 100%
        );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: rgba(245, 197, 24, 0.2);
    border: 1px solid rgba(245, 197, 24, 0.4);
    color: var(--csi-gold);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: clamp(32px, 5.5vw, 62px);
    color: #fff;
    line-height: 1.2;
}

.hero-section h1 span {
    color: var(--csi-gold);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    max-width: 560px;
}


/* -- -- */
.hero-stats-bar { position: relative; z-index: 2; background: rgba(255,255,255,.06); border-top: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); padding: 24px 0; }
.hero-stat strong { font-family: serif; font-size: 30px; color: var(--csi-gold); display: block; line-height: 1; }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(135deg, var(--csi-navy) 0%, var(--csi-navy) 100%); padding: 130px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(28px,4vw,48px); }
.page-hero .lead { color: rgba(255,255,255,.75); }
.breadcrumb-item a { color: var(--csi-gold); text-decoration: none; }
.breadcrumb-item.active, .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ── SECTION LABELS ── */
.section-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--csi-green); }

/* ── CARDS ── */
.csi-card { background: #fff; border: 1px solid var(--csi-border); border-radius: 16px; transition: transform .25s, box-shadow .25s; }
.csi-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.09); }
.icon-box { width: 52px; height: 52px; background: var(--csi-green-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; }

/* ── UNIT CARDS ── */
.unit-header { padding: 28px; border-radius: 16px 16px 0 0; }
.unit-header.bg-csi-green { background: var(--csi-green-dark); }
.unit-header.bg-csi-navy  { background: var(--csi-navy); }
.unit-header.bg-csi-gold  { background: var(--csi-gold); }
.unit-header h4 { color: #fff; }
.unit-header p  { color: rgba(255,255,255,.7); font-size: 13px; }
.unit-body { padding: 20px 28px; }
.unit-body li { font-size: 14px; color: var(--csi-muted); padding: 6px 0; border-bottom: 1px solid var(--csi-border); display: flex; align-items: center; gap: 8px; }
.unit-body li:last-child { border-bottom: none; }
.unit-body li::before { content: '✓'; color: var(--csi-green); font-weight: 700; }

/* ── WHO WE ARE ── */
.who-img { width: 100%; height: 460px; object-fit: cover; border-radius: 16px; }
.who-badge { position: absolute; bottom: -16px; right: -16px; background: var(--csi-green-dark); color: #fff; padding: 18px 22px; border-radius: 12px; text-align: center; box-shadow: 0 8px 28px rgba(8,80,65,.3); }
.who-badge strong { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--csi-gold); display: block; line-height: 1; }
.who-badge small { font-size: 12px; opacity: .85; }

/* ── FOUNDER ── */
.founder-img { width: 100%; height: 500px; object-fit: cover; object-position: top; border-radius: 16px; }
.founder-tag { position: absolute; bottom: 16px; left: 16px; background: var(--csi-green-dark); color: #fff; padding: 12px 16px; border-radius: 10px; }
.founder-tag strong { display: block; font-size: 14px; }
.founder-tag small { font-size: 12px; opacity: .8; }

/* ── STAT MINI CARDS ── */
.stat-mini { background: var(--csi-green-light); border-radius: 12px; padding: 18px; text-align: center; }
.stat-mini strong { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--csi-green-dark); display: block; }
.stat-mini small { font-size: 13px; color: var(--csi-muted); }

/* ── VALUE CARDS ── */
.value-card { background: #fff; border: 1px solid var(--csi-border); border-radius: 14px; padding: 24px 20px; text-align: center; height: 100%; }

/* ── PROGRAM CARDS ── */
.program-header { padding: 28px; border-radius: 16px 16px 0 0; }
.program-header.bg-dark-green { background: var(--csi-green-dark); }
.program-header.bg-dark-navy  { background: var(--csi-navy); }
.program-header.bg-dark-gold  { background: var(--csi-gold); }
.program-header h4 { color: #fff; }
.program-header p  { color: rgba(255,255,255,.7); font-size: 13px; margin: 0; }
.program-body { padding: 20px 24px; }
.program-body li { font-size: 14px; color: var(--csi-muted); padding: 6px 0; border-bottom: 1px solid var(--csi-border); display: flex; gap: 8px; }
.program-body li:last-child { border-bottom: none; }
.program-body li::before { content: '→'; color: var(--csi-green); flex-shrink: 0; }

/* ── EVENTS ── */
.event-date-col { background: var(--csi-green-dark); border-radius: 14px 0 0 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 20px; text-align: center; min-width: 140px; }
.event-date-col .ev-month { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--csi-gold); }
.event-date-col .ev-day   { font-family: 'Playfair Display', serif; font-size: 52px; color: #fff; line-height: 1; }
.event-date-col .ev-year  { font-size: 13px; color: rgba(255,255,255,.6); }
.event-tag { display: inline-block; background: var(--csi-green-light); color: var(--csi-green-dark); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 100px; }
.track-badge { background: var(--csi-bg-soft); border: 1px solid var(--csi-border); font-size: 12px; padding: 4px 12px; border-radius: 100px; color: var(--csi-muted); }
.btn-register { display: inline-block; background: var(--csi-green-dark); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 22px; border-radius: 8px; text-decoration: none; transition: background .2s, transform .2s; }
.btn-register:hover { background: var(--csi-green-mid); transform: translateY(-1px); color: #fff; }
@media (max-width: 576px) {
  .event-date-col { border-radius: 14px 14px 0 0; flex-direction: row; gap: 12px; min-width: unset; padding: 16px 20px; }
  .event-date-col .ev-day { font-size: 36px; }
}

/* ── MEDIA GALLERY ── */
.gallery-item { border-radius: 14px; overflow: hidden; position: relative; aspect-ratio: 1; background: var(--csi-bg-soft); border: 1px solid var(--csi-border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(8,80,65,.85)); opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: 16px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-size: 13px; font-weight: 500; }
.gallery-placeholder { border: 1px dashed var(--csi-border); background: var(--csi-bg-soft); border-radius: 14px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--csi-muted); font-size: 13px; text-align: center; padding: 16px; }

/* ── CONTACT ── */
.contact-icon-box { width: 44px; height: 44px; background: var(--csi-green-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-form-wrap { background: #fff; border: 1px solid var(--csi-border); border-radius: 16px; padding: 36px; }
.form-control, .form-select { background: var(--csi-bg-soft); border: 1.5px solid var(--csi-border); border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 14px; padding: 11px 14px; transition: border-color .2s, background .2s; }
.form-control:focus, .form-select:focus { border-color: var(--csi-green); background: #fff; box-shadow: 0 0 0 3px rgba(29,158,117,.12); }
.form-label { font-size: 13px; font-weight: 600; }
.alert-csi-success { background: var(--csi-green-light); color: var(--csi-green-dark); border: 1px solid var(--csi-green); border-radius: 8px; padding: 14px 18px; font-size: 14px; }
.alert-csi-error { background: #fdeaea; color: #9b2222; border: 1px solid #f5a0a0; border-radius: 8px; padding: 14px 18px; font-size: 14px; }
.social-icon-link { width: 40px; height: 40px; border: 1px solid var(--csi-border); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: var(--csi-muted); text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.social-icon-link:hover { background: var(--csi-green-light); border-color: var(--csi-green); color: var(--csi-green-dark); }

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(135deg, var(--csi-green-dark) 0%, var(--csi-navy) 100%); }

/* ── FOOTER ── */
footer { background: #0a0f1a; }
.footer-brand img { height: 50px; filter: brightness(0) invert(1); }
.footer-col-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--csi-gold); margin-bottom: 16px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 9px; }
footer ul li a { font-size: 14px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
footer ul li a:hover { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,.08); }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); margin: 0; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(255,255,255,.55); text-decoration: none; transition: border-color .2s, color .2s; }
.footer-social a:hover { border-color: var(--csi-gold); color: var(--csi-gold); }

/* ── FADE-UP ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── BG SOFT ── */
.bg-csi-soft { background: var(--csi-bg-soft); }
