/* =============================================
   Modern Earth & Ocean Theme - Dabaso Youth
   Balanced, Professional, and Visually Appealing
   ============================================= */

:root {
    /* --- Modern Palette --- */
    --primary: #1e293b;        /* Deep Slate Blue - Professional */
    --primary-light: #334155;
    --primary-dark: #0f172a;

    --accent: #10b981;         /* Vibrant Emerald - Nature Accent */
    --accent-light: #34d399;
    --accent-dark: #059669;

    --earth: #d97706;          /* Warm Amber - Community/Earth */
    --earth-light: #f59e0b;

    --ocean: #0284c7;          /* Ocean Blue - Water/Climate */
    --ocean-light: #38bdf8;

    /* --- Legacy Aliases (keeps existing classes working) --- */
    --forest: #1e293b;
    --forest-light: #334155;
    --forest-dark: #0f172a;
    --lime: #10b981;
    --lime-light: #34d399;
    --lime-dark: #059669;
    --gold: #d97706;
    --gold-light: #f59e0b;
    --gold-dark: #b45309;

    /* --- Neutral Backgrounds --- */
    --bg-main: #ffffff;
    --bg-soft: #f8fafc;
    --bg-warm: #fdfbf7;
    --bg-dark: #0f172a;

    --white: #ffffff;
    --off-white: #f8fafc;
    --light-bg: #f1f5f9;
    --light-bg-alt: #e2e8f0;

    /* --- Text Colors --- */
    --text-dark: #1e293b;
    --text-main: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;

    /* --- UI Elements --- */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(16, 185, 129, 0.12);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Montserrat', 'Poppins', sans-serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-primary);
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* =============================================
   CONTAINER
   ============================================= */
.container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

/* =============================================
   SECTION PADDING
   ============================================= */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }
.section-padding-lg { padding: 120px 0; }

/* =============================================
   SECTION TITLE
   ============================================= */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .badge-label {
    display: inline-block;
    background: rgba(16, 185, 129, 0.08);
    color: var(--accent);
    padding: 4px 18px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.section-title h2 .highlight {
    color: var(--accent);
    position: relative;
}

.section-title h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    opacity: 0.3;
    border-radius: 4px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-title .line {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 4px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-forest {
    background: var(--primary);
    color: #fff;
}
.btn-forest:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 41, 59, 0.35);
}

.btn-lime {
    background: var(--accent);
    color: #fff;
}
.btn-lime:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-gold {
    background: var(--earth);
    color: #fff;
}
.btn-gold:hover {
    background: var(--earth-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.35);
}

.btn-ocean {
    background: var(--ocean);
    color: #fff;
}
.btn-ocean:hover {
    background: var(--ocean-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.35);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    background: transparent;
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-success {
    background: #25D366;
    color: #fff;
}
.btn-success:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-sm { padding: 6px 18px; font-size: 0.8rem; }
.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn i { font-size: 1rem; }

/* =============================================
   TEXT & BACKGROUND COLORS
   ============================================= */
.text-forest { color: var(--primary); }
.text-lime { color: var(--accent); }
.text-gold { color: var(--earth); }
.text-ocean { color: var(--ocean); }
.text-dark { color: var(--text-dark); }
.text-white { color: #fff; }
.text-muted { color: var(--text-muted); }

.bg-forest { background: var(--primary); }
.bg-lime { background: var(--accent); }
.bg-gold { background: var(--earth); }
.bg-ocean { background: var(--ocean); }
.bg-light-green { background: var(--bg-soft); }
.bg-dark-green { background: var(--bg-dark); }
.bg-white { background: #fff; }

/* =============================================
   GLASS CARD
   ============================================= */
.glass-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--ocean));
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover::before { opacity: 1; }

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(16, 185, 129, 0.25);
}

.glass-card.dark {
    background: var(--primary-dark);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.08);
}

/* =============================================
   NAVBAR
   ============================================= */
#mainNavbar {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

#mainNavbar.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

#mainNavbar.navbar-visible {
    transform: translateY(0);
    opacity: 1;
}

.navbar {
    background: var(--primary-dark) !important;
    backdrop-filter: blur(10px);
    padding: 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    flex-direction: column !important;
    padding-bottom: 0 !important;
    min-height: 76px !important;
}

.logo-top-wrapper {
    padding: 15px 0 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    background: rgba(0,0,0,0.1);
}

.logo-top-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-top-link:hover { transform: scale(1.02); }

.logo-top-img {
    height: 70px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    padding: 4px 12px;
    transition: 0.3s;
}

.logo-top-img:hover { background: rgba(255,255,255,0.1); }

.logo-top-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    padding: 8px 20px;
}

.logo-top-placeholder i { font-size: 2.5rem; color: var(--accent); }
.logo-top-placeholder span { font-weight: 700; font-size: 1.2rem; display: block; color: #fff; }
.logo-top-placeholder small { font-size: 0.7rem; color: rgba(255,255,255,0.5); display: block; }

.site-name-wrapper {
    padding: 8px 0 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
}

.site-name-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.site-name-link:hover { transform: scale(1.02); }

.site-name-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    display: block;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.site-name-main .gold-text { color: var(--earth-light); }

.site-name-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--accent-light);
    letter-spacing: 3px;
    display: block;
    text-transform: uppercase;
    opacity: 0.8;
}

.top-nav {
    padding: 4px 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.navbar-brand i { font-size: 1.1rem; color: var(--accent); }
.navbar-brand span { font-weight: 700; font-size: 0.85rem; color: #fff; }

.navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.3);
    padding: 0.4rem 0.6rem;
}

.navbar .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3); }

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-links-wrapper {
    padding: 3px 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    width: 100%;
}

.navbar-nav { gap: 1px; }

.navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 0.85rem !important;
    padding: 0.5rem 0.8rem !important;
    transition: 0.2s;
    border-radius: 4px;
}

.navbar .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

.navbar .nav-link.active {
    color: var(--accent-light) !important;
    background: rgba(16, 185, 129, 0.15);
}

.navbar .nav-link i { margin-right: 4px; }

.btn-gold {
    background: var(--earth);
    color: #fff;
    border: none;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
}

.btn-gold:hover { background: var(--earth-light); color: #fff; }

.btn-outline-light {
    padding: 4px 12px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 4px;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
}

.navbar .btn-login {
    background: rgba(255,255,255,0.1) !important;
    border-radius: 40px !important;
    padding: 4px 16px !important;
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.85rem !important;
    transition: 0.3s;
}

.navbar .btn-login:hover {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.navbar .btn-register {
    background: var(--earth) !important;
    color: #fff !important;
    border-radius: 40px !important;
    padding: 4px 16px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: 0.3s;
}

.navbar .btn-register:hover {
    background: var(--earth-light) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

/* Dropdowns */
.navbar .dropdown { position: relative; }

.navbar .dropdown-menu {
    background: var(--primary-dark) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 8px !important;
    padding: 0.5rem 0 !important;
    font-size: 0.85rem !important;
    min-width: 220px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important;
    margin-top: 5px !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 99999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: block !important;
    pointer-events: none;
}

.navbar .dropdown.show .dropdown-menu,
.navbar .dropdown:hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.navbar .dropdown-menu .dropdown-item {
    color: #cbd5e1 !important;
    padding: 0.6rem 1.2rem !important;
    transition: 0.2s;
    font-size: 0.85rem !important;
    white-space: nowrap;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
}

.navbar .dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
    color: var(--accent-light);
}

.navbar .dropdown-toggle::after { transition: transform 0.3s ease; }
.navbar .dropdown.show .dropdown-toggle::after { transform: rotate(180deg); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
    pointer-events: none;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover !important;
    background-position: center !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-content .hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(8px);
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.hero-content .hero-tagline {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content .hero-tagline .highlight {
    color: var(--accent-light);
    text-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.hero-content .hero-motto {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--earth-light);
    margin: 1rem 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    background: rgba(0,0,0,0.2);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.hero-content .hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 600px;
    margin: 1rem 0 2rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-content .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-section { padding: 80px 0; background: var(--bg-soft); }

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-card .icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-card:hover .icon-wrap {
    background: var(--accent);
    transform: scale(1.1);
}

.feature-card .icon-wrap i {
    font-size: 2rem;
    color: var(--accent);
    transition: var(--transition);
}

.feature-card:hover .icon-wrap i { color: #fff; }

.feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* =============================================
   PROJECT SPOTLIGHT
   ============================================= */
.project-spotlight { padding: 80px 0; background: #fff; }

.project-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.progress-bar-custom {
    height: 10px;
    border-radius: 5px;
    background: #e2e8f0;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar-custom .progress-fill {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--accent), var(--ocean));
    transition: width 1s ease;
}

/* =============================================
   COUNTDOWN
   ============================================= */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.countdown-item {
    text-align: center;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.countdown-item .number {
    font-size: 2.8rem;
    font-weight: 700;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.countdown-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 2px;
}

/* =============================================
   LATEST NEWS
   ============================================= */
.news-section { padding: 80px 0; background: var(--bg-soft); }

.news-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

.news-item:last-child { border-bottom: none; }

.news-item .date-badge {
    min-width: 80px;
    background: var(--bg-soft);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-decoration: none;
    display: inline-block;
}

.news-item .date-badge:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.news-item .date-badge:hover .day,
.news-item .date-badge:hover .month { color: #fff; }

.news-item .date-badge .day {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    transition: var(--transition);
}

.news-item .date-badge .month {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    transition: var(--transition);
}

.news-item .news-content h6 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.news-item .news-content h6 a { color: var(--primary); }
.news-item .news-content h6 a:hover { color: var(--accent); }

.news-item .news-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* =============================================
   PARTNERS / SPONSORS
   ============================================= */
.partners-section { padding: 60px 0; background: var(--bg-warm); }

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    width: 100%;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.partner-logo .logo-placeholder {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    letter-spacing: 0.5px;
}

/* =============================================
   COUNTERS
   ============================================= */
.counter-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.counter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--ocean));
}

.counter-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.counter-item .icon {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.counter-item .counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.counter-item .label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

/* =============================================
   PROGRAM CARDS
   ============================================= */
.program-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    transition: var(--transition);
    height: 100%;
}

.program-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.2rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.program-card:hover .icon-wrapper {
    background: var(--accent);
    transform: scale(1.05) rotate(-5deg);
}

.program-card .icon-wrapper i {
    font-size: 2.4rem;
    color: var(--accent);
    transition: var(--transition);
}

.program-card:hover .icon-wrapper i { color: #fff; }

.program-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.program-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* =============================================
   PARTNER GRID
   ============================================= */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.partner-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 100%;
    position: relative;
    text-decoration: none;
    display: block;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.partner-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--ocean));
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 4px;
}

.partner-item:hover::after { width: 60%; }

.partner-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(16, 185, 129, 0.2);
}

.partner-item .partner-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: block;
}

.partner-item .partner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
    display: block;
}

.partner-item small {
    font-size: 0.7rem;
    color: var(--text-light);
    display: block;
    margin-top: 4px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--ocean), var(--earth));
}

.footer .footer-brand { margin-bottom: 15px; }

.footer .footer-brand h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.footer .footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
    margin-bottom: 20px;
}

.footer a { color: rgba(255, 255, 255, 0.6); transition: var(--transition); }
.footer a:hover { color: #fff; }

.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    margin-right: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .social-icons a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    border-color: var(--accent);
}

.footer h6 {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 18px;
    position: relative;
}

.footer h6::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer .footer-links { list-style: none; padding: 0; }

.footer .footer-links li { margin-bottom: 10px; }

.footer .footer-links li a {
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
}

.footer .footer-links li a::before {
    content: '›';
    font-size: 1.2rem;
    opacity: 0.5;
    transition: var(--transition);
}

.footer .footer-links li a:hover::before { opacity: 1; color: var(--accent); }
.footer .footer-links li a:hover { color: #fff; }

.footer .contact-info { list-style: none; padding: 0; }

.footer .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer .contact-info li .icon {
    width: 20px;
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 2px;
}

.footer .contact-info li a { color: rgba(255, 255, 255, 0.6); }
.footer .contact-info li a:hover { color: var(--accent); }

.footer .whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #25D366;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer .whatsapp-link:hover {
    color: #1da851;
    transform: translateX(4px);
}

.footer .newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 100%;
    margin-top: 10px;
}

.footer .newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.85rem;
    transition: var(--transition);
    min-width: 0;
}

.footer .newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.footer .newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.footer .newsletter-form button {
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.footer .newsletter-form button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer .footer-bottom strong { color: #fff; font-weight: 600; }
.footer .footer-bottom .separator { margin: 0 8px; opacity: 0.3; }

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(-5deg);
    color: #fff;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp .ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: ripple-whatsapp 2s ease-out infinite;
}

.floating-whatsapp .ripple:nth-child(2) { animation-delay: 1s; }

@keyframes ripple-whatsapp {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 999;
    background: var(--primary);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible { opacity: 1; visibility: visible; }

.back-to-top:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* =============================================
   MARQUEE / NEWS TICKER
   ============================================= */
.marquee-wrapper {
    background: var(--primary-dark);
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
}

.marquee-label {
    background: var(--accent);
    color: #fff;
    padding: 6px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    box-shadow: 4px 0 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    animation: scroll-left 30s linear infinite;
    padding-left: 20px;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0 30px;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.marquee-item:hover { color: var(--accent-light); }

.marquee-item::after {
    content: '•';
    position: absolute;
    right: -5px;
    color: var(--accent);
    font-size: 1.2rem;
    opacity: 0.5;
}

.marquee-item:last-child::after { display: none; }

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .hero-content .hero-tagline { font-size: 3.2rem; }
    .section-title h2 { font-size: 2.2rem; }
    .logo-top-img { height: 55px; max-width: 180px; }
    .site-name-main { font-size: 1.2rem; }
    .site-name-sub { font-size: 0.7rem; letter-spacing: 2px; }
}

@media (max-width: 768px) {
    .hero-content .hero-tagline { font-size: 2.5rem; }
    .hero-content .hero-description { font-size: 1rem; }
    .hero-section { min-height: 80vh; padding: 100px 0 60px; }
    .section-title h2 { font-size: 1.8rem; }
    .section-padding { padding: 40px 0; }
    .countdown-item .number { font-size: 2rem; }
    .countdown-grid { gap: 1rem; }
    .logo-top-img { height: 45px; max-width: 150px; }
    .logo-top-wrapper { padding: 10px 0 8px 0; }
    .top-nav { padding: 4px 10px !important; }
    .nav-links-wrapper { padding: 3px 10px !important; background: rgba(0,0,0,0.1); }
    .navbar-nav { text-align: center; padding: 5px 0; }
    .navbar .nav-link { padding: 0.4rem 0.5rem !important; font-size: 0.85rem !important; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .footer .newsletter-form { flex-direction: column; }
    .footer .newsletter-form button { width: 100%; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

    /* Mobile dropdown override */
    .navbar .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        display: none !important;
    }
    .navbar .dropdown.show .dropdown-menu { display: block !important; }
    .navbar .dropdown:hover .dropdown-menu { display: none !important; }

    /* Marquee mobile */
    .marquee-label { font-size: 0.7rem; padding: 5px 12px; }
    .marquee-item { font-size: 0.85rem; padding: 0 15px; }
}

@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .glass-card { padding: 1.2rem; }
    .hero-content .hero-tagline { font-size: 1.8rem; }
    .hero-content .hero-description { font-size: 0.9rem; }
    .section-title h2 { font-size: 1.5rem; }
    .section-padding { padding: 30px 0; }
    .btn { padding: 8px 18px; font-size: 0.8rem; }
    .btn-lg { padding: 10px 24px; font-size: 0.9rem; }
    .countdown-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .countdown-item .number { font-size: 1.6rem; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .partner-item { padding: 1rem 0.8rem; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-top-img { height: 38px; max-width: 120px; padding: 3px 8px; }
    .site-name-main { font-size: 1rem; }
    .site-name-sub { font-size: 0.6rem; letter-spacing: 1.5px; }
    .top-nav { padding: 3px 8px !important; }
    .navbar-brand i { font-size: 0.9rem; }
    .navbar-brand span { font-size: 0.75rem; }
    .btn-outline-light, .btn-gold { font-size: 0.7rem; padding: 3px 8px; }
    .floating-whatsapp { width: 44px; height: 44px; font-size: 1.5rem; }
    .back-to-top { width: 36px; height: 36px; font-size: 0.8rem; bottom: 70px; }
    .footer { padding: 40px 0 20px; }
    .footer .social-icons a { width: 34px; height: 34px; font-size: 0.8rem; }
    .footer .footer-bottom { font-size: 0.7rem; }
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.8s ease forwards; }

/* =============================================
   MOBILE MENU FIX
   ============================================= */
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: calc(100vh - 180px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 6px 0 !important;
        -webkit-overflow-scrolling: touch;
    }

    .navbar .nav-link {
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        border-radius: 6px;
        margin: 1px 6px;
        display: flex !important;
        align-items: center !important;
        gap: 8px;
    }

    .navbar .nav-link i {
        width: 18px;
        text-align: center;
        font-size: 0.85rem;
        margin-right: 4px !important;
    }

    .navbar .dropdown-menu { padding: 2px 0 !important; margin: 0 6px !important; border-radius: 6px !important; }
    .navbar .dropdown-menu .dropdown-item { padding: 6px 14px 6px 34px !important; font-size: 0.8rem !important; line-height: 1.3 !important; }
    .navbar-nav { gap: 0 !important; padding: 4px 6px 8px 6px !important; }
    .navbar-nav .nav-item { margin: 0 !important; }
    .logo-top-wrapper { padding: 6px 0 4px 0 !important; }
    .logo-top-img { height: 40px !important; max-width: 130px !important; padding: 2px 8px !important; }
    .site-name-wrapper { padding: 4px 0 3px 0 !important; }
    .site-name-main { font-size: 0.95rem !important; letter-spacing: 0.5px !important; }
    .site-name-sub { font-size: 0.55rem !important; letter-spacing: 1.5px !important; }
    .top-nav { padding: 3px 10px !important; min-height: auto !important; }
    .navbar .btn-login, .navbar .btn-register { padding: 4px 12px !important; font-size: 0.75rem !important; }

    .navbar-collapse::-webkit-scrollbar { width: 4px; }
    .navbar-collapse::-webkit-scrollbar-thumb { background: rgba(16, 185, 129, 0.4); border-radius: 4px; }

    .navbar .dropdown-menu {
        display: none !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        background: rgba(0, 0, 0, 0.15) !important;
        box-shadow: none !important;
        border: none !important;
        padding: 2px 0 !important;
        margin: 2px 8px 6px 8px !important;
        border-radius: 6px !important;
    }

    .navbar .dropdown.show > .dropdown-menu { display: block !important; }
    .navbar .dropdown:hover > .dropdown-menu { display: none !important; }

    .navbar .dropdown-toggle {
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .navbar .dropdown.show .dropdown-toggle::after { transform: rotate(180deg); }

    .navbar .dropdown-menu .dropdown-item {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        border-radius: 4px;
        margin: 2px 4px;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .navbar .dropdown-menu .dropdown-item:active {
        background: rgba(16, 185, 129, 0.25) !important;
        color: #fff !important;
    }

    .navbar .dropdown-toggle::after { margin-left: auto; transition: transform 0.3s ease; }
}

/* =============================================
   FOOTER CONTACT LINKS FIX
   ============================================= */
.footer .contact-info .icon {
    pointer-events: none !important;
    user-select: none !important;
}

.footer .contact-info li a {
    position: relative !important;
    z-index: 10 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    display: inline-block;
}

.footer .contact-info li a:hover {
    color: var(--accent) !important;
    text-decoration: underline;
}

.footer .contact-info li a[href^="mailto:"],
.footer .contact-info li a[href^="tel:"] {
    color: rgba(255, 255, 255, 0.7) !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.footer .contact-info li a[href^="mailto:"]:hover,
.footer .contact-info li a[href^="tel:"]:hover {
    color: var(--accent) !important;
    text-decoration: underline;
}

.footer .whatsapp-link {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}