:root {
    --primary:       #550000;
    --primary-dark:  #3d0000;
    --primary-light: #7a1a1a;
    --primary-soft:  #fce9e9;
    --gold:      #c9933a;
    --gold-soft: #fdf3e3;
    --white:     #ffffff;
    --off-white: #fefafc;
    --text-dark: #2c1810;
    --gray-light: #f5f5f5;
    --shadow-sm: 0 4px 12px rgba(85, 0, 0, 0.1);
    --shadow-md: 0 8px 20px rgba(85, 0, 0, 0.15);
    --shadow-lg: 0 16px 32px rgba(85, 0, 0, 0.2);
    --transition: 0.25s ease;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Lato', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; }
}
body {
    font-family: var(--font-body);
    background-color: var(--off-white);
    color: var(--text-dark);
    line-height: 1.65;
    font-size: 1rem;
}

.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--primary); color: white;
    padding: 8px 16px; text-decoration: none; z-index: 1001; transition: top 0.2s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.tab-nav {
    background-color: var(--primary);
    padding: 0.8rem 1.5rem;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-container {
    max-width: 1600px; margin: 0 auto;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 0.75rem;
}

.logo {
    color: var(--white); font-size: 1.3rem; font-weight: 700;
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-display);
}
/* ✏️ EDIT: Nav logo image size */
.nav-logo-img {
    height: 60px; width: 60px;
    object-fit: contain; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent; flex-shrink: 0;
}
.hero-logo-img {
    height: 250px; width: 250px;
    object-fit: contain; border-radius: 125%;
    background: transparent; vertical-align: middle;
    margin-right: 0.3rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.inline-logo {
    height: 30px; width: 30px;
    object-fit: contain; border-radius: 50%;
    background: transparent; vertical-align: middle;
    margin-right: 0.3rem;
}
.strip-logo {
    height: 44px; width: 44px;
    object-fit: contain; border-radius: 50%;
    background: transparent; flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.section-logo {
    height: 90px; width: 90px;
    object-fit: contain; border-radius: 50%;
    background: transparent; display: block;
    margin: 0 auto 1rem;
}
.footer-logo-img {
    height: 80px; width: 80px;
    object-fit: contain; border-radius: 50%;
    background: transparent; margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.tab-btn {
    background: transparent; border: none; color: var(--white);
    padding: 0.5rem 0.9rem; font-size: 0.82rem; font-weight: 700;
    cursor: pointer; border-radius: 30px; transition: all var(--transition);
    font-family: var(--font-body); letter-spacing: 0.3px;
}
.tab-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }
.tab-btn.active { background: var(--white); color: var(--primary); }

.store-link {
    background: rgba(255,255,255,0.15); color: var(--white);
    padding: 0.5rem 0.9rem; border-radius: 30px; text-decoration: none;
    font-weight: 700; font-size: 0.82rem;
    display: inline-flex; align-items: center; gap: 0.35rem;
    transition: all var(--transition); border: 1px solid rgba(255,255,255,0.3);
}
.store-link:hover { background: var(--white); color: var(--primary); }

.portal-nav-btn {
    background: var(--gold); color: var(--white);
    border: none; padding: 0.5rem 0.9rem; border-radius: 30px;
    font-size: 0.82rem; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.35rem;
    transition: all var(--transition); font-family: var(--font-body);
}
.portal-nav-btn:hover { background: #a97a25; transform: translateY(-1px); }
.portal-nav-btn.active { background: var(--white); color: var(--gold); }

.hamburger {
    display: none; flex-direction: column; justify-content: center;
    gap: 5px; background: transparent; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
    .hamburger { display: flex; }
    .tabs { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: 0.5rem 0; }
    .tabs.open { display: flex; }
    .tab-btn, .store-link, .portal-nav-btn { width: 100%; text-align: left; justify-content: flex-start; }
}

/* ============================================================
   MAIN CONTENT WRAPPER
   Non-intro sections get their own full-bleed background treatment,
   so the wrapper has no max-width constraint for those sections.
   ============================================================ */
.main-content { max-width: 1600px; margin: 0 auto; padding: 0; }

/* ============================================================
   SECTION BASE — full-width background image on all non-intro sections
   ✏️ EDIT: Change the rgba overlay values to adjust how strongly the
             background shows through. Lower = more visible background.
             0.88 = subtle texture, good readability (current setting).
             Change background-attachment to 'scroll' if parallax causes
             issues on older mobile devices.
   ============================================================ */
.section {
    display: none;
    animation: fadeIn 0.4s ease;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);  /* full bleed trick */
    background:
        linear-gradient(rgba(254,250,252,0.88), rgba(254,250,252,0.88)),
        url('background.jpg') center center / cover fixed;
    padding: 2.5rem calc(50vw - 50% + 2.5rem);  /* restore inner padding */
}
.section.active-section { display: block; }

/* Intro section keeps its own hero banner — no background override */
#intro {
    background: none;
    width: auto;
    margin-left: 0;
    padding: 1.5rem;
}
@media (min-width: 768px) {
    #intro { padding: 2.5rem; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.section-heading {
    font-size: 2rem; color: var(--primary); text-align: center;
    margin-bottom: 2rem; font-family: var(--font-display);
}
@media (min-width: 768px) { .section-heading { font-size: 2.8rem; } }

/* ============================================================
   INTRODUCTION — HERO BANNER (replaces old .header)
   ✏️ EDIT: background.jpg is the hero image. Replace with any
             wide photo. Adjust min-height to make it taller/shorter.
   ============================================================ */
.hero-banner {
    position: relative;
    min-height: 480px;
    background: url('background.jpg') center center / cover no-repeat;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
/* Dark overlay so text stays readable over any photo */
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(55,0,0,0.78) 0%, rgba(85,0,0,0.55) 60%, rgba(0,0,0,0.3) 100%);
}
.hero-content {
    position: relative; z-index: 1;
    text-align: center; color: white;
    padding: 3rem 2rem; max-width: 900px;
}
/* ✏️ EDIT: Hero headline size */
.hero-content h1 {
    font-family: var(--font-display);
    font-size: 2.6rem; letter-spacing: 2px; margin-bottom: 0.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-sub { font-size: 1.1rem; font-style: italic; opacity: 0.9; margin-bottom: 0.4rem; }
.hero-tag { font-size: 0.9rem; opacity: 0.75; margin-bottom: 1rem; }
.hero-reg {
    display: inline-block; background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.4); border-radius: 30px;
    padding: 0.35rem 1rem; font-size: 0.85rem; margin-bottom: 1.5rem;
}
.hero-btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.hero-cta-primary {
    background: var(--white); color: var(--primary);
    border: none; padding: 0.75rem 2rem; border-radius: 30px;
    font-size: 0.95rem; font-weight: 700; cursor: pointer;
    font-family: var(--font-body); transition: all var(--transition);
}
.hero-cta-primary:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hero-cta-secondary {
    background: transparent; color: white;
    border: 2px solid rgba(255,255,255,0.7); padding: 0.75rem 2rem;
    border-radius: 30px; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; font-family: var(--font-body); transition: all var(--transition);
}
.hero-cta-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
@media (min-width: 768px) {
    .hero-banner { min-height: 560px; }
    .hero-content h1 { font-size: 3.8rem; }
    .hero-sub { font-size: 1.4rem; }
}

/* Keep old .header class as fallback (used nowhere in new intro but keep for safety) */
.header {
    background: var(--primary);
    color: var(--white); text-align: center;
    padding: 2.5rem 1.5rem; border-radius: var(--radius-lg); margin-bottom: 1.5rem;
}
.header h1 { font-size: 2.2rem; letter-spacing: 2px; font-family: var(--font-display); margin-bottom: 0.4rem; }
.header .subhead { font-size: 1rem; font-style: italic; opacity: 0.85; }
.header div { font-size: 0.9rem; margin-top: 0.4rem; opacity: 0.75; }

.verse-block {
    background: var(--white); text-align: center; padding: 1.5rem;
    border: 2px solid var(--primary); border-radius: var(--radius-lg);
    margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.verse-block p { font-size: 1.2rem; color: var(--primary); font-family: var(--font-display); line-height: 1.5; font-style: italic; }
.verse-block span { font-size: 0.9rem; color: var(--primary-light); display: block; margin-top: 0.5rem; }
@media (min-width: 768px) { .verse-block p { font-size: 1.7rem; } }

/* ============================================================
   WELCOME + PHOTO MOSAIC (FHJ-inspired split layout)
   ✏️ EDIT: Change .wp-main height to make the main photo taller.
   ============================================================ */
.welcome-mosaic {
    display: flex; flex-wrap: wrap; gap: 2rem;
    margin-bottom: 2rem; align-items: flex-start;
}
.welcome-text {
    flex: 1 1 320px;
    display: flex; flex-direction: column; gap: 1rem;
}
.welcome-eyebrow {
    font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold);
}
.welcome-text h2 {
    font-family: var(--font-display); font-size: 2rem;
    color: var(--primary); line-height: 1.2;
}
@media (min-width: 768px) { .welcome-text h2 { font-size: 2.6rem; } }
.welcome-text p { font-size: 0.95rem; line-height: 1.75; }
.enrich-box { background: var(--primary-soft); padding: 0.8rem; border-radius: var(--radius-sm); color: var(--primary); font-size: 0.88rem; }
.welcome-reg-note {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--primary-soft); color: var(--primary);
    border-radius: 30px; padding: 0.35rem 1rem; font-size: 0.82rem; font-weight: 700;
    border: 1px solid rgba(85,0,0,0.2); width: fit-content;
}

/* Photo stack on the right — now single image filling full column */
.welcome-photos {
    flex: 1 1 300px;
    display: flex; flex-direction: column;
}
/* ✏️ EDIT: Adjust height to change how tall the Story Time photo is */
.wp-main {
    position: relative; border-radius: var(--radius-md); overflow: hidden;
    height: 500px; box-shadow: var(--shadow-md);
}
.wp-main img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.wp-main:hover img { transform: scale(1.04); }

/* ============================================================
   HANDS-ON LEARNING PHOTO — large image below the intro video
   ✏️ EDIT: Adjust height to make the image taller or shorter.
   ============================================================ */
.hands-on-photo {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    height: 420px; box-shadow: var(--shadow-md); margin-bottom: 2rem;
}
@media (min-width: 768px) { .hands-on-photo { height: 520px; } }
.hands-on-photo img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    object-position: center center; transition: transform 0.5s ease;
}
.hands-on-photo:hover img { transform: scale(1.03); }

/* Caption overlay — shared by wp-main and hands-on-photo */
.wp-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(55,0,0,0.75));
    color: white; padding: 0.6rem 0.8rem; font-size: 0.8rem;
    font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
}

/* ============================================================
   STATS BAR (FHJ-style quick facts strip)
   ✏️ EDIT: Update numbers and labels in FOTVCA.html.
             Change background color here.
   ============================================================ */
.stats-bar {
    background: var(--primary); color: white;
    border-radius: var(--radius-lg); padding: 1.5rem 2rem;
    display: flex; flex-wrap: wrap; justify-content: space-around;
    align-items: center; gap: 1rem; margin-bottom: 2rem;
}
.stat-item { text-align: center; }
/* ✏️ EDIT: Stat number font size */
.stat-num { display: block; font-size: 2.2rem; font-weight: 700; font-family: var(--font-display); line-height: 1; }
.stat-label { display: block; font-size: 0.75rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 0.25rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }
@media (max-width: 600px) { .stat-divider { display: none; } }

/* ============================================================
   FULL-WIDTH PHOTO STRIP
   ✏️ EDIT: Adjust height to change the strip height.
             Replace IntroductionPicture3.jpg with any wide image.
   ============================================================ */
.photo-strip {
    position: relative; border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 2rem;
    /* ✏️ EDIT: Strip height */
    height: 320px;
    box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .photo-strip { height: 420px; } }
.photo-strip img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 30%;
    display: block; transition: transform 0.6s ease;
}
.photo-strip:hover img { transform: scale(1.03); }
.photo-strip-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(55,0,0,0.65) 0%, transparent 60%);
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 2rem;
}
.photo-strip-text {
    color: white; font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 700; text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    display: flex; align-items: center; gap: 0.6rem;
}
@media (min-width: 768px) { .photo-strip-text { font-size: 2.2rem; } }

/* Keep old connect-row styles for any other sections that might use them */
.connect-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
.connect-card { flex: 1 1 300px; padding: 1.8rem; border-radius: var(--radius-lg); transition: transform var(--transition), box-shadow var(--transition); }
.connect-card.primary-bg { background: var(--primary); color: var(--white); }
.connect-card.white-bg { background: var(--white); border: 2px solid var(--primary); }
.connect-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.connect-card h2 { font-size: 1.6rem; color: var(--primary); font-family: var(--font-display); border-bottom: 3px solid currentColor; display: inline-block; margin-bottom: 1rem; }
.circular-placeholder { display: flex; justify-content: center; margin-bottom: 1.2rem; }
.circle-frame { width: 140px; height: 140px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.6); overflow: hidden; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 3rem; transition: transform var(--transition); }
.circle-frame:hover { transform: scale(1.03); }
.circle-frame img { width: 100%; height: 100%; object-fit: cover; }
.faith-tagline { font-size: 1.1rem; font-weight: 700; margin: 0.8rem 0; background: rgba(255,255,255,0.15); padding: 0.7rem; border-radius: var(--radius-sm); line-height: 1.3; }
.registration-note { background: rgba(255,255,255,0.12); padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.85rem; display: inline-block; }
.about-text { background: var(--off-white); padding: 1rem; border-left: 6px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.7; }

.placeholder-tag {
    background: rgba(85,0,0,0.07); border: 2px dashed var(--primary-light);
    color: var(--primary); padding: 0.3rem 0.8rem; font-size: 0.75rem;
    border-radius: 30px; display: inline-block; margin-top: 0.8rem;
}

.video-showcase { margin: 1.5rem 0; }
.video-card-modern {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); border: 1px solid rgba(85,0,0,0.1);
    transition: transform var(--transition), box-shadow var(--transition);
}
.video-card-modern:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.video-wrapper { position: relative; width: 100%; background: #000; cursor: pointer; }
.video-wrapper video { width: 100%; height: auto; display: block; }

.custom-play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 72px; height: 72px;
    background: rgba(85,0,0,0.88);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease; border: 2px solid white; z-index: 2;
}
.custom-play-btn.hide-btn { display: none; }
.custom-play-btn i { font-size: 1.8rem; color: white; margin-left: 5px; }
.custom-play-btn:hover { background: var(--primary); transform: translate(-50%, -50%) scale(1.08); }
.fullscreen-btn {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(0,0,0,0.55); border: none; color: white;
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2; transition: all 0.2s; font-size: 1rem;
}
.fullscreen-btn:hover { background: var(--primary); }
.video-caption {
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #fff, var(--primary-soft));
    border-top: 3px solid var(--primary);
}
.video-caption h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); }
.video-caption p { font-size: 0.88rem; line-height: 1.55; }
.video-meta { display: flex; gap: 1rem; margin-top: 0.5rem; font-size: 0.8rem; color: var(--primary); font-weight: 700; }

.pillars-vertical-section { padding: 1.5rem 0; }

.section-title { text-align: center; margin-bottom: 1.5rem; }
.section-title h2 {
    font-size: 1.6rem; color: var(--primary);
    background: var(--primary-soft); padding: 0.5rem 1.5rem;
    border-radius: 40px; display: inline-block;
    font-family: var(--font-display);
}
.section-title .sub { font-size: 0.88rem; color: var(--primary-light); margin-top: 0.4rem; }

.vertical-pillars { border: 2px solid var(--primary); border-radius: var(--radius-lg); overflow: hidden; }
.pillar-row { display: flex; flex-wrap: wrap; border-bottom: 1px solid #e2cbd2; transition: background var(--transition); }
.pillar-row:last-child { border-bottom: none; }
.pillar-row:hover { background: var(--primary-soft); }
.pillar-number { width: 100%; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 0.8rem; padding: 0.8rem; }
@media (min-width: 600px) { .pillar-number { width: 130px; min-width: 130px; flex-direction: column; padding: 1.5rem 0.5rem; } }

.circular-number {
    width: 60px; height: 60px; background: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(85,0,0,0.3);
}
.circular-number .num { font-size: 1.3rem; font-weight: 700; color: white; font-family: var(--font-display); }
.pillar-number .topic { font-size: 0.75rem; font-weight: 700; color: var(--primary); background: rgba(85,0,0,0.1); padding: 0.25rem 0.6rem; border-radius: 20px; letter-spacing: 0.5px; }
.pillar-description { flex: 1; padding: 1rem 1.2rem; }
.pillar-description p { margin-bottom: 0.4rem; font-size: 0.9rem; line-height: 1.55; }

.pillar-quote { font-size: 0.82rem; color: var(--primary-light); font-style: italic; border-left: 3px solid var(--primary); padding-left: 0.7rem; margin-top: 0.4rem; font-family: var(--font-display); }

.glance-section {
    display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
    margin: 2rem 0; padding: 1.8rem; background: var(--off-white);
    border: 2px solid var(--primary); border-radius: var(--radius-lg);
}
.glance-text h2 { color: var(--primary); font-size: 1.6rem; margin-bottom: 0.8rem; font-family: var(--font-display); }
.glance-text ul { list-style: none; padding: 0; margin-bottom: 1.2rem; }
.glance-text li { font-size: 1rem; font-weight: 700; padding: 0.25rem 0; color: var(--primary); }
.age-ranges h3 { color: var(--primary); font-size: 0.95rem; margin-bottom: 0.3rem; font-family: var(--font-display); }
.age-ranges p { font-size: 0.85rem; line-height: 1.8; }
.glance-image { flex: 1; min-width: 240px; }
.glance-image img { width: 100%; border-radius: var(--radius-md); border: 3px solid var(--primary); object-fit: cover; max-height: 280px; }

.apply-now-section {
    margin: 2rem 0; text-align: center; padding: 2.5rem 1.5rem;
    background: var(--primary); color: white; border-radius: var(--radius-lg);
}
.apply-now-section h2 { font-size: 1.8rem; margin-bottom: 0.8rem; font-family: var(--font-display); }
.apply-now-section p { max-width: 700px; margin: 0 auto 1.2rem; font-size: 0.95rem; line-height: 1.8; opacity: 0.92; }
.apply-btn { background: white; color: var(--primary); border: none; padding: 0.8rem 2rem; font-size: 1rem; font-weight: 700; border-radius: 30px; cursor: pointer; transition: all var(--transition); font-family: var(--font-body); }
.apply-btn:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.mission-container { text-align: center; padding: 1.5rem; }
.mission-container h2 { font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; font-family: var(--font-display); }
.mission-card {
    background: var(--primary-soft);
    padding: 2.5rem; border-radius: var(--radius-lg); max-width: 850px; margin: 0 auto;
}
.mission-card i { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; display: block; }
.mission-card p { font-size: 1rem; margin-bottom: 0.8rem; line-height: 1.75; }
.mission-card .mission-text { font-size: 0.92rem; color: var(--text-dark); }

.scrollable-gallery { overflow-x: auto; padding: 0.8rem 0; scrollbar-width: thin; scrollbar-color: var(--primary) var(--primary-soft); }
.scrollable-gallery::-webkit-scrollbar { height: 6px; }
.scrollable-gallery::-webkit-scrollbar-track { background: var(--primary-soft); border-radius: 10px; }
.scrollable-gallery::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.gallery-track { display: flex; gap: 1.2rem; padding: 0.5rem; min-width: min-content; }
.staff-card {
    background: var(--white); border: 2px solid var(--primary);
    border-radius: var(--radius-md); padding: 1.2rem; text-align: center;
    min-width: 170px; cursor: pointer; transition: transform var(--transition);
}
.staff-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.staff-img-placeholder {
    width: 100px; height: 100px; background: var(--primary-soft); border-radius: 50%;
    margin: 0 auto 0.7rem; display: flex; align-items: center; justify-content: center;
    border: 3px solid var(--primary); overflow: hidden;
}
.staff-img-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.staff-img-placeholder i { font-size: 2.5rem; color: var(--primary); }
.staff-card h4 { color: var(--primary); font-size: 0.95rem; margin-bottom: 0.25rem; font-family: var(--font-display); }
.staff-card p { font-size: 0.8rem; color: #666; }
.gallery-scroll-buttons { display: flex; justify-content: center; gap: 0.8rem; margin-top: 0.8rem; }
.scroll-left-btn, .scroll-right-btn {
    background: var(--primary); color: white; border: none;
    padding: 0.5rem 1.2rem; border-radius: 30px; cursor: pointer;
    font-size: 0.82rem; font-weight: 700; transition: all var(--transition);
    font-family: var(--font-body); display: inline-flex; align-items: center; gap: 0.4rem;
}
.scroll-left-btn:hover, .scroll-right-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.scroll-hint { text-align: center; color: var(--primary-light); font-size: 0.8rem; margin-top: 0.5rem; }

.promo-section { margin-top: 2.5rem; }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1rem; }

.promo-card { border-radius: var(--radius-md); overflow: hidden; border: 2px solid var(--primary); height: 160px; transition: transform var(--transition); }
.promo-card:hover { transform: scale(1.02); }
.promo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-card.promo-placeholder {
    background: var(--primary-soft); border-style: dashed;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; cursor: default;
}
.promo-card.promo-placeholder i { font-size: 2rem; color: var(--primary); margin-bottom: 0.4rem; }
.promo-card.promo-placeholder p { font-size: 0.72rem; color: var(--primary); font-weight: 600; text-align: center; padding: 0 0.5rem; }

.enrollment-grid { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1.5rem; }
.enroll-card { flex: 1 1 200px; background: var(--primary-soft); padding: 1.3rem; border-radius: var(--radius-md); text-align: center; transition: transform var(--transition); }
.enroll-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.enroll-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 0.6rem; display: block; }
.enroll-card h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1rem; font-family: var(--font-display); }
.enroll-card p { font-size: 0.85rem; line-height: 1.5; }
.expectations { background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius-md); padding: 1.2rem; margin-bottom: 1.5rem; }
.expectations h3 { color: var(--primary); margin-bottom: 0.8rem; font-size: 1.1rem; font-family: var(--font-display); }
/* Logo bullet list — replaces the grape emoji bullets */
.logo-bullet-list { list-style: none; padding: 0; }
.logo-bullet-list li {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.45rem 0; font-size: 0.9rem;
}
/* ✏️ EDIT: Adjust bullet-logo size here */
.bullet-logo {
    width: 26px; height: 26px;
    object-fit: contain; flex-shrink: 0;
    border-radius: 50%; background: transparent;
}
.enrollment-portal-cta { text-align: center; margin-top: 1.5rem; }
.enrollment-portal-cta p { font-size: 0.9rem; color: var(--primary); margin-bottom: 0.7rem; }
.portal-cta-btn {
    background: var(--primary); color: white; border: none;
    padding: 0.8rem 2rem; border-radius: 30px; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: all var(--transition); font-family: var(--font-body);
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.portal-cta-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

.video-grid { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; }
.video-card { flex: 1 1 260px; background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius-md); overflow: hidden; transition: transform var(--transition); cursor: pointer; }
.video-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }

.video-placeholder {
    background: var(--primary-soft); height: 180px;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; cursor: pointer;
    transition: background var(--transition); position: relative; overflow: hidden;
}
.video-placeholder:hover { background: #f0d6d6; }
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.video-placeholder i { font-size: 3rem; color: var(--primary); position: relative; z-index: 1; text-shadow: 0 0 12px rgba(0,0,0,0.3); }
.video-card p { padding: 0.8rem; font-style: italic; font-size: 0.85rem; line-height: 1.45; }
/* Placeholder text style — shown until real descriptions are added */
.testimony-placeholder {
    color: #aaa;
    font-style: italic;
    font-size: 0.8rem;
    border: 1px dashed #ddd;
    border-radius: var(--radius-sm);
    margin: 0.5rem 0.8rem 0.8rem;
    padding: 0.4rem 0.6rem;
}

.calendar-layout { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.calendar-main { flex: 1 1 400px; background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius-lg); overflow: hidden; }

.cal-nav-bar {
    background: var(--primary);
    color: white; padding: 0.9rem 1.2rem;
    display: flex; align-items: center; justify-content: space-between;
}
.cal-nav-bar h3 { font-size: 1.1rem; font-family: var(--font-display); }
.cal-nav-btn { background: rgba(255,255,255,0.2); border: none; color: white; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.cal-nav-btn:hover { background: rgba(255,255,255,0.35); }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--primary-soft); }
.cal-weekdays div { text-align: center; padding: 0.5rem; font-size: 0.72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: #e2cbd2; }
.cal-cell { background: var(--white); padding: 0.4rem; min-height: 55px; cursor: pointer; transition: background var(--transition); }
.cal-cell:hover { background: var(--primary-soft); }
.cal-cell.other-month { background: #fafafa; }
.cal-cell.today { background: #fff5f5; border: 1px solid var(--primary); }
.cal-cell .day-num { font-size: 0.78rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.2rem; }
.cal-cell.other-month .day-num { color: #ccc; }
.cal-cell.today .day-num { color: var(--primary); font-size: 0.85rem; }

.cal-event-dot { background: var(--primary); color: white; font-size: 0.6rem; border-radius: 3px; padding: 0.1rem 0.25rem; margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.cal-event-dot.gold { background: var(--gold); }

.calendar-sidebar { flex: 1 1 280px; }
.calendar-sidebar h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 1rem; font-family: var(--font-display); display: flex; align-items: center; gap: 0.5rem; }
.events-list { display: flex; flex-direction: column; gap: 0.7rem; }

.event-item { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.7rem; background: var(--primary-soft); border-radius: var(--radius-sm); border-left: 4px solid var(--primary); transition: transform var(--transition); }
.event-item:hover { transform: translateX(4px); }
.event-item.gold { background: var(--gold-soft); border-left-color: var(--gold); }
.event-badge { background: var(--primary); color: white; padding: 0.25rem 0.5rem; border-radius: 6px; font-size: 0.7rem; font-weight: 700; white-space: nowrap; }
.event-item.gold .event-badge { background: var(--gold); }
.event-info { flex: 1; }
.event-info strong { display: block; font-size: 0.88rem; color: var(--primary); margin-bottom: 0.1rem; }
.event-info span { font-size: 0.78rem; color: #666; }

.donation-container { text-align: center; padding: 1.5rem; }
.donation-container h2 { font-size: 2rem; color: var(--primary); margin-bottom: 1.5rem; font-family: var(--font-display); }
.donation-card { background: var(--primary-soft); padding: 2.5rem; border-radius: var(--radius-lg); max-width: 650px; margin: 0 auto; }
.donation-card > i { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; display: block; }
.donation-card > p { font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.7; }
.donation-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-bottom: 1.5rem; }
.donation-amount { background: white; border: 2px solid var(--primary); padding: 0.6rem 1.3rem; border-radius: 30px; cursor: pointer; font-weight: 700; font-size: 0.95rem; color: var(--primary); transition: all var(--transition); font-family: var(--font-body); }
.donation-amount:hover, .donation-amount.selected { background: var(--primary); color: white; transform: translateY(-2px); }
.custom-amount-input { margin-bottom: 1.2rem; }
.custom-amount-input input { padding: 0.6rem 1rem; border: 2px solid var(--primary); border-radius: 30px; font-size: 0.95rem; font-family: var(--font-body); text-align: center; width: 180px; }

.donate-btn {
    background: var(--primary); color: white; border: none;
    padding: 0.85rem 2rem; font-size: 1rem; font-weight: 700; border-radius: 30px;
    cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all var(--transition); font-family: var(--font-body);
    text-decoration: none;
}
.donate-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Givelify trust badge */
.givelify-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: #eaf4ea; color: #1d6a35;
    border: 1px solid #b7ddb8; border-radius: 30px;
    padding: 0.3rem 0.9rem; font-size: 0.78rem;
    margin-bottom: 1rem;
}
.givelify-badge i { font-size: 0.75rem; }

/* Note beneath donate button */
.donate-note {
    font-size: 0.78rem; color: #666;
    margin-top: 0.8rem; line-height: 1.8; text-align: center;
}
.donate-note i { color: var(--primary); margin-right: 0.2rem; }

.contact-container h2 { font-size: 2rem; color: var(--primary); text-align: center; margin-bottom: 1.8rem; font-family: var(--font-display); }
.contact-info-wrapper { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.contact-details { flex: 1 1 280px; background: var(--primary-soft); padding: 1.5rem; border-radius: var(--radius-lg); }
.contact-item { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1.2rem; }
.contact-item i { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-item div strong { display: block; font-size: 0.78rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.2rem; }
.contact-item div span { font-size: 0.9rem; }
.contact-form-placeholder { flex: 1 1 300px; background: var(--white); border: 2px solid var(--primary); padding: 1.5rem; border-radius: var(--radius-lg); }
.contact-form-placeholder > i { font-size: 2rem; color: var(--primary); margin-bottom: 0.6rem; display: block; text-align: center; }
.contact-form-placeholder > p { text-align: center; font-size: 0.95rem; margin-bottom: 1rem; }
.form-fields { margin-top: 0.5rem; }
.form-group { margin-bottom: 0.9rem; }
.form-group label { display: block; margin-bottom: 0.3rem; font-size: 0.8rem; font-weight: 700; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.4px; }
.form-fields input, .form-fields textarea, .form-fields select {
    width: 100%; padding: 0.65rem 0.9rem;
    border: 2px solid #ddd; border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 0.9rem;
    background: #f9f9f9; transition: border-color var(--transition);
}
.form-fields input:focus, .form-fields textarea:focus, .form-fields select:focus { outline: none; border-color: var(--primary); background: white; }
.form-fields button { background: var(--primary); color: white; border: none; padding: 0.7rem 1.8rem; font-size: 0.9rem; border-radius: 30px; cursor: pointer; font-weight: 700; font-family: var(--font-body); transition: all var(--transition); }
.form-fields button:hover { background: var(--primary-dark); }

.portal-wrapper { max-width: 900px; margin: 0 auto; }
.portal-login-panel { display: flex; justify-content: center; }
.portal-login-card { background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius-lg); overflow: hidden; width: 100%; max-width: 440px; box-shadow: var(--shadow-md); }

.portal-login-header { background: var(--primary); color: white; padding: 1.8rem; text-align: center; }
.portal-login-header i { font-size: 2.2rem; margin-bottom: 0.5rem; display: block; }
.portal-login-header h3 { font-size: 1.3rem; font-family: var(--font-display); margin-bottom: 0.3rem; }
.portal-login-header p { font-size: 0.82rem; opacity: 0.82; }
.portal-type-tabs { display: flex; border-bottom: 2px solid var(--primary-soft); }
.portal-type-btn { flex: 1; padding: 0.75rem; background: transparent; border: none; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: all var(--transition); color: var(--primary-light); font-family: var(--font-body); display: flex; align-items: center; justify-content: center; gap: 0.4rem; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.portal-type-btn:hover { background: var(--primary-soft); }
.portal-type-btn.active { color: var(--primary); border-bottom-color: var(--primary); background: var(--primary-soft); }
.portal-login-form { padding: 1.5rem; }
.password-wrap { position: relative; }
.toggle-pw { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: transparent; border: none; cursor: pointer; color: #888; font-size: 0.9rem; }
.portal-form-footer { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 0.82rem; }
.remember-me { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; color: var(--text-dark); }
.forgot-link { color: var(--primary); text-decoration: none; font-weight: 600; }
.forgot-link:hover { text-decoration: underline; }
.portal-login-btn { width: 100%; background: var(--primary); color: white; border: none; padding: 0.8rem; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 700; cursor: pointer; font-family: var(--font-body); display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all var(--transition); }
.portal-login-btn:hover { background: var(--primary-dark); }
.portal-register-hint { text-align: center; padding: 1rem; font-size: 0.82rem; color: #666; border-top: 1px solid var(--primary-soft); }
.portal-register-hint a { color: var(--primary); font-weight: 700; text-decoration: none; }
.portal-register-hint a:hover { text-decoration: underline; }

.portal-dashboard { width: 100%; }

.dash-topbar { display: flex; justify-content: space-between; align-items: center; background: var(--primary); color: white; padding: 1.2rem 1.5rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; }
.dash-welcome { display: flex; align-items: center; gap: 0.8rem; }
.dash-avatar { width: 48px; height: 48px; background: rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; font-family: var(--font-display); border: 2px solid rgba(255,255,255,0.5); }
.dash-welcome h3 { font-size: 1.1rem; font-family: var(--font-display); }
.dash-welcome p { font-size: 0.8rem; opacity: 0.75; }
.logout-btn { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 0.4rem 0.9rem; border-radius: 20px; cursor: pointer; font-size: 0.8rem; font-weight: 600; transition: all var(--transition); font-family: var(--font-body); display: flex; align-items: center; gap: 0.4rem; }
.logout-btn:hover { background: rgba(255,255,255,0.25); }

.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.dash-card { background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius-md); padding: 1.2rem; text-align: center; cursor: pointer; transition: all var(--transition); }
.dash-card:hover { background: var(--primary-soft); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.dash-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 0.5rem; display: block; }
.dash-card h4 { color: var(--primary); font-size: 0.9rem; margin-bottom: 0.2rem; font-family: var(--font-display); }
.dash-card p { font-size: 0.75rem; color: #666; }

.meeting-scheduler { background: var(--primary-soft); border: 2px solid var(--primary); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem; }
.meeting-scheduler h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 1rem; font-family: var(--font-display); display: flex; align-items: center; gap: 0.5rem; }
.meeting-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.portal-action-btn { background: var(--primary); color: white; border: none; padding: 0.7rem 1.5rem; border-radius: 30px; font-size: 0.9rem; font-weight: 700; cursor: pointer; font-family: var(--font-body); transition: all var(--transition); display: inline-flex; align-items: center; gap: 0.4rem; margin-right: 0.5rem; }
.portal-action-btn:hover { background: var(--primary-dark); }
.portal-cancel-btn { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 0.7rem 1.5rem; border-radius: 30px; font-size: 0.9rem; font-weight: 700; cursor: pointer; font-family: var(--font-body); transition: all var(--transition); }
.portal-cancel-btn:hover { background: var(--primary-soft); }

.dash-upcoming { background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius-md); padding: 1.2rem; }
.dash-upcoming h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 1rem; font-family: var(--font-display); display: flex; align-items: center; gap: 0.5rem; }
.upcoming-list { display: flex; flex-direction: column; gap: 0.7rem; }
.upcoming-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem; background: var(--off-white); border-radius: var(--radius-sm); border-left: 4px solid var(--primary); }
.upcoming-date { background: var(--primary); color: white; border-radius: 8px; padding: 0.35rem 0.5rem; text-align: center; min-width: 44px; flex-shrink: 0; }
.ud-month { display: block; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.5px; opacity: 0.85; }
.ud-day { display: block; font-size: 1.2rem; font-weight: 700; line-height: 1.1; font-family: var(--font-display); }
.upcoming-info { flex: 1; }
.upcoming-info strong { display: block; font-size: 0.88rem; color: var(--primary); }
.upcoming-info span { font-size: 0.78rem; color: #666; }

.upcoming-badge { font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 12px; background: var(--primary-soft); color: var(--primary); white-space: nowrap; }
.upcoming-badge.new    { background: #d4edda; color: #155724; }
.upcoming-badge.action { background: #fff3cd; color: #856404; }

/* ── Apply Now tile highlight ── */
.dash-card-apply {
    border-top: 4px solid var(--primary);
    background: var(--primary-soft);
}
.dash-card-apply:hover { background: var(--primary); }
.dash-card-apply:hover i,
.dash-card-apply:hover h4,
.dash-card-apply:hover p { color: white; }

/* ── Application panel wrapper ── */
.app-panel {
    background: var(--white); border: 2px solid var(--primary);
    border-radius: var(--radius-lg); padding: 1.5rem;
    margin-bottom: 1.5rem; box-shadow: var(--shadow-md);
}
.app-panel-header {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 0.8rem; margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-soft);
}
.app-panel-header h3 {
    color: var(--primary); font-family: var(--font-display);
    font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem;
}
.app-close-btn {
    background: transparent; border: none; color: var(--primary);
    font-size: 1.1rem; cursor: pointer; padding: 0.3rem;
    border-radius: 50%; transition: all var(--transition);
}
.app-close-btn:hover { background: var(--primary-soft); }

/* ── Saved progress banner ── */
.app-restore-banner {
    display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
    background: #fff8e1; border: 1px solid #f9c74f;
    border-radius: var(--radius-sm); padding: 0.6rem 1rem;
    font-size: 0.82rem; color: #7a5c00; margin-bottom: 1rem;
}
.app-restore-banner i { color: #c9933a; }
.app-restore-clear {
    background: transparent; border: 1px solid #c9933a;
    color: #c9933a; border-radius: 20px; padding: 0.2rem 0.7rem;
    font-size: 0.75rem; cursor: pointer; font-family: var(--font-body);
    margin-left: auto; transition: all var(--transition);
}
.app-restore-clear:hover { background: #c9933a; color: white; }

/* ── Step progress pills ── */
.app-progress { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.app-step-pill {
    padding: 0.35rem 0.85rem; border-radius: 30px; font-size: 0.75rem;
    font-weight: 700; border: 2px solid #ddd; color: #aaa; background: #fafafa;
    transition: all var(--transition);
}
.app-step-pill.active { background: var(--primary); color: white; border-color: var(--primary); }
.app-step-pill.done   { background: var(--primary-soft); color: var(--primary); border-color: var(--primary); }

/* ── Step heading ── */
.app-step h4 {
    color: var(--primary); font-family: var(--font-display);
    font-size: 1.05rem; margin-bottom: 1rem;
}

/* ── Two-column form grid inside steps ── */
.app-form-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem; margin-bottom: 1.2rem;
}
.app-full-width { grid-column: 1 / -1; }
.app-form-grid textarea {
    font-family: var(--font-body); font-size: 0.9rem;
    padding: 0.65rem 0.9rem; border: 2px solid #ddd;
    border-radius: var(--radius-sm); background: #f9f9f9;
    width: 100%; resize: vertical;
}
.app-form-grid textarea:focus { outline: none; border-color: var(--primary); background: white; }

/* ── Faith commitment checkbox ── */
.app-checkbox-label {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.85rem; line-height: 1.55; cursor: pointer;
}
.app-checkbox-label input[type="checkbox"] {
    flex-shrink: 0; margin-top: 0.2rem; accent-color: var(--primary);
}

/* ── Back / Next navigation row ── */
.app-nav-btns {
    display: flex; justify-content: space-between;
    align-items: center; margin-top: 1rem;
}

/* ── Application summary box (step 4) ── */
.app-summary {
    background: var(--primary-soft); border: 1px solid rgba(85,0,0,0.2);
    border-radius: var(--radius-md); padding: 1rem; margin-bottom: 1rem;
}
.app-summary h5 {
    color: var(--primary); font-size: 0.9rem; margin-bottom: 0.7rem;
    display: flex; align-items: center; gap: 0.4rem;
    font-family: var(--font-display);
}
.app-summary-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem;
}
.app-summary-grid div {
    background: white; border-radius: var(--radius-sm); padding: 0.4rem 0.7rem;
}
.app-summary-grid div span {
    display: block; font-size: 0.68rem; text-transform: uppercase;
    color: #999; letter-spacing: 0.4px;
}
.app-summary-grid div strong { font-size: 0.85rem; color: var(--text-dark); }

/* ── $50 fee payment box ── */
.app-fee-box {
    background: var(--off-white); border: 2px solid var(--primary);
    border-radius: var(--radius-md); padding: 1.2rem; margin-top: 1rem;
}
.app-fee-header {
    display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem;
}
.app-fee-header i { font-size: 1.6rem; color: var(--primary); }
.app-fee-header strong { display: block; font-size: 1rem; color: var(--primary); }
.app-fee-header span  { font-size: 0.8rem; color: #666; }
.app-pay-btn { margin-top: 1rem; display: inline-flex; }

/* ── Confirmation screen ── */
.app-confirmed { text-align: center; padding: 2rem 1rem; }
.app-confirmed-icon { font-size: 3.5rem; color: #1d6a35; margin-bottom: 0.8rem; }
.app-confirmed h4 {
    color: var(--primary); font-size: 1.3rem;
    font-family: var(--font-display); margin-bottom: 0.8rem;
}
.app-confirmed p { font-size: 0.9rem; line-height: 1.7; max-width: 500px; margin: 0 auto 0.6rem; }


/* ============================================================
   CAREERS — UNDER CONSTRUCTION
   ============================================================ */
.under-construction-wrap { display: flex; justify-content: center; padding: 2rem 0; }
.under-construction-card {
    background: var(--white); border: 2px solid var(--primary);
    border-radius: var(--radius-lg); padding: 2.5rem 2rem;
    max-width: 720px; width: 100%; text-align: center;
    box-shadow: var(--shadow-md);
}
.uc-icon {
    font-size: 4rem; color: var(--gold);
    margin-bottom: 1rem; animation: bobble 2.5s ease-in-out infinite;
}
@keyframes bobble {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.under-construction-card h3 {
    font-family: var(--font-display); font-size: 2rem;
    color: var(--primary); margin-bottom: 0.8rem;
}
.under-construction-card p { font-size: 0.95rem; line-height: 1.7; max-width: 500px; margin: 0 auto 0.6rem; }
.uc-contact { margin: 1.5rem 0; }
.uc-btn {
    background: var(--primary); color: white;
    padding: 0.75rem 1.8rem; border-radius: 30px;
    text-decoration: none; font-weight: 700; font-size: 0.9rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all var(--transition);
}
.uc-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.uc-roles h4 {
    font-family: var(--font-display); color: var(--primary);
    font-size: 1rem; margin-bottom: 1rem;
    border-top: 2px solid var(--primary-soft); padding-top: 1rem;
}
.uc-role-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.7rem;
}
.uc-role-card {
    background: var(--primary-soft); border-radius: var(--radius-sm);
    padding: 0.8rem; display: flex; flex-direction: column;
    align-items: center; gap: 0.4rem; font-size: 0.82rem;
    font-weight: 700; color: var(--primary); border: 1px solid rgba(85,0,0,0.15);
}
.uc-role-card i { font-size: 1.4rem; }

/* ============================================================
   PORTAL — STAFF LOGIN TAB HIGHLIGHT
   ============================================================ */
.portal-type-btn--staff {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
}
.portal-type-btn--staff.active {
    background: var(--primary);
    color: white;
    border-bottom-color: var(--primary);
}

/* ============================================================
   STAFF DASHBOARD
   ============================================================ */
.staff-dashboard { width: 100%; }
.dash-topbar--staff { background: #2c3e50; }
.dash-avatar--staff { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.5); }

/* Staff panel wrapper (reuses app-panel styles) */
.staff-panel { margin-top: 1.5rem; }

/* Class roster card */
.staff-class-card {
    background: var(--primary-soft); border-radius: var(--radius-md);
    padding: 1.2rem; margin-bottom: 1.2rem;
    border: 1px solid rgba(85,0,0,0.15);
}
.staff-class-title {
    color: var(--primary); font-family: var(--font-display);
    font-size: 1rem; margin-bottom: 0.8rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.staff-class-count {
    margin-left: auto; font-size: 0.75rem; font-weight: 400;
    background: var(--primary); color: white;
    padding: 0.15rem 0.6rem; border-radius: 20px;
}
.staff-roster-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.staff-roster-table th {
    background: var(--primary); color: white;
    padding: 0.4rem 0.75rem; text-align: left;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.4px;
}
.staff-roster-table td { padding: 0.45rem 0.75rem; border-bottom: 1px solid rgba(85,0,0,0.08); }
.staff-roster-table tr:last-child td { border-bottom: none; }
.staff-roster-table tr:nth-child(even) td { background: rgba(85,0,0,0.04); }

/* Grades editor */
.staff-grades-filter { margin-bottom: 1.2rem; }
.staff-grades-filter label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.4rem; color: var(--primary); }
.staff-grades-filter select { width: 100%; max-width: 360px; padding: 0.6rem 0.9rem; border: 2px solid var(--primary); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.9rem; }
.grades-grid { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.2rem; }
.grade-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.5rem 0.8rem; background: var(--primary-soft); border-radius: var(--radius-sm); flex-wrap: wrap; }
.grade-label { flex: 1 1 160px; font-size: 0.88rem; font-weight: 700; color: var(--primary); }
.grade-select { padding: 0.35rem 0.7rem; border: 2px solid #ddd; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.85rem; min-width: 160px; }
.grade-select:focus { outline: none; border-color: var(--primary); }
.grade-badge { font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 20px; min-width: 32px; text-align: center; }
.grade-a    { background: #d4edda; color: #155724; }
.grade-b    { background: #cce5ff; color: #004085; }
.grade-c    { background: #fff3cd; color: #856404; }
.grade-d    { background: #f8d7da; color: #721c24; }
.grade-na   { background: #e2e3e5; color: #495057; }
.grade-empty { background: #f0f0f0; color: #aaa; }

/* Staff event list */
.staff-event-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 0.8rem; padding: 0.7rem; background: var(--primary-soft);
    border-radius: var(--radius-sm); margin-bottom: 0.5rem;
    border-left: 4px solid var(--primary);
}
.staff-event-row > div { flex: 1; }
.staff-event-row strong { display: block; font-size: 0.9rem; color: var(--primary); }
.staff-event-row span { display: block; font-size: 0.78rem; color: #666; }
.staff-event-row .event-desc { font-style: italic; margin-top: 0.2rem; }
.staff-event-delete { color: #a52a2a !important; }
.staff-event-delete:hover { background: #f8d7da !important; }

.footer {
    background: var(--primary);
    color: var(--white); text-align: center;
    padding: 2rem; margin-top: 3rem;
    border-radius: 28px 28px 0 0; font-size: 0.9rem;
}
.footer i { font-size: 0.9rem; margin: 0 0.2rem; }
.footer-links { margin-top: 1rem; font-size: 0.8rem; }
.footer-links a { color: var(--white); text-decoration: none; margin: 0 0.3rem; }
.footer-links a:hover { text-decoration: underline; }

.notification {
    position: fixed; top: 90px; right: 20px;
    background: var(--primary);
    color: white; padding: 0.9rem 1.3rem;
    border-radius: var(--radius-md); z-index: 10000; max-width: 320px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    font-size: 0.88rem; line-height: 1.5;
    animation: slideIn 0.3s ease;
}
.notification.success { background: #1d6a35; }
.notification.error   { background: #a52a2a; }
@keyframes slideIn {
    from { transform: translateX(110%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

@media print {
    .tab-nav, .gallery-scroll-buttons, .donate-btn,
    .form-fields button, .footer-links { display: none; }
    body { font-size: 12pt; }
    .section { display: block !important; page-break-inside: avoid; }
}