:root {
    --blue: #0d2b68;
    --blue-deep: #081a3d;
    --yellow: #f2c94c;
    --white: #ffffff;
    --light: #f5f8ff;
    --text: #18243d;
    --border: #dbe3f1;
    --success: #e7f7ec;
    --error: #fde9e9;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.narrow { width: min(760px, 92%); margin: 0 auto; }
.top-gap { margin-top: 24px; }
.navbar {
    position: sticky; top: 0; z-index: 50;
    background: var(--blue-deep); color: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand img { width: 56px; height: 56px; object-fit: contain; background: #fff; padding: 4px; border-radius: 8px; }
.brand strong { display: block; font-size: 1rem; }
.brand span { font-size: .9rem; opacity: .85; }
nav { display: flex; align-items: center; gap: 16px; }
nav a { color: var(--white); }
.menu-toggle { display: none; background: transparent; border: 0; color: white; font-size: 1.5rem; }
.hero {
    background: linear-gradient(135deg, rgba(8,26,61,.97), rgba(13,43,104,.92)), url('../images/logo.png') center/180px no-repeat;
    color: var(--white); padding: 80px 0;
}
.hero-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; margin: 10px 0; }
.hero-card, .card {
    background: var(--white); color: var(--text); border-radius: 18px; padding: 24px;
    box-shadow: 0 18px 40px rgba(10, 33, 84, 0.08);
    border: 1px solid var(--border);
}
.hero-card ul { margin: 12px 0 0 18px; }
.eyebrow { color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .84rem; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--yellow); color: var(--blue-deep); font-weight: 700;
    border: none; border-radius: 999px; padding: 13px 20px; cursor: pointer;
}
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--yellow); }
.btn.small { padding: 10px 16px; font-size: .92rem; }
.hero-actions, .course-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.section { padding: 72px 0; }
.section.alt { background: var(--light); }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scripture-block { background: var(--blue); color: var(--white); text-align: center; }
.scripture-block blockquote { font-size: 1.4rem; font-weight: 700; line-height: 1.5; margin: 18px 0; }
.page-banner { background: var(--light); padding: 52px 0 30px; border-bottom: 1px solid var(--border); }
.search-form { display: flex; gap: 12px; flex-wrap: wrap; }
.search-form input, .styled-form input, .styled-form textarea, .styled-form select {
    width: 100%; padding: 14px 15px; border: 1px solid var(--border); border-radius: 12px; font: inherit;
}
.styled-form { display: grid; gap: 16px; }
.styled-form label { display: grid; gap: 8px; font-weight: 600; }
.auth-page { min-height: 100vh; background: linear-gradient(160deg, var(--blue-deep), var(--blue)); }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-box { width: min(460px, 100%); background: white; border-radius: 22px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.auth-brand { text-align: center; margin-bottom: 12px; }
.auth-brand img { width: 76px; margin: 0 auto 8px; background: #fff; padding: 6px; border-radius: 10px; }
.auth-switch { text-align: center; }
.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; }
.alert.success { background: var(--success); }
.alert.error { background: var(--error); }
.badge, .status-pill {
    display: inline-block; padding: 7px 12px; border-radius: 999px; background: rgba(242, 201, 76, .18); color: var(--blue-deep); font-weight: 700;
}
.dashboard-wrap { background: var(--light); min-height: 70vh; padding: 40px 0 72px; }
.dashboard-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.dashboard-sidebar { display: grid; gap: 12px; align-content: start; }
.dashboard-sidebar a { padding: 10px 12px; border-radius: 10px; background: var(--light); }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px; border-bottom: 1px solid var(--border); text-align: left; }
.site-footer { background: var(--blue-deep); color: var(--white); padding-top: 42px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer a { display: block; color: rgba(255,255,255,.9); margin-bottom: 8px; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding: 16px 0; text-align: center; }
.text-link { color: var(--blue); font-weight: 700; }
@media (max-width: 900px) {
    .hero-grid, .cards.three, .footer-grid, .dashboard-grid, .section-head { grid-template-columns: 1fr; display: grid; }
    nav { display: none; position: absolute; top: 84px; right: 4%; background: var(--blue-deep); padding: 16px; border-radius: 12px; min-width: 220px; }
    nav.open { display: grid; }
    .menu-toggle { display: block; }
}
