/* ==========================================
   LIGHT BLUE CLEAN PROFESSIONAL THEME
   Fixed Theme - No Switcher Required
   ========================================== */

/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Primary Colors - Light Blue Professional */
    --theme-primary: #EFF6FF;           /* Light blue background */
    --theme-secondary: #DBEAFE;         /* Medium light blue */
    --theme-accent: #3B82F6;            /* Blue accent */
    --theme-accent-hover: #2563EB;      /* Darker blue on hover */

    /* Background Colors */
    --theme-bg-primary: #FFFFFF;        /* Pure white */
    --theme-bg-secondary: #F3F4F6;      /* Light grey */
    --theme-bg-card: #FFFFFF;           /* White cards */

    /* Text Colors - High Contrast */
    --theme-text-primary: #1F2937;      /* Dark grey - primary text */
    --theme-text-secondary: #4B5563;    /* Medium grey - secondary text */
    --theme-text-muted: #6B7280;        /* Light grey - muted text */

    /* Border & Effects */
    --theme-border: #E5E7EB;            /* Light border */
    --theme-glow: rgba(59, 130, 246, 0.15);  /* Blue glow effect */

    /* Success & Status Colors */
    --theme-success: #10B981;           /* Green for success */
    --theme-warning: #F59E0B;           /* Orange for warning */
    --theme-info: #3B82F6;              /* Blue for info */
}

/* ==================== GLOBAL STYLES ==================== */
body {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #FFFFFF 100%);
    background-attachment: fixed;
    color: var(--theme-text-primary);
    font-family: 'Poppins', sans-serif;
}

/* ==================== HEADER & NAVIGATION ==================== */
header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--theme-accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.navbar {
    background: transparent !important;
}

.navbar-brand,
.nav-link {
    color: var(--theme-text-primary) !important;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--theme-accent) !important;
}

.btn-daftar,
.btn-primary {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%) !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(251, 146, 60, 0.4) !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-daftar:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%) !important;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%) !important;
    padding: 80px 20px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="%233B82F6" opacity="0.05"/></svg>');
    pointer-events: none;
}

.hero-content h1 {
    color: var(--theme-text-primary) !important;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(59, 130, 246, 0.1);
}

.hero-content p {
    color: var(--theme-text-secondary) !important;
    font-size: 1.125rem;
}

.hero-buttons .btn {
    margin: 0 8px;
}

.btn-outline-light {
    background: #FFFFFF !important;
    color: var(--theme-accent) !important;
    border: 2px solid var(--theme-accent) !important;
    font-weight: 700;
}

.btn-outline-light:hover {
    background: var(--theme-primary) !important;
    transform: translateY(-2px);
}

/* ==================== COUNTDOWN SECTION ==================== */
.countdown-section {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
    padding: 40px 20px;
    border-top: 4px solid #1E40AF;
    border-bottom: 4px solid #1E40AF;
}

.countdown-section h2 {
    color: #FFFFFF !important;
    font-weight: 700;
    margin-bottom: 24px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.time-box .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF !important;
    display: block;
    margin-bottom: 8px;
}

.time-box .label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==================== SCHEDULE SECTION ==================== */
.schedule-section {
    background: #FFFFFF !important;
    padding: 60px 20px;
}

.schedule-section h2 {
    color: var(--theme-text-primary) !important;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

.schedule-card {
    background: #FFFFFF !important;
    border: 2px solid var(--theme-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
    border-color: var(--theme-accent);
}

.schedule-card h3 {
    color: var(--theme-accent) !important;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.schedule-card p {
    color: var(--theme-text-secondary) !important;
    margin-bottom: 8px;
}

.schedule-card i {
    color: var(--theme-accent);
    margin-right: 8px;
}

/* ==================== PROGRAM CARDS SECTION ==================== */
.programs-section {
    background: linear-gradient(135deg, #F3F4F6 0%, #EFF6FF 100%) !important;
    padding: 60px 20px;
}

.programs-section h2 {
    color: var(--theme-text-primary) !important;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

/* Program Card - Clean Design */
.program-card {
    background: #FFFFFF !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--theme-border);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.06);
}

/* Card Header - Blue Header */
.card-header {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
    padding: 20px 24px;
    text-align: center;
    position: relative;
}

.card-title {
    color: #FFFFFF !important;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Body */
.card-body {
    padding: 24px;
}

.card-description {
    color: var(--theme-text-muted) !important;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
    min-height: 42px;
}

/* Info Stats - 3 Columns Layout with Colored Borders */
.info-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 0;
}

.stat-item {
    text-align: center;
    padding: 16px 12px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 2px solid;
    transition: all 0.3s ease;
    position: relative;
}

/* Colored Borders for Each Item */
.stat-item:nth-child(1) {
    border-color: #3B82F6;
    background: linear-gradient(to bottom, #EFF6FF 0%, #FFFFFF 100%);
}

.stat-item:nth-child(2) {
    border-color: #10B981;
    background: linear-gradient(to bottom, #ECFDF5 0%, #FFFFFF 100%);
}

.stat-item:nth-child(3) {
    border-color: #3B82F6;
    background: linear-gradient(to bottom, #EFF6FF 0%, #FFFFFF 100%);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 1.75rem;
    margin-bottom: 10px;
    display: block;
}

.stat-item:nth-child(1) .stat-icon {
    color: #3B82F6;
}

.stat-item:nth-child(2) .stat-icon {
    color: #10B981;
}

.stat-item:nth-child(3) .stat-icon {
    color: #3B82F6;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--theme-text-primary) !important;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--theme-text-muted) !important;
    font-weight: 500;
    text-transform: capitalize;
    display: none; /* Hide labels for clean look */
}

/* Action Buttons */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn i {
    font-size: 0.875rem;
}

.btn-info {
    background: #FFFFFF !important;
    color: #3B82F6 !important;
    border: 2px solid #3B82F6 !important;
}

.btn-info:hover {
    background: #EFF6FF !important;
    transform: translateY(-2px);
}

/* Program Badge/Tag */
.program-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #DBEAFE;
    color: #1E40AF;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== QUOTA SECTION ==================== */
.quota-section {
    background: #FFFFFF !important;
    padding: 60px 20px;
}

.quota-section h2 {
    color: var(--theme-text-primary) !important;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

.quota-card {
    background: #FFFFFF !important;
    border: 2px solid var(--theme-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.quota-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
    border-color: var(--theme-accent);
}

.quota-card h3 {
    color: var(--theme-accent) !important;
    font-weight: 700;
    margin-bottom: 16px;
}

.quota-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--theme-text-primary) !important;
    margin: 16px 0;
}

.quota-label {
    color: var(--theme-text-secondary) !important;
    font-size: 1rem;
}

.progress-bar {
    background: var(--theme-accent) !important;
}

.progress {
    background: var(--theme-border) !important;
    height: 12px;
    border-radius: 6px;
}

/* ==================== FOOTER ==================== */
footer {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%) !important;
    color: #FFFFFF !important;
    padding: 40px 20px;
    border-top: 4px solid var(--theme-accent);
}

footer h5 {
    color: #FFFFFF !important;
    font-weight: 700;
    margin-bottom: 16px;
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer a:hover {
    color: var(--theme-accent) !important;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid var(--theme-accent);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--theme-accent);
    transform: translateY(-3px);
}

/* ==================== SCROLL TO TOP BUTTON ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-accent-hover) 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.scroll-to-top.show {
    display: flex;
}

/* ==================== MODAL / POPUP ==================== */
.modal-content {
    background: #FFFFFF !important;
    border: 2px solid var(--theme-accent);
    border-radius: 16px;
}

.modal-header {
    background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-accent-hover) 100%);
    color: #FFFFFF !important;
    border-bottom: none;
    border-radius: 14px 14px 0 0;
}

.modal-header .modal-title {
    color: #FFFFFF !important;
    font-weight: 700;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 24px;
    color: var(--theme-text-primary) !important;
}

.modal-footer {
    border-top: 1px solid var(--theme-border);
}

/* ==================== FORMS ==================== */
.form-control,
.form-select {
    border: 2px solid var(--theme-border) !important;
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--theme-text-primary) !important;
    background: #FFFFFF !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--theme-accent) !important;
    box-shadow: 0 0 0 3px var(--theme-glow) !important;
}

.form-label {
    color: var(--theme-text-secondary) !important;
    font-weight: 600;
    margin-bottom: 8px;
}

/* ==================== TABLES ==================== */
.table {
    background: #FFFFFF !important;
    border-radius: 12px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-accent-hover) 100%);
}

.table thead th {
    color: #FFFFFF !important;
    font-weight: 700;
    border: none;
    padding: 16px;
}

.table tbody tr {
    border-bottom: 1px solid var(--theme-border);
}

.table tbody tr:hover {
    background: var(--theme-primary) !important;
}

.table tbody td {
    color: var(--theme-text-primary) !important;
    padding: 16px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .countdown-timer {
        gap: 12px;
    }

    .time-box {
        min-width: 80px;
        padding: 16px;
    }

    .time-box .number {
        font-size: 2rem;
    }

    .info-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card-actions {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ==================== UTILITIES ==================== */
.text-primary-theme {
    color: var(--theme-accent) !important;
}

.bg-primary-theme {
    background: var(--theme-accent) !important;
}

.border-primary-theme {
    border-color: var(--theme-accent) !important;
}
