.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: url('../background-utama.jpg') center center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(3, 10, 18, 0.78) 0%, rgba(7, 18, 31, 0.62) 42%, rgba(10, 26, 45, 0.54) 100%),
    radial-gradient(circle at 14% 22%, rgba(240, 180, 41, 0.14), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.08), transparent 18%);
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
  padding: 120px 0 70px;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  margin-bottom: 18px;
}
.hero-copy h1 br { display: block; }
.hero-typing {
  position: relative;
  display: block;
  min-height: 2.4em;
}
.hero-typing-sizer {
  display: block;
  visibility: hidden;
  pointer-events: none;
  white-space: normal;
}
.hero-typing-live {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-typing-cursor {
  display: inline-block;
  margin-left: 4px;
  color: #ffe08a;
  animation: heroCursorBlink .9s steps(1) infinite;
}
.hero-typing-cursor.is-finished {
  animation-duration: 1.2s;
}
.hero-copy p {
  color: rgba(255,255,255,.82);
  max-width: 620px;
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.hero-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-actions .btn {
  background: var(--btn-bg);
  color: var(--white);
  border: 1px solid var(--btn-border);
  box-shadow: var(--btn-shadow);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease;
}
.hero-actions .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.22) 45%, transparent 100%);
  transform: translateX(-120%);
  transition: transform .48s ease;
}
.hero-actions .btn:hover {
  transform: translateY(-4px) scale(1.02);
  background: var(--primary);
  color: var(--dark);
}
.hero-actions .btn:hover::after {
  transform: translateX(120%);
}
.hero-actions .btn:hover {
  box-shadow: 0 18px 36px rgba(216, 157, 16, 0.34);
}
.hero-actions .btn i {
  transition: transform .28s ease;
}
.hero-actions .btn:hover i {
  transform: translateX(2px) scale(1.06);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}
.hero-card {
  width: min(430px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  color: var(--white);
  box-shadow: 0 24px 48px rgba(10, 37, 64, 0.20);
}
.hero-card-label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(240, 180, 41, 0.16);
  color: #ffe08a;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero-card h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.hero-card p {
  color: rgba(255,255,255,.78);
  margin-bottom: 18px;
}
.hero-card-list {
  display: grid;
  gap: 12px;
}
.hero-card-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease, color .28s ease;
}
.hero-card-list i { color: #ffe08a; }
.hero-card-list div:hover {
  transform: translateX(8px) scale(1.01);
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.96), rgba(15, 76, 129, 0.92));
  border-color: rgba(255,224,138,.34);
  box-shadow: 0 18px 32px rgba(10, 37, 64, 0.28);
  color: #ffffff;
}
.hero-card-list div:hover i {
  transform: scale(1.12);
  filter: drop-shadow(0 0 10px rgba(255, 224, 138, 0.36));
}
.hero-card-list i {
  transition: transform .28s ease, filter .28s ease;
}

.stats-section {
  margin-top: -54px;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  display: block;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(15, 76, 129, 0.12);
}
.stat-card strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 6px;
}
.stat-card span { color: var(--muted); }

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: center;
}
.about-media {
  position: relative;
}
.about-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  border-radius: 30px;
  overflow: hidden;
  min-height: 360px;
  background:
    radial-gradient(circle at 18% 20%, rgba(244, 194, 73, 0.28), transparent 24%),
    radial-gradient(circle at 28% 72%, rgba(247, 213, 122, 0.22), transparent 26%),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.18) 18%, transparent 36%),
    radial-gradient(circle at 72% 78%, rgba(242, 188, 64, 0.14), transparent 26%),
    linear-gradient(145deg, #fff9ec 0%, #fffdf7 42%, #fff7de 72%, #f8f1dc 100%);
  border: 1px solid rgba(235, 193, 92, 0.32);
  box-shadow: 0 30px 60px rgba(186, 142, 41, 0.15);
  isolation: isolate;
}
.about-photo::before,
.about-photo::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.about-photo::before {
  width: 220px;
  height: 220px;
  top: -68px;
  right: -52px;
  background: radial-gradient(circle, rgba(243, 197, 82, 0.34), transparent 68%);
}
.about-photo::after {
  width: 140px;
  height: 140px;
  bottom: 18px;
  left: 18px;
  background: radial-gradient(circle, rgba(248, 221, 146, 0.34), transparent 70%);
}
.about-photo img,
.about-photo-image {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  max-height: 420px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(10, 37, 64, 0.14));
  transition: transform .35s ease, filter .35s ease;
}
.about-photo-animated {
  transform: translateY(0);
  transition: transform .45s ease, box-shadow .45s ease;
}
.about-photo-animated.is-visible .about-photo-image {
  animation: aboutLogoFloat 4.6s ease-in-out infinite;
}
.about-photo-animated.is-visible::before {
  animation: aboutGlowPulse 4.8s ease-in-out infinite;
}
.about-photo-animated.is-visible::after {
  animation: aboutGlowPulseAlt 6s ease-in-out infinite;
}
.about-photo-animated:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 72px rgba(186, 142, 41, 0.22);
}
.about-photo-animated:hover .about-photo-image {
  animation-play-state: paused;
  transform: scale(1.04) rotate(-2deg);
  transition: transform .35s ease;
}
.about-shine {
  position: absolute;
  inset: -35% auto auto -20%;
  width: 48%;
  height: 170%;
  z-index: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(248, 227, 165, 0.12) 40%, rgba(255, 255, 255, 0.72) 50%, rgba(243, 206, 112, 0.18) 60%, transparent 82%);
  transform: rotate(14deg) translateX(-180%);
  opacity: 0;
}
.about-photo-animated.is-visible .about-shine {
  animation: aboutShineSweep 5.4s ease-in-out infinite 1s;
}
.about-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(208, 169, 66, 0.22);
  pointer-events: none;
  z-index: 0;
}
.orbit-one {
  width: 78%;
  height: 78%;
  animation: aboutOrbitSpin 16s linear infinite;
}
.orbit-two {
  width: 92%;
  height: 92%;
  border-color: rgba(239, 194, 84, 0.3);
  animation: aboutOrbitSpinReverse 20s linear infinite;
}
.about-photo-badge {
  position: absolute;
  right: 20px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 238, 0.92);
  border: 1px solid rgba(245, 221, 160, 0.95);
  box-shadow: 0 18px 30px rgba(186, 142, 41, 0.16);
  backdrop-filter: blur(12px);
  color: #8b6516;
  font-size: .92rem;
  font-weight: 700;
}
.about-photo-badge i {
  color: #d9a11f;
}
.about-photo-pulse {
  position: absolute;
  inset: auto auto 38px 50%;
  width: 68%;
  height: 18px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 169, 50, 0.28), transparent 72%);
  transform: translateX(-50%);
  filter: blur(8px);
  opacity: .6;
}
.about-photo-animated.is-visible .about-photo-pulse {
  animation: aboutPulseShadow 4.6s ease-in-out infinite;
}
.about-media::before,
.about-media::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.about-media::before {
  width: 24px;
  height: 24px;
  top: 28px;
  left: 26px;
  background:
    linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0)),
    linear-gradient(90deg, transparent 45%, rgba(240, 180, 41, 0.92) 45%, rgba(240, 180, 41, 0.92) 55%, transparent 55%),
    linear-gradient(transparent 45%, rgba(240, 180, 41, 0.92) 45%, rgba(240, 180, 41, 0.92) 55%, transparent 55%);
  transform: rotate(18deg);
  opacity: .9;
}
.about-media::after {
  width: 10px;
  height: 10px;
  top: 76px;
  right: 56px;
  border-radius: 50%;
  background: rgba(232, 185, 61, 0.72);
  box-shadow:
    -18px 148px 0 2px rgba(255, 255, 255, 0.92),
    8px 200px 0 0 rgba(238, 196, 86, 0.48),
    -42px 230px 0 0 rgba(246, 224, 159, 0.28);
  animation: aboutDotsFloat 7s ease-in-out infinite;
}
.media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.30);
  font-size: 3rem;
  background: linear-gradient(135deg, #0f4c81, #1c6bb2);
}
.section-text {
  color: var(--muted);
  margin-bottom: 20px;
}
.about-points {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.about-points div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}
.about-points i { color: var(--primary-dark); margin-top: 4px; }
.about-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 12px;
  padding: 14px 28px;
  background: var(--btn-bg);
  color: var(--white);
  border: 1px solid var(--btn-border);
  box-shadow: var(--btn-shadow);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease;
}
.about-cta span,
.about-cta i {
  position: relative;
  z-index: 1;
}
.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.22) 45%, transparent 100%);
  transform: translateX(-120%);
  transition: transform .48s ease;
  z-index: 0;
}
.about-cta::after {
  content: '';
  position: absolute;
  inset: auto 18px 10px 18px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.28), transparent 72%);
  transform: scale(.86);
  opacity: 0;
  z-index: 0;
  filter: blur(10px);
  transition: opacity .28s ease, transform .28s ease;
}
.about-cta i {
  font-size: .92rem;
  transition: transform .28s ease;
}
.about-cta:hover {
  transform: translateY(-4px) scale(1.02);
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 18px 36px rgba(216, 157, 16, 0.34);
}
.about-cta:hover::before {
  transform: translateX(120%);
}
.about-cta:hover::after {
  opacity: .9;
  transform: scale(1);
}
.about-cta:hover i {
  transform: translateX(2px) scale(1.06);
}
.about-cta:focus-visible {
  outline: 3px solid rgba(240, 180, 41, 0.4);
  outline-offset: 3px;
}
.about-copy.aos.visible .about-cta {
  animation: aboutCtaPop .7s cubic-bezier(.2, .9, .2, 1.15) .18s both;
}

.school-video-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(240, 180, 41, 0.18), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(28, 107, 178, 0.14), transparent 24%),
    linear-gradient(180deg, #fffdf7 0%, #f7fbff 100%);
}
.school-video-section::before,
.school-video-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.school-video-section::before {
  width: 220px;
  height: 220px;
  top: -84px;
  left: -48px;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.18), transparent 70%);
}
.school-video-section::after {
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.14), transparent 72%);
}
.school-video-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}
.school-video-copy {
  max-width: 560px;
}
.school-video-points {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
}
.school-video-points div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow: 0 14px 26px rgba(15, 76, 129, 0.08);
  color: var(--text);
}
.school-video-points i {
  margin-top: 3px;
  color: #d89d10;
}
.school-video-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.school-video-cta {
  gap: 12px;
}
.school-video-note {
  color: var(--muted);
  font-size: .95rem;
  max-width: 320px;
}
.school-video-media {
  position: relative;
}
.school-video-frame {
  position: relative;
  padding: 22px;
  border-radius: 32px;
  background: linear-gradient(145deg, #0a2540 0%, #0f4c81 55%, #1c6bb2 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 26px 54px rgba(10, 37, 64, 0.26);
  overflow: hidden;
}
.school-video-frame::before {
  content: '';
  position: absolute;
  inset: -40% auto auto -12%;
  width: 48%;
  height: 180%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.10) 42%, rgba(255,255,255,.34) 50%, transparent 62%);
  transform: rotate(12deg);
  pointer-events: none;
}
.school-video-frame::after {
  content: '';
  position: absolute;
  inset: auto 30px 16px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.32), transparent 72%);
  filter: blur(12px);
  opacity: .64;
  pointer-events: none;
}
.school-video-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  font-size: .86rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.school-video-badge i {
  color: #ff6767;
}
.school-video-embed {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  background: #031222;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}
.school-video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.program-featured .btn,
.split-header .btn {
  background: var(--btn-bg);
  color: var(--white);
  border: 1px solid var(--btn-border);
  box-shadow: var(--btn-shadow);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease;
}

.program-featured .btn:hover,
.split-header .btn:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(216, 157, 16, 0.34);
}

@keyframes aboutLogoFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes aboutPulseShadow {
  0%, 100% { transform: translateX(-50%) scale(.92); opacity: .38; }
  50% { transform: translateX(-50%) scale(1.08); opacity: .68; }
}

@keyframes aboutGlowPulse {
  0%, 100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes aboutGlowPulseAlt {
  0%, 100% { transform: scale(1) translateY(0); opacity: .55; }
  50% { transform: scale(.92) translateY(-10px); opacity: .9; }
}

@keyframes aboutOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes aboutOrbitSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes aboutShineSweep {
  0%, 12% { transform: rotate(14deg) translateX(-180%); opacity: 0; }
  24%, 58% { opacity: 1; }
  72%, 100% { transform: rotate(14deg) translateX(300%); opacity: 0; }
}

@keyframes aboutDotsFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes aboutCtaPop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-animated,
  .about-photo-animated:hover,
  .about-photo-animated:hover .about-photo-image,
  .about-cta,
  .about-cta:hover {
    transform: none;
  }

  .about-photo-animated::before,
  .about-photo-animated::after,
  .about-photo-animated .about-photo-image,
  .about-photo-animated .about-shine,
  .about-photo-animated .about-orbit,
  .about-photo-animated .about-photo-pulse,
  .about-media::after,
  .about-cta,
  .about-cta::before,
  .about-cta::after,
  .about-cta i,
  .school-video-frame::before {
    animation: none !important;
    transition: none !important;
  }
}

.institution-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(240, 180, 41, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(15, 76, 129, 0.14), transparent 30%),
    linear-gradient(180deg, #fffdf7 0%, #f2f8fc 100%);
}
.institution-section::before,
.institution-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.institution-section::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -60px;
  background: radial-gradient(circle, rgba(15, 76, 129, 0.12), transparent 72%);
}
.institution-section::after {
  width: 280px;
  height: 280px;
  bottom: -140px;
  left: -80px;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.12), transparent 72%);
}
.institution-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.institution-card {
  --institution-rotate-x: 0deg;
  --institution-rotate-y: 0deg;
  --institution-shine-x: 50%;
  --institution-shine-y: 50%;
  --institution-float-offset: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 76, 129, 0.1);
  box-shadow: 0 18px 36px rgba(15, 76, 129, 0.08);
  backdrop-filter: blur(10px);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease, border-color .4s ease, background .4s ease;
  animation: institutionCardFloat 6.4s ease-in-out infinite;
}
.institution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.8), rgba(15, 76, 129, 0.65), rgba(240, 180, 41, 0.65));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .32s ease;
  pointer-events: none;
}
.institution-card::after {
  content: '';
  position: absolute;
  inset: -22% auto auto -24%;
  width: 72%;
  height: 190%;
  background:
    radial-gradient(circle at var(--institution-shine-x) var(--institution-shine-y), rgba(255, 255, 255, 0.7), transparent 24%),
    linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.48) 50%, rgba(255, 255, 255, 0.12) 58%, transparent 82%);
  transform: translateX(-180%) rotate(14deg);
  opacity: 0;
  transition: transform .75s ease, opacity .4s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}
.institution-card .institution-hover-glow {
  position: absolute;
  inset: auto auto -70px -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.22), transparent 68%);
  filter: blur(14px);
  opacity: 0.32;
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(.85);
  transition: transform .45s ease, opacity .35s ease;
}
.institution-card:hover {
  transform:
    perspective(1200px)
    translate3d(0, calc(-12px + var(--institution-float-offset)), 0)
    rotateX(var(--institution-rotate-x))
    rotateY(var(--institution-rotate-y))
    scale(1.02);
  border-color: rgba(240, 180, 41, 0.24);
  box-shadow: 0 30px 54px rgba(15, 76, 129, 0.16);
  background: rgba(255, 255, 255, 0.96);
}
.institution-card:hover::before,
.institution-card:focus-visible::before {
  opacity: 1;
}
.institution-card:hover::after,
.institution-card:focus-visible::after {
  opacity: 1;
  transform: translateX(240%) rotate(14deg);
}
.institution-card:focus-visible {
  outline: none;
  transform: perspective(1200px) translate3d(0, -6px, 0) rotateX(3deg) rotateY(-3deg) scale(1.015);
  box-shadow: 0 0 0 4px rgba(240, 180, 41, 0.18), 0 24px 44px rgba(15, 76, 129, 0.14);
}
.institution-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 76, 129, 0.06), rgba(95, 180, 255, 0.12));
  border: 1px solid rgba(15, 76, 129, 0.08);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.institution-logo-wrap::before {
  content: '';
  position: absolute;
  inset: auto 14% -34% 14%;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.3), transparent 72%);
  filter: blur(12px);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .35s ease, transform .35s ease;
}
.institution-logo-wrap img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.02);
  transform-origin: center;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
}
.institution-card:hover .institution-logo-wrap,
.institution-card:focus-visible .institution-logo-wrap {
  transform: translateY(-4px);
  border-color: rgba(240, 180, 41, 0.18);
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.92), rgba(206, 231, 249, 0.38));
  box-shadow: 0 18px 34px rgba(15, 76, 129, 0.1);
}
.institution-card:hover .institution-logo-wrap::before,
.institution-card:focus-visible .institution-logo-wrap::before {
  opacity: 1;
  transform: scale(1);
}
.institution-card:hover .institution-logo-wrap img,
.institution-card:focus-visible .institution-logo-wrap img {
  transform: translate3d(0, -6px, 32px) scale(1.1) rotate(-3deg);
  filter: saturate(1.08) drop-shadow(0 10px 20px rgba(15, 76, 129, 0.14));
}
.institution-card-copy {
  position: relative;
  z-index: 1;
  transform: translateZ(24px);
}
.institution-card-copy h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  transition: transform .32s ease, color .28s ease;
}
.institution-card-copy span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 800;
  transition: transform .32s ease, color .28s ease, letter-spacing .28s ease;
}
.institution-card-copy span i {
  transition: transform .32s ease;
}
.institution-card:hover .institution-card-copy h3,
.institution-card:focus-visible .institution-card-copy h3 {
  transform: translateX(5px);
  color: var(--primary-dark);
}
.institution-card:hover .institution-card-copy span,
.institution-card:focus-visible .institution-card-copy span {
  transform: translateX(7px);
  color: var(--primary-dark);
  letter-spacing: .01em;
}
.institution-card:hover .institution-card-copy span i,
.institution-card:focus-visible .institution-card-copy span i {
  transform: translate(2px, -1px);
}
.institution-card:hover .institution-hover-glow,
.institution-card:focus-visible .institution-hover-glow {
  opacity: 0.7;
  transform: translate3d(18px, -12px, 0) scale(1.08);
}
.institution-card:nth-child(3n + 1) {
  animation-delay: -0.6s;
}
.institution-card:nth-child(3n + 2) {
  animation-delay: -2.4s;
}
.institution-card:nth-child(3n) {
  animation-delay: -4.1s;
}

@keyframes institutionCardFloat {
  0%, 100% {
    --institution-float-offset: 0px;
  }
  50% {
    --institution-float-offset: -4px;
  }
}

.program-section {
  background:
    radial-gradient(circle at top left, rgba(140, 199, 240, 0.28), transparent 30%),
    radial-gradient(circle at bottom right, rgba(15, 76, 129, 0.12), transparent 34%),
    linear-gradient(180deg, #eaf4fb 0%, #dcecf8 100%);
}
.program-featured {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px 34px;
  margin-bottom: 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0a2540 0%, #0f4c81 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.program-featured-icon {
  width: 138px;
  height: 138px;
  border-radius: 34px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 34px rgba(10, 37, 64, 0.22);
}
.program-featured-icon.has-image {
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 18px 34px rgba(10, 37, 64, 0.22);
}
.program-featured-icon img {
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
  object-position: center;
}
.program-featured-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.program-featured h3 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}
.program-featured h3 a:hover {
  color: #ffe08a;
}
.program-featured p {
  color: rgba(255,255,255,.8);
  max-width: 760px;
}
.program-featured .btn {
  margin-top: 18px;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.program-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 76, 129, 0.10);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.program-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.95), rgba(15, 76, 129, 0.7), rgba(240, 180, 41, 0.95));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .32s ease, transform .32s ease;
  pointer-events: none;
}
.program-card::after {
  content: '';
  position: absolute;
  inset: auto -18% -42% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.18), transparent 68%);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .32s ease, transform .32s ease;
  pointer-events: none;
}
.program-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(240, 180, 41, 0.26);
  box-shadow: 0 28px 48px rgba(15, 76, 129, 0.16);
}
.program-card:hover::before {
  opacity: 1;
  transform: scale(1);
}
.program-card:hover::after {
  opacity: 1;
  transform: scale(1);
}
.program-icon {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(15, 76, 129, 0.10), rgba(95, 180, 255, 0.12));
  border: 1px solid rgba(15, 76, 129, 0.10);
  box-shadow: 0 12px 24px rgba(15, 76, 129, 0.10);
  margin-bottom: 20px;
  transition: transform .32s ease, background .32s ease, color .32s ease, box-shadow .32s ease;
}
.program-icon.has-image {
  background: linear-gradient(180deg, rgba(15, 76, 129, 0.10), rgba(95, 180, 255, 0.12));
  border-color: rgba(15, 76, 129, 0.10);
  box-shadow: 0 12px 24px rgba(15, 76, 129, 0.10);
}
.program-icon img {
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  object-fit: contain;
  object-position: center;
}
.program-media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffe08a;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.82), rgba(28, 107, 178, 0.92));
}
.program-icon .program-media-placeholder {
  color: var(--secondary);
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.12), rgba(95, 180, 255, 0.16));
}
.program-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.program-card h3,
.program-card p,
.program-link {
  position: relative;
  transition: transform .32s ease, color .28s ease;
}
.program-card h3 a:hover { color: #d89d10; }
.program-card p { color: var(--muted); }
.program-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--secondary);
  font-weight: 800;
}
.program-card:hover .program-icon {
  transform: translateY(-6px) scale(1.08);
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.2), rgba(15, 76, 129, 0.12));
  box-shadow: 0 18px 28px rgba(240, 180, 41, 0.18);
}
.program-card:hover .program-icon.has-image {
  background: transparent;
  box-shadow: none;
}
.program-card:hover .program-icon .program-media-placeholder {
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.2), rgba(15, 76, 129, 0.12));
}
.program-card:hover h3,
.program-card:hover p,
.program-card:hover .program-link {
  transform: translateX(4px);
}
.program-link:hover { color: var(--primary-dark); }

.split-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}
.split-header .section-title { margin-bottom: 0; }

.news-section { background: var(--white); }
.news-tabs {
  position: relative;
  display: inline-flex;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4f8fc 0%, #eef4fb 100%);
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow: 0 10px 22px rgba(15, 76, 129, 0.08);
}
.news-tab {
  position: relative;
  overflow: hidden;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--white);
  border: 1px solid var(--btn-border);
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(28, 107, 178, 0.24);
  transition: transform .24s ease, background .28s ease, color .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.news-tab::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.38) 45%, transparent 100%);
  transform: translateX(-130%);
  transition: transform .45s ease;
}
.news-tab:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: var(--dark);
  border-color: rgba(240, 180, 41, 0.48);
  box-shadow: 0 12px 22px rgba(216, 157, 16, 0.3);
}
.news-tab.active {
  background: var(--btn-bg-active);
  color: var(--white);
  border-color: rgba(13, 49, 84, 0.22);
  box-shadow: 0 10px 20px rgba(18, 73, 121, 0.24);
  animation: newsTabPop .34s ease;
}
.news-tab.active:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: rgba(240, 180, 41, 0.48);
  box-shadow: 0 12px 22px rgba(216, 157, 16, 0.3);
}
.news-tab:hover::after,
.news-tab.active::after {
  transform: translateX(130%);
}
.news-panel { display: none; }
.news-panel.active {
  display: block;
  animation: newsPanelReveal .42s ease both;
}
.news-slider-wrap {
  position: relative;
  padding: 0 56px;
}
.news-slider {
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 10px;
  margin-top: -10px;
}
.news-track {
  display: flex;
  gap: 20px;
  transition: transform .35s ease;
}
.news-track .news-card {
  flex: 0 0 calc((100% - 40px) / 3);
}
.news-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 76, 129, 0.08);
  transform: translateZ(0);
  transform-style: preserve-3d;
  transition: transform .34s cubic-bezier(.2,.8,.2,1), box-shadow .34s cubic-bezier(.2,.8,.2,1), border-color .28s ease;
}
.news-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(28, 107, 178, 0.22);
  opacity: 0;
  transform: scale(.98);
  transition: opacity .28s ease, transform .28s ease, border-color .28s ease;
  pointer-events: none;
}
.news-card:hover {
  transform: translateY(-8px) translateZ(22px) rotateX(1.8deg);
  border-color: rgba(28, 107, 178, 0.28);
  box-shadow: 0 28px 48px rgba(10, 37, 64, 0.22);
}
.news-card:hover::after {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(28, 107, 178, 0.42);
}
.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow);
  z-index: 2;
}
.news-nav.prev { left: 0; }
.news-nav.next { right: 0; }
.news-nav:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.news-thumb {
  height: 220px;
  overflow: hidden;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-card:hover .news-thumb img { transform: scale(1.07); }
.news-body {
  display: grid;
  grid-template-rows: auto minmax(3rem, auto) minmax(3.8rem, auto) minmax(2.4rem, auto);
  gap: 10px;
  padding: 20px;
  transition: transform .3s ease;
}
.news-card:hover .news-body { transform: translateY(-2px); }
.news-body h3 {
  font-size: 1.08rem;
  margin: 0;
  align-self: start;
}
.news-body h3 a {
  transition: color .26s ease;
}
.news-body h3 a:hover { color: var(--primary-dark); }
.news-body p {
  color: var(--muted);
  margin: 0;
  min-height: calc(1.65em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  align-self: end;
  min-height: 2.4rem;
  color: var(--muted);
  font-size: .86rem;
}
.news-meta a {
  color: var(--secondary);
  font-weight: 700;
  transition: color .24s ease;
}
.news-meta a:hover {
  color: var(--primary-dark);
}

@keyframes newsPanelReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes newsTabPop {
  0% {
    transform: scale(.94);
  }
  100% {
    transform: scale(1);
  }
}

.gallery-section {
  background:
    radial-gradient(circle at top right, rgba(140, 199, 240, 0.24), transparent 28%),
    radial-gradient(circle at bottom left, rgba(15, 76, 129, 0.10), transparent 32%),
    linear-gradient(180deg, #e7f2fb 0%, #d7e8f5 100%);
}
.gallery-grid-home {
  display: flex;
  gap: 18px;
  transition: transform .35s ease;
}
.gallery-slider-wrap {
  position: relative;
  padding: 0 56px;
}
.gallery-slider {
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 10px;
  margin-top: -10px;
}
.gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  height: 100%;
  border: 1px solid rgba(15, 76, 129, 0.08);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 38px rgba(10, 37, 64, 0.08);
  transform: translateZ(0);
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}
.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(28, 107, 178, 0.2);
  opacity: 0;
  transform: scale(.985);
  pointer-events: none;
  transition: opacity .32s ease, transform .32s ease, border-color .32s ease;
}
.gallery-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.folder-card-home {
  cursor: pointer;
}
.folder-card-home:hover {
  transform: translateY(-6px);
  border-color: rgba(28, 107, 178, 0.22);
  box-shadow: 0 24px 48px rgba(10, 37, 64, 0.14);
}
.folder-card-home:hover::after {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(28, 107, 178, 0.36);
}
.folder-card-home:hover img {
  transform: scale(1.06);
}
.folder-card-home:focus-visible {
  outline: 3px solid rgba(240, 180, 41, 0.66);
  outline-offset: 3px;
}
.gallery-zoom-indicator {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 37, 64, 0.58);
  color: var(--white);
  backdrop-filter: blur(10px);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}
.gallery-folder-count-home {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(7, 21, 37, 0.72);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.folder-card-home:hover .gallery-zoom-indicator,
.folder-card-home:focus-visible .gallery-zoom-indicator {
  transform: translateY(0);
  opacity: 1;
  background: rgba(10, 37, 64, 0.72);
}
.gallery-card-body {
  display: grid;
  flex: 1;
  grid-template-rows: auto minmax(3.2rem, auto) minmax(4.9rem, auto) minmax(3rem, auto);
  gap: 10px;
  padding: 22px;
}
.gallery-album-chip-home {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(240, 180, 41, 0.14);
  color: #9a6900;
  font-size: .74rem;
  font-weight: 800;
}
.gallery-card-body h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.45;
  align-self: start;
}
.gallery-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.8;
  min-height: calc(1.8em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gallery-card-meta-home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-self: end;
  min-height: 3rem;
  padding-top: 4px;
}
.gallery-card-meta-home span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-dark);
  font-size: .82rem;
  font-weight: 700;
}
.gallery-folder-link-home {
  color: var(--secondary) !important;
}

.cta-section {
  padding: 40px 0 90px;
  background: var(--white);
}
.cta-box {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, #0a2540 0%, #0f4c81 100%);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}
.cta-box h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}
.cta-box p { color: rgba(255,255,255,.78); }
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.empty-box {
  grid-column: 1 / -1;
  padding: 42px;
  border-radius: 24px;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--muted);
}
.empty-box i { font-size: 2.5rem; margin-bottom: 10px; color: var(--secondary); }

.section-empty-card {
  position: relative;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 36px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(240, 180, 41, 0.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(15, 76, 129, 0.16), transparent 28%),
    linear-gradient(160deg, #f8fbff 0%, #e6f0f8 100%);
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow: 0 24px 46px rgba(10, 37, 64, 0.12);
}

.section-empty-card::before,
.section-empty-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.section-empty-card::before {
  top: 20px;
  right: 22px;
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.56), rgba(255,255,255,0));
  opacity: .8;
}

.section-empty-card::after {
  left: 28px;
  bottom: 24px;
  width: 140px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 76, 129, .12), transparent 72%);
  filter: blur(10px);
}

.section-empty-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15, 76, 129, 0.08);
  color: #8b6516;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.section-empty-icon {
  position: relative;
  z-index: 1;
  width: 108px;
  height: 108px;
  margin: 4px auto 22px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.88), rgba(255,255,255,.18)),
    linear-gradient(145deg, rgba(140, 199, 240, .24), rgba(240, 180, 41, .22));
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 20px 34px rgba(15, 76, 129, 0.12);
}

.section-empty-icon i {
  margin: 0;
  font-size: 2.65rem;
  color: var(--secondary);
}

.section-empty-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: var(--dark);
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.section-empty-card p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  color: #4f6478;
  line-height: 1.9;
}

.program-section .section-empty-card {
  background:
    radial-gradient(circle at top left, rgba(240, 180, 41, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(15, 76, 129, 0.12), transparent 28%),
    linear-gradient(155deg, #fffaf0 0%, #edf5fb 100%);
}

.news-section .section-empty-card {
  background:
    radial-gradient(circle at top right, rgba(140, 199, 240, 0.22), transparent 26%),
    radial-gradient(circle at bottom left, rgba(240, 180, 41, 0.14), transparent 24%),
    linear-gradient(160deg, #f7fbff 0%, #e4eff8 100%);
}

.gallery-section .section-empty-card {
  background:
    radial-gradient(circle at top left, rgba(140, 199, 240, 0.2), transparent 24%),
    radial-gradient(circle at bottom right, rgba(240, 180, 41, 0.16), transparent 28%),
    linear-gradient(160deg, #f6fbff 0%, #e9f2f9 100%);
}

@media (max-width: 992px) {
  .hero {
    background-position: center center;
  }
  .hero-inner,
  .about-grid,
  .school-video-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }
  .hero-panel { justify-content: flex-start; }
  .about-photo {
    min-height: 320px;
    padding: 28px;
  }
  .about-photo-badge {
    right: 16px;
    bottom: 18px;
    padding: 9px 12px;
    font-size: .85rem;
  }
  .stats-grid,
  .institution-grid,
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-track .news-card {
    flex-basis: calc((100% - 20px) / 2);
  }
  .gallery-card {
    flex-basis: calc((100% - 18px) / 2);
  }
  .program-featured {
    grid-template-columns: 1fr;
  }
  .split-header { flex-direction: column; align-items: flex-start; }
  .school-video-copy {
    max-width: none;
  }

  .section-empty-card {
    padding: 38px 26px;
    border-radius: 28px;
  }

  .section-empty-icon {
    width: 96px;
    height: 96px;
    border-radius: 26px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    background-color: #0f4c81;
    background-image: url('../background-utama.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero-inner {
    width: min(100% - 20px, 1180px);
    min-height: 100svh;
  }
  .hero-typing-live {
    inset: 0 auto auto 0;
    width: 100%;
  }
  .hero .aos,
  .hero .aos.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-actions,
  .cta-actions { flex-direction: column; }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .about-photo {
    min-height: 280px;
    padding: 22px;
  }
  .about-photo img {
    width: min(100%, 280px);
    max-height: 320px;
  }
  .about-photo-badge {
    left: auto;
    right: 12px;
    bottom: 14px;
    transform: none;
    max-width: calc(100% - 24px);
    gap: 7px;
    padding: 6px 9px;
    font-size: .7rem;
    white-space: nowrap;
  }
  .about-photo-badge i {
    font-size: .72rem;
  }
  .orbit-one {
    width: 86%;
    height: 86%;
  }
  .orbit-two {
    width: 100%;
    height: 100%;
  }
  .stats-grid,
  .institution-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }
  .institution-card {
    padding: 20px;
  }
  .institution-logo-wrap {
    min-height: 116px;
  }
  .institution-logo-wrap img {
    max-height: 74px;
  }
  .news-slider-wrap { padding: 0 44px; }
  .news-track .news-card {
    flex-basis: 100%;
  }
  .gallery-slider-wrap { padding: 0 44px; }
  .gallery-card {
    flex-basis: 100%;
  }
  .school-video-frame {
    padding: 16px;
    border-radius: 24px;
  }
  .school-video-badge {
    margin-bottom: 12px;
    padding: 8px 11px;
    font-size: .78rem;
  }
  .school-video-points div {
    padding: 12px 14px;
    border-radius: 16px;
  }
  .school-video-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .school-video-cta {
    width: 100%;
    justify-content: center;
  }
  .school-video-note {
    max-width: none;
    font-size: .9rem;
  }
  .stats-section { margin-top: -34px; }
  .cta-box { padding: 26px; }

  .section-empty-card {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .section-empty-badge {
    margin-bottom: 14px;
    font-size: .72rem;
  }

  .section-empty-icon {
    width: 84px;
    height: 84px;
    margin-bottom: 18px;
    border-radius: 22px;
  }

  .section-empty-icon i {
    font-size: 2.15rem;
  }

  .section-empty-card h3 {
    font-size: 1.35rem;
  }

  .section-empty-card p {
    font-size: .92rem;
  }

  .gallery-zoom-indicator {
    width: 34px;
    height: 34px;
    top: 10px;
    right: 10px;
    opacity: 1;
    transform: none;
  }
  .gallery-card-meta-home {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .hero,
  .hero-inner {
    min-height: 100svh;
  }
  .hero {
    background-color: #0f4c81;
    background-image: url('../background-utama.jpg');
  }
}

@keyframes heroCursorBlink {
  0%, 50% {
    opacity: 1;
  }
  50.01%, 100% {
    opacity: 0;
  }
}
