/* ==========================================================================
   1. BASE & TYPOGRAPHY IMPORTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

/* ==========================================================================
   2. DESIGN TOKENS (CSS VARIABLES)
   ========================================================================== */
:root {
    /* -- Typography -- */
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* -- Font Sizes (Scale) -- */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-md: 1.125rem;    /* 18px */
    --text-lg: 1.25rem;     /* 20px */
    --text-xl: 1.5rem;      /* 24px */
    --text-2xl: 2rem;       /* 32px */
    --text-3xl: 2.5rem;     /* 40px */
    
    --line-height-heading: 1.2;
    --line-height-body: 1.6;

    /* -- Core Color System -- */
    --color-primary: #0f172a;        /* Navy Dark */
    --color-secondary: #fbbf24;      /* Gold/Yellow */
    --color-accent: #3b82f6;         /* Blue */
    
    --color-success: #10b981;        
    --color-warning: #f59e0b;        
    --color-danger: #ef4444;         
    
    /* Neutrals */
    --color-neutral-dark: #1e293b;
    --color-neutral-gray: #64748b;
    --color-neutral-light: #f1f5f9;
    --color-neutral-white: #ffffff;
    --color-body-bg: #f8fafc;

    /* -- Pastel Gradient Palette (Soft UI & Modern) -- */
    --pastel-sky: #e0f2fe;
    --pastel-lavender: #f3e8ff;
    --pastel-peach: #ffedd5;
    --pastel-mint: #d1fae5;
    --pastel-pink: #fce7f3;

    /* -- Soft UI Shadows -- */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
    --shadow-inset: inset 0 2px 4px rgba(15, 23, 42, 0.06);

    /* -- Glassmorphism Variables -- */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-dark: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(12px);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* -- Border Radius -- */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ==========================================================================
   3. CSS RESET & GLOBAL STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--line-height-body);
    color: var(--color-neutral-dark);
    background-color: var(--color-body-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--line-height-heading);
    color: var(--color-primary);
    font-weight: 700;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* CLASS UNTUK LENIS SMOOTH SCROLL */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Base Utility for Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
}

/* Navbar & Footer styles moved to assets/css/navbar-footer.css */

/* --- PARALLAX SECTION (HOME) --- */
.home {
    display: flex;
    height: 100vh;
    background: linear-gradient(to top, #D2E2FB 30%, #86A8DB);
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.home img {
    position: absolute;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    object-fit: cover;
}

@media (max-width: 768px) {
    .home img {
        height: 60vh;
        width: auto;
        max-width: none;
    }
}

.home .title {
    position: relative;
    color: white;
    font-size: 80px;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    white-space: nowrap;
    z-index: 10;
    margin-top: -100px;
}

@media (max-width: 768px) {
    .home .title {
        font-size: 40px;
    }
}

/* --- ABOUT SECTION --- */
.about {
    padding: 80px 10%;
    background: #3B3291;
    color: white;
    position: relative;
    z-index: 100;
    opacity: 1;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.about-img {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.about-img img.main-img {
    width: 100%;
    border-radius: 20px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.about-img img.sub-img {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    border: 4px solid #facc15;
    z-index: 3;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

@media(max-width: 768px) {
    .about-img img.sub-img {
        width: 120px;
        height: 120px;
        right: 0;
        bottom: -20px;
    }
}

.about-blob {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: #facc15;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.5;
    filter: blur(40px);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.about-text h1 span {
    color: #facc15;
}

.about-text p {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 25px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(250, 204, 21, 0.1);
    color: #facc15;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
    color: white;
}

.feature-text p {
    font-size: 14px;
    margin: 0;
    color: #a0aec0;
}

/* --- VISI MISI SECTION --- */
.visi-misi-section {
    padding: 80px 5%;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.visi-misi-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.visi-card, .misi-card {
    flex: 1;
    min-width: 320px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visi-card:hover, .misi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.visi-icon, .misi-icon {
    width: 60px;
    height: 60px;
    background: rgba(250, 204, 21, 0.1);
    color: #facc15;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(250, 204, 21, 0.2);
}

.visi-card h3, .misi-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.visi-card p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
}

.misi-list {
    list-style: none;
    padding: 0;
}

.misi-list li {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.misi-list li i {
    color: #10b981;
    margin-top: 4px;
}

/* --- ORGANISASI --- */
.org-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.org-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.org-header h2 {
    font-size: 36px;
    color: #0f172a;
    font-weight: 700;
}

.org-header h2 span {
    color: #2c256d;
}

.btn-detail-org {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #2c256d;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(44, 37, 109, 0.3);
}

.btn-detail-org:hover {
    background: #facc15;
    color: #0f172a;
    transform: translateY(-3px);
}

.org-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.org-slider-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: auto;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.org-slider-container::-webkit-scrollbar {
    display: none;
}

/* --- ORGANISASI (3D REDESIGN) --- */
.org-slider-container {
    padding: 40px 10px;
    /* Tambah padding vertical untuk ruang hover */
}

/* Container untuk Efek 3D */
.org-card {
    position: relative;
    width: 260px;
    height: 320px;
    background: transparent;
    perspective: 1000px;
    /* Kunci untuk efek 3D */
    flex-shrink: 0;
    cursor: pointer;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Wrapper Dalam untuk Rotasi */
.org-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

/* Card Berputar saat Hover */
.org-card:hover .org-card-inner {
    transform: rotateY(180deg);
}

/* Sisi Depan & Belakang */
.org-card-front,
.org-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

/* Gaya Sisi Depan */
.org-card-front {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dekorasi Depan - Lingkaran bercahaya */
.org-card-front::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 60%);
    opacity: 0.5;
    z-index: 0;
}

.org-card-front i {
    font-size: 50px;
    color: #facc15;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: 1px solid rgba(250, 204, 21, 0.2);
}

.org-card-front h4 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 1;
    margin: 0;
    color: white;
}

/* Gaya Sisi Belakang (Tersembunyi Awalnya) */
.org-card-back {
    background: linear-gradient(135deg, #2c256d 0%, #4338ca 100%);
    color: white;
    transform: rotateY(180deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.org-card-back h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #facc15;
}

.org-card-back p {
    font-size: 14px;
    line-height: 1.5;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.btn-card-action {
    padding: 8px 20px;
    background: white;
    color: #2c256d;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.btn-card-action:hover {
    background: #facc15;
    transform: scale(1.05);
}

.org-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    color: #2c256d;
    border-radius: 50%;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 18px;
}

.org-nav-btn:hover {
    background: #facc15;
    color: #0f172a;
    transform: translateY(-50%) scale(1.1);
}

.org-prev {
    left: 0;
}

.org-next {
    right: 0;
}

/* --- NEWS SECTION --- */
.news-section {
    padding: 80px 5%;
    background: #f8fafc;
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-header h1 {
    font-size: 36px;
    color: #0f172a;
}

.news-header h1 span {
    color: #facc15;
}

.news-header p {
    color: #64748b;
    margin-top: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.news-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #facc15;
    color: #0f172a;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.news-meta i {
    color: #facc15;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover h3 {
    color: #d97706;
}

.news-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0f172a;
    font-weight: 700;
    font-size: 13px;
}

.btn-arrow {
    width: 35px;
    height: 35px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: #0f172a;
}

.news-card:hover .btn-arrow {
    background: #facc15;
    transform: rotate(-45deg);
}

.view-all-container {
    text-align: center;
    margin-top: 60px;
}

.btn-view-all {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #1e1b4b;
    color: #1e1b4b;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-view-all:hover {
    background: #1e1b4b;
    color: white;
}

/* --- JOIN SECTION --- */
.join-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, #1e1b4b 0%, #2c256d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.join-bg-deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: #facc15;
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    pointer-events: none;
}

.join-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.join-content {
    flex: 1;
    min-width: 300px;
}

.join-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.join-content h1 span {
    color: #facc15;
}

.join-content p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.6;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
    margin-bottom: 40px;
}

.step-item {
    position: relative;
}

.step-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #facc15;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.step-item h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 5px;
}

.step-item p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.join-cta {
    flex: 0 0 350px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.join-cta h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.join-cta p {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.btn-join {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background: #facc15;
    color: #1e1b4b;
    font-weight: 800;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    animation: pulse-yellow 2s infinite;
}

.btn-join:hover {
    background: #fff;
    transform: translateY(-3px);
    animation: none;
}

@keyframes pulse-yellow {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(250, 204, 21, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
    }
}

/* Footer styles moved to assets/css/navbar-footer.css */

/* --- CUSTOM MODAL (PENDAFTARAN) --- */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.custom-modal-content {
    background: white;
    margin: 10vh auto;
    padding: 40px 30px;
    border-radius: 20px;
    width: 500px;
    max-width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUpModal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUpModal {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.custom-modal-close {
    color: #cbd5e1;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.custom-modal-close:hover {
    color: #ef4444;
}

.modal-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #fef2f2;
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.custom-modal-content h2 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 10px;
}

.custom-modal-content p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.custom-modal-content .modal-subtext {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 30px;
    font-style: italic;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-modal-primary {
    padding: 12px 24px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-size: 14px;
}

.btn-modal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3);
}

.btn-modal-secondary {
    padding: 12px 24px;
    background: #f1f5f9;
    color: #475569;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

.btn-modal-secondary:hover {
    background: #e2e8f0;
}

@media (max-width: 480px) {
    .custom-modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn-modal-primary,
    .btn-modal-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* --- STATS SECTION STYLES (PREMIUM) --- */
.stats-section {
    padding: 80px 10%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.stat-item {
    flex: 1;
    min-width: 220px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(250, 204, 21, 0.3);
}

.stat-item i {
    font-size: 48px;
    background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.stat-item h3 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 5px;
    color: white;
}

.stat-item p {
    font-size: 14px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* --- GALLERY SECTION STYLES (PREMIUM) --- */
.gallery-section {
    padding: 100px 10%;
    background: #f8fafc;
}

.gallery-grid {
    column-count: 3;
    column-gap: 24px;
}

.gallery-item {
    margin-bottom: 24px;
    break-inside: avoid;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 16px;
    transition: 0.5s;
}

/* Hover Effect Overlay */
.gallery-item::after {
    content: '\f00e';
    /* FontAwesome search-plus icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #facc15;
    font-size: 32px;
    opacity: 0;
    transition: 0.4s;
    backdrop-filter: blur(2px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    opacity: 1;
}

@media (max-width: 900px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
    }
}

/* --- FAQ SECTION STYLES (PREMIUM) --- */
.faq-section {
    padding: 100px 10%;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    margin-bottom: 0;
    padding: 0 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: 0.3s;
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    border-color: #facc15;
    box-shadow: 0 10px 25px -5px rgba(250, 204, 21, 0.15);
}

.faq-question {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    color: #1e293b;
}

.faq-question h4 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.faq-question:hover {
    color: #2c256d;
}

.faq-question i {
    color: #cbd5e1;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #facc15;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding-bottom 0.5s;
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    /* Increased max-height to prevent text cutting */
    max-height: 1000px;
    padding-bottom: 25px;
    border-top: 1px solid #f8fafc;
    padding-top: 15px;
}

/* --- PREMIUM SECTION HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.section-header h2 span {
    color: #facc15;
    position: relative;
    display: inline-block;
}

.section-header h2 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(250, 204, 21, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

.section-header p {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Specific Section Title Color Overrides */
.about .section-header h2,
.stats-section .section-header h2,
.join-section .section-header h2 {
    color: white;
}

.about .section-header p,
.stats-section .section-header p,
.join-section .section-header p {
    color: #cbd5e1;
}