/* ============================================================
   HERO SECTION ALUMNI
   ============================================================ */

/* ============================================================
   HERO SECTION ALUMNI — Geometric Particles
   ============================================================ */

.hero-section-alumni {
    position: relative;
    height: 400px;
    background: linear-gradient(
        135deg,
        #a70e13 0%,
        #c84a1a 40%,
        #e87a3a 75%,
        #f4a56a 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
}

/* ---------- Canvas ---------- */

#hero-canvas-alumni {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: block;
}

/* ---------- Blob latar ---------- */

.alumni-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    animation: alumniBlobDrift 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.alumni-blob-1 {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.08);
    top: -80px;
    left: -60px;
    animation-duration: 12s;
}

.alumni-blob-2 {
    width: 220px;
    height: 220px;
    background: rgba(244, 196, 48, 0.1);
    bottom: -60px;
    right: -40px;
    animation-duration: 9s;
    animation-delay: -4s;
}

.alumni-blob-3 {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.05);
    top: 35%;
    right: 12%;
    animation-duration: 14s;
    animation-delay: -7s;
}

@keyframes alumniBlobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(15px, -20px) scale(1.05); }
    66%       { transform: translate(-12px, 15px) scale(0.97); }
}

/* ---------- Ornamen bracket sudut ---------- */

.alumni-corner {
    position: absolute;
    width: 52px;
    height: 52px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.alumni-corner-tl {
    top: 28px;
    left: 28px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.9);
    border-left: 1.5px solid rgba(255, 255, 255, 0.9);
}

.alumni-corner-tr {
    top: 28px;
    right: 28px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.9);
    border-right: 1.5px solid rgba(255, 255, 255, 0.9);
}

.alumni-corner-bl {
    bottom: 48px;
    left: 28px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
    border-left: 1.5px solid rgba(255, 255, 255, 0.9);
}

.alumni-corner-br {
    bottom: 48px;
    right: 28px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
    border-right: 1.5px solid rgba(255, 255, 255, 0.9);
}

/* ---------- Konten ---------- */

.hero-content-alumni {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 32px;
    margin: 0 auto;
}

/* Eyebrow pill */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    animation: alumniHeroFadeUp 0.7s ease both;
}

.hero-eyebrow-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f4c430;
    flex-shrink: 0;
    animation: alumniDotPulse 2s ease-in-out infinite;
}

@keyframes alumniDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(0.6); }
}

.hero-alumni-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 12px rgba(100, 20, 0, 0.25);
    animation: alumniHeroFadeUp 0.7s 0.12s ease both;
}

.hero-alumni-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 24px;
    animation: alumniHeroFadeUp 0.7s 0.22s ease both;
}

/* ---------- Ornamen garis + berlian emas ---------- */

.hero-alumni-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    animation: alumniHeroFadeUp 0.7s 0.32s ease both;
}

.hero-alumni-ornament-line {
    height: 1px;
    width: 52px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
}

.hero-alumni-ornament-line.right {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
}

.hero-alumni-ornament-diamond {
    width: 7px;
    height: 7px;
    background: #f4c430;
    transform: rotate(45deg);
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(244, 196, 48, 0.6);
}

/* ---------- Tombol ---------- */

.btn-container {
    animation: alumniHeroFadeUp 0.7s 0.42s ease both;
}

.btn-alumni-primary {
    display: inline-block;
    padding: 10px 26px;
    background: #fff;
    color: #a70e13;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 24px;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s;
    margin: 0 6px;
}

.btn-alumni-primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    color: #a70e13;
    text-decoration: none;
}

.btn-alumni-outline {
    display: inline-block;
    padding: 10px 26px;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    text-decoration: none;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
    margin: 0 6px;
}

.btn-alumni-outline:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

@keyframes alumniHeroFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTION WRAPPER
   ============================================================ */

.alumni-prestasi {
    padding: 56px 0 48px;
    background: #fff;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */

.section-header-alumni {
    margin-bottom: 36px;
}

/* Tag line: "· Sebaran Alumni" */
.section-tag-alumni {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tag-line-alumni {
    display: inline-block;
    width: 22px;
    height: 2.5px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-alumni-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

/* Remove the old ::after underline — replaced by tag style above */
.section-alumni-title::after {
    display: none;
}

.section-alumni-subtitle {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.65;
    max-width: 500px;
    margin: 0;
}

/* ============================================================
   ALUMNI GRID (2 kolom, kartu lebar)
   ============================================================ */
 
.alumni-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
}
 
/* wrapper (div AOS) ikut tinggi baris, biar semua card sama tinggi */
.alumni-container .wrapper {
    height: 100%;
}
 
 
/* ============================================================
   ALUMNI CARD
   ============================================================ */
 
.alumni-card {
    display: flex;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 0.5px solid #eee;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
 
.alumni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(167, 14, 19, 0.13);
}
 
/* ---------- Foto (kolom kiri) ---------- */
 
.alumni-img {
    display: flex;
    flex-direction: column;
    flex: 0 0 150px;
    background: linear-gradient(145deg, #f5e8e8, #fdf0e0);
}
 
/* contain = foto tampil UTUH, ga ada yang kepotong.
   Sisa ruang diisi gradient lembut di belakangnya.
   (Kalau semua foto lu potret 3:4 dan mau full sampai tepi,
   ganti jadi: object-fit: cover; object-position: center top;) */
.alumni-img img {
    flex: 1 1 auto;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    display: block;
}
 
/* ---------- Badge: strip emas di bawah foto (ga nutupin foto) ---------- */
 
.alumni-badge {
    display: block;
    background: var(--secondary-color);
    color: #3a2200;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-align: center;
    padding: 5px 8px;
}
 
/* ---------- Info (kolom kanan) ---------- */
 
.alumni-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px 20px;
}
 
.alumni-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 0.5px solid #f0e8e8;
}
 
.alumni-info p {
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}
 
/* Dot accent before each meta line */
.alumni-info p::before {
    content: "·";
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    flex-shrink: 0;
}
 
/* jarak sebelum pill juz */
.alumni-info p:last-of-type {
    margin-bottom: 12px;
}
 
/* Description paragraph — italic, muted, no dot */
.alumni-info p.alumni-desc {
    color: #777;
    font-style: italic;
    margin-top: 8px;
    margin-bottom: 12px;
}
 
.alumni-info p.alumni-desc::before {
    content: "";
    display: none;
}
 
/* ---------- Juz pill (selalu nempel di bawah card) ---------- */
 
.alumni-juz {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(90deg, var(--primary-color), #c84a1a);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 5px 14px;
    border-radius: 20px;
}

/* =====================================================
   TABLET KEBAWAH (<= 991px)  -> grid masih 2 kolom, foto lebih kecil
   ===================================================== */
@media (max-width: 991.98px) {

  /* ----- Hero: tinggi ngikutin isi (dulu fixed 400px) ----- */
  .hero-section-alumni {
    height: auto;
    min-height: 380px;
    padding: 3.5rem 0 4rem;
    border-radius: 0 0 32px 32px;
  }

  .hero-alumni-title { font-size: 2rem; }

  /* ----- Card ----- */
  .alumni-img { flex: 0 0 120px; }
  .alumni-info { padding: 14px 16px; }
}


/* =====================================================
   HP BESAR / TABLET KECIL (<= 767px)  -> grid 1 kolom
   ===================================================== */
@media (max-width: 767.98px) {

  /* ----- Hero ----- */
  .hero-section-alumni {
    min-height: 420px;
    padding: 60px 0 48px;
    border-radius: 0 0 28px 28px;
  }

  .hero-content-alumni { padding: 0 20px; }

  .hero-alumni-title { font-size: 1.7rem; }
  .hero-alumni-subtitle { font-size: 0.95rem; }

  /* ornamen sudut dikecilin & dirapetin ke pojok */
  .alumni-corner {
    width: 40px;
    height: 40px;
  }

  .alumni-corner-tl,
  .alumni-corner-tr { top: 16px; }

  .alumni-corner-bl,
  .alumni-corner-br { bottom: 24px; }

  .alumni-corner-tl,
  .alumni-corner-bl { left: 16px; }

  .alumni-corner-tr,
  .alumni-corner-br { right: 16px; }

  /* ----- Section ----- */
  .alumni-prestasi { padding: 40px 0 36px; }

  .section-header-alumni { margin-bottom: 28px; }
  .section-alumni-title { font-size: 1.35rem; }

  /* ----- Grid: 1 kolom, kartu horizontal tetap lebar & rapi ----- */
  .alumni-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .alumni-img { flex: 0 0 130px; }

  /* nama / profesi panjang jangan bikin kartu melebar */
  .alumni-info p { overflow-wrap: anywhere; }
}


/* =====================================================
   HP (<= 575px)  -> tombol hero ditumpuk, card makin ringkas
   (dulu breakpoint-nya 480px)
   ===================================================== */
@media (max-width: 575.98px) {

  /* ----- Hero ----- */
  .hero-section-alumni {
    min-height: 0;
    padding: 2.75rem 0 3rem;
    border-radius: 0 0 24px 24px;
  }

  .alumni-corner { display: none; }

  .hero-content-alumni { padding: 0 16px; }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hero-alumni-title { font-size: 1.45rem; }

  .hero-alumni-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-alumni-ornament { margin-bottom: 20px; }

  /* tombol ditumpuk, lebarnya sama biar rapi */
  .btn-alumni-primary,
  .btn-alumni-outline {
    display: block;
    width: 100%;
    max-width: 240px;
    margin: 8px auto;
    text-align: center;
  }

  /* ----- Section ----- */
  .alumni-prestasi { padding: 32px 0 28px; }

  .section-header-alumni { margin-bottom: 24px; }
  .section-alumni-title { font-size: 1.25rem; }
  .section-alumni-subtitle { font-size: 0.88rem; }

  /* ----- Card ----- */
  .alumni-container { gap: 14px; }

  .alumni-img { flex: 0 0 112px; }

  .alumni-info { padding: 14px; }
  .alumni-info h3 { font-size: 0.95rem; }
}


/* =====================================================
   HP KECIL BANGET (<= 359px)
   ===================================================== */
@media (max-width: 359.98px) {

  .alumni-img { flex: 0 0 96px; }
}