/* ================================================================
   YAYASAN ANNAJAH — Portal & Gateway CSS
   Theme: Exact Green & Plus Pattern Synchronized with smp.annajah.id
   Design: Modern Glassmorphism & Micro-animations
================================================================ */

/* --- CSS Variables (Synchronized with frontend.css) --- */
:root {
    --primary: #1A5C38;
    --primary-light: #248A54;
    --primary-dark: #124328;
    --primary-deep: #0B2818;
    --gold: #F4D03F;
    --gold-light: #F7DC6F;
    --gold-dark: #B7950B;
    --text-light: #FFFFFF;
    --text-muted: #C3D6CB;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-hover: rgba(255, 255, 255, 0.14);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-border-hover: rgba(244, 208, 63, 0.5);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-md: 0 12px 36px rgba(11, 40, 24, 0.45);
    --shadow-lg: 0 20px 60px rgba(11, 40, 24, 0.65);
    --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: 90px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    /* Persis Warna Background dari smp.annajah.id / frontend.css */
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 40%, var(--primary) 100%);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
}

/* --- Background Plus Pattern (Persis SVG dari frontend.css) --- */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    opacity: 1;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.bg-gradient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.2;
}

.bg-glow-1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: -180px;
    left: 10%;
}

.bg-glow-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    bottom: 10%;
    right: -150px;
}

.bg-glow-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #248A54 0%, transparent 70%);
    top: 45%;
    left: -120px;
}

/* --- TOP NAVIGATION BAR --- */
.portal-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 67, 40, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
}

.portal-nav.scrolled {
    background: rgba(11, 40, 24, 0.96);
    border-bottom-color: rgba(244, 208, 63, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

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

.nav-logo {
    height: 46px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.nav-title {
    font-family: 'Outfit', sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #FFFFFF 40%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item i {
    font-size: 14px;
    color: var(--gold);
    opacity: 0.9;
}

.nav-item:hover {
    color: var(--gold-light);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--gold-light);
    font-size: 20px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(11, 40, 24, 0.98);
    border-top: 1px solid var(--glass-border);
    padding: 16px 24px 24px;
    gap: 16px;
}

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

.mobile-item {
    text-decoration: none;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Portal Wrapper --- */
.portal-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    display: flex;
    flex-direction: column;
    gap: 70px;
}

/* --- HERO HEADER SECTION --- */
.portal-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Selamat Datang bergaya tulisan sambutan hangat persis di tengah */
.welcome-greeting {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 24px auto;
    font-family: 'Amiri', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-light);
    font-style: italic;
    letter-spacing: 1.2px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}

.sparkle-star {
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: sparkleGlow 1.8s infinite alternate ease-in-out;
}

.logo-area {
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
}

.logo-area::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(244, 208, 63, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulseGlow 4s infinite alternate;
}

/* Logo Yayasan Ukuran Besar */
.yayasan-logo {
    width: 260px;
    height: auto;
    max-width: 80vw;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
    transition: var(--transition);
}

.logo-area:hover .yayasan-logo {
    transform: scale(1.05) rotate(1deg);
}

.yayasan-title {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg, #FFFFFF 30%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.yayasan-subtitle {
    font-family: 'Amiri', serif;
    font-size: 30px;
    color: var(--gold);
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.divider .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.divider .line {
    width: 80px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.portal-tagline {
    font-size: 17.5px;
    color: var(--text-light);
    opacity: 0.95;
    max-width: 740px;
    margin: 0 auto 36px;
    font-weight: 400;
    line-height: 1.8;
}

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

.btn-hero-primary {
    text-decoration: none;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0B2818;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 34px;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(244, 208, 63, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(244, 208, 63, 0.55);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-hero-secondary {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 34px;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.16);
}

/* --- SECTION GENERAL STYLES --- */
.section-container {
    width: 100%;
}

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

.section-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--gold-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.3;
}

.section-title.text-left {
    text-align: left;
}

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

/* --- SUBDOMAIN CARD GRID (Persis warna kartu di smp.annajah.id) --- */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.portal-card {
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.portal-card.featured-card {
    border: 1px solid rgba(244, 208, 63, 0.4);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(26, 92, 56, 0.35) 100%);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(244, 208, 63, 0.12) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.portal-card:hover .card-glow {
    opacity: 1;
}

.portal-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 40px rgba(11, 40, 24, 0.6), 0 0 20px rgba(244, 208, 63, 0.2);
}

.card-icon-wrapper {
    margin-bottom: 20px;
    z-index: 2;
}

.card-icon-bg {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold-light);
    transition: var(--transition);
    overflow: hidden;
    padding: 6px;
}

.portal-card:hover .card-icon-bg {
    background: rgba(26, 92, 56, 0.7);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(244, 208, 63, 0.3);
    transform: scale(1.08) rotate(-3deg);
}

.smp-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-info {
    z-index: 2;
    flex-grow: 1;
}

.card-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.highlight-badge {
    background: rgba(244, 208, 63, 0.2);
    color: var(--gold-light);
    border-color: rgba(244, 208, 63, 0.35);
}

.card-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.card-badges-row .card-badge {
    margin-bottom: 0;
}

.badge-progress {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(255, 165, 0, 0.18);
    color: #FFB84D;
    border: 1px solid rgba(255, 165, 0, 0.35);
    text-transform: uppercase;
}

.badge-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(46, 204, 113, 0.2);
    color: #58D68D;
    border: 1px solid rgba(46, 204, 113, 0.4);
    text-transform: uppercase;
}

.url-note {
    font-size: 12px;
    color: #FFB84D;
    font-weight: 500;
    margin-left: 4px;
}

.url-active-note {
    font-size: 12px;
    color: #58D68D;
    font-weight: 500;
    margin-left: 4px;
}

.btn-progress {
    color: #FFB84D !important;
}

.footer-status-progress {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 165, 0, 0.18);
    color: #FFB84D;
    border-radius: 12px;
    font-size: 10.5px;
    font-weight: 600;
    margin-left: 6px;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.footer-status-active {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(46, 204, 113, 0.2);
    color: #58D68D;
    border-radius: 12px;
    font-size: 10.5px;
    font-weight: 600;
    margin-left: 6px;
    border: 1px solid rgba(46, 204, 113, 0.35);
}

.card-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    color: #FFFFFF;
}

.card-url {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gold-light);
    font-family: monospace;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.card-footer {
    margin-top: 16px;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

.btn-visit {
    font-size: 14.5px;
    font-weight: 700;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.portal-card:hover .btn-visit {
    color: var(--gold);
}

.portal-card:hover .btn-visit i {
    transform: translateX(8px);
}

/* --- ABOUT SECTION & STATS --- */
.about-section {
    background: rgba(18, 67, 40, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    backdrop-filter: blur(16px);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.about-text strong {
    color: #FFFFFF;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-light);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 20px 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.14);
}

.stat-icon {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 8px;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.stat-sub {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- LEADERSHIP MESSAGE SECTION WITH FOUNDER PHOTO SLOT --- */
.leadership-section {
    width: 100%;
}

.leadership-card {
    background: linear-gradient(135deg, rgba(26, 92, 56, 0.6) 0%, rgba(18, 67, 40, 0.8) 100%);
    border: 1px solid rgba(244, 208, 63, 0.4);
    border-radius: var(--radius-xl);
    padding: 34px 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 30px;
    align-items: center;
}

.leadership-photo-box {
    flex-shrink: 0;
}

.photo-frame {
    width: 170px;
    height: 220px;
    border-radius: var(--radius-lg);
    background: rgba(18, 67, 40, 0.8);
    border: 2.5px solid var(--gold);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(244, 208, 63, 0.2);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.photo-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(26, 92, 56, 0.8) 0%, rgba(18, 67, 40, 0.95) 100%);
    color: var(--gold-light);
    z-index: 1;
}

.photo-fallback i {
    font-size: 64px;
    color: var(--gold);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.photo-fallback span {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 0 12px;
}

.leadership-content {
    flex-grow: 1;
}

.quote-icon {
    font-size: 46px;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 12px;
}

.quote-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.quote-text {
    font-family: 'Amiri', serif;
    font-size: 17.5px;
    line-height: 1.6;
    color: #FFFFFF;
    font-style: italic;
    margin-bottom: 20px;
}

.leadership-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 22px;
}

.profile-name {
    font-size: 18.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.profile-role {
    font-size: 14.5px;
    color: var(--text-muted);
}

.profile-badge {
    background: rgba(244, 208, 63, 0.18);
    border: 1px solid rgba(244, 208, 63, 0.35);
    color: var(--gold-light);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- 3 PILLARS SECTION (Telah disesuaikan menjadi pas 3 kolom) --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 208, 63, 0.45);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(244, 208, 63, 0.16);
    border: 1px solid rgba(244, 208, 63, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 16px;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    background: var(--gold);
    color: #0B2818;
    transform: scale(1.1) rotate(-5deg);
}

.pillar-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.pillar-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- PREMIUM MULTI-COLUMN FOOTER SECTION --- */
.portal-footer {
    width: 100%;
}

/* CTA Card di atas Footer */
.footer-cta {
    background: linear-gradient(135deg, rgba(26, 92, 56, 0.75) 0%, rgba(18, 67, 40, 0.95) 100%);
    border: 1px solid rgba(244, 208, 63, 0.4);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
}

.cta-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.cta-text p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.7;
}

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

.btn-cta-gold {
    text-decoration: none;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0B2818;
    font-weight: 700;
    font-size: 15.5px;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(244, 208, 63, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(244, 208, 63, 0.55);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-cta-outline {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 15.5px;
    padding: 14px 26px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--gold);
    color: var(--gold-light);
}

/* Main Grid 4 Columns */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 68px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.footer-brand-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.3px;
}

.footer-brand-header p {
    font-size: 14px;
    color: var(--gold-light);
}

.footer-bio {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gold);
    color: #0B2818;
    transform: translateY(-3px) rotate(6deg);
    border-color: var(--gold);
    box-shadow: 0 6px 16px rgba(244, 208, 63, 0.3);
}

.whatsapp-btn:hover {
    background: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.footer-links li a i {
    font-size: 12px;
    color: var(--gold);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: #FFFFFF;
    transform: translateX(5px);
}

.footer-links li a:hover i {
    color: var(--gold-light);
}

.contact-box-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-item-row i {
    color: var(--gold);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item-row a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item-row a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.badge-tag {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Keyframe Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sparkleGlow {
    from {
        transform: scale(0.85);
        opacity: 0.6;
    }

    to {
        transform: scale(1.15);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.2;
    }

    to {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.45;
    }
}

/* --- RESPONSIVE LAYOUT BREAKPOINTS --- */
@media (max-width: 1100px) {
    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .leadership-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
        gap: 28px;
    }

    .leadership-profile {
        justify-content: center;
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 46px;
    }

    .footer-cta {
        flex-direction: column;
        text-align: center;
        padding: 38px 30px;
    }

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

@media (max-width: 850px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .portal-wrapper {
        padding: 100px 18px 40px;
        gap: 70px;
    }

    .welcome-greeting {
        font-size: 22px;
    }

    .yayasan-title {
        font-size: 36px;
    }

    .yayasan-subtitle {
        font-size: 24px;
    }

    .yayasan-logo {
        width: 220px;
    }

    .quote-icon {
        font-size: 38px;
    }
}

@media (max-width: 650px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }

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

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

    .about-section {
        padding: 36px 24px;
    }

    .welcome-greeting {
        font-size: 20px;
    }

    .photo-frame {
        width: 180px;
        height: 230px;
    }

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

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

    .footer-badges {
        justify-content: center;
    }

    .donation-card {
        padding: 36px 22px;
    }

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

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .bank-card {
        padding: 22px 18px;
        min-width: auto;
    }

    .btn-confirm-donasi {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    .donation-card {
        padding: 32px 18px;
    }

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

    .donation-icon {
        font-size: 36px;
    }
}

/* --- DONATION SECTION --- */
.donation-section {
    margin-top: 0;
}

.donation-card {
    background: rgba(18, 67, 40, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 30px 40px;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.donation-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.donation-icon {
    font-size: 34px;
    color: var(--gold);
    margin-bottom: 10px;
}

.donation-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.donation-text {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 16px;
    line-height: 1.6;
}

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

.bank-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    transition: var(--transition);
    text-align: center;
    min-width: 200px;
    max-width: 300px;
    width: 100%;
}

.bank-card:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 208, 63, 0.45);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-md);
}

.bank-logo-placeholder {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.bank-details h5 {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: 500;
}

.bank-details h3 {
    color: var(--text-light);
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-style: italic;
}

.bank-details p {
    color: var(--text-muted);
    font-size: 12px;
}

.donation-cta {
    margin-top: 8px;
}

.btn-confirm-donasi {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-confirm-donasi:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.16);
}

.donation-doa {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.doa-arabic {
    font-family: 'Amiri', serif;
    font-size: 20px;
    color: var(--gold-light);
    line-height: 1.6;
    margin-bottom: 6px;
}

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