/* ========================================
   KEGIATAN TERJADWAL - PROFESSIONAL DESIGN
   Ultra Modern, Colorful & Dynamic
   ======================================== */

/* Section Base */
.program {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

/* Decorative Elements */
.program-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -150px;
    left: -50px;
    animation: float 25s ease-in-out infinite reverse;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Section Header */
.program .section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.program .section-title {
    font-size: 56px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.program .section-subtitle {
    font-size: 20px;
    color: #333;
    font-weight: 500;
    margin-bottom: 30px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.section-divider span {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.section-divider i {
    color: #d4af37;
    font-size: 16px;
}

/* Program Hero */
.program-hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    padding: 60px;
    margin-bottom: 80px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.program-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.hero-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
}

.program-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-item i {
    font-size: 20px;
}

/* Kegiatan Masonry Grid */
.kegiatan-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

/* Modern Card Base */
.kegiatan-card-modern {
    background: white;
    border-radius: 25px;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    z-index: 1;
}

.kegiatan-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.kegiatan-card-modern:hover::before {
    transform: scaleX(1);
}

.kegiatan-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Card Number */
.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: currentColor;
    opacity: 0.1;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}

/* Card Icon */
.card-icon-wrapper {
    margin-bottom: 25px;
    position: relative;
    z-index: 5;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: currentColor;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    z-index: 5;
}

.kegiatan-card-modern:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 10;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: #000000 !important;
    margin-bottom: 15px;
    line-height: 1.3;
    position: relative;
    z-index: 10;
}

.card-content p {
    color: #000000 !important;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
    position: relative;
    z-index: 10;
    font-weight: 500;
}

.card-content em {
    color: #000000 !important;
    font-weight: 700;
    font-style: italic;
}

/* Card Tag */
.card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: currentColor;
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

/* Card Decoration */
.card-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: currentColor;
    opacity: 0.05;
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.kegiatan-card-modern:hover .card-decoration {
    transform: scale(1.5);
    opacity: 0.08;
}

/* Color Themes */
.theme-blue {
    color: #3b82f6;
}

.theme-green {
    color: #10b981;
}

.theme-purple {
    color: #8b5cf6;
}

.theme-gold {
    color: #f59e0b;
}

.theme-orange {
    color: #f97316;
}

.theme-red {
    color: #ef4444;
}

.theme-teal {
    color: #14b8a6;
}

.theme-indigo {
    color: #6366f1;
}

/* Featured Card */
.featured-card {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border: 3px solid #f59e0b;
}

.featured-ribbon {
    position: absolute;
    top: -2px;
    right: 30px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 20px;
    border-radius: 0 0 15px 15px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 10;
}

/* CTA Modern */
.program-cta-modern {
    position: relative;
    background: linear-gradient(135deg, #1a2b5f 0%, #2c4a9e 100%);
    border-radius: 30px;
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 43, 95, 0.3);
}

.cta-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
    border-radius: 50%;
    top: -150px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.cta-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.cta-content-wrapper {
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #d4af37;
    margin: 0 auto 30px;
    border: 3px solid rgba(212, 175, 55, 0.3);
}

.cta-content-wrapper h3 {
    font-size: 42px;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-content-wrapper p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-cta-primary {
    background: #d4af37;
    color: #1a2b5f;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-cta-primary:hover {
    background: #f0c14b;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .program {
        padding: 80px 0;
    }
    
    .program .section-title {
        font-size: 36px;
    }
    
    .program-hero {
        padding: 40px 30px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-item {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .kegiatan-masonry {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .kegiatan-card-modern {
        padding: 30px 25px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .card-content h3 {
        font-size: 20px;
    }
    
    .card-content p {
        font-size: 14px;
    }
    
    .program-cta-modern {
        padding: 50px 30px;
    }
    
    .cta-content-wrapper h3 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .program {
        padding: 60px 0;
    }
    
    .program .section-title {
        font-size: 28px;
    }
    
    .kegiatan-masonry {
        padding: 0 10px;
    }
    
    .kegiatan-card-modern {
        padding: 25px 20px;
    }
    
    .card-content h3 {
        font-size: 18px;
    }
    
    .card-content p {
        font-size: 13px;
    }
}

/* Animation Delays */
.kegiatan-card-modern:nth-child(1) { animation: fadeInUp 0.6s ease 0.1s backwards; }
.kegiatan-card-modern:nth-child(2) { animation: fadeInUp 0.6s ease 0.2s backwards; }
.kegiatan-card-modern:nth-child(3) { animation: fadeInUp 0.6s ease 0.3s backwards; }
.kegiatan-card-modern:nth-child(4) { animation: fadeInUp 0.6s ease 0.4s backwards; }
.kegiatan-card-modern:nth-child(5) { animation: fadeInUp 0.6s ease 0.5s backwards; }
.kegiatan-card-modern:nth-child(6) { animation: fadeInUp 0.6s ease 0.6s backwards; }
.kegiatan-card-modern:nth-child(7) { animation: fadeInUp 0.6s ease 0.7s backwards; }
.kegiatan-card-modern:nth-child(8) { animation: fadeInUp 0.6s ease 0.8s backwards; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
