/* ACLC Portal – Main Stylesheet */
:root {
    --aclc-blue: #0d3b8e;
    --aclc-gold: #f5a623;
    --aclc-light: #f0f4ff;
}

body { font-family: 'Segoe UI', sans-serif; background: #f8f9fa; }

/* Navbar */
.navbar { background: var(--aclc-blue) !important; }
.navbar-brand { font-size: 1rem; }

/* Hero Slider */
.carousel-item img {
    height: 600px;
    object-fit: cover;
    filter: brightness(0.6);
}
.carousel-caption h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: .5px;
    text-shadow: none;
    text-transform: uppercase;
    background: rgb(20, 1, 77);
    display: inline-block;
    padding: .25rem 1rem;
    border-radius: 6px;
}
.carousel-caption p {
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: none;
    letter-spacing: .3px;
    background: rgb(20, 1, 77);
    display: inline-block;
    padding: .2rem .85rem;
    border-radius: 4px;
}

/* Section headings */
.section-title { font-weight: 800; color: var(--aclc-blue); position: relative; display: inline-block; }
.section-title::after {
    content: ''; display: block; height: 4px; width: 60px;
    background: var(--aclc-gold); border-radius: 2px; margin-top: 6px;
}

/* Program cards */
.program-card {
    border: none; border-radius: 16px; overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 8px 28px rgba(0,0,0,.15); }
.program-card .card-header { font-weight: 700; font-size: .85rem; letter-spacing: .5px; }
.program-card .card-body { background: #fff; }

/* Enrollment form */
.step-indicator { display: flex; gap: 0; margin-bottom: 2rem; }
.step-indicator .step {
    flex: 1; text-align: center; padding: .6rem .5rem;
    background: #e9ecef; font-size: .8rem; font-weight: 600;
    color: #6c757d; position: relative;
}
.step-indicator .step.active { background: var(--aclc-blue); color: #fff; }
.step-indicator .step.done  { background: #198754; color: #fff; }
.step-indicator .step:not(:last-child)::after {
    content: ''; position: absolute; right: -12px; top: 0;
    border-top: 22px solid transparent; border-bottom: 22px solid transparent;
    border-left: 12px solid #e9ecef; z-index: 1;
}
.step-indicator .step.active:not(:last-child)::after { border-left-color: var(--aclc-blue); }
.step-indicator .step.done:not(:last-child)::after  { border-left-color: #198754; }

/* Review card */
.review-table td:first-child { font-weight: 600; color: #495057; width: 40%; }

/* Admin sidebar */
.admin-sidebar {
    width: 260px; min-height: 100vh; background: var(--aclc-blue);
    position: fixed; top: 0; left: 0; z-index: 1000; overflow-y: auto;
}
.admin-sidebar .brand { padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar .nav-link {
    color: rgba(255,255,255,.75); padding: .65rem 1.5rem;
    border-radius: 0; transition: background .2s;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active { background: rgba(255,255,255,.12); color: #fff; }
.admin-sidebar .nav-link i { width: 22px; }
.admin-content { margin-left: 260px; padding: 2rem; }
.admin-topbar {
    background: #fff; border-bottom: 1px solid #dee2e6;
    padding: .75rem 2rem; margin-left: 260px;
    position: sticky; top: 0; z-index: 999;
    display: flex; align-items: center; justify-content: space-between;
}

/* Sidebar overlay */
.sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 999;
}
.sidebar-overlay.active { display: block; }

/* Mobile admin layout */
@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 1050;
    }
    .admin-sidebar.sidebar-open {
        transform: translateX(0);
    }
    .admin-content {
        margin-left: 0;
        padding: 1rem;
    }
    .admin-topbar {
        margin-left: 0;
        padding: .6rem 1rem;
    }
}

/* Stat cards */
.stat-card { border: none; border-radius: 14px; overflow: hidden; }
.stat-card .icon-box { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }

/* Responsive table */
.table-responsive { border-radius: 10px; overflow: hidden; }

/* Print styles */
@media print {
    .admin-sidebar, .admin-topbar, .no-print, .btn, nav { display: none !important; }
    .admin-content { margin-left: 0 !important; padding: 0 !important; }
    body { background: #fff !important; }
    .print-header { display: block !important; }
}
.print-header { display: none; }

/* Misc */
.bg-aclc { background: var(--aclc-blue) !important; }
.text-aclc { color: var(--aclc-blue) !important; }
.btn-aclc { background: var(--aclc-blue); color: #fff; }
.btn-aclc:hover { background: #0a2d6e; color: #fff; }
.badge-shs  { background: #0d6efd; }
.badge-col  { background: #198754; }

/* About section */
.about-section { background: var(--aclc-light); }
.about-icon { font-size: 2.5rem; color: var(--aclc-gold); }
