/* ================================================================
   custom.css — Heavenly Home Academy
   Child-friendly colour palette built on top of W3.CSS
   ================================================================ */

/* ── Google Fonts ─────────────────────────────────────────────── */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #fdfaf5;
}

h1, h2, h3,
.brand-text,
.hero-headline {
    font-family: 'Fredoka One', cursive;
    letter-spacing: 0.5px;
}

/* ── CSS custom properties (palette) ─────────────────────────── */
:root {
    --orange:   #FF7A1A;   /* main accent — warm & energetic */
    --orange-lt:#FFF0E0;
    --sky:      #29ABE2;   /* secondary — playful sky blue */
    --sky-lt:   #E8F7FD;
    --green:    #3BAA6A;   /* success / nature */
    --green-lt: #EAFAF1;
    --purple:   #7B5EA7;   /* Bible studies accent */
    --purple-lt:#F3EFF9;
    --gold:     #F5C518;   /* art & crafts accent */
    --gold-lt:  #FFFBE6;
    --dark:     #1E2D3D;   /* footer / dark text */
    --light:    #F8F4EE;   /* page background */
    --card-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

/* ── Utility overrides ──────────────────────────────────────── */
.w3-content { max-width: 1140px; }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navigation ─────────────────────────────────────────────── */
.hha-navbar {
    background: var(--dark);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    height: 56px;
    z-index: 999;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    line-height: 56px;
    text-decoration: none;
}

.brand-icon {
    color: var(--gold);
    font-size: 1.5rem;
}

.brand-text {
    color: #fff;
    font-family: 'Fredoka One', cursive;
    font-size: 1.15rem;
    white-space: nowrap;
}

.nav-link {
    color: #d9d9d9 !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0 14px;
    height: 56px;
    line-height: 56px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.nav-active {
    color: #fff !important;
    background: rgba(255,255,255,0.08) !important;
}

.nav-link.nav-active { border-bottom: 3px solid var(--orange); }

.nav-cta {
    background: var(--orange) !important;
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 700;
    height: 56px;
    line-height: 56px;
    padding: 0 20px;
    transition: background 0.2s;
}

.nav-cta:hover { background: #e0661a !important; }

/* Mobile menu */
.mobile-menu {
    background: var(--dark);
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.mobile-link {
    color: #d0d0d0 !important;
    padding: 14px 24px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: block;
}

.mobile-link:hover,
.mobile-link.nav-active { color: #fff !important; background: rgba(255,255,255,0.07) !important; }

.mobile-cta {
    background: var(--orange) !important;
    color: #fff !important;
    text-align: center;
    font-weight: 700;
}

.hamburger-btn {
    color: #fff !important;
    font-size: 1.2rem;
    height: 56px;
    padding: 0 18px;
}

/* ── Flash messages ─────────────────────────────────────────── */
.flash-msg {
    margin: 0 auto 20px;
    max-width: 800px;
    border-radius: 10px;
}

/* ── Hero section ───────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #1E2D3D 0%, #29ABE2 50%, #FF7A1A 100%);
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='10' cy='10' r='3' fill='rgba(255,255,255,0.06)'/%3E%3Ccircle cx='50' cy='50' r='5' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 1; padding: 40px 20px; width: 100%; max-width: 900px; margin: 0 auto; text-align: center; }

/* ── Carousel Additions ─────────────────────────────────────── */
.carousel-wrap {
    position: relative;
    width: 100%;
    min-height: 92vh;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 0;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='10' cy='10' r='3' fill='rgba(255,255,255,0.06)'/%3E%3Ccircle cx='50' cy='50' r='5' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* Slide content animation */
.carousel-slide .hero-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.carousel-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-dot:hover { background: rgba(255,255,255,0.7); }
.carousel-dot.active { background: #fff; transform: scale(1.3); }

.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.hero-headline {
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.2;
    margin: 0 0 18px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-headline span { color: var(--gold); }

.hero-sub {
    color: rgba(255,255,255,0.88);
    font-size: 1.12rem;
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
    background: var(--orange);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(255,122,26,0.4);
}

.btn-primary:hover { background: #e0661a; transform: translateY(-2px); text-decoration: none; }

.btn-outline {
    background: transparent;
    color: #fff !important;
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.7);
    transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; text-decoration: none; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.hero-stat-item { text-align: center; }

.hero-stat-num {
    display: block;
    color: var(--gold);
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
}

.hero-stat-label { color: rgba(255,255,255,0.75); font-size: 0.82rem; }

/* ── Section styling ────────────────────────────────────────── */
.section-pad { padding: 72px 20px; }
.section-pad-sm { padding: 48px 20px; }

.activities-section {
    background: linear-gradient(rgba(248, 244, 238, 0.94), rgba(248, 244, 238, 0.94)), url('../images/test12.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.why-choose-section {
    background: linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)), url('../images/bg-1.jpg');
    background-size: cover;
    background-position: center;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--dark);
    margin: 0 0 10px;
}

.section-heading p {
    color: #666;
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
}

/* ── Activity cards ─────────────────────────────────────────── */
.activity-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}

.activity-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 18px;
}

.icon-bible  { background: var(--purple-lt); color: var(--purple); }
.icon-music  { background: var(--sky-lt);    color: var(--sky); }
.icon-dance  { background: var(--green-lt);  color: var(--green); }
.icon-art    { background: var(--gold-lt);   color: #b8860b; }

.activity-card h3 { color: var(--dark); margin: 0 0 10px; font-size: 1.2rem; }
.activity-card p  { color: #666; font-size: 0.92rem; line-height: 1.6; margin: 0; }

/* ── Info / highlight cards ─────────────────────────────────── */
.highlight-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 22px;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.highlight-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--orange-lt);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.highlight-card h4 { margin: 0 0 6px; color: var(--dark); }
.highlight-card p  { margin: 0; color: #666; font-size: 0.9rem; line-height: 1.6; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, rgba(235, 102, 10, 0.88) 0%, rgba(255, 122, 26, 0.88) 100%), url('../images/img-7785.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 64px 20px;
    border-radius: 24px;
    margin: 0 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin: 0 0 14px;
    color: #fff;
}

.cta-banner p {
    font-size: 1.05rem;
    margin: 0 auto 30px;
    max-width: 520px;
    opacity: 0.92;
}

.btn-white {
    background: #fff;
    color: var(--orange) !important;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); text-decoration: none; }

/* ── Page heroes (inner pages) ──────────────────────────────── */
.page-hero {
    text-align: center;
    padding: 64px 20px 48px;
    background: linear-gradient(135deg, rgba(30, 45, 61, 0.85) 0%, rgba(44, 74, 110, 0.9) 100%), url('../images/people.png');
    background-size: cover;
    background-position: center top;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

.page-hero .hero-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 18px;
    display: block;
}

/* ── Programmes page ────────────────────────────────────────── */
.prog-block { padding: 56px 0; border-bottom: 1px solid #eee; }
.prog-block:last-child { border-bottom: none; }

.prog-icon-lg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    font-size: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sub-activity-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.sub-activity-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e8e8e8;
    font-size: 0.93rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-activity-list li:last-child { border-bottom: none; }
.sub-activity-list li i { width: 20px; text-align: center; }

/* ── Schedule page ──────────────────────────────────────────── */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.schedule-table th {
    background: var(--dark);
    color: #fff;
    padding: 14px 18px;
    font-size: 0.88rem;
    text-align: center;
    font-family: 'Fredoka One', cursive;
    letter-spacing: 0.4px;
}

.schedule-table td {
    padding: 13px 16px;
    text-align: center;
    font-size: 0.88rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:hover { background: #fdf8f2; }

.slot-time { background: #f4f4f4; font-weight: 700; color: var(--dark); }

.slot-bible  { background: var(--purple-lt); color: var(--purple); font-weight: 600; }
.slot-music  { background: var(--sky-lt);    color: #1a85b5;       font-weight: 600; }
.slot-dance  { background: var(--green-lt);  color: #2c8854;       font-weight: 600; }
.slot-art    { background: var(--gold-lt);   color: #9c7a0a;       font-weight: 600; }
.slot-break  { background: #fff3e0;          color: var(--orange);  font-weight: 600; }
.slot-free   { background: #f9f9f9;          color: #888;           font-style: italic; }

/* ── Gallery ────────────────────────────────────────────────── */
.gallery-filter { text-align: center; margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    background: #f0f0f0;
    color: #555;
    border: none;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.2s, color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--orange);
    color: #fff;
}

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

.gallery-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    position: relative;
    background: #e0e0e0;
}

.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

.gallery-card:hover img { transform: scale(1.06); }

.gallery-card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    padding: 12px 14px 10px;
    font-size: 0.84rem;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-card:hover .gallery-card-overlay { transform: translateY(0); }

.gallery-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #aaa;
    font-size: 0.85rem;
}

.gallery-placeholder i { font-size: 2.5rem; }

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-caption { color: #eee; font-size: 0.95rem; }

.lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

/* ── Contact page ───────────────────────────────────────────── */
.contact-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--orange-lt);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-card h4 { margin: 0 0 4px; color: var(--dark); font-size: 0.9rem; }
.contact-info-card p  { margin: 0; color: #555; font-size: 0.95rem; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-wrap {
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px;
    box-shadow: var(--card-shadow);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: #444;
    margin-bottom: 6px;
}

.form-group label .required { color: var(--orange); margin-left: 2px; }

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.8px solid #ddd;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.94rem;
    color: #333;
    background: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,122,26,0.15);
    background: #fff;
}

.form-control.is-invalid { border-color: #dc3545; }

.invalid-feedback {
    color: #dc3545;
    font-size: 0.82rem;
    margin-top: 4px;
    display: block;
}

.form-check-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fafafa;
    border: 1.8px solid #ddd;
    border-radius: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.form-check:hover { border-color: var(--orange); background: var(--orange-lt); }

.form-check input[type="checkbox"] { accent-color: var(--orange); width: 17px; height: 17px; }

.form-check label { cursor: pointer; margin: 0; font-weight: 600; font-size: 0.9rem; }

.btn-submit {
    background: var(--orange);
    color: #fff !important;
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover { background: #e0661a; transform: translateY(-2px); }

/* ── About page ─────────────────────────────────────────────── */
.mission-card {
    background: var(--dark);
    color: #fff;
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
}

.mission-card i { font-size: 2.5rem; color: var(--gold); margin-bottom: 16px; display: block; }
.mission-card h3 { margin: 0 0 12px; color: #fff; }
.mission-card p { opacity: 0.85; line-height: 1.7; margin: 0; }

.value-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.value-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: var(--orange-lt);
    color: var(--orange);
}

.value-card h4 { margin: 0 0 4px; font-size: 0.95rem; color: var(--dark); }
.value-card p  { margin: 0; font-size: 0.88rem; color: #666; line-height: 1.6; }

/* ── Admin area ─────────────────────────────────────────────── */
.admin-body {
    background: #f4f6f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: var(--dark);
    color: #fff;
    padding: 0 24px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.admin-brand { font-family: 'Fredoka One', cursive; font-size: 1.2rem; color: var(--gold); display: flex; gap: 10px; align-items: center; }

.admin-user-info { display: flex; align-items: center; gap: 14px; font-size: 0.88rem; }

.admin-user-info a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    transition: color 0.2s;
}

.admin-user-info a:hover { color: #fff; text-decoration: none; }

.admin-wrap { display: flex; flex: 1; }

.admin-sidebar {
    width: 230px;
    background: #fff;
    box-shadow: 2px 0 12px rgba(0,0,0,0.06);
    min-height: calc(100vh - 58px);
    flex-shrink: 0;
}

.admin-sidebar ul { list-style: none; padding: 24px 0; margin: 0; }

.admin-sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    color: #555;
    font-weight: 600;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.admin-sidebar ul li a:hover,
.admin-sidebar ul li a.sidebar-active {
    color: var(--orange);
    background: var(--orange-lt);
    border-left-color: var(--orange);
    text-decoration: none;
}

.admin-sidebar ul li a i { width: 20px; text-align: center; }

.admin-main {
    flex: 1;
    padding: 28px 28px 40px;
    overflow-x: auto;
}

.admin-page-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    color: var(--dark);
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 16px;
    align-items: center;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-icon-orange { background: var(--orange-lt); color: var(--orange); }
.stat-icon-sky    { background: var(--sky-lt);    color: var(--sky); }
.stat-icon-green  { background: var(--green-lt);  color: var(--green); }
.stat-icon-purple { background: var(--purple-lt); color: var(--purple); }

.stat-num {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: var(--dark);
    line-height: 1;
}

.stat-label { font-size: 0.82rem; color: #888; margin-top: 2px; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.admin-table th {
    background: var(--dark);
    color: #fff;
    padding: 13px 16px;
    font-size: 0.83rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #fdf8f2; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-pending  { background: #fff3cd; color: #856404; }
.badge-approved { background: var(--green-lt); color: var(--green); }
.badge-rejected { background: #fce8e8; color: #c00; }
.badge-unread   { background: var(--sky-lt);    color: var(--sky); }

.btn-sm {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.btn-sm:hover { opacity: 0.85; text-decoration: none; }

.btn-danger  { background: #fce8e8; color: #c00; }
.btn-success { background: var(--green-lt); color: var(--green); }
.btn-info    { background: var(--sky-lt);   color: var(--sky); }
.btn-warning { background: #fff3cd; color: #856404; }

.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, #2c4a6e 100%);
    padding: 20px;
}

.admin-login-card {
    background: #fff;
    border-radius: 20px;
    padding: 42px 36px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    text-align: center;
}

.admin-login-logo {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.admin-login-card h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark);
    font-size: 1.5rem;
    margin: 0 0 6px;
}

.admin-login-card p {
    color: #888;
    font-size: 0.88rem;
    margin: 0 0 28px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.hha-footer {
    background: var(--dark);
    color: #ccc;
}

.footer-col { padding: 20px 16px; }

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: #fff;
}

.footer-brand-icon { color: var(--gold); font-size: 1.6rem; }

.footer-tagline { font-size: 0.88rem; line-height: 1.7; margin: 0 0 18px; color: #999; }

.footer-social { display: flex; gap: 10px; }

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #ccc !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.social-btn:hover { background: var(--orange); color: #fff !important; text-decoration: none; }

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
    color: #999;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--orange); text-decoration: none; }
.footer-links a i { font-size: 0.7rem; }

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: #999;
}

.footer-contact-list a { color: #bbb; }
.footer-contact-list a:hover { color: var(--orange); }

.footer-contact-icon { color: var(--orange); width: 16px; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 18px 20px 6px;
    font-size: 0.82rem;
    color: #666;
}

.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--orange); }

/* ── Map embed ───────────────────────────────────────────────── */
.map-placeholder {
    background: #e8e8e8;
    border-radius: 14px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    gap: 10px;
    font-size: 0.95rem;
}

.map-placeholder i { font-size: 3rem; color: var(--orange); }

/* ── Misc ────────────────────────────────────────────────────── */
.bg-light { background: var(--light); }
.bg-white { background: #fff; }

.w3-row-gap > [class*="w3-col"] { margin-bottom: 24px; }

.text-center { text-align: center; }
.text-muted  { color: #888; font-size: 0.88rem; }

/* ── Responsive tweaks ───────────────────────────────────────── */
@media (max-width: 600px) {
    .hero { min-height: 80vh; }
    .hero-stats { gap: 24px; }
    .form-wrap { padding: 24px 18px; }
    .schedule-table th,
    .schedule-table td { padding: 10px 8px; font-size: 0.78rem; }
    .cta-banner { border-radius: 14px; }
    .admin-sidebar { width: 100%; min-height: auto; }
    .admin-wrap { flex-direction: column; }
}
