/* ========================================
   ALUMNI & MITRA STYLES (Dengan Marquee)
   ======================================== */

.alumni-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO SECTION */
.alumni-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 60px 0 50px;
    text-align: center;
}
.alumni-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.alumni-title { font-size: 2.2rem; font-weight: 700; margin: 0 0 12px 0; }
.alumni-subtitle { font-size: 1rem; opacity: 0.9; max-width: 600px; margin: 0 auto; line-height: 1.5; }

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
}
.section-header p {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   MARQUEE (Auto-Scrolling Slider)
   ======================================== */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* Gradient fade di kiri dan kanan untuk efek smooth */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

/* Pause saat mouse hover */
.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
    padding-right: 24px;
}

/* Animasi Marquee: Bergerak ke kiri */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Kecepatan berbeda untuk Alumni (lebih lambat karena konten panjang) */
.marquee-alumni .marquee-track {
    animation-duration: 50s;
}

/* Kecepatan lebih cepat untuk Mitra (karena logo kecil) */
.marquee-partners .marquee-track {
    animation-duration: 30s;
}

/* ========================================
   ALUMNI CARD
   ======================================== */
.alumni-section { padding: 60px 0; background: #f8fafc; }

.alumni-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 340px; /* Fixed width untuk marquee */
    flex-shrink: 0;
}

/* Kartu alumni tidak hover-transform saat di marquee (agar tidak aneh) */
.marquee-container .alumni-card:hover {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    cursor: default;
}

.alumni-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.alumni-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eff6ff;
    flex-shrink: 0;
}
.alumni-photo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alumni-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}
.alumni-info .batch {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.alumni-position {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    background: #f8fafc;
    padding: 12px;
    border-radius: 10px;
}
.alumni-position i {
    color: #2563eb;
    font-size: 1.1rem;
    margin-top: 2px;
}
.alumni-position div strong {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
    margin-bottom: 2px;
}
.alumni-position div span {
    font-size: 0.8rem;
    color: #64748b;
}

.alumni-story {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    font-style: italic;
    flex: 1;
    position: relative;
    padding-left: 16px;
    border-left: 3px solid #2563eb;
}

/* ========================================
   PARTNER CARD
   ======================================== */
.partners-section { padding: 60px 0; background: white; }

.partner-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    width: 220px; /* Fixed width untuk marquee */
    flex-shrink: 0;
}

/* Kartu partner tidak hover-transform saat di marquee */
.marquee-container .partner-card:hover {
    transform: none;
    border-color: #e2e8f0;
    background: #f8fafc;
    box-shadow: none;
    cursor: default;
}

.partner-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.partner-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.partner-logo i {
    font-size: 2rem;
    color: #94a3b8;
}

.partner-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}
.partner-card .industry {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 12px;
}
.partner-card .website-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}
.partner-card .website-link:hover { text-decoration: underline; }

/* EMPTY STATE */
.empty-state-box {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    width: 100%;
}
.empty-state-box i { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; display: block; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .alumni-title { font-size: 1.8rem; }
    
    /* Di mobile, marquee tetap berjalan tapi lebih lambat */
    .marquee-alumni .marquee-track { animation-duration: 60s; }
    .marquee-partners .marquee-track { animation-duration: 40s; }
    
    .alumni-card { width: 300px; padding: 20px; }
    .partner-card { width: 200px; padding: 20px; }
}

@media (max-width: 480px) {
    .alumni-card { width: 280px; }
    .partner-card { width: 180px; }
    .alumni-card-top { flex-direction: column; text-align: center; }
    .alumni-story { border-left: none; padding-left: 0; border-top: 3px solid #2563eb; padding-top: 16px; }
}