/* ================================================================
   YAYASAN ANNAJAH — Landing Page CSS
   Theme: White + Green (Hijau & Putih)
   Design: Clean, Modern, Professional — Inspired by Ksatrya
================================================================ */

/* --- CSS Variables --- */
:root {
    --primary: #1A5C38;
    --primary-light: #248A54;
    --primary-dark: #124328;
    --primary-deep: #0B2818;
    --primary-bg: #f0f7f2;
    --accent: #E8B84B;
    --accent-light: #f5d88a;
    --white: #FFFFFF;
    --off-white: #f8faf9;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --text-dark: #1f2937;
    --text-body: #4b5563;
    --text-muted: #6b7280;
    --text-light: #FFFFFF;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--off-white);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ================================================================
   TOP INFO BAR
================================================================ */
.top-info-bar {
    background: var(--primary-deep);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-info-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-info-bar .info-left {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-info-bar .info-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-info-bar .info-right a {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.top-info-bar .info-right a:hover {
    color: var(--accent-light);
}

.top-info-bar .info-right i {
    color: var(--accent);
}

/* ================================================================
   MAIN NAVBAR
================================================================ */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.main-nav.scrolled {
    background: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-light);
    flex-shrink: 0;
}

.nav-brand img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--white);
    line-height: 1.2;
}

.nav-brand-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.12);
    color: var(--white);
}

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

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    margin-top: 8px;
    border: 1px solid var(--gray-200);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--primary-light);
    font-size: 13px;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: 20px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.1);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--primary-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 24px 24px;
    gap: 4px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: rgba(255,255,255,0.08);
}

.mobile-menu a i {
    width: 20px;
    text-align: center;
    color: var(--accent);
}

.mobile-menu .mobile-sub-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    padding: 12px 16px 4px;
    font-weight: 600;
}

/* ================================================================
   HERO SECTION
================================================================ */
.hero-section {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-slide.logo-slide {
    background: #ffffff;
}

.hero-slide.logo-slide > img {
    object-fit: contain;
    padding: 30px;
    filter: none;
    opacity: 1;
}

.hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.hero-control:hover {
    background: rgba(0,0,0,0.4);
}

.hero-control.prev { left: 20px; }
.hero-control.next { right: 20px; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11,40,24,0.82) 0%, rgba(26,92,56,0.72) 50%, rgba(18,67,40,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 24px;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 44px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    max-width: 650px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    background: var(--primary-bg);
}

/* ================================================================
   CONTAINER UTILITY
================================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   SECTION COMMON
================================================================ */
.section {
    padding: 80px 0;
}

.section.bg-light {
    background: var(--off-white);
}

.section.bg-green {
    background: var(--primary);
    color: var(--white);
}

.section.bg-green-dark {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Faint geometric/circle background pattern to break the flat green space */
.section.bg-green-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 80%, rgba(255,255,255,0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(212,175,55,0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    background: rgba(26,92,56,0.08);
    color: var(--primary);
    border: 1px solid rgba(26,92,56,0.15);
}

.section.bg-green .section-badge,
.section.bg-green-dark .section-badge {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: rgba(255,255,255,0.2);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.25;
}

.section.bg-green .section-title,
.section.bg-green-dark .section-title {
    color: var(--white);
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 16px;
    border-radius: 3px;
}

.section.bg-green .section-divider,
.section.bg-green-dark .section-divider {
    background: var(--accent);
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.section.bg-green .section-desc,
.section.bg-green-dark .section-desc {
    color: rgba(255,255,255,0.8);
}

/* ================================================================
   TINGKAT PENDIDIKAN — 3 CARDS
================================================================ */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.edu-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.edu-card:hover::before {
    transform: scaleX(1);
}

.edu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.edu-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.edu-card.featured::before {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.edu-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.edu-icon i {
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.edu-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.edu-card:hover .edu-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.edu-card:hover .edu-icon i {
    color: var(--white);
}

.edu-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.edu-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.edu-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.edu-status.active {
    background: rgba(34,197,94,0.1);
    color: #16a34a;
    border: 1px solid rgba(34,197,94,0.2);
}

.edu-status.progress {
    background: rgba(245,158,11,0.1);
    color: #d97706;
    border: 1px solid rgba(245,158,11,0.2);
}

.edu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 8px;
}

.edu-btn.btn-green {
    background: var(--primary);
    color: var(--white);
}

.edu-btn.btn-green:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26,92,56,0.3);
}

.edu-btn.btn-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--gray-300);
}

/* ================================================================
   VISI MISI
================================================================ */
.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.vm-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
}

.vm-card .vm-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vm-card .vm-icon i {
    font-size: 24px;
    color: var(--accent);
}

.vm-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.vm-card p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
}

/* ================================================================
   MOTTO — 3 PILAR
================================================================ */
.motto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.motto-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.motto-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.motto-card:hover::after {
    transform: scaleX(1);
}

.motto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.motto-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.motto-icon i {
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.motto-card:hover .motto-icon {
    background: var(--primary);
    transform: scale(1.1) rotate(-5deg);
}

.motto-card:hover .motto-icon i {
    color: var(--white);
}

.motto-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.motto-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: left;
}

/* ================================================================
   KEUNGGULAN
================================================================ */
.keunggulan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.keunggulan-item {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.keunggulan-item:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.3);
}

.keunggulan-item .k-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.keunggulan-item .k-icon i {
    font-size: 20px;
    color: var(--accent);
}

.keunggulan-item h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.keunggulan-item p {
    font-size: 13.5px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

/* ================================================================
   SAMBUTAN PIMPINAN
================================================================ */
.sambutan-layout {
    display: flex;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Watermark Logo */
.sambutan-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
}

.sambutan-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(200%);
}

.sambutan-photo {
    flex: 0 0 320px;
    position: relative;
}

.sambutan-photo img {
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.sambutan-photo::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.sambutan-text {
    flex: 1;
}

.sambutan-text .sambutan-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: uppercase;
}

.sambutan-divider {
    margin: 0 0 20px 0;
}

.section.bg-green-dark .sambutan-text .sambutan-main-title {
    color: var(--white);
}

.sambutan-text .sambutan-name {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.sambutan-text .sambutan-role {
    font-size: 14px;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sambutan-text .sambutan-role::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.sambutan-text .greeting {
    font-family: 'Amiri', serif;
    font-size: 20px;
    color: var(--primary);
    font-style: italic;
    margin-bottom: 16px;
}

.sambutan-text p {
    font-size: 15.5px;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 14px;
}

.sambutan-text .btn-profil {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    margin-top: 10px;
}

.sambutan-text .btn-profil:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,92,56,0.3);
}

/* When Sambutan is on a dark green background */
.section.bg-green-dark .sambutan-text .sambutan-name {
    color: var(--white);
}

.section.bg-green-dark .sambutan-text .sambutan-role {
    color: var(--accent);
}

.section.bg-green-dark .sambutan-text .sambutan-role::before {
    background: var(--accent);
}

.section.bg-green-dark .sambutan-text .greeting {
    color: var(--white);
}

.section.bg-green-dark .sambutan-text p {
    color: rgba(255, 255, 255, 0.9);
}

.section.bg-green-dark .sambutan-text .btn-profil {
    background: var(--white);
    color: var(--primary-dark);
}

.section.bg-green-dark .sambutan-text .btn-profil:hover {
    background: var(--accent);
    color: var(--primary-deep);
}

/* ================================================================
   BERITA TERBARU
================================================================ */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.berita-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.berita-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.berita-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.berita-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.berita-card:hover .berita-img img {
    transform: scale(1.08);
}

.berita-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.berita-date .day {
    display: block;
    font-size: 22px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.berita-date .month-year {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.berita-body {
    padding: 20px 24px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.berita-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.berita-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* ================================================================
   DONASI SECTION
================================================================ */
.donasi-card {
    background: var(--white);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donasi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.donasi-bismillah {
    font-family: 'Amiri', serif;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
    direction: rtl;
}

.donasi-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.donasi-text {
    font-size: 15px;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.bank-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.bank-item {
    text-align: center;
    transition: var(--transition);
}

.bank-item:hover {
    transform: translateY(-4px);
}

.bank-logo {
    height: auto;
    width: 100%;
    max-width: 400px;
    object-fit: contain;
}

.bank-name {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.bank-code {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.bank-number {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.bank-holder {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

.donasi-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
    margin-bottom: 20px;
}

.donasi-wa-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26,92,56,0.3);
}

.donasi-doa {
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    max-width: 650px;
    margin: 0 auto;
}

.donasi-doa .doa-arabic {
    font-family: 'Amiri', serif;
    font-size: 20px;
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 8px;
    direction: rtl;
}

.donasi-doa .doa-translate {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

/* ================================================================
   CTA SECTION
================================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-inner h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-inner p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 550px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-cta-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

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

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.75);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 56px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.footer-brand-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
}

.footer-brand-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bio {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 18px;
}

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    transition: var(--transition);
}

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

.social-btn.wa:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-links li a i {
    font-size: 11px;
    color: var(--primary-light);
}

.footer-unit-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 4px;
}

.footer-unit-status.active {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
}

.footer-unit-status.progress {
    background: rgba(245,158,11,0.15);
    color: #fbbf24;
}

/* Footer Contact */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-item i {
    color: var(--primary-light);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

.footer-contact-item a {
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-tag {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ================================================================
   SCROLL TO TOP
================================================================ */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
================================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .edu-grid,
    .motto-grid,
    .berita-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .visi-misi-grid {
        grid-template-columns: 1fr;
    }

    .sambutan-layout {
        flex-direction: column;
        text-align: center;
    }

    .sambutan-photo {
        flex: 0 0 auto;
        max-width: 350px;
    }

    .sambutan-photo::before {
        display: block;
        width: 180px;
        height: 180px;
    }

    .sambutan-text .sambutan-role {
        justify-content: center;
    }

    .sambutan-text .sambutan-role::before {
        display: none;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

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

    .hero-content h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .top-info-bar .info-left {
        display: none;
    }

    .hero-section {
        height: 420px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-control {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .edu-grid,
    .motto-grid,
    .berita-grid,
    .keunggulan-grid {
        grid-template-columns: 1fr;
    }

    .sambutan-photo {
        max-width: 280px;
    }

    .sambutan-text .sambutan-main-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .sambutan-divider {
        margin: 0 auto 20px auto;
    }

    .sambutan-text .sambutan-name {
        font-size: 16px;
    }

    .donasi-card {
        padding: 36px 20px;
    }

    .donasi-title {
        font-size: 24px;
    }

    .bank-item {
        min-width: auto;
        width: 100%;
        max-width: none;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-tags {
        justify-content: center;
    }

    .cta-inner h3 {
        font-size: 22px;
    }

    .scroll-top {
        bottom: 16px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-section {
        height: 380px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .nav-brand-name {
        font-size: 15px;
    }

    .nav-brand-sub {
        font-size: 10px;
    }

    .section-title {
        font-size: 22px;
    }

    .donasi-bismillah {
        font-size: 26px;
    }

    .donasi-title {
        font-size: 20px;
    }

    .bank-number {
        font-size: 20px;
    }
}

/* News Modal */
.news-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.news-modal.show {
    display: flex;
}

.news-modal-content {
    background-color: var(--white);
    max-width: 850px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--white);
    background: rgba(0,0,0,0.5);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--primary);
}

.modal-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
}

.modal-date {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.modal-title {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.modal-text {
    color: var(--text-body);
    line-height: 1.8;
}

.modal-text p {
    margin-bottom: 15px;
}

.modal-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .news-modal {
        padding: 0;
    }
    .news-modal-content {
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    .modal-img {
        height: 250px;
    }
    .modal-body {
        padding: 20px;
    }
    .modal-title {
        font-size: 20px;
    }
}