/* =========================================================
   Intellectual Leadership School (ILS) — BEM UNS
   Stylesheet
   Edit the CSS variables below to re-theme the whole site.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root{
  /* ---- Brand palette (edit these to re-theme the site) ---- */
  --dark-900:#017dfd;      /* deepest teal - footer / hero base   */
  --dark-800:#2b93f6;      /* hero gradient end / timeline strip  */
  --teal-700:#00000;      /* hero gradient start                 */
  --teal-500:#4a8b98;      /* primary buttons, active states      */
  --teal-400:#6aa4af;      /* links / secondary accents           */
  --teal-100:#dcebee;      /* soft chips / badges                 */
  --icon-blue:#5aa9ff;     /* minimalist accent icons              */
  --nav-cta-start:#007dfe; /* Enroll button gradient start        */
  --nav-cta-end:#a4e1e6;   /* Enroll button gradient end          */
  --bg-page:#eef4f7;       /* page background                     */
  --white:#ffffff;
  --text-dark:#1c2b2f;
  --text-muted:#5c7278;
  --text-on-dark:#cfe3e7;
  --border:#dbe6ea;
  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:20px;
  --shadow-card:0 4px 18px rgba(19,42,46,0.07);
  --shadow-card-hover:0 10px 28px rgba(19,42,46,0.12);
  --max-width:1180px;

  --font-heading:'Plus Jakarta Sans', sans-serif;
  --font-body:'Plus Jakarta Sans', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-margin-top:96px; }

#committee-structure,
#committee-structure .team-feature,
#committee-structure .team-card,
#committee-structure .team-card--featured,
#committee-structure .team-card--member{
  opacity:1 !important;
  transform:none !important;
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text-dark);
  background:var(--bg-page);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }

.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
  will-change:opacity, transform;
}

.reveal.is-visible{
  opacity:1;
  transform:none;
}

.scroll-fade{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .6s ease, transform .6s ease;
  will-change:opacity, transform;
}

.scroll-fade.is-visible{
  opacity:1;
  transform:none;
}

a{ color:inherit; text-decoration:none; }

.is-hidden{ display:none !important; }

ul{ margin:0; padding:0; list-style:none; }

h1,h2,h3,h4{
  font-family:var(--font-heading);
  margin:0;
  line-height:1.15;
  font-weight:600;
}

p{ margin:0; }

.container{
  width:100%;
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 24px;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline:3px solid var(--teal-400);
  outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--border);
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}
.navbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-logo{
  max-height:45px;
  width:auto;
  display:block;
}
.brand-text span{ display:block; }
.brand-text .brand-sub{ color:var(--teal-500); font-weight:500; }

.nav-links{
  display:flex;
  align-items:center;
  gap:6px;
}
.nav-item{ position:relative; }
.nav-dropdown .dropdown-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 18px;
  border-radius:9999px;
  font-size:0.94rem;
  font-weight:500;
  color:var(--text-dark);
  background:transparent;
  border:none;
  cursor:pointer;
  transition:background .15s ease, color .15s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.nav-dropdown .dropdown-toggle:hover,
.nav-dropdown:focus-within .dropdown-toggle{
  background:var(--teal-100);
  color:var(--teal-700);
}
.nav-dropdown .dropdown-toggle:focus-visible{
  outline:3px solid var(--teal-400);
  outline-offset:2px;
}
.nav-dropdown .dropdown-caret {
  display: inline-block;
  width: 6px;                            /* Lebar sudut panah */
  height: 6px;                           /* Tinggi sudut panah */
  border-right: 2px solid currentColor;   /* Garis kanan */
  border-bottom: 2px solid currentColor;  /* Garis bawah */
  transform: rotate(45deg);             /* Diputar 45 derajat hingga membentuk V */
  margin-left: 6px;
  margin-bottom: 3px;
  vertical-align: middle;
  font-size: 0;                         /* Menyembunyikan karakter segitiga bawaan HTML */
  line-height: 0;
  transition: transform .2s ease;
}

/* Memutar panah menghadap ke atas saat menu dropdown terbuka */
.nav-dropdown.is-open .dropdown-caret {
  transform: translateY(2px) rotate(225deg);
}
.dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:220px;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:10px;
  background:var(--white);
  border:1px solid rgba(28,43,47,0.08);
  border-radius:20px;
  box-shadow:0 16px 36px rgba(19,42,46,0.12);
  z-index:20;
  opacity:0;
  transform:translateY(-12px);
  visibility:hidden;
  pointer-events:none;
  transition:opacity .24s ease, transform .24s ease, visibility .24s ease;
}
.nav-dropdown.is-open .dropdown-menu{
  opacity:1;
  transform:translateY(0);
  visibility:visible;
  pointer-events:auto;
}
.dropdown-menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:12px 16px;
  color:var(--text-dark);
  background:var(--white);
  text-align:left;
  font-weight:500;
  font-size:0.95rem;
  border-radius:14px;
  transition:background .2s ease, color .2s ease, box-shadow .2s ease;
}
.dropdown-menu a + a{
  margin-top:4px;
}
.dropdown-menu a:hover{
  background:rgba(7,125,254,0.08);
  color:var(--dark-900);
  box-shadow:0 0 0 1px rgba(7,125,254,0.12), 0 10px 22px rgba(7,125,254,0.08);
}
.dropdown-menu a.is-active{
  background:rgba(7,125,254,0.12);
  color:var(--dark-900);
}
.dropdown-toggle.is-active,
.nav-dropdown:focus-within .dropdown-toggle{
  background:rgba(7,125,254,0.08);
  color:var(--dark-900);
}
.mission-list{
  margin:18px 0 0;
  padding-left:1.2rem;
  color:var(--text-dark);
}
.mission-list li{
  margin-bottom:12px;
  line-height:1.8;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
}
.gallery-card{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius-md);
  min-height:240px;
  background:var(--white);
  box-shadow:var(--shadow-card);
  opacity:0;
  transform:translateY(24px);
  transition: opacity .65s ease, transform .65s ease, box-shadow .35s ease;
  transition-delay:0s;
}
.gallery-card.is-visible{
  opacity:1;
  transform:translateY(0);
}
.gallery-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.gallery-card::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.22) 100%);
  pointer-events:none;
}
@media (max-width:1024px){
  .gallery-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; }
  .gallery-card{ min-height:200px; }
}
@media (max-width:640px){
  .gallery-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
  .gallery-card{ min-height:104px; border-radius:var(--radius-sm); }
}

.nav-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:9999px;
  font-size:0.94rem;
  font-weight:500;
  color:var(--text-dark);
  transition:background .15s ease, color .15s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease, background-position .35s ease;
}
.nav-links a:hover{
  background:var(--teal-100);
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(22, 76, 88, 0.18);
  filter:brightness(1.03);
  color:var(--teal-700);
}
.nav-links a.nav-cta:hover{
  background-position:right center;
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(22, 76, 88, 0.24);
  filter:brightness(1.05);
  color:var(--white);
}
.nav-links a.is-active{ background:var(--teal-100); color:var(--teal-700); }
.nav-links a.nav-cta{
  background:linear-gradient(135deg, var(--nav-cta-start), var(--nav-cta-end));
  color:var(--white);
  box-shadow:0 8px 22px rgba(22, 76, 88, 0.18);
  transition:background-position .35s ease, transform .2s ease, box-shadow .2s ease, filter .2s ease;
  background-size:220% 220%;
}
.nav-links a.nav-cta:hover{
  background-position:right center;
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(22, 76, 88, 0.24);
  filter:brightness(1.05);
  color:var(--white);
}
.nav-links a.nav-cta:active{
  transform:translateY(1px);
}


.nav-toggle{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:40px;
  height:40px;
  background:none;
  border:none;
  border-radius:10px;
  cursor:pointer;
  padding:0;
  transition:background .2s ease;
}
.nav-toggle:hover{ background:var(--teal-100); }
.nav-toggle span{
  display:block;
  width:22px;
  height:2.5px;
  border-radius:9999px;
  background:var(--dark-900);
  transition:transform .25s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

@media (max-width: 860px){
  .nav-toggle{ display:flex; }
  .nav-links{
    position:absolute;
    top:76px;
    left:0;
    right:0;
    background:var(--white);
    flex-direction:column;
    align-items:stretch;
    padding:0 16px;
    max-height:0;
    opacity:0;
    overflow:hidden;
    pointer-events:none;
    border-bottom:1px solid transparent;
    transition:max-height .38s cubic-bezier(0.4, 0, 0.2, 1), opacity .3s ease, padding .38s ease;
  }
  .nav-links.is-open{
    display:flex;
    max-height:600px;
    opacity:1;
    padding:8px 16px 20px;
    border-bottom-color:var(--border);
    pointer-events:auto;
  }
  .nav-links a{ padding:12px 14px; }
  .nav-links .nav-item,
  .nav-links .nav-dropdown{
    width:100%;
  }
  .nav-links .nav-dropdown .dropdown-toggle{
    width:100%;
    justify-content:center;
    text-align:center;
    padding:12px 14px;
  }
  .nav-links .nav-dropdown .dropdown-menu{
    position:static;
    min-width:0;
    width:100%;
    background:transparent;
    border:none;
    box-shadow:none;
    padding:0;
    margin-top:0;
    max-height:0;
    opacity:0;
    visibility:hidden;
    transform:none;
    overflow:hidden;
    transition:max-height .35s ease, opacity .25s ease, padding .35s ease, margin-top .35s ease;
  }
  .nav-links .nav-dropdown.is-open .dropdown-menu{
    max-height:320px;
    opacity:1;
    visibility:visible;
    padding:4px 0 4px 14px;
    margin-top:4px;
  }
}

/* =========================================================
   Page Head sederhana (dipakai News — tanpa foto/overlay hero)
   ========================================================= */
.news-page-head{
  padding:56px 0 8px;
  text-align:center;
}
.news-page-head .eyebrow{
  color:var(--teal-500);
  font-weight:700;
  letter-spacing:0.05em;
}
.news-page-head h1{
  color:var(--dark-900);
  font-size:2.4rem;
  margin:8px 0 12px;
}
.news-page-head p{
  color:var(--text-muted);
  max-width:560px;
  margin:0 auto;
}

/* =========================================================
   Hero (shared: teal gradient banner used on every page)
   ========================================================= */
.hero{
  position:relative;
  min-height:calc(100vh - 76px);
  color:var(--white);
  background-image:url('../assets/images/tentang_kami.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  align-items:center;
  padding:0;
}
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(19,42,46,0.72) 0%, rgba(19,42,46,0.58) 35%, rgba(19,42,46,0.88) 100%);
}
.hero .hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.20) 40%, rgba(0,0,0,0.65) 100%);
}
.hero .container{
  position:relative;
  z-index:1;
  padding:120px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.hero .eyebrow{
  text-transform:uppercase;
  letter-spacing:0.14em;
  font-size:0.82rem;
  font-weight:600;
  color:rgba(255,255,255,0.85);
  margin-bottom:18px;
}
.hero h1{
  font-size:clamp(3rem, 6vw, 4.4rem);
  line-height:1.08;
  margin-bottom:18px;
  max-width:860px;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
}
.hero p{
  max-width:720px;
  color:rgba(255,255,255,0.9);
  font-size:15px;
  margin-bottom:28px;
}
.text-gradient{
  background: linear-gradient(90deg, #a4e1e6 0%, #007dfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight:700;
}
.hero-btn{
  margin-top:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:14px 42px;
  border-radius:9999px;
  white-space:nowrap;
  line-height:1;
  background:transparent !important;
  color:var(--white) !important;
  border:1px solid rgba(255,255,255,0.55) !important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 14px 30px rgba(0,0,0,0.08);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.hero-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 34px rgba(0,0,0,0.14);
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.7);
}

@media (max-width:900px){
  .hero{
    min-height:auto;
    padding:80px 0;
  }
  .hero .container{
    padding:80px 24px;
  }
  .hero h1{
    font-size:clamp(1.9rem, 7vw, 3.2rem);
  }
}

/* =========================================================
   Hero — Enroll page (copy + Open Recruitment countdown card)
   ========================================================= */
.hero-enroll{
  position:relative;
  min-height:calc(100vh - 76px);
  color:var(--white);
  background-image:url('../assets/images/tentang_kami.jpg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-enroll::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(3,12,20,0.80) 0%, rgba(3,12,20,0.55) 45%, rgba(3,12,20,0.90) 100%);
}
.hero-enroll .container{ position:relative; z-index:1; padding:110px 24px; }
.hero-enroll-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:48px;
  align-items:center;
}
.hero-enroll-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 18px;
  border-radius:9999px;
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.22);
  font-size:0.8rem;
  font-weight:600;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.9);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  margin-bottom:22px;
}
.hero-enroll-badge .dot{
  width:8px; height:8px; border-radius:50%;
  background:var(--teal-400);
  box-shadow:0 0 0 4px rgba(106,164,175,0.25);
}
.hero-enroll-copy h1{
  font-size:clamp(2.4rem, 5vw, 3.6rem);
  line-height:1.08;
  margin-bottom:20px;
  color:var(--white);
}
.hero-enroll-copy p{
  max-width:520px;
  color:rgba(255,255,255,0.85);
  font-size:1rem;
  line-height:1.75;
  margin-bottom:32px;
}
.hero-enroll-actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero-enroll-btn{ border-radius:9999px; padding:15px 30px; }
.hero-enroll-btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:15px 30px;
  border-radius:9999px;
  font-weight:600;
  font-size:0.96rem;
  color:var(--white);
  border:1px solid rgba(255,255,255,0.5);
  background:rgba(255,255,255,0.06);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  cursor:pointer;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
.hero-enroll-btn-outline:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,0.14);
  border-color:rgba(255,255,255,0.75);
}

.hero-enroll-card{
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:var(--radius-lg);
  padding:28px;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:0 24px 60px rgba(3,12,20,0.35);
}
.hero-enroll-location{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.92rem;
  font-weight:600;
  color:var(--white);
}
.icon-inline{
  width:18px;
  height:18px;
  flex-shrink:0;
  color:var(--icon-blue);
  vertical-align:-3px;
}
.hero-enroll-divider{ height:1px; background:rgba(255,255,255,0.16); margin:18px 0; }
.hero-enroll-daylabel{
  font-size:0.75rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.6);
  margin-bottom:10px;
}
.hero-enroll-daterow{ display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.hero-enroll-day{ font-size:50px; font-weight:700; color:var(--white); line-height:1; }
.hero-enroll-month{ font-size:1.1rem; font-weight:600; color:rgba(255,255,255,0.85); line-height:1.3; }
.hero-enroll-starts{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  border-radius:9999px;
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2);
  font-size:0.85rem;
  font-weight:600;
  color:var(--white);
}
.hero-enroll-countdown-label{
  font-size:0.72rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.6);
  margin-bottom:12px;
}
.hero-enroll-countdown{ display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; }
.cd-box{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:var(--radius-sm);
  padding:14px 6px;
  text-align:center;
}
.cd-num{
  display:block;
  font-size:1.6rem;
  font-weight:700;
  color:var(--white);
  font-variant-numeric:tabular-nums;
}
.cd-box:first-child .cd-num{ color:var(--teal-400); }
.cd-label{
  display:block;
  font-size:0.68rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.6);
  margin-top:4px;
}
.hero-enroll-status{
  font-size:0.95rem;
  font-weight:600;
  color:var(--white);
  padding:14px 0;
  text-align:center;
}

@media (max-width:900px){
  .hero-enroll{ min-height:auto; }
  .hero-enroll .container{ padding:80px 20px; }
  .hero-enroll-grid{ grid-template-columns:1fr; gap:36px; text-align:center; }
  .hero-enroll-copy p{ margin-left:auto; margin-right:auto; }
  .hero-enroll-actions{ justify-content:center; }
  .hero-enroll-location{ justify-content:center; }
  .hero-enroll-daterow{ justify-content:center; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 26px;
  border-radius:var(--radius-sm);
  font-family:var(--font-body);
  font-weight:600;
  font-size:0.96rem;
  border:none;
  cursor:pointer;
  transition:background .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--teal-500); color:var(--white); }
.btn-primary:hover{ background:var(--teal-700); }
.btn-block{ width:100%; }
.btn.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:14px 32px;
  border-radius:9999px;
  background:transparent !important;
  color:var(--white) !important;
  border:1px solid rgba(255,255,255,0.55) !important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 14px 30px rgba(0,0,0,0.08);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn.hero-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 34px rgba(0,0,0,0.14);
  background:rgba(255,255,255,0.08) !important;
  border-color:rgba(255,255,255,0.7) !important;
}

/* =========================================================
   Stats strip (Home)
   ========================================================= */
.stats{
  background:var(--white);
  border-bottom:1px solid var(--border);
}
.stats .container{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  padding:40px 24px;
  text-align:center;
}
.stat-num{
  font-family:var(--font-heading);
  font-size:65px;
  font-weight:700;
  background: linear-gradient(90deg, #a4e1e6 0%, #007dfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label{
  color:var(--text-muted);
  font-size:0.92rem;
  margin-top:4px;
}
@media (max-width:700px){
  .stats .container{ grid-template-columns:repeat(2,1fr); }
}

/* =========================================================
   Core Values section
   ========================================================= */
.core-values-section{
  padding:76px 0;
  background:linear-gradient(180deg, #f8fbfc 0%, var(--white) 100%);
}
.core-values-head{ max-width:760px; margin-bottom:38px; }
.core-values-head h2::after{ display:none; }
.section-intro{
  margin-top:14px;
  color:var(--text-muted);
  font-size:1rem;
  line-height:1.75;
}
.core-values-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
}
.core-value-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:24px 20px;
  box-shadow:var(--shadow-card);
  opacity:0;
  transform:translateY(24px);
  transition: opacity .65s ease, transform .65s ease, background .45s cubic-bezier(0.2,0.8,0.2,1), color .30s ease, box-shadow .25s ease, border-color .25s ease;
  transition-delay:0s;
  cursor:pointer;
  will-change:transform, background, color, opacity;
  position:relative;
  overflow:hidden;
}
.core-value-card.is-visible{
  opacity:1;
  transform:translateY(0);
}
.core-value-card::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.08) 100%);
  opacity:0;
  pointer-events:none;
  transition:opacity .36s ease, transform .36s ease;
  transform:translateZ(0);
}
.core-value-card h3,
.core-value-card p{
  transition: color .30s ease;
  position:relative;
  z-index:1;
}
.core-value-card:hover,
.core-value-card:active,
.core-value-card:focus-visible{
  transform:scale(1.02);
  box-shadow:0 18px 34px rgba(22, 76, 88, 0.06);
  border-color:transparent;
  background:linear-gradient(135deg, var(--nav-cta-start), var(--nav-cta-end));
  background-size:200% 200%;
  background-position:center center;
}
.core-value-card:hover::before,
.core-value-card:active::before,
.core-value-card:focus-visible::before{
  opacity:0.18;
}
.core-value-card:hover h3,
.core-value-card:active h3,
.core-value-card:focus-visible h3{
  color:var(--white);
}
.core-value-card:hover p,
.core-value-card:active p,
.core-value-card:focus-visible p{
  color:var(--white);
}
.core-value-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  margin-bottom:16px;
  border-radius:9999px;
  background:var(--teal-100);
  color:var(--dark-900);
  font-size:1.3rem;
  position:relative;
  z-index:1;
  transition:background .3s ease, color .3s ease;
}
.core-value-card:hover .core-value-icon,
.core-value-card:active .core-value-icon,
.core-value-card:focus-visible .core-value-icon{
  background:rgba(255,255,255,0.25);
  color:var(--white);
}
.core-value-card h3{
  font-size:1.05rem;
  font-weight:700;
  color:var(--dark-900);
  margin-bottom:10px;
}
.core-value-card p{
  font-size:0.95rem;
  line-height:1.65;
  color:var(--text-muted);
}
@media (max-width:900px){
  .core-values-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:560px){
  .core-values-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   Decorative fading pattern (dipakai sebagai lapisan background)
   ========================================================= */
.section-pattern-bg{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 6c8 0 14 6 14 14s-6 14-14 14-14-6-14-14 6-14 14-14zm0 4c-6 0-10 4-10 10s4 10 10 10 10-4 10-10-4-10-10-10z' fill='%23017dfd' fill-opacity='0.07'/%3E%3C/svg%3E");
  background-repeat:repeat;
  background-size:60px 60px;
  -webkit-mask-image:linear-gradient(180deg, black 0%, transparent 85%);
          mask-image:linear-gradient(180deg, black 0%, transparent 85%);
}

.core-values-section{ position:relative; overflow:hidden; }
.core-values-section .container{ position:relative; z-index:1; }

.collaboration-section{ position:relative; overflow:hidden; }
.collaboration-section .container{ position:relative; z-index:1; }

/* =========================================================
   Generic section heading
   ========================================================= */
.section{ padding:76px 0; }
.section-alt{ background:var(--white); }
.section-head{ text-align:center; max-width:640px; margin:0 auto 44px; }

.option-panel-section{
  padding:48px 0 56px;
}
.option-panel{
  max-width:560px;
  margin:0 auto;
  padding:28px 24px;
  background:var(--white);
  border-radius:28px;
  box-shadow:0 24px 60px rgba(12,37,55,0.08);
  border:1px solid rgba(17,60,125,0.06);
}
.option-panel h2{
  margin:0 0 20px;
  font-size:1.5rem;
  color:var(--dark-900);
}
.option-list{
  display:grid;
  gap:14px;
}
.option-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  background:var(--bg-page);
  border:1px solid rgba(27,112,254,0.12);
  border-radius:18px;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, box-shadow .2s ease;
  position:relative;
}
.option-item:hover{
  background:rgba(7,125,254,0.06);
}
.option-item input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.option-label{
  font-weight:600;
  color:var(--dark-900);
}
.option-indicator{
  width:20px;
  height:20px;
  border-radius:50%;
  border:2px solid rgba(7,125,254,0.35);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:border-color .2s ease, background .2s ease;
}
.option-indicator::before{
  content:'';
  width:10px;
  height:10px;
  border-radius:50%;
  background:transparent;
  transition:background .2s ease;
}
.option-item input:checked ~ .option-indicator{
  border-color:var(--nav-cta-start);
}
.option-item input:checked ~ .option-indicator::before{
  background:linear-gradient(135deg, var(--nav-cta-start), var(--nav-cta-end));
}
.option-item input:checked ~ .option-label{
  color:var(--nav-cta-start);
}
@media (max-width:700px){
  .option-panel{ padding:24px 20px; }
}
.section-head .eyebrow{
  text-transform:uppercase;
  letter-spacing:0.14em;
  font-size:0.78rem;
  font-weight:600;
  color:var(--teal-500);
  margin-bottom:10px;
}
.section-head h2{
  font-size:clamp(1.7rem, 3vw, 2.2rem);
  color:var(--dark-900);
  display:inline-block;
  position:relative;
  padding-bottom:10px;
  font-weight:bold;
}
.section-head h2::after{
  content:'';
  position:absolute;
  left:50%;
  bottom:0;
  width:100%;
  height:100px;
  background:linear-gradient(90deg, var(--teal-700), var(--teal-400));
  border-radius:9999px;
  transform:translateX(-50%);
}

.section-head h2.judul-bergaris::after {
  width: 72px;
  height: 6px;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-400));
  transform: translateX(-50%);
}

/* =========================================================
   Core Vision page specific styles
   ========================================================= */
.hero-corevision{
  min-height:calc(100vh - 76px);
  background-image:url('../assets/images/tentang_kami.jpg');
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  padding:0;
}
.hero-corevision .hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(19,42,46,0.72) 0%, rgba(19,42,46,0.17) 45%, rgba(19,42,46,0.92) 100%);
}
.hero-corevision .hero-content{
  position:relative;
  z-index:1;
  padding:120px 24px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  gap:22px;
}
.hero-corevision .eyebrow{
  color:rgba(255,255,255,0.85);
}
.hero-corevision h1{
  color:var(--white);
  font-size:clamp(2rem, 6vw, 4.6rem);
  line-height:1.08;
  max-width:860px;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
}
.hero-corevision p{
  max-width:720px;
  color:rgba(255,255,255,0.9);
  font-size:1rem;
  line-height:1.75;
}
.hero-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
  width:100%;
  max-width:980px;
}
.stat-card{
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:22px;
  padding:24px 24px;
  box-shadow:0 20px 45px rgba(3,16,26,0.16);
  backdrop-filter:blur(14px);
}
.stat-value{
  display:block;
  font-size:2rem;
  font-weight:700;
  color:var(--white);
  margin-bottom:10px;
}
.hero-stats .stat-label{
  color:rgba(255,255,255,0.8);
  font-size:0.95rem;
}
@media (max-width:900px){
  .hero-corevision .hero-content{ padding:80px 24px; align-items:center; text-align:center; }
  .hero-corevision h1{ font-size:clamp(1.9rem, 7vw, 3.2rem); }
  .hero-stats{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; }
  .stat-card{ padding:18px 16px; border-radius:16px; }
  .stat-value{ font-size:1.5rem; margin-bottom:6px; }
  .hero-stats .stat-label{ font-size:0.82rem; }
}

.vision-mission-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:24px;
  align-items:start;
}
.vision-card,
.mission-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  padding:40px 32px;
}
.vision-card h3,
.mission-card h3{
  margin-bottom:18px;
  color:var(--dark-900);
}
.vision-card p,
.mission-card p{
  color:var(--text-muted);
  line-height:1.9;
}
.mission-card .mission-list{
  margin:16px 0 0;
  padding-left:1.2rem;
}
@media (max-width:900px){
  .vision-mission-grid{ grid-template-columns:1fr; }
}

#committee-structure{ scroll-margin-top:96px; }

.team-section .section-head{ max-width:720px; }
.team-feature{
  margin-bottom:28px;
}
.team-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
}
.team-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  padding:24px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px;
  overflow:hidden;
  transform:translateY(24px);
  opacity:0;
  transition:opacity .65s ease, transform .65s ease, box-shadow .25s ease, border-color .25s ease;
}
.team-card.is-visible{
  transform:none;
  opacity:1;
}
.team-card:hover{
  box-shadow:var(--shadow-card-hover);
}
.team-card--featured{
  grid-column:1/-1;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:24px;
  padding:32px;
}
.team-photo{
  width:100%;
  min-height:260px;
  background:linear-gradient(180deg, rgba(0,125,254,0.12), rgba(164,225,230,0.12));
  border-radius:22px;
  overflow:hidden;
  position:relative;
}
.team-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.team-photo--featured{
  width:420px;
  min-height:420px;
  background:none;
  border-radius:28px;
}
.team-photo--featured img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.team-card--member .team-photo{
  border-radius:24px;
}
.team-copy h3{
  font-size:1.18rem;
  color:var(--dark-900);
  margin-bottom:10px;
}
.team-copy p{
  color:var(--text-muted);
  line-height:1.75;
  text-align:justify;
  text-align-last:left;
}
.team-card--featured .team-feature-copy{
  max-width:620px;
}
.team-card--featured h3{
  font-size:2rem;
  color:var(--dark-900);
}
.team-card--featured p{
  color:var(--text-muted);
  line-height:1.9;
  text-align:justify;
  text-align-last:left;
}
@media (max-width:1100px){
  .team-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:900px){
  .team-card--featured{ flex-direction:column; text-align:center; }
  .team-card--featured .team-photo--featured{ width:100%; min-height:320px; }
  .team-card--featured p{ text-align:justify; text-align-last:center; }
  .team-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; }
  .team-card--member{ padding:16px; gap:12px; }
  .team-card--member .team-photo{ min-height:150px; }
}
@media (max-width:560px){
  .team-grid{ grid-template-columns:1fr; }
}

.cta-section{
  background:linear-gradient(135deg, var(--dark-900), var(--dark-800));
}
.cta-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:clamp(12px, 1.5vw, 20px);
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:18px 22px;
  margin:0 auto;
  border-radius:var(--radius-lg);
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.14);
  box-shadow:0 28px 70px rgba(1,29,52,0.18);
}
.cta-card h2{
  color:var(--white);
  margin-bottom:14px;
  font-size:clamp(1.5rem, 4vw + 0.5rem, 2.2rem);
}
.cta-card p{
  color:rgba(255,255,255,0.85);
  max-width:640px;
  line-height:1.8;
  font-size:clamp(0.92rem, 1.5vw + 0.6rem, 1rem);
}
.cta-card .btn-primary{
  background:var(--white);
  color:var(--dark-900);
  padding:16px 32px;
}
.cta-card .btn-primary:hover{
  background:rgba(255,255,255,0.95);
}
@media (max-width:900px){
  .cta-card{
    flex-direction:column;
    text-align:center;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    padding:18px 16px;
    margin:0 auto;
  }
  .cta-card h2{ font-size:1.2rem; margin-bottom:8px; }
  .cta-card p{ font-size:0.85rem; line-height:1.6; }
  .cta-card .btn-primary{ padding:12px 24px; width:100%; font-size:0.9rem; }
}

/* =========================================================
   Our Events carousel (Home)
   ========================================================= */
.carousel{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-card);
}
.carousel-track{ position:relative; width:100%; aspect-ratio: 16 / 9; }
.carousel-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  opacity:0;
  z-index:0;
  transition:opacity 1.1s ease-in-out;
  overflow:hidden;
  pointer-events:none;
  will-change:opacity;
}
.carousel-slide.is-active{
  opacity:1;
  z-index:1;
  pointer-events:auto;
}
.carousel-slide .slide-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:brightness(0.8);
}
.carousel-slide::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,
    rgba(3, 12, 20, 0) 0%,
    rgba(3, 12, 20, 0) 38%,
    rgba(3, 12, 20, 0.55) 68%,
    rgba(3, 12, 20, 0.92) 100%);
}
.slide-content{
  position:relative;
  z-index:1;
  color:var(--white);
  padding:40px 48px;
  max-width:640px;
}
.slide-count{ font-size:0.85rem; opacity:0.85; margin-bottom:10px; letter-spacing:0.05em; }
.slide-content h3{ font-size:1.9rem; margin-bottom:12px; }
.slide-content p{ color:var(--text-on-dark); font-size:0.98rem; }

.carousel-dots{
  position:absolute;
  bottom:20px;
  left:48px;
  z-index:2;
  display:flex;
  gap:8px;
}
.carousel-dots button{
  width:8px; height:8px; border-radius:50%;
  border:none; background:rgba(255,255,255,0.45); cursor:pointer; padding:0;
}
.carousel-dots button.is-active{ background:var(--white); width:22px; border-radius:6px; }

.carousel-arrow{
  position:absolute;
  bottom:18px;
  right:20px;
  z-index:2;
  display:flex;
  gap:8px;
}
.carousel-arrow button{
  width:36px; height:36px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.5);
  background:rgba(255,255,255,0.12);
  color:var(--white);
  cursor:pointer;
  font-size:1rem;
  display:flex; align-items:center; justify-content:center;
  transition:background .15s ease;
}
.carousel-arrow button:hover{ background:rgba(255,255,255,0.28); }

@media (max-width:700px){
  .carousel-track{ aspect-ratio: 4 / 3; }
  .slide-content{ padding:20px 16px; }
  .slide-content h3{ font-size:1.15rem; margin-bottom:6px; }
  .slide-content p{ font-size:0.8rem; }
  .slide-count{ font-size:0.7rem; margin-bottom:4px; }
  .carousel-dots{ left:16px; bottom:12px; }
  .carousel-arrow{ bottom:12px; right:12px; }
  .carousel-arrow button{ width:28px; height:28px; font-size:0.85rem; }
}

.quote-island{
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:0 20px 50px rgba(19,42,46,0.08);
  margin:60px auto;
  padding:48px 32px;
  max-width:920px;
}
.quote-island figure{
  margin:0;
}
.quote-island .quote-text{
  font-family:'Times New Roman', serif;
  font-style:italic;
  font-size:1.2rem;
  line-height:1.75;
  color:var(--text-dark);
  margin:0 0 22px;
}
.quote-island .quote-author{
  display:block;
  font-family:var(--font-heading);
  font-size:0.96rem;
  font-weight:600;
  color:var(--teal-700);
}

/* =========================================================
   Timeline (Home page — chronological event schedule)
   ========================================================= */
.timeline{
  position:relative;
  max-width:760px;
  margin:0 auto;
  padding-left:0;
}
.timeline::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  bottom:0;
  width:2px;
  background:var(--border);
  transform:translateX(-50%);
}
.timeline-item{
  position:relative;
  display:grid;
  grid-template-columns:1fr 40px 1fr;
  align-items:center;
  margin-bottom:34px;
}
.timeline-item:last-child{ margin-bottom:0; }
.timeline-card{
  position:relative;
  overflow:hidden;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:14px 18px;
  box-shadow:var(--shadow-card);
  transition:border-color .35s ease, box-shadow .25s ease;
}
.timeline-card::before,
.timeline-card::after{
  content:'';
  position:absolute;
  inset:0;
  transform:scaleY(0);
  transform-origin:bottom center;
  transition:transform .45s cubic-bezier(0.33, 1, 0.68, 1), opacity .35s ease;
  z-index:0;
}
.timeline-card::before{
  background:linear-gradient(135deg, var(--nav-cta-start), var(--nav-cta-end));
  opacity:0.95;
}
.timeline-card::after{
  background:rgba(255,255,255,0.14);
  opacity:0;
}
.timeline-card:hover::before,
.timeline-card:hover::after{
  transform:scaleY(1);
  opacity:1;
}
.timeline-card:hover{
  border-color:transparent;
  box-shadow:0 18px 34px rgba(22, 76, 88, 0.18);
}
.timeline-card:hover .tl-date,
.timeline-card:hover .tl-title{
  color:var(--white);
}
.timeline-card .tl-date{
  position:relative;
  z-index:1;
  display:block;
  font-size:0.76rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--teal-500);
  font-weight:600;
  margin-bottom:4px;
}
.timeline-card .tl-title{
  position:relative;
  z-index:1;
  font-weight:600;
  color:var(--dark-900);
}
.timeline-dot{
  width:16px; height:16px;
  border-radius:50%;
  background:var(--white);
  border:3px solid var(--teal-500);
  justify-self:center;
  z-index:1;
}
.timeline-item.side-left .timeline-card{ grid-column:1; text-align:right; }
.timeline-item.side-left .timeline-dot{ grid-column:2; }
.timeline-item.side-right{ }
.timeline-item.side-right .timeline-card{ grid-column:3; text-align:left; }
.timeline-item.side-right .timeline-dot{ grid-column:2; }

@media (max-width:700px){
  .timeline::before{ left:12px; }
  .timeline-item, .timeline-item.side-left, .timeline-item.side-right{
    display:block;
    position:relative;
    padding-left:38px;
  }
  .timeline-item.side-left .timeline-dot,
  .timeline-item.side-right .timeline-dot{
    position:absolute;
    left:12px;
    top:50%;
    transform:translate(-50%, -50%);
    margin:0;
  }
  .timeline-item.side-left .timeline-card,
  .timeline-item.side-right .timeline-card{ text-align:left; }
}

/* =========================================================
   Our Journey timeline (page: our-journey.html)
   Alternating image + text rows with large year overlay
   ========================================================= */
.journey-section{ padding:80px 0; }
.journey-row{ position:relative; display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:center; margin:48px 0; }
.journey-row.row-right{ grid-template-columns:1fr 1fr; direction:ltr; }
.journey-row.row-right .journey-image{ order:2; }
.journey-image{ border-radius:16px; overflow:hidden; box-shadow:var(--shadow-card); position:relative; z-index:2; aspect-ratio: 4 / 3; }
.journey-image img{ width:100%; height:100%; object-fit:cover; display:block; }
.journey-copy{ padding:20px 12px; position:relative; z-index:2; }
.journey-copy h3{ font-size:50px; color:var(--dark-900); margin-bottom:12px; }
.journey-copy p{ color:var(--text-muted); line-height:1.8; }
.journey-year{
  position:absolute;
  right:8%;
  top:50%;
  transform:translateY(-50%);
  font-size:clamp(4rem, 12vw, 8remx);
  font-weight:800;
  pointer-events:none;
  z-index:0; /* make sure year is behind content */
  /* render as outline/stroke (hollow letters)
     -webkit-text-stroke used for stroke; fill kept transparent */
  color:transparent;
  -webkit-text-stroke: 2px rgba(7,125,254,0.45);
  text-shadow: 0 0 0 rgba(7,125,254,0.08);
  opacity:0.95;
}
.journey-row.row-right .journey-year{ left:8%; right:auto; }

@media (max-width:1000px){
  .journey-row,
  .journey-row.row-right{ grid-template-columns:1fr; }
  .journey-row .journey-year{
    position:relative;
    transform:none;
    font-size:3.2rem;
    margin-top:12px;
    opacity:0.95;
    color:transparent;
    -webkit-text-stroke: 1px rgba(7,125,254,0.38);
    text-shadow: 0 0 0 rgba(7,125,254,0.06);
  }
  .journey-row.row-right .journey-image{ order:0; }
}


/* Enroll page — 4-step horizontal tracker inside the hero band */
.step-strip{
  background:var(--dark-900);
}
.step-strip .container{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  padding:34px 24px;
}
.step{
  flex:1;
  text-align:center;
  position:relative;
  padding:0 8px;
}
.step-num{
  width:32px; height:32px;
  border-radius:50%;
  background:var(--teal-500);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-weight:700;
  font-size:0.9rem;
  margin:0 auto 12px;
}
.step-title{ color:var(--white); font-weight:600; font-size:0.94rem; margin-bottom:4px; }
.step-date{ color:var(--text-on-dark); font-size:0.82rem; }
.step-connector{
  position:absolute;
  top:16px;
  left:-50%;
  width:100%;
  height:1px;
  background:rgba(255,255,255,0.25);
  z-index:0;
}
.step:first-child .step-connector{ display:none; }

@media (max-width:760px){
  .step-strip .container{ flex-wrap:wrap; }
  .step{ flex:1 1 45%; margin-bottom:18px; }
  .step-connector{ display:none; }
}

/* =========================================================
   Tabs (Enroll page)
   ========================================================= */
.tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin:-34px auto 32px;
  position:relative;
  z-index:2;
}
.tab-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 20px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--white);
  color:var(--text-dark);
  font-weight:600;
  font-size:0.92rem;
  cursor:pointer;
  box-shadow:var(--shadow-card);
  transition:background .15s ease, color .15s ease;
}
.tab-btn.is-active{ background:var(--teal-500); color:var(--white); border-color:var(--teal-500); }
.tab-btn:hover:not(.is-active){ background:var(--teal-100); }

.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; }

.panel-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  padding:44px;
  max-width:900px;
  margin:0 auto;
}
.panel-card h2{ font-size:1.6rem; color:var(--dark-900); margin-bottom:18px; }
.panel-card p{ text-align:justify; text-align-last:left; }
.panel-card p + p{ margin-top:0; }

/* Guidebook tab */
.guidebook-text{ color:var(--text-muted); max-width:560px; margin-bottom:26px; }

/* Requirement list tab */
.req-item{
  display:flex;
  gap:16px;
  align-items:flex-start;
  background:var(--bg-page);
  border-radius:var(--radius-sm);
  padding:18px 20px;
  margin-bottom:14px;
}
.req-item:last-child{ margin-bottom:0; }
.req-num{
  width:28px; height:28px; flex-shrink:0;
  border-radius:50%;
  background:var(--teal-500);
  color:var(--white);
  font-weight:700;
  font-size:0.85rem;
  display:flex; align-items:center; justify-content:center;
}
.req-title{ font-weight:600; color:var(--dark-900); margin-bottom:2px; }
.req-desc{ color:var(--text-muted); font-size:0.92rem; }

/* Registration form tab */
.form-group{ margin-bottom:20px; }
.form-group label{
  display:block;
  font-weight:600;
  font-size:0.92rem;
  color:var(--dark-900);
  margin-bottom:8px;
}
.form-group input,
.form-group textarea{
  width:100%;
  padding:13px 16px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  font-family:var(--font-body);
  font-size:0.95rem;
  color:var(--text-dark);
  background:var(--bg-page);
  transition:border-color .15s ease, background .15s ease;
}
.form-group input:focus,
.form-group textarea:focus{
  border-color:var(--teal-500);
  background:var(--white);
  outline:none;
}
.form-group textarea{ min-height:120px; resize:vertical; }
.form-note{ font-size:0.85rem; color:var(--text-muted); margin-top:6px; }
.form-status{
  margin-bottom:18px;
  padding:12px 16px;
  border-radius:var(--radius-sm);
  font-size:0.92rem;
  display:none;
}
.form-status.is-visible{ display:block; }
.form-status.is-success{ background:#e2f3e6; color:#276b3c; display:block; }
.form-status.is-error{ background:#fbe3e3; color:#a02c2c; display:block; }

/* Announcements tab */
.announce-item{
  background:var(--bg-page);
  border-left:4px solid var(--teal-500);
  border-radius:var(--radius-sm);
  padding:20px 22px;
  margin-bottom:16px;
}
.announce-tag{
  display:inline-block;
  background:var(--teal-500);
  color:var(--white);
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  padding:4px 10px;
  border-radius:999px;
  margin-right:10px;
}
.announce-date{ color:var(--text-muted); font-size:0.85rem; }
.announce-title{ font-weight:600; color:var(--dark-900); margin:10px 0 6px; font-size:1.05rem; }
.announce-desc{ color:var(--text-muted); font-size:0.94rem; }
.announce-empty{
  text-align:center;
  color:var(--text-muted);
  padding:36px 0 6px;
}
.announce-empty .bell{ font-size:1.8rem; margin-bottom:10px; }

/* =========================================================
   Past Collaboration (Home)
   ========================================================= */
.partner-group{ text-align:center; margin-bottom:40px; }
.partner-group:last-child{ margin-bottom:0; }
.partner-group h4{
  text-transform:uppercase;
  letter-spacing:0.1em;
  font-size:0.8rem;
  color:var(--text-muted);
  margin-bottom:20px;
}
.partner-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}
.partner-chip{
  background:var(--bg-page);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  padding:18px 30px;
  min-width:150px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.partner-chip img{
  max-width:82px;
  height:auto;
  display:block;
}
/* --- ukuran logo khusus Government Partner --- */
.partner-group.partner-group--government .partner-chip img{
  max-width:90px; /* ubah nilai ini untuk memperbesar/memperkecil logo Government Partner */
}
/* --- ukuran logo khusus NGO Partner --- */
.partner-group.partner-group--ngo .partner-chip img{
  max-width:150px; /* ubah nilai ini untuk memperbesar/memperkecil logo NGO Partner */
}
/* --- ukuran logo khusus Sponsorship Partner --- */
.partner-group.partner-group--sponsorship .partner-chip img{
  max-width:130px; /* ubah nilai ini untuk memperbesar/memperkecil logo Sponsorship Partner */
}
.partner-chip.is-placeholder{
  background:transparent;
  border:1.5px dashed var(--border);
  color:var(--text-muted);
  font-size:0.85rem;
}
.partner-chip strong{ display:block; color:var(--dark-900); font-family:var(--font-heading); font-size:1rem; }
.partner-chip span{ display:block; font-size:0.78rem; color:var(--text-muted); margin-top:2px; }

@media (max-width:700px){
  .partner-row{ gap:10px; }
  .partner-chip{ min-width:0; width:calc(33.333% - 7px); padding:12px 10px; gap:6px; }
  .partner-chip img{ max-width:56px; }
  .partner-group.partner-group--government .partner-chip img{ max-width:56px; }
  .partner-group.partner-group--ngo .partner-chip img{ max-width:90px; }
  .partner-group.partner-group--sponsorship .partner-chip img{ max-width:80px; }
  .partner-chip span{ font-size:0.68rem; }
}

/* =========================================================
   News page
   ========================================================= */
.filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:-16px 0 34px;
}
.filter-pill{
  padding:10px 20px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--white);
  color:var(--text-dark);
  font-weight:600;
  font-size:0.9rem;
  cursor:pointer;
}
.filter-pill.is-active{ background:var(--teal-500); color:var(--white); border-color:var(--teal-500); }
.filter-pill:hover:not(.is-active){ background:var(--teal-100); }

.news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(280px,1fr));
  gap:28px;
}
.news-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-card);
  transition:box-shadow .15s ease, transform .15s ease;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
}
.news-card:hover{ box-shadow:var(--shadow-card-hover); transform:translateY(-2px); }
.news-card-link-card{ text-decoration:none; color:inherit; }
.news-thumb{
  height:220px;
  position:relative;
  background:linear-gradient(135deg, var(--teal-500), var(--dark-800));
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,0.85);
  font-size:0.85rem;
  text-align:center;
  padding:16px;
  overflow:hidden;
}
.news-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.news-badge{
  position:absolute; top:16px; left:16px;
  background:var(--dark-900);
  color:var(--white);
  font-size:0.74rem;
  font-weight:700;
  padding:6px 12px;
  border-radius:999px;
}
/* Container Teks Card */
.news-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Tanggal */
.news-date {
  color: #64748b;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

/* Judul */
.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 10px;
}

/* Ringkasan Teks */
.news-desc {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Tombol Kapsul Baca Selengkapnya */
.news-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #0f172a;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: auto;
  transition: all 0.2s ease;
}

/* Efek Hover Tombol */
.news-card-link-card:hover .news-cta {
  background-color: #0f172a;
  color: #ffffff;
}

/* =========================================================
   News List — Layout ala Tempo (featured besar + sidebar list)
   ========================================================= */
.news-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* --- Berita utama (featured) --- */
.news-featured-link {
  display: block;
  color: inherit;
}
.news-featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.news-featured-body {
  padding-top: 20px;
}
.news-featured-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 10px 0 14px;
  transition: color 0.2s ease;
}
.news-featured-link:hover .news-featured-title {
  color: var(--teal-500);
}
.news-featured-desc {
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

/* --- Sidebar "Artikel Terbaru" --- */
.news-sidebar {
  border-left: 1px solid var(--border);
  padding-left: 32px;
}
.news-sidebar-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0f172a;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #0f172a;
}
.news-sidebar-list {
  display: flex;
  flex-direction: column;
}
.news-sidebar-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
}
.news-sidebar-item:first-child { padding-top: 0; }
.news-sidebar-item:last-child { border-bottom: none; }
.news-sidebar-thumb {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.news-sidebar-thumb--empty {
  background: var(--teal-100);
}
.news-sidebar-item-body {
  flex: 1;
  min-width: 0;
}
.news-sidebar-date {
  color: #94a3b8;
  font-size: 0.76rem;
}
.news-sidebar-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-top: 4px;
  transition: color 0.2s ease;
}
.news-sidebar-item:hover .news-sidebar-item-title {
  color: var(--teal-500);
}
.news-sidebar-empty {
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .news-sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
  .news-featured-img {
    height: 240px;
  }
}

.news-detail-card{ max-width:900px; margin:0 auto; }
.news-detail-image img{ width:100%; height:auto; display:block; border-bottom:1px solid rgba(0,0,0,0.05); }
.news-detail-body{ padding:32px; }
.news-category{ color:var(--teal-500); font-weight:700; margin-bottom:16px; }
.news-full-content p{ margin:0 0 1.25rem; line-height:1.75; color:var(--text-muted); }

@media (max-width:760px){
  .news-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background:var(--white);
  color:var(--text-dark);
  padding:56px 0 0;
}
.footer-brand{ text-align:center; margin-bottom:32px; }
.footer-mark{
  display:inline-flex;
  margin:0 auto 16px;
}
.footer-mark img{
  display:block;
  width:auto;
  height:auto;
  max-width:70px;
  max-height:70px;
}
.footer-brand h3{ color:var(--dark-900); font-size: 16px; margin-bottom:4px; }
.footer-brand p{ color:var(--text-muted); font-size:16px; margin-bottom:18px; }
.footer-address{ font-size:0.92rem; color:var(--text-muted); }
.footer-social{
  display:flex;
  justify-content:center;
  gap:28px;
  flex-wrap:wrap;
  margin:26px 0 30px;
  font-size:0.92rem;
}
.footer-social a{ display:inline-flex; align-items:center; justify-content:center; padding:8px; border-radius:12px; background:rgba(0,0,0,0.03); transition:background .18s ease; }
.footer-social a:hover{ background:rgba(0,0,0,0.08); }
.footer-social-icon{ display:block; width:24px; height:24px; }
.footer-bottom{
  border-top:1px solid var(--border);
  text-align:center;
  padding:20px 0;
  font-size:0.82rem;
  color:var(--text-muted);
}

/* 1. Pastikan induknya rata tengah */
#events .section-head,
.section-head {
  text-align: center !important;
}

/* 2. Ukuran judul dibuat pas selebar teksnya saja (tanpa padding samping) */
.judul-bergaris,
#events .section-head h2 {
  display: inline-block !important;
  width: fit-content !important;     /* Kunci agar lebarnya cuma se-panjang teks */
  position: relative !important;
  padding: 0 0 12px 0 !important;    /* Menghapus padding kiri/kanan agar garis tidak geser */
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Lebar kolom artikel dibuat sedikit lebih lebar dari container biasa,
   supaya tiap baris menampung lebih banyak kata dan spasi justify
   tidak perlu "dipaksa" terlalu renggang */
.news-article {
  max-width: 900px;
  margin: 0 auto;
}

/* Nama penulis di bawah judul berita */
.news-author {
  color: #94a3b8;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 10px;
}

/* Styling Paragraf Berita agar Rapi, Justify, dan Ber-tab */
#news-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 1.4rem;
  text-align: justify;
  text-align-last: left;   /* baris terakhir tiap paragraf tetap rata kiri, tidak dipaksa mepet kanan */
  text-indent: 2.5em;      /* Memberi Lekukan / Tab di baris pertama */
  text-justify: inter-word;
  hyphens: auto;           /* pecah kata otomatis di ujung baris agar spasi tidak melebar */
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
  word-spacing: -0.5px;    /* sedikit merapatkan spasi antar kata secara keseluruhan */
}

/* Paragraf terakhir tidak perlu jarak bawah ekstra */
#news-content p:last-child {
  margin-bottom: 0;
}

/* Di layar sempit, justify sering jadi lebih buruk (kata makin sedikit
   per baris) — di sini kembali ke rata kiri biasa supaya tetap rapi */
@media (max-width: 560px) {
  #news-content p {
    text-indent: 1.75em;
  }
}