* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: #102d4a;
  background: #fff;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
button {
  font: inherit;
  cursor: pointer;
}
.wrap {
  width: min(1180px, calc(100% - 44px));
  margin: auto;
}
:root {
  --navy: #4b267f;
  --blue: #6333a2;
  --gold: #f6cf4a;
  --ink: #102d4a;
  --muted: #718095;
  --line: #e5eaf0;
  --pale: #f5f8fb;
}
.utility {
  background: #35165f;
  color: #d8e3ef;
  font-size: 11px;
}
.utility-in {
  display: flex;
  gap: 24px;
  min-height: 34px;
  align-items: center;
}
.utility-right {
  margin-left: auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e7ebf0;
}
.header-in {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-symbol {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--navy);
  color: var(--gold);
  font:
    800 17px "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.06em;
}
.brand b {
  display: block;
  font:
    800 14px/1.25 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.035em;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #678095;
  font-weight: 800;
  margin-top: 5px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #53667b;
}
nav a {
  padding: 10px 0;
  transition: 0.2s;
}
nav a:hover,
nav a.active {
  color: #6333a2;
}
.nav-cta {
  background: var(--gold);
  padding: 11px 16px;
  border-radius: 7px;
  color: #102d4a;
}
nav .nav-cta:hover {
  color: #102d4a;
  background: #ffe16a;
}
.hamb {
  display: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  padding: 7px 11px;
  font-size: 22px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: white;
}
.hero-in {
  min-height: 545px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 85px;
}
.eyebrow,
.kicker {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #e7b707;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffe77a;
}
.eyebrow i {
  width: 24px;
  height: 2px;
  background: currentColor;
}
.hero h1 {
  font:
    800 clamp(38px, 4.2vw, 59px)/1.1 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.055em;
  margin: 22px 0 20px;
}
.hero h1 em,
.section h2 em,
.partners h2 em,
.spmb h2 em {
  color: var(--gold);
  font-style: normal;
}
.hero-copy > p {
  max-width: 520px;
  color: #e5d9f4;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 28px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 13px 18px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.gold {
  background: var(--gold);
  color: #102d4a;
}
.gold:hover {
  background: #ffe16a;
}
.ghost {
  border: 1px solid #b9a5d4;
  color: white;
  background: #ffffff08;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: #f2eafd;
  font-size: 11px;
}
.note-check {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff18;
  color: var(--gold);
  font-size: 16px;
}
.hero-note b,
.hero-note small {
  display: block;
}
.hero-note small {
  color: #d6c4ec;
  margin-top: 2px;
}
.hero-photo {
  height: 370px;
  position: relative;
  border-radius: 15px 15px 70px 15px;
  overflow: visible;
}
.hero-photo > img {
  border-radius: 15px 15px 70px 15px;
  box-shadow: 0 24px 55px #00172c55;
  filter: saturate(0.8);
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid #f6cf4a60;
  border-radius: 15px 15px 70px 15px;
  z-index: -1;
}
.photo-label {
  position: absolute;
  left: -25px;
  bottom: 25px;
  background: white;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: 9px;
  box-shadow: 0 10px 30px #00172c35;
}
.photo-label b,
.photo-label small {
  display: block;
}
.photo-label b {
  font-size: 11px;
}
.photo-label small {
  font-size: 10px;
  color: var(--muted);
}
.label-dot {
  width: 10px;
  height: 10px;
  background: #48a67c;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #e0f5e9;
}
.hero-stamp {
  position: absolute;
  right: -18px;
  top: 22px;
  border-radius: 50%;
  width: 96px;
  height: 96px;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  transform: rotate(8deg);
  box-shadow: 0 8px 20px #00172c30;
}
.hero-stamp b {
  font:
    800 17px "Plus Jakarta Sans",
    sans-serif;
}
.hero-stamp small {
  font-size: 10px;
  letter-spacing: 0.12em;
}
.hero-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 26px;
  background: white;
  clip-path: polygon(0 100%, 0 80%, 100% 0, 100% 100%);
}
.quick-stats {
  position: relative;
  margin-top: -2px;
  background: white;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border: 0;
}
.stat-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eee5fb;
  color: #6333a2;
  font-size: 22px;
}
.stat-icon.amber {
  background: #fff2d7;
  color: #6d3ab5;
}
.stat b,
.stat small {
  display: block;
}
.stat b {
  font:
    800 22px "Plus Jakarta Sans",
    sans-serif;
}
.stat small {
  font-size: 10px;
  color: var(--muted);
}
.section {
  padding: 88px 0;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}
.profile-visual {
  position: relative;
  height: 440px;
  border-radius: 14px;
  overflow: hidden;
  background: #dce8f2;
}
.profile-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #42216faa, transparent 48%);
}
.profile-caption {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 23px;
  color: #fff;
}
.profile-caption b,
.profile-caption small {
  display: block;
}
.profile-caption b {
  font:
    800 15px "Plus Jakarta Sans",
    sans-serif;
}
.profile-caption small {
  font-size: 10px;
  color: #e0e9f1;
}
.profile-index {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  background: #ffffffeb;
  border-radius: 5px;
  padding: 8px 11px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.profile-index i {
  color: #6333a2;
  font-style: normal;
  padding: 0 6px;
}
.profile-copy h2,
.section h2,
.partners h2,
.spmb h2 {
  font:
    800 clamp(29px, 3.2vw, 41px)/1.18 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.05em;
  margin: 12px 0 20px;
}
.profile-copy h2 em,
.section h2 em {
  color: #6333a2;
}
.profile-copy > p,
.section-head > p,
.partners p,
.spmb p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.values {
  display: grid;
  gap: 0;
  margin: 25px 0;
}
.values > div {
  display: grid;
  grid-template-columns: 35px 1fr;
  column-gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.values > div > span {
  grid-row: span 2;
  color: #6333a2;
  font:
    800 11px "Plus Jakarta Sans",
    sans-serif;
  padding-top: 3px;
}
.values b {
  font-size: 12px;
}
.values small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e7b707;
  font-size: 11px;
  font-weight: 800;
}
.programs {
  background: #f5f8fb;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 32px;
}
.section-head > div {
  max-width: 570px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head > p {
  max-width: 380px;
  margin: 0;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.program-card {
  position: relative;
  padding: 18px 17px 22px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  transition: 0.25s;
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px #0d31520f;
}
.program-number {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 10px;
  color: #9ba9b8;
  font-weight: 800;
}
.program-art {
  height: 100px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font:
    500 45px "Plus Jakarta Sans",
    sans-serif;
  margin-bottom: 20px;
}
.art-blue {
  background: #eee5fb;
  color: #195c91;
}
.art-gold {
  background: #fff4c9;
  color: #a67524;
}
.art-green {
  background: #dff5e8;
  color: #278454;
}
.art-purple {
  background: #eee5fb;
  color: #6855a7;
}
.art-red {
  background: #e2f5e9;
  color: #a94e3c;
}
.program-tag {
  font-size: 8px;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #5c3294;
}
.program-card h3 {
  font:
    800 14px/1.4 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.03em;
  margin: 8px 0;
}
.program-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  min-height: 57px;
}
.program-card > a,
.news-body > a {
  font-size: 10px;
  color: #ebae07;
  font-weight: 800;
}
.notice {
  font-size: 10px;
  color: #8a97a5;
  margin-top: 18px;
}
.facility-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 240px;
  gap: 14px;
}
.facility {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #dbe6f1;
}
.facility:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #4b267fdb, transparent 65%);
}
.facility img {
  transition: transform 0.4s;
}
.facility:hover img {
  transform: scale(1.04);
}
.facility > div {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 18px;
  color: white;
}
.facility span {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #ffe77a;
  font-weight: 800;
}
.facility h3 {
  font:
    800 16px "Plus Jakarta Sans",
    sans-serif;
  margin: 5px 0;
}
.calendar {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.calendar:before {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 440px;
  height: 440px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  box-shadow:
    0 0 0 35px #ffffff08,
    0 0 0 70px #ffffff05;
}
.calendar-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.calendar h2 {
  margin-bottom: 18px;
}
.calendar-intro p {
  font-size: 13px;
  color: #e4d9f2;
  line-height: 1.9;
  max-width: 350px;
  margin-bottom: 25px;
}
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 35px;
  font-size: 10px;
  color: #eee7f7;
}
.calendar-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.calendar-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.blue-dot {
  background: #71b6ef;
}
.gold-dot {
  background: var(--gold);
}
.green-dot {
  background: #68c69a;
}
.calendar-card {
  background: white;
  color: var(--ink);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 20px 50px #00172c30;
}
.calendar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.calendar-title small {
  font-size: 8px;
  letter-spacing: 0.13em;
  color: #8b9aac;
  font-weight: 800;
}
.calendar-title h3 {
  font:
    800 20px "Plus Jakarta Sans",
    sans-serif;
  margin: 4px 0;
}
.cal-arrows {
  display: flex;
  gap: 7px;
}
.cal-arrows button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font-size: 20px;
}
.calendar-days,
.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
}
.calendar-days {
  font-size: 9px;
  color: #8a98a9;
  font-weight: 800;
  margin-bottom: 8px;
}
.calendar-dates button {
  border: 0;
  background: transparent;
  border-radius: 7px;
  min-height: 32px;
  font-size: 11px;
  color: #42566d;
}
.calendar-dates button:hover {
  background: #e8f2fb;
}
.calendar-dates button.today {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}
.calendar-dates button.muted {
  color: #c6ced7;
}
.agenda-upcoming {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.agenda-date {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 8px;
  background: #e8f2fb;
  display: grid;
  place-content: center;
  text-align: center;
  font:
    800 17px "Plus Jakarta Sans",
    sans-serif;
  color: #175c94;
}
.agenda-date small {
  font:
    800 8px "DM Sans",
    sans-serif;
  letter-spacing: 0.1em;
}
.agenda-upcoming > div {
  flex: 1;
}
.agenda-upcoming > div small,
.agenda-upcoming > div b {
  display: block;
}
.agenda-upcoming > div small {
  font-size: 8px;
  color: #b17c26;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.agenda-upcoming > div b {
  font-size: 11px;
  margin: 3px 0;
}
.agenda-upcoming > div p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.arrow {
  color: #a77a29;
}
.news-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 17px;
}
.news-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: white;
}
.news-image {
  height: 180px;
  position: relative;
  display: block;
  overflow: hidden;
  background: #dbe7f2;
}
.news-image img {
  transition: transform 0.3s;
}
.news-card:hover img {
  transform: scale(1.04);
}
.news-image > span {
  position: absolute;
  left: 13px;
  top: 13px;
  background: #fff;
  color: #1b5a8c;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 8px;
  letter-spacing: 0.06em;
  font-weight: 800;
}
.featured .news-image {
  height: 220px;
}
.news-body {
  padding: 18px;
}
.news-body > small {
  font-size: 8px;
  color: #9b7a3d;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.news-body h3 {
  font:
    800 16px/1.45 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: -0.03em;
  margin: 9px 0;
}
.news-body p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.75;
}
.featured .news-body h3 {
  font-size: 19px;
}
.gallery {
  background: #f5f8fb;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 13px;
}
.gallery-grid figure {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  margin: 0;
  background: #dbe7f2;
}
.gallery-grid figure:first-child {
  grid-row: span 2;
}
.gallery-grid figure:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #4b267faa, transparent 65%);
}
.gallery-grid img {
  transition: transform 0.4s;
}
.gallery-grid figure:hover img {
  transform: scale(1.05);
}
.gallery-grid figcaption {
  position: absolute;
  z-index: 1;
  left: 15px;
  right: 15px;
  bottom: 13px;
  color: white;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}
.partners {
  padding: 55px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.partners-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.partners h2 {
  font-size: 28px;
  margin: 8px 0;
}
.partners p {
  font-size: 11px;
  margin: 0;
}
.partner-placeholder {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.partner-placeholder span {
  padding: 15px 18px;
  border: 1px dashed #c9d4df;
  border-radius: 7px;
  color: #8997a7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* SECTION SPMB */
.spmb {
  background: #eaf2fa;
  padding: 60px 0;
  overflow: hidden;
}

/* Konten informasi */
.spmb-in {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  max-width: 590px;
  min-width: 0;
  margin: 0 auto;
  text-align: left;
}

/* Label */
.spmb-in .kicker {
  display: inline-block;
  margin-bottom: 12px;
}

/* Judul */
.spmb-in h2 {
  width: 100%;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
}

.spmb-in h2 em {
  color: var(--orange);
  font-style: normal;
}

/* Deskripsi */
.spmb-in p {
  width: 100%;
  max-width: 520px;
  margin: 0 0 24px;
  color: #617187;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

/* Tombol */
.spmb .button.dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.spmb .button.dark:hover {
  background: var(--orange);
  color: var(--navy);
  transform: translateY(-2px);
}

/* Google Maps */
.spmb-map {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.spmb-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* Tablet */
@media (max-width: 991px) {
  .spmb {
    padding: 45px 0;
  }

  .spmb-in {
    max-width: 100%;
  }

  .spmb-map iframe {
    height: 280px;
  }
}

/* Smartphone */
@media (max-width: 576px) {
  .spmb {
    padding: 40px 0;
  }

  .spmb-in h2 {
    font-size: 27px;
    line-height: 1.3;
  }

  .spmb-in p {
    font-size: 13px;
  }

  .spmb-map iframe {
    height: 240px;
  }

  .spmb .button.dark {
    white-space: normal;
  }
}

@media (max-width: 1050px) {
  nav {
    gap: 12px;
  }
  .program-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-in {
    gap: 35px;
  }
  .calendar-grid {
    gap: 40px;
  }
}
@media (max-width: 800px) {
  .utility-right {
    display: none;
  }
  .header-in {
    min-height: 70px;
  }
  .hamb {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 22px 20px;
    background: white;
    box-shadow: 0 18px 28px #4b267f14;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 12px 8px;
    border-bottom: 1px solid #eef1f5;
  }
  .nav-cta {
    text-align: center;
    margin-top: 9px;
  }
  .hero-in {
    grid-template-columns: 1fr;
    padding-top: 52px;
    gap: 42px;
  }
  .hero-photo {
    height: 330px;
    width: min(100%, 560px);
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
  .stat:nth-child(2) {
    border: 0;
  }
  .profile-grid,
  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .profile-visual {
    height: 360px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .section-head > p {
    max-width: 550px;
  }
  .facility-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 180px;
  }
  .facility.large {
    grid-column: span 2;
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-card.featured {
    grid-column: span 2;
  }
  .gallery-grid {
    grid-template-rows: 160px 160px;
  }
  .partners-in,
  .spmb-in {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 30px);
  }
  .utility-in {
    gap: 13px;
    font-size: 9px;
    min-height: 30px;
  }
  .brand-symbol {
    width: 40px;
    height: 40px;
  }
  .brand b {
    font-size: 11px;
  }
  .brand small {
    font-size: 7px;
  }
  .hero-in {
    padding-top: 43px;
    padding-bottom: 60px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero-photo {
    height: 255px;
    width: calc(100% - 10px);
  }
  .photo-label {
    left: -7px;
    bottom: 14px;
    padding: 10px 12px;
  }
  .hero-stamp {
    right: -7px;
    top: 10px;
    width: 75px;
    height: 75px;
    font-size: 9px;
  }
  .hero-stamp b {
    font-size: 12px;
  }
  .stats-grid {
    padding: 20px 0;
  }
  .stat {
    justify-content: flex-start;
    padding: 0 8px;
    gap: 9px;
  }
  .stat-icon {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  .stat b {
    font-size: 18px;
  }
  .stat small {
    font-size: 9px;
  }
  .section {
    padding: 62px 0;
  }
  .profile-visual {
    height: 285px;
  }
  .profile-copy h2,
  .section h2 {
    font-size: 30px;
  }
  .program-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .program-card {
    padding: 13px;
  }
  .program-art {
    height: 80px;
    font-size: 35px;
  }
  .program-card h3 {
    font-size: 12px;
  }
  .program-card p {
    font-size: 10px;
    min-height: 70px;
  }
  .facility-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 170px 170px;
  }
  .facility.large {
    grid-column: auto;
  }
  .calendar-card {
    padding: 16px;
  }
  .calendar-dates {
    gap: 2px;
  }
  .calendar-dates button {
    min-height: 29px;
    font-size: 10px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card.featured {
    grid-column: auto;
  }
  .news-image,
  .featured .news-image {
    height: 190px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 125px 125px;
    gap: 8px;
  }
  .gallery-grid figure:first-child {
    grid-row: span 2;
  }
  .partners h2,
  .spmb h2 {
    font-size: 27px;
  }
  .partner-placeholder {
    gap: 7px;
  }
  .partner-placeholder span {
    padding: 11px;
    font-size: 8px;
  }
  .spmb-in {
    gap: 20px;
  }
}

/* Navbar utama */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  transition:
    top 0.35s ease,
    width 0.35s ease,
    margin 0.35s ease,
    border-radius 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* Navbar saat halaman di-scroll */
.header.is-scrolled {
  position: fixed;
  top: 12px;
  left: 20px;

  width: calc(100% - 40px);
  margin: 0;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);

  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Tampilan mobile */
@media (max-width: 768px) {
  .header.is-scrolled {
    top: 8px;
    left: 12px;
    width: calc(100% - 24px);
    border-radius: 18px;
  }
}

/* Tema ramah anak RA Nurun Alannur */
:root {
  --green: #2e9b62;
  --purple: #4b267f;
  --yellow: #f6cf4a;
}
.brand-symbol {
  background: #4b267f;
  color: #f6cf4a;
  border-radius: 16px 16px 16px 5px;
}
.button,
.nav-cta,
.program-card,
.calendar-card,
.news-card {
  border-radius: 14px;
}
.label-dot {
  background: #2e9b62;
  box-shadow: 0 0 0 5px #e0f5e9;
}
.stat-icon {
  background: #eee5fb;
  color: #6333a2;
}
.stat-icon.amber {
  background: #fff4c9;
  color: #8d6c00;
}
.eyebrow {
  color: #ffe77a;
}
.program-card:hover {
  border-color: #d8c7ef;
}

/* MODAL DETAIL FASILITAS */
.facility-image {
  cursor: pointer;
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}
.facility-image:hover {
  filter: brightness(0.88);
}
.facility-image:focus-visible {
  outline: 3px solid #7c3aed;
  outline-offset: 4px;
}
.facility-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(35, 20, 55, 0.22);
}
.facility-modal .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid #f0eaf7;
}
.facility-modal-category {
  display: inline-block;
  margin-bottom: 8px;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.facility-modal .modal-title {
  margin: 0;
  color: #302044;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 800;
  line-height: 1.35;
}
.facility-modal .modal-body {
  padding: 0;
}
.facility-modal-image-wrap {
  width: 100%;
  max-height: 430px;
  overflow: hidden;
  background: #f5f0fb;
}
.facility-modal-image {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  margin: 0 auto;
}
.facility-modal-description {
  padding: 22px 26px 8px;
}
.facility-modal-description p {
  margin: 0;
  color: #655b70;
  font-size: 15px;
  line-height: 1.9;
}
.facility-modal .modal-footer {
  padding: 12px 26px 24px;
  border-top: 0;
}
.facility-modal-close {
  padding: 10px 24px;
  border: 0;
  border-radius: 12px;
  background: #7c3aed;
  color: #fff;
  font-weight: 700;
}
.facility-modal-close:hover {
  background: #6025c5;
  color: #fff;
}
@media (max-width: 576px) {
  .facility-modal .modal-dialog {
    margin: 12px;
  }
  .facility-modal .modal-content {
    border-radius: 18px;
  }
  .facility-modal .modal-header {
    padding: 20px 18px 15px;
  }
  .facility-modal-image-wrap,
  .facility-modal-image {
    max-height: 300px;
  }
  .facility-modal-description {
    padding: 18px 18px 5px;
  }
  .facility-modal-description p {
    font-size: 14px;
    line-height: 1.8;
  }
  .facility-modal .modal-footer {
    padding: 12px 18px 20px;
  }
}

/* =========================================================
   PERBAIKAN BAGIAN FASILITAS
   Gambar memenuhi kartu, teks berada di atas gradasi bawah.
   Letakkan aturan ini di bagian paling akhir CSS.
   ========================================================= */

.facility-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.facility {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 230px;
  overflow: hidden;
  border-radius: 16px;
  background: #e9e1f3;
}

.facility.large {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 476px;
}

/* Paksa gambar menjadi lapisan paling bawah */
.facility > img.facility-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  margin: 0;
  cursor: pointer;
  transition:
    transform 0.4s ease,
    filter 0.25s ease;
}

/* Gradasi hanya untuk membantu keterbacaan teks di bagian bawah */
.facility::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(28, 13, 45, 0) 35%,
    rgba(28, 13, 45, 0.18) 58%,
    rgba(28, 13, 45, 0.82) 100%
  );
}

.facility:hover > img.facility-image {
  transform: scale(1.04);
  filter: brightness(0.96);
}

/* Teks selalu di atas gambar dan gradasi */
.facility > div {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 42px 20px 20px;
  color: #fff;
  pointer-events: none;
}

.facility > div span {
  display: block;
  margin-bottom: 6px;
  color: #ffe77a;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.facility > div h3 {
  margin: 0;
  color: #fff;
  font:
    800 clamp(16px, 1.8vw, 21px)/1.35 "Plus Jakarta Sans",
    sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Fokus keyboard untuk gambar yang bisa membuka modal */
.facility > img.facility-image:focus-visible {
  outline: 3px solid #f6cf4a;
  outline-offset: -5px;
}

/* Tablet */
@media (max-width: 800px) {
  .facility-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 260px 210px;
  }

  .facility.large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }

  .facility {
    min-height: 210px;
  }
}

/* Ponsel */
@media (max-width: 560px) {
  .facility-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 12px;
  }

  .facility,
  .facility.large {
    grid-column: auto;
    grid-row: auto;
    min-height: 250px;
  }

  .facility.large {
    min-height: 290px;
  }

  .facility > div {
    padding: 38px 17px 17px;
  }
}

/* =========================
   GALERI KEGIATAN
========================= */

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  outline: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--accent, #8b5cf6);
  outline-offset: 4px;
}

.gallery-item figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
}

/* =========================
   MODAL GALERI
========================= */

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.gallery-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 13, 30, 0.78);
  backdrop-filter: blur(7px);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
  width: min(900px, 100%);
  max-height: 90vh;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
}

.gallery-modal.is-open .gallery-modal-dialog {
  transform: translateY(0) scale(1);
}

.gallery-modal-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 80vh;
  overflow: hidden;
  background: #f4f0f7;
}

.gallery-modal-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.gallery-modal-content {
  align-self: center;
  padding: 36px 28px;
}

.gallery-modal-content h3 {
  margin: 12px 0;
  color: #352044;
  font-size: clamp(22px, 3vw, 30px);
}

.gallery-modal-content p {
  margin: 0;
  color: #716779;
  line-height: 1.8;
}

.gallery-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #352044;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.gallery-modal-close:hover {
  background: #eee5f5;
}

/* Responsif untuk tablet dan ponsel */
@media (max-width: 650px) {
  .gallery-modal {
    padding: 14px;
  }

  .gallery-modal-dialog {
    grid-template-columns: 1fr;
    width: min(480px, 100%);
    max-height: 90vh;
    overflow-y: auto;
  }

  .gallery-modal-image {
    min-height: 0;
    height: 45vh;
    max-height: 420px;
  }

  .gallery-modal-image img {
    height: 100%;
    max-height: 420px;
    object-fit: contain;
  }

  .gallery-modal-content {
    padding: 22px;
  }

  .gallery-modal-content h3 {
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-modal,
  .gallery-modal-dialog,
  .gallery-item img {
    transition: none;
  }
}

/* galeri baru */

/* Galeri menggunakan layout yang sama dengan fasilitas */
#galeri .gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}

#galeri .gallery-item.large {
  grid-row: span 2;
}

#galeri .gallery-item {
  position: relative;
  min-height: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px;
}

#galeri .gallery-item > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

#galeri .gallery-item:hover > img {
  transform: scale(1.05);
}

#galeri .gallery-item > div {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 20px 18px;
  color: #fff;
}

#galeri .gallery-item > div span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

#galeri .gallery-item > div h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 2vw, 23px);
}

#galeri .gallery-item:focus-visible {
  outline: 3px solid #8b5cf6;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  #galeri .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 200px);
  }

  #galeri .gallery-item.large {
    grid-row: auto;
  }
}

@media (max-width: 480px) {
  #galeri .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 230px);
  }
}

/* ==========================
   HERO PHOTO CAROUSEL
   ========================== */

.hero-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Area carousel */
.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

/* Setiap slide */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Foto */
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 4.5s ease;
}

.hero-slide.active img {
  transform: scale(1);
}

/* Lapisan gelap agar teks terbaca */
.hero-photo-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 20%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

/* Tombol navigasi */
.hero-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #234b34;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition:
    opacity 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-photo:hover .hero-carousel-btn,
.hero-photo:focus-within .hero-carousel-btn {
  opacity: 1;
}

.hero-carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.hero-carousel-btn.prev {
  left: 16px;
}

.hero-carousel-btn.next {
  right: 16px;
}

/* Indikator titik */
.hero-carousel-dots {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.hero-carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.hero-carousel-dots button.active {
  width: 24px;
  background: #fff;
}

/* Label dan stempel berada di atas slide */
.hero-photo .photo-label,
.hero-photo .hero-stamp {
  z-index: 3;
}

/* Mobile */
@media (max-width: 760px) {
  .hero-carousel-btn {
    width: 36px;
    height: 36px;
    opacity: 1;
    font-size: 14px;
  }

  .hero-carousel-btn.prev {
    left: 10px;
  }

  .hero-carousel-btn.next {
    right: 10px;
  }

  .hero-carousel-dots {
    bottom: 12px;
  }
}

/* Menghormati pengaturan pengurangan animasi */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img,
  .hero-carousel-btn,
  .hero-carousel-dots button {
    transition: none;
  }
}

/* Kontainer foto */
.hero-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Carousel berada di lapisan paling belakang */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Setiap slide foto */
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Foto memenuhi area carousel */
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Lapisan gelap di atas foto */
.hero-photo-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.03) 20%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

/* Label dan stempel selalu berada di atas foto */
.hero-photo .photo-label,
.hero-photo .hero-stamp {
  position: absolute;
  z-index: 3;
}

/* Label di bagian bawah kiri */
.hero-photo .photo-label {
  left: 20px;
  bottom: 20px;
  max-width: calc(100% - 40px);
}

/* Stempel di bagian atas kanan */
.hero-photo .hero-stamp {
  top: 20px;
  right: 20px;
  bottom: auto;
}

/* Tombol navigasi dan indikator */
.hero-carousel-btn {
  z-index: 5;
}

.hero-carousel-dots {
  z-index: 6;
}

/* Penyesuaian layar kecil */
@media (max-width: 760px) {
  .hero-photo .photo-label {
    left: 12px;
    bottom: 14px;
    max-width: calc(100% - 24px);
  }

  .hero-photo .hero-stamp {
    top: 12px;
    right: 12px;
  }
}

/* Keterlibatan Orang Tua */
.partners-in {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 48px;
}

.partners-copy h2 {
  margin: 12px 0 18px;
  line-height: 1.3;
}

.partners-copy p {
  color: var(--muted, #66736b);
  line-height: 1.8;
}

.partner-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.parent-card {
  padding: 22px 18px;
  border: 1px solid rgba(40, 118, 77, 0.13);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(30, 65, 43, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.parent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(30, 65, 43, 0.1);
}

.parent-card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  background: #edf6ef;
  font-size: 1.35rem;
}

.parent-card h3 {
  margin: 0 0 10px;
  color: var(--ink, #24312b);
  font-size: 1.05rem;
}

.parent-card p {
  margin: 0;
  color: var(--muted, #66736b);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Tablet */
@media (max-width: 1000px) {
  .partners-in {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .partner-placeholder {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Ponsel */
@media (max-width: 600px) {
  .partner-placeholder {
    grid-template-columns: 1fr;
  }

  .parent-card {
    padding: 22px;
  }
}

/* =========================
   AGENDA RA TANPA KALENDER
========================= */

.agenda-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.agenda-list-card {
  background: #fff;
  border: 1px solid #e8eee7;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 45px rgba(32, 65, 39, 0.07);
}

.agenda-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf1eb;
}

.agenda-list-heading small {
  color: #565856;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.agenda-list-heading h3 {
  margin: 7px 0 0;
  color: #f38c06;
  font-size: 23px;
}

.agenda-count {
  background: #eef6e9;
  color: #f38c06;
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.agenda-list {
  display: flex;
  flex-direction: column;
}

.agenda-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 23px 0;
  border-bottom: 1px solid #edf1eb;
}

.agenda-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.agenda-date-box {
  flex: 0 0 62px;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--agenda-color) 10%, white);
  color: var(--agenda-color);
}

.agenda-date-box strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 25px;
  line-height: 1.2;
}

.agenda-date-box span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.agenda-item-content {
  min-width: 0;
  flex: 1;
}

.agenda-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #74816f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.agenda-category i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.agenda-item-content h4 {
  margin: 7px 0;
  color: #f38c06;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.agenda-item-content p {
  margin: 0 0 10px;
  color: #788276;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.agenda-location,
.agenda-time {
  display: inline-block;
  margin: 4px 12px 0 0;
  color: #71806e;
  font-size: 11px;
}

.agenda-empty {
  padding: 38px 15px;
  text-align: center;
}

.agenda-empty-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef6e9;
  color: #f38c06;
  font-size: 24px;
}

.agenda-empty h4 {
  margin: 15px 0 7px;
  color: #f38c06;
  font-size: 17px;
}

.agenda-empty p {
  max-width: 300px;
  margin: 0 auto;
  color: #4f504f;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .agenda-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .agenda-list-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .agenda-list-heading h3 {
    font-size: 20px;
  }

  .agenda-item {
    gap: 12px;
    padding: 20px 0;
  }

  .agenda-date-box {
    flex-basis: 54px;
    min-height: 62px;
    border-radius: 13px;
  }

  .agenda-date-box strong {
    font-size: 22px;
  }

  .agenda-item-content h4 {
    font-size: 14px;
  }
}

/* =========================================
   FOOTER: BACKGROUND LINGKARAN DEKORATIF
   ========================================= */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy, #4b267f);
  color: #fff;
}

/* Lingkaran besar di sisi kanan atas */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 480px;
  height: 480px;
  top: -250px;
  right: -100px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(255, 255, 255, 0.025),
    0 0 0 60px rgba(255, 255, 255, 0.018),
    0 0 0 100px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

/* Lingkaran kedua untuk menambah kedalaman */
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: 18%;
  bottom: -210px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  box-shadow:
    0 0 0 25px rgba(255, 255, 255, 0.018),
    0 0 0 55px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

/* Pastikan konten footer berada di atas dekorasi */
.hero .hero-shade,
.hero .hero-in {
  position: relative;
  z-index: 1;
}

/* logo brand */

.header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.header .brand-logo-header {
  display: inline-flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1px;
  border: 3px solid #e5eaf0;
  border-radius: 50%;
  background: transparent;
}

.header .brand-logo-header img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.header .brand-header-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.header .brand-header-text b {
  line-height: 1.3;
}

.header .brand-header-text small {
  display: block;
  line-height: 1.4;
}

/* ========================================
   MEDIA PARTNER & LEMBAGA KERJA SAMA
======================================== */

.partner-section {
  position: relative;
  padding: 65px 0 70px;
  background: #fff;
  overflow: hidden;
}

.partner-section .partner-heading {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 38px;
}

.partner-section .partner-heading .kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #f0c52e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.partner-section .partner-heading h2 {
  margin: 0 0 12px;
  color: #102d4a;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.partner-section .partner-heading h2 em {
  color: #6333a2;
  font-style: normal;
}

.partner-section .partner-heading p {
  margin: 0;
  color: #718095;
  font-size: 14px;
  line-height: 1.7;
}

/* Barisan logo tanpa card */
.partner-section .partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 5px;
  row-gap: 15px;
  max-width: 1180px;
  margin: 0 auto;
}

/* Area logo */
.partner-section .partner-logo {
  display: flex;
  flex: 0 0 calc((100% - 210px) / 8);
  min-width: 70px;
  max-width: 90px;
  height: 58px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s ease;
}

/* Gambar logo */
.partner-section .partner-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100px;
  max-height: 54px;
  object-fit: contain;
  object-position: center;
  opacity: 0.82;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* Efek hover sederhana */
.partner-section .partner-logo:hover {
  transform: translateY(-3px);
}

.partner-section .partner-logo:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* Tablet */
@media (max-width: 900px) {
  .partner-section {
    padding: 55px 0 60px;
  }

  .partner-section .partner-logos {
    column-gap: 24px;
    row-gap: 24px;
  }

  .partner-section .partner-logo {
    flex-basis: calc((100% - 120px) / 5);
    max-width: 95px;
    height: 54px;
  }

  .partner-section .partner-logo img {
    max-height: 50px;
  }
}

/* Ponsel */
@media (max-width: 560px) {
  .partner-section {
    padding: 42px 0 48px;
  }

  .partner-section .partner-heading {
    margin-bottom: 28px;
    padding: 0 12px;
  }

  .partner-section .partner-heading p {
    font-size: 13px;
  }

  .partner-section .partner-logos {
    column-gap: 17px;
    row-gap: 22px;
    padding: 0 8px;
  }

  .partner-section .partner-logo {
    flex-basis: calc((100% - 68px) / 4);
    min-width: 48px;
    max-width: 75px;
    height: 45px;
  }

  .partner-section .partner-logo img {
    max-height: 42px;
  }
}

/* Ponsel sangat kecil */
@media (max-width: 360px) {
  .partner-section .partner-logos {
    column-gap: 14px;
  }

  .partner-section .partner-logo {
    flex-basis: calc((100% - 42px) / 3);
  }
}

/* Aksesibilitas: kurangi animasi jika diminta perangkat */
@media (prefers-reduced-motion: reduce) {
  .partner-section .partner-logo,
  .partner-section .partner-logo img {
    transition: none;
  }
}
