/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  --content-max-width: 80rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(236, 100%, 48%);
  --black-color: hsl(0, 0%, 0%);
  --white-color: hsl(0, 0%, 100%);
  --body-color: hsl(0, 0%, 95%);
  --primary-color: #006747;
  --primary-color-dark: #075c42;
  --primary-soft: #0f8a62;
  --primary-rgb: 0, 103, 71;
  --accent-color: #ffc72c;
  --accent-rgb: 255, 199, 44;
  --heading-color: #14261c;
  --footer-bg: #14261c;
  --divider-color: #ffc72c;
  --fasilitas-grad-1: #006747;
  --fasilitas-grad-2: #0c4f3a;
  --fasilitas-grad-3: #093c2d;
  --header-banner: url("../img/banner.png");
  --nav-shadow: 0 4px 16px hsla(0, 0%, 0%, .3);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
}

body.unit-sd {
  --primary-color: #006747;
  --primary-color-dark: #075c42;
  --primary-soft: #0f8a62;
  --primary-rgb: 0, 103, 71;
  --accent-color: #ffc72c;
  --accent-rgb: 255, 199, 44;
  --heading-color: #14261c;
  --fasilitas-grad-1: #006747;
  --fasilitas-grad-2: #0c4f3a;
  --fasilitas-grad-3: #093c2d;
  --header-banner: url("../img/header-sd.webp");
}

body.unit-tk {
  --primary-color: #c58a00;
  --primary-color-dark: #9f6f00;
  --primary-soft: #e5a90a;
  --primary-rgb: 197, 138, 0;
  --accent-color: #f59e0b;
  --accent-rgb: 245, 158, 11;
  --heading-color: #3d2a03;
  --fasilitas-grad-1: #b27a00;
  --fasilitas-grad-2: #8d5e00;
  --fasilitas-grad-3: #6c4800;
  --header-banner: url("../img/header-tk.webp");
}

body.unit-smp {
  --primary-color: #309ddc;
  --primary-color-dark: #227fb6;
  --primary-soft: #65bae8;
  --primary-rgb: 48, 157, 220;
  --accent-color: #ffd166;
  --accent-rgb: 255, 209, 102;
  --heading-color: #0e2b40;
  --fasilitas-grad-1: #309ddc;
  --fasilitas-grad-2: #1f7fb8;
  --fasilitas-grad-3: #155d8a;
  --header-banner: url("../img/header-smp.webp");
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
}

button {
  outline: none;
  border: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: flex;
  width: 100%;
}

.main {
  position: relative;
  isolation: isolate;
  min-height: auto;
  background: transparent;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: none;
  width: 100%;
  margin-inline: 0;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2rem);
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(6, 6, 4, 0.62), rgba(6, 6, 4, 0.7)), var(--header-banner);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 1120px;
  z-index: 100;
  height: var(--header-height);
  background-color: transparent;
  padding: .5rem 1rem .5rem .5rem;
  border-radius: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav--scroll {
  background-color: var(--white-color);
  box-shadow: var(--nav-shadow);
}

.nav__logo {
  width: 60px;
  height: 60px;
  display: grid;
  margin-left: 1rem;
  place-items: center;
  border-radius: 8px;
}

.nav__logo i,
.nav__logo img {
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform .6s;
  width: 120px;
  height: auto;
}

.nav__logo:hover i,
.nav__logo:hover img {
  transform: rotateY(-360deg);
}

.nav__buttons {
  display: flex;
  align-items: center;
  column-gap: .5rem;
}

.nav__email {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: .75rem 1rem;
  border-radius: 4rem;
  font: 500 var(--small-font-size) var(--body-font);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.nav__email span {
  transition: transform .2s;
}

.nav__email span:nth-child(2) {
  position: absolute;
  transform: translateY(200%);
}

.nav__email:hover span:nth-child(1) {
  transform: translateY(-200%);
}

.nav__email:hover span:nth-child(2) {
  transform: translateY(0);
}

.nav__toggle {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav__burger, 
.nav__close {
  position: absolute;
  transition: opacity .3s, transform .4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__logo img {
    width: 100px;
  }

  .nav__menu {
    position: fixed;
    top: 1rem;
    left: 0;
    right: 0;
    background-color: var(--white-color);
    margin-inline: 1rem;
    padding-block: 4rem;
    border-radius: 2rem;
    box-shadow: var(--nav-shadow);
    opacity: 0;
    pointer-events: none;
    transition: transform .4s, opacity .3s;
  }
}

.nav__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
}

.nav__link {
  color: var(--white-color);
  font-weight: 600;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.nav--scroll .nav__link {
  color: var(--primary-color);
}

.nav__link span {
  transition: transform .4s;
}

.nav__link span:nth-child(2) {
  position: absolute;
  transform: translateY(150%);
}

.nav__link:hover span:nth-child(1) {
  transform: translateY(-150%);
}

.nav__link:hover span:nth-child(2) {
  transform: translateY(0);
}

@media screen and (max-width: 1150px) {
  .nav__link {
    color: var(--primary-color);
  }
}

/* Show menu (mobile only) */
@media screen and (max-width: 1150px) {
  .show-menu {
    transform: translateY(5rem);
    opacity: 1;
    pointer-events: initial;
  }
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(-90deg);
}

.show-icon .nav__close {
  opacity: 1;
  transform: rotate(-90deg);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: 0;
  }

  .nav {
    top: 1rem;
    height: calc(var(--header-height) + 1.5rem);
    padding: .75rem 1rem;
  }
  .nav__logo {
    width: 56px;
    height: 56px;
  }
  .nav__logo i {
    font-size: 2rem;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }
  .nav__email {
    font-size: var(--normal-font-size);
  }
  .nav__toggle {
    display: none;
  }
}

.header__container {
  width: 100%;
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding: clamp(4rem, 8vh, 6rem) 1rem;
}

.header__container h1 {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-end;
  gap: 0 1rem;
  flex-wrap: wrap;
  font-weight: 800;
  color: var(--white-color);
  font-family: "Roboto Slab", sans-serif;
}

.header__container h1 span:nth-child(1) {
  position: relative;
  display: inline-block;
  font-size: 2.25rem;
  line-height: 1.2;
}

.header__container h1 span:nth-child(1)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 0.3rem;
  background-color: var(--primary-color);
  border-radius: 999px;
}

.header__container h1 span:nth-child(2) {
  font-size: 3.5rem;
  line-height: 1.1;
}

@media (max-width: 540px) {
  .header {
    min-height: 90vh;
  }

  .header__container {
    padding: 4rem 1rem 2rem;
  }

  .header__container h1 {
    gap: 0.25rem 0.75rem;
  }

  .header__container h1 span:nth-child(1) {
    font-size: 1.75rem;
  }

  .header__container h1 span:nth-child(2) {
    font-size: 2.5rem;
  }

  .header__container p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .socials {
    gap: 0.75rem;
  }
}

.header__container p {
  margin-bottom: 2.5rem;
  max-width: 42rem;
  line-height: 1.75rem;
  color: var(--white-color);
}

.header__btn {
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: var(--primary-color);
  color: var(--white-color);
  font: 600 var(--small-font-size) var(--body-font);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 20px;
}

.btn i {
  font-size: 1.1rem;
}

.btn:hover {
  background-color: var(--primary-color-dark);
  box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.28);
  transform: translateY(-2px);
}

.socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.socials a {
  display: inline-flex;
  padding: 9px 10px;
  font-display: 1.2rem;
  color: var(--white-color);
  border: 1px solid var(--primary-color);
  border-radius: 100%;
}

.socials a:hover {
  color: var(--primary-color);
  background-color: var(--white-color);
  border-color: var(--white-color);
}

@media (width > 540px) {
  .header__container h1 span:nth-child(1) {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .header__container h1 span:nth-child(2) {
    font-size: 4.25rem;
    line-height: 1.1;
  }
}

@media (width > 768px) {

  .header__container h1 span:nth-child(1) {
    font-size: 2.75rem;
    line-height: 1.2;
  }

  .header__container h1 span:nth-child(2) {
    font-size: 5rem;
    line-height: 1.1;
  }
}

.card-container{
  max-width: var(--content-max-width);
  margin: 2rem auto 4rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  border-radius: 1rem;
  color: #1f2937;
}

.section-title {
  max-width: var(--content-max-width);
  margin: 3rem auto 1rem;
  padding: 0 1rem;
  color: var(--heading-color);
  text-align: center;
  font-size: 2.5rem;
}

@media (max-width: 640px) {
  .section-title {
    font-size: 1.9rem;
  }
}

.section-title span {
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
}

.section-title span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60%;
  height: 0.3rem;
  background-color: var(--primary-color);
  border-radius: 999px;
  transform: translateX(-50%);
}

.slide-content{
  margin: 0;
}

.card{
  width: 100%;
  border-radius: 35px;
  background-color: var(--white-color);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(24px);
}

.card-inview {
  animation: card-fade-up 0.7s ease both;
}

.slide-content:nth-child(1) .card.card-inview { animation-delay: 0.08s; }
.slide-content:nth-child(2) .card.card-inview { animation-delay: 0.16s; }
.slide-content:nth-child(3) .card.card-inview { animation-delay: 0.24s; }

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.16);
}

.image-content,
.card-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}

.image-content{
  position: relative;
  row-gap: 5px;
}

.overlay{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 25px 25px 0 25px;
}

.overlay::before,
.overlay::after{
  content: "";
  right: 0;
  bottom: -40px;
  position: absolute;
  height: 40px;
  width: 40px;
  background-color: var(--primary-color);
}

.overlay::after{
  border-radius: 0 25px 0 0;
  background-color: var(--white-color);
}

.card-image{
  position: relative;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: var(--white-color);
  padding: 3px;
}

.card-image .card-img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
}

.name{
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 700;
  margin: 10px;
}

.description{
  font-size: 14px;
  color: #707070;
  text-align: center;
  margin: 20px;
}

.button-card{
  border: none;
  font-size: 16px;
  color: var(--white-color);
  padding: 8px 16px;
  background-color: var(--primary-color);
  border-radius: 6px;
  margin: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-card:hover{
  background-color: var(--primary-color-dark);
}

@keyframes card-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none !important;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .card-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.5rem;
  }
}

@media (min-width: 1150px) {
  .card-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 2rem;
  }
}

.program-unggulan {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 1rem auto 3rem;
  padding: 0 1rem;
}

.program-unggulan__inner {
  position: relative;
  overflow: hidden;
  --parallax-x: 0px;
  --parallax-y: 0px;
  background:
    linear-gradient(45deg, rgba(var(--primary-rgb), 0.035) 25%, transparent 25%, transparent 50%, rgba(var(--primary-rgb), 0.035) 50%, rgba(var(--primary-rgb), 0.035) 75%, transparent 75%, transparent),
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.14), transparent 42%),
    linear-gradient(160deg, #f7fffb 0%, #ecf8f2 100%);
  background-size: 18px 18px, auto, auto;
  border-radius: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  box-shadow: 0 18px 36px rgba(8, 40, 29, 0.1);
}

.program-unggulan__inner::before,
.program-unggulan__inner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.program-unggulan__inner::before {
  width: 19rem;
  height: 19rem;
  top: -9rem;
  right: -7rem;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.26), rgba(var(--accent-rgb), 0.02) 68%);
  animation: unggulan-float-a 9s ease-in-out infinite;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
}

.program-unggulan__inner::after {
  width: 17rem;
  height: 17rem;
  left: -8rem;
  bottom: -8rem;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.22), rgba(var(--primary-rgb), 0.02) 70%);
  animation: unggulan-float-b 11s ease-in-out infinite;
  transform: translate3d(calc(var(--parallax-x) * -0.6), calc(var(--parallax-y) * -0.6), 0);
}

.program-unggulan .section-title {
  margin: 0.5rem auto 0;
}

.program-unggulan__lead {
  max-width: 62ch;
  margin: 0.9rem auto 0;
  text-align: center;
  line-height: 1.7;
  color: #365246;
}

.program-unggulan__inner .section-title,
.program-unggulan__lead,
.program-unggulan__grid {
  position: relative;
  z-index: 1;
}

.program-unggulan__grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.program-unggulan__item {
  --card-accent-a: rgba(var(--primary-rgb), 0.08);
  --card-accent-b: rgba(var(--accent-rgb), 0.12);
  position: relative;
  background:
    radial-gradient(circle at top right, var(--card-accent-b), transparent 56%),
    linear-gradient(160deg, #ffffff 0%, #f8fffb 100%);
  border-radius: 1.1rem;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  padding: 1.1rem 1rem 1rem;
  box-shadow: 0 10px 24px rgba(6, 48, 34, 0.09);
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.program-unggulan__item.is-visible {
  animation: unggulan-rise 0.72s ease both;
  animation-delay: calc(var(--i) * 0.1s);
}

.program-unggulan__item.is-visible .program-unggulan__icon {
  animation: unggulan-icon-pop 0.8s ease both;
  animation-delay: calc(var(--i) * 0.1s + 0.1s);
}

.program-unggulan__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, var(--card-accent-a), var(--card-accent-b));
  opacity: 0;
  transition: opacity 0.32s ease;
}

.program-unggulan__item:nth-child(2n) {
  --card-accent-a: rgba(12, 79, 58, 0.09);
  --card-accent-b: rgba(250, 204, 21, 0.12);
}

.program-unggulan__item:nth-child(3n) {
  --card-accent-a: rgba(15, 138, 98, 0.08);
  --card-accent-b: rgba(56, 189, 248, 0.12);
}

.program-unggulan__item:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.28);
  box-shadow: 0 20px 35px rgba(6, 48, 34, 0.16);
}

.program-unggulan__item:hover::before {
  opacity: 1;
}

.program-unggulan__item > * {
  position: relative;
  z-index: 1;
}

.program-unggulan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.program-unggulan__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #e8f7ef, #f4fbf7);
  color: var(--primary-color);
  font-size: 1.25rem;
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  transition: transform 0.32s ease, background-color 0.32s ease, color 0.32s ease;
}

.program-unggulan__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-soft));
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.program-unggulan__item:hover .program-unggulan__icon {
  transform: rotate(-8deg) scale(1.07);
  background: linear-gradient(145deg, var(--primary-color), var(--primary-soft));
  color: #ffffff;
}

.program-unggulan__item h3 {
  color: #0f3c2c;
  margin: 0.8rem 0 0.5rem;
  line-height: 1.4;
}

.program-unggulan__item p {
  color: #4b5563;
  line-height: 1.65;
}

.program-unggulan__item ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #334155;
  display: grid;
  gap: 0.35rem;
}

@keyframes unggulan-rise {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes unggulan-float-a {
  0%, 100% {
    top: -9rem;
    right: -7rem;
    opacity: 1;
  }
  50% {
    top: -8.4rem;
    right: -7.5rem;
    opacity: 0.85;
  }
}

@keyframes unggulan-float-b {
  0%, 100% {
    left: -8rem;
    bottom: -8rem;
    opacity: 1;
  }
  50% {
    left: -7.4rem;
    bottom: -8.5rem;
    opacity: 0.82;
  }
}

@keyframes unggulan-icon-pop {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  60% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (min-width: 700px) {
  .program-unggulan__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-unggulan__item {
    padding: 1.2rem;
  }
}

@media (min-width: 1080px) {
  .program-unggulan__inner {
    padding: 1.5rem 2rem 2rem;
  }

  .program-unggulan__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-unggulan__inner::before,
  .program-unggulan__inner::after,
  .program-unggulan__item,
  .program-unggulan__item::before,
  .program-unggulan__icon {
    animation: none !important;
    transition: none !important;
  }

  .program-unggulan__item {
    opacity: 1;
    transform: none;
  }
}

.fasilitas {
  margin-top: 2.5rem;
  padding: 3.25rem 1rem 3.5rem;
  background: linear-gradient(135deg, var(--fasilitas-grad-1) 0%, var(--fasilitas-grad-2) 58%, var(--fasilitas-grad-3) 100%);
}

.fasilitas__inner {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.fasilitas__title {
  color: var(--white-color);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-align: center;
  margin-bottom: 2rem;
}

.fasilitas__title span {
  position: relative;
  display: inline-block;
  padding-bottom: 1.5rem;
}

.fasilitas__title span::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 62%;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--accent-color);
}

.fasilitas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.fasilitas__card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 210px;
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  margin-top: 30px;
}

.fasilitas__card.inview {
  animation: fasilitas-in 0.75s ease both;
}

.fasilitas__card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  filter: brightness(0.72);
}

.fasilitas__caption {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white-color);
  font-weight: 600;
}

.fasilitas__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

@keyframes fasilitas-in {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 640px) {
  .fasilitas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .fasilitas__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1250px) {
  .fasilitas__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sekolah-kami {
  background: #ffffff;
  width: 100%;
  max-width: var(--content-max-width);
  border-radius: 1.5rem;
  margin: 2rem auto 3.5rem;
  padding: 1.25rem;
}

.sekolah-kami__inner {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.sekolah-kami__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.sekolah-kami__card {
  position: relative;
  min-height: 240px;
  border-radius: 1.1rem;
  overflow: hidden;
  isolation: isolate;
  -webkit-clip-path: inset(0 round 1.1rem);
  clip-path: inset(0 round 1.1rem);
  background: #0b2f23;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  will-change: transform, opacity;
  margin-top: 30px;
}

.sekolah-kami__card.is-visible {
  animation: school-card-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 0.12s);
}

.sekolah-kami__card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: inherit;
  transform: scale(1.02);
  transition: transform 0.45s ease;
  filter: brightness(0.6);
  cursor: pointer;
}

.sekolah-kami__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(3, 18, 13, 0.08) 25%, rgba(3, 18, 13, 0.7) 100%);
}

.sekolah-kami__overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.9rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  color: var(--white-color);
}

.sekolah-kami__overlay h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.sekolah-kami__overlay p {
  line-height: 1.45;
  font-size: 0.88rem;
}

.sekolah-kami__card:hover img {
  transform: scale(1.08);
}

@keyframes school-card-rise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 640px) {
  .sekolah-kami {
    padding: 2rem;
  }

  .sekolah-kami__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sekolah-kami__card,
  .sekolah-kami__card img {
    min-height: 260px;
  }
}

@media (min-width: 900px) {
  .sekolah-kami {
    padding: 2.5rem;
  }

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

  .sekolah-kami__card,
  .sekolah-kami__card img {
    min-height: 280px;
  }
}

.footer {
  margin-top: 4rem;
  padding: 5rem 1.5rem 3rem;
  background-color: var(--footer-bg);
  color: var(--white-color);
}

.footer__top,
.footer__bottom {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer__links {
  display: grid;
  gap: 0.85rem;
}

.footer__links a {
  color: var(--white-color);
  width: fit-content;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__label {
  position: relative;
  display: inline-block;
  min-width: 7.8rem;
  padding-bottom: 0.35rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.25rem;
}

.footer__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.16rem;
  background-color: #facc15;
  border-radius: 999px;
}

.footer__label--top {
  margin-top: 1rem;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer__socials a,
.footer__line span {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white-color);
  color: #0f172a;
  border-radius: 0.45rem;
}

.footer__line {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__line p {
  line-height: 1.5;
}

.footer__cta h2 {
  font-size: clamp(1.75rem, 2.2vw, 2.5rem);
  line-height: 1.2;
  max-width: 20ch;
}

.footer__bottom {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.footer__logo-wrap {
  display: flex;
  justify-content: center;
}

.footer__logo {
  max-width: 320px;
  width: 100%;
  background: var(--white-color);
  padding: 1rem;
  border-radius: 0.35rem;
}

.footer__copy {
  display: grid;
  gap: 0.75rem;
}

.footer__copy p:first-child {
  font-weight: 700;
}

.footer__divider {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 2.75rem auto 0;
  height: 2px;
  background: var(--divider-color);
}

@media (min-width: 768px) {
  .footer {
    padding-inline: 2rem;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
  }

  .footer__cta {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    width: 100%;
    max-width: 36rem;
  }

  .footer__cta h2 {
    margin-inline: auto;
  }

  .footer__bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
  }

  .footer__logo-wrap {
    justify-content: center;
  }
}
