/*
  Sekolah Misi — Professional Christian Missionary School
  Color Palette: Deep Blue, Gold/Yellow, White
  Fonts: Inter (sans-serif), Libre Baskerville (serif/spiritual)
*/

:root {
    /* Core Brand Colors */
    --blue-primary: #1558B0;
    --blue-dark: #0E3E7A;
    --blue-mid: #1E6DD5;
    --blue-light: #E8F1FB;
    --blue-subtle: #F0F6FF;

    --gold: #D4A017;
    --gold-bright: #F5C518;
    --gold-dark: #B08010;
    --gold-light: #FDF8EC;

    --white: #FFFFFF;
    --bg-color: #F7F9FC;
    --surface: #FFFFFF;

    --text-primary: #0F1C2E;
    --text-secondary: #4A5568;
    --text-muted: #8A97A8;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.14);
    --shadow-blue: 0 8px 24px rgba(21, 88, 176, 0.3);
    --shadow-gold: 0 8px 24px rgba(212, 160, 23, 0.4);

    /* Layout */
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    /* Transitions */
    --ease-fast: 0.2s ease;
    --ease-normal: 0.35s ease;
    --ease-slow: 0.55s ease;
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--ease-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.text-center {
    text-align: center;
}

section {
    padding: 100px 0;
}

/* ─── Utility Classes ──────────────────────────────────────── */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-primary);
    background-color: var(--blue-light);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.text-center-tag {
    display: block;
    text-align: center;
    margin-inline: auto;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.975rem;
    cursor: pointer;
    transition: all var(--ease-normal);
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: var(--blue-primary);
    color: var(--white);
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background-color: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(21, 88, 176, 0.4);
}

.btn-yellow {
    background-color: var(--gold);
    color: #0F1C2E;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    font-weight: 700;
}

.btn-yellow:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(212, 160, 23, 0.45);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--blue-primary);
    border-color: var(--blue-primary);
}

.btn-outline:hover {
    background-color: var(--blue-primary);
    color: var(--white);
}

/* ─── Top Announcement Bar ─────────────────────────────────── */
.top-bar {
    background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 100%);
    color: var(--text-primary);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: all var(--ease-normal);
}

.top-bar.hidden {
    display: none;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.top-bar-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.top-bar-inner p {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1200;
    margin: 0;
}

.top-bar-inner p a {
    color: var(--blue-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity var(--ease-fast);
}

.top-bar-inner p a:hover {
    opacity: 0.75;
}

.top-bar-close {
    position: absolute;
    right: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    line-height: 1;
    border-radius: 4px;
    transition: all var(--ease-fast);
}

.top-bar-close:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.1);
}

/* ─── Navbar ───────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    transition: all var(--ease-normal);
    border-bottom: 1px solid rgba(21, 88, 176, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform var(--ease-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue-dark);
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.footer-logo .logo-title,
.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.9);
}

.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.55);
}

.footer-logo img {
    filter: brightness(0) invert(1); /* Optional: make it white if needed, but the original has colors. Let's see. */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.925rem;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: width var(--ease-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background-color: var(--blue-primary);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--ease-fast);
    box-shadow: var(--shadow-blue);
}

.nav-btn:hover {
    background-color: var(--blue-dark);
    transform: translateY(-1px);
}

.nav-btn::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ─── Nav Dropdown ─────────────────────────────────────────── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-caret {
    font-size: 0.75rem;
    transition: transform var(--ease-normal);
}

.nav-dropdown:hover .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--ease-fast), transform var(--ease-fast), visibility var(--ease-fast);
    transform: translateX(-50%) translateY(6px);
    z-index: 200;
}

/* Arrow tip on dropdown */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    rotate: 45deg;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--ease-fast);
    text-decoration: none;
}

.dropdown-item i {
    font-size: 1.1rem;
    color: var(--blue-primary);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: var(--blue-subtle);
    color: var(--blue-primary);
}

.dropdown-item:hover i {
    color: var(--gold-dark);
}

/* ─── Donate Nav Link ──────────────────────────────────────── */
.nav-link-donate {
    color: #B91C1C !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link-donate i {
    font-size: 0.9rem;
    transition: transform var(--ease-fast);
}

.nav-link-donate:hover {
    color: #991B1B !important;
}

.nav-link-donate:hover i {
    transform: scale(1.2);
}

.nav-link-donate::after {
    background-color: #B91C1C !important;
}

/* ─── Nav Divider ──────────────────────────────────────────── */
.nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* ─── Hero Section ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
    background: linear-gradient(150deg, var(--blue-dark) 0%, var(--blue-primary) 55%, #1E6DD5 100%);
    color: var(--white);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: url('assets/images/video-cover.jpg') center/cover no-repeat;
    opacity: 0.07;
    z-index: 0;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero .shape-1 {
    top: -5%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: rgba(212, 160, 23, 0.25);
}

.hero .shape-2 {
    bottom: -10%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.07);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 80px;
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: 3.8rem;
    font-family: 'Libre Baskerville', serif;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.highlight-yellow {
    color: var(--gold-bright);
    font-style: italic;
}

.hero-desc {
    font-size: 1.075rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 44px;
    max-width: 560px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Verse Card */
.verse-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: floatCard 7s ease-in-out infinite;
}

.verse-card .ph-quotes {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 20px;
}

.verse-card blockquote {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.verse-card cite {
    font-size: 0.9rem;
    color: var(--gold-bright);
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.03em;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(8px); }
}

/* ─── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 5;
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 28px 24px;
    gap: 20px;
}

.stats-bar .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.stats-bar .stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue-primary);
    line-height: 1;
}

.stats-bar .stat-suffix {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.stats-bar .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

/* ─── Visi Misi Section ────────────────────────────────────── */
.visi-misi {
    background-color: var(--white);
}

.vm-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vm-content h2 {
    font-size: 2.5rem;
    color: var(--blue-dark);
    margin-bottom: 20px;
    font-family: 'Libre Baskerville', serif;
}

.vm-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.vm-pillars {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pillar-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.pillar-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--blue-light);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.pillar-item h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pillar-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.vm-visual {
    position: relative;
}

.vm-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.vm-img-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform var(--ease-slow);
}

.vm-img-wrapper:hover img {
    transform: scale(1.04);
}

.vm-badge-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--white);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    border-left: 4px solid var(--gold);
}

.vm-badge-card i {
    font-size: 2rem;
    color: var(--blue-primary);
}

.vm-badge-card strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.vm-badge-card span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ─── Section Headers (shared) ─────────────────────────────── */
.section-header {
    max-width: 640px;
    margin-bottom: 60px;
}

.section-header.text-center {
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.4rem;
    color: var(--blue-dark);
    margin-bottom: 16px;
    font-family: 'Libre Baskerville', serif;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ─── Video Section ────────────────────────────────────────── */
.video-section {
    background-color: var(--blue-subtle);
    position: relative;
    overflow: hidden;
}

.video-wrapper {
    max-width: 880px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.04);
    aspect-ratio: 16 / 9;
    background-color: #000;
    cursor: pointer;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ease-slow);
    opacity: 0.82;
}

.video-container:hover .video-cover {
    transform: scale(1.04);
    opacity: 0.7;
}

.video-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 30, 60, 0.75) 0%, rgba(10, 30, 60, 0.2) 50%, transparent 100%);
    z-index: 1;
}

.play-btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.play-btn {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: var(--gold);
    border: none;
    color: #fff;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ease-fast);
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.7);
}

.play-btn i {
    margin-left: 6px;
}

.play-btn.pulse {
    animation: pulse 2.2s infinite;
}

.play-btn:hover {
    background-color: var(--gold-dark);
    transform: scale(1.1);
}

.play-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    background: rgba(0,0,0,0.3);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.video-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.video-info h3 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 2px;
}

.video-info span {
    font-size: 0.8rem;
    opacity: 0.7;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(212, 160, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
}

/* ─── Program Section ──────────────────────────────────────── */
.program-section {
    background-color: var(--bg-color);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--ease-normal);
    position: relative;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(21, 88, 176, 0.1);
}

.program-card.featured {
    border-left: 4px solid var(--gold);
}

.program-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold-light);
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(212, 160, 23, 0.25);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.icon-box.blue {
    background-color: var(--blue-light);
    color: var(--blue-primary);
}

.icon-box.yellow {
    background-color: var(--gold-light);
    color: var(--gold-dark);
}

.icon-box.light {
    background-color: #F0F4F8;
    color: var(--blue-primary);
}

.icon-box.blue-light {
    background-color: #E8EFFF;
    color: #3B5BDB;
}

.program-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.program-card > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.program-topics {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.program-topics li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.program-topics li i {
    color: var(--blue-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ─── Gallery Section ──────────────────────────────────────── */
.media-gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ease-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 62, 122, 0.8) 0%, rgba(14, 62, 122, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--ease-normal);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    transform: translateY(8px);
    transition: transform var(--ease-normal);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

/* ─── Core Values Section ─────────────────────────────────── */
.core-values {
    background-color: var(--bg-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: all var(--ease-normal);
    border-top: 3px solid transparent;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--gold);
}

.value-card i {
    font-size: 2.2rem;
    color: var(--blue-primary);
    margin-bottom: 16px;
    display: block;
    transition: transform var(--ease-normal);
}

.value-card:hover i {
    transform: scale(1.15);
    color: var(--gold-dark);
}

.value-card h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ─── Testimonials Section ─────────────────────────────────── */
.testimonials {
    background-color: var(--blue-subtle);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testi-card {
    background: var(--white);
    padding: 36px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all var(--ease-normal);
}

.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testi-quote-icon {
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 16px;
    display: block;
}

.testi-card > p {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-family: 'Libre Baskerville', serif;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 20px;
}

.testi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-mid));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testi-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.testi-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ─── CTA Section ──────────────────────────────────────────── */
.cta-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.cta-container {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 60%, #2D7DD2 100%);
    border-radius: var(--radius-xl);
    padding: 70px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 3rem;
    color: var(--gold-bright);
    opacity: 0.85;
    margin-bottom: 20px;
    display: block;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 16px;
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
}

.cta-content p {
    font-size: 1.05rem;
    opacity: 0.88;
    margin-bottom: 36px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    filter: none;
}

.cta-shapes .circle-1 {
    width: 320px;
    height: 320px;
    top: -100px;
    left: -80px;
}

.cta-shapes .circle-2 {
    width: 400px;
    height: 400px;
    bottom: -160px;
    right: -80px;
}

/* ─── Footer ───────────────────────────────────────────────── */
footer {
    background-color: var(--blue-dark);
    color: var(--white);
    padding-top: 0;
    position: relative;
}

.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--blue-primary) 50%, var(--gold-bright) 100%);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 60px;
    padding: 70px 0 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand .logo {
    align-self: flex-start;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.8;
    border-left: 3px solid var(--gold);
    padding-left: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65);
    transition: all var(--ease-fast);
}

.social-links a:hover {
    background-color: var(--blue-primary);
    color: var(--white);
    border-color: var(--blue-primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-self: start;
    padding-top: 6px;
}

.link-group h4 {
    color: var(--white);
    margin-bottom: 22px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group ul li {
    margin-bottom: 12px;
}

.link-group ul a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    transition: all var(--ease-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.link-group ul a i {
    font-size: 0.85rem;
    opacity: 0.7;
}

.link-group ul a:hover {
    color: var(--gold-bright);
    padding-left: 4px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    line-height: 1.55;
}

.contact-info i {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.footer-bottom-inner p:last-child {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    color: var(--gold);
    opacity: 0.6;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-container {
        gap: 50px;
    }

    .vm-container {
        gap: 50px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-desc {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .verse-card {
        max-width: 480px;
        margin: 0 auto;
    }

    .vm-container {
        grid-template-columns: 1fr;
    }

    .vm-badge-card {
        right: 16px;
        bottom: -16px;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 72px 0;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        transition: left var(--ease-normal);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        padding: 20px 0;
    }

    /* On mobile: show dropdown sub-items inline instead of floating */
    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
        box-shadow: none;
        border: none;
        border-top: 1px dashed rgba(0, 0, 0, 0.08);
        border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
        border-radius: 0;
        padding: 8px 0;
        background: var(--blue-subtle);
        min-width: unset;
        width: 100%;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-caret {
        display: none;
    }

    .nav-divider {
        width: 60px;
        height: 1px;
        background: rgba(0, 0, 0, 0.1);
    }


    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cta-container {
        padding: 50px 28px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}