:root {
    --primary: #DC2626;
    --primary-dark: #B91C1C;
    --primary-light: #FEE2E2;
    --primary-gradient: linear-gradient(135deg, #DC2626 0%, #B91C1C 50%, #991B1B 100%);
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #F8FAFC;
    color: var(--gray-900);
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-custom .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.navbar-custom .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar-custom .brand-text h5 {
    font-weight: 800;
    font-size: 16px;
    color: var(--gray-900);
    margin: 0;
}

.navbar-custom .brand-text small {
    font-size: 11px;
    color: var(--gray-500);
}

.navbar-custom .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 16px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    background: var(--primary-light);
    color: var(--primary);
}

.navbar-custom .btn-login {
    background: var(--primary-gradient);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-custom .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
    color: #fff;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #FFF5F5 0%, #FEE2E2 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--primary-gradient);
    color: #fff;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.4);
    color: #fff;
}

.btn-outline-custom {
    background: #fff;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 40px 0;
    background: #fff;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ===== MODUL SECTION ===== */
.modul-section {
    padding: 60px 0;
    background: #F8FAFC;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.section-header p {
    font-size: 15px;
    color: var(--gray-500);
}

.modul-card {
    display: block;
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.modul-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: all 0.3s ease;
}

.modul-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.modul-card:hover::before {
    opacity: 1;
}

.modul-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.modul-card h6 {
    font-weight: 700;
    font-size: 15px;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.modul-card small {
    font-size: 12px;
    color: var(--gray-500);
}

.modul-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.modul-badge.active {
    background: #D1FAE5;
    color: #065F46;
}

.modul-badge.new {
    background: #DBEAFE;
    color: #1E40AF;
}

/* ===== KEGIATAN SECTION ===== */
.kegiatan-section {
    padding: 60px 0;
    background: #fff;
}

.section-header .see-all {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.kegiatan-card {
    display: block;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
}

.kegiatan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.kegiatan-image {
    position: relative;
    height: 180px;
    background: var(--gray-100);
    overflow: hidden;
}

.kegiatan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kegiatan-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--gray-300);
}

.kegiatan-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-gradient);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.kegiatan-body {
    padding: 16px;
}

.kegiatan-body h6 {
    font-weight: 700;
    font-size: 15px;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.kegiatan-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-500);
}

.kegiatan-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 60px 0;
}

.cta-card {
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.btn-light-custom {
    background: #fff;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.btn-light-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--primary-gradient);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--gray-900);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand h5 {
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

.footer-brand small {
    font-size: 11px;
    color: var(--gray-400);
}

.footer-desc {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 16px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-section h6 {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
    color: #fff;
}

.footer-menu,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact li {
    color: var(--gray-400);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact li .bi {
    color: var(--primary);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0 20px;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: var(--gray-400);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .cta-card h3 {
        font-size: 22px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .stat-icon {
        font-size: 26px;
    }
    
    .modul-icon {
        font-size: 32px;
    }
    
    .navbar-custom .nav-link {
        padding: 6px 12px !important;
    }
} 
}