/* ===============================
   RESET & BASE STYLE
================================*/
:root {
  --header-height: 90px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f7fff7;
  color: #222;
  line-height: 1.7;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

section {
  margin: 30px 0;
}

main {
  padding-top: var(--header-height);
  flex: 1;
}

/* ===============================
   HEADER / NAVIGATION
================================*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0b6b30;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 7%;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.logo-subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  color: #eaffea;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  margin: 0 18px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0f9b4d;
}

nav a::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  transition: 0.3s;
}

@media (min-width: 769px) {
  .nav-overlay {
    display: none !important;
  }
}
/* ===============================
   MOBILE NAVIGATION
================================*/
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 3px solid #0b6b30;
    flex-direction: column;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
    z-index: 1050;
  }

  nav.active {
    max-height: calc(100vh - 70px);
    overflow: auto;
    padding-bottom: 12px;
  }

  nav a {
    color: #0b6b30;
    padding: 14px 0;
    display: block;
    border-bottom: none;
    text-decoration: none;
  }

  nav a:hover {
    background: #e8f5e9;
    color: #064c2b;
  }

.menu-toggle {
  width: 32px;
  height: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 3.5px;
  width: 22px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.35s ease-in-out;
  transform-origin: center;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateX(8px);
  opacity: 0;
}

.menu-toggle.active span:nth-child(2) {
  transform: scaleX(0.6);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateX(-8px);
  opacity: 0;
}

.nav-overlay {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 1000;
}

nav.active ~ .nav-overlay {
  opacity: 1;
  visibility: visible;
}


.logo img {
    width: 52px;
    height: 52px;
  }
  
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.logo-subtitle {
  font-size: 0.5rem;
  font-weight: 400;
  color: #eaffea;
}
}

/* ===============================
   HERO SECTION
================================*/
.hero {
  position: relative;
  margin-top: 75px;
  width: 100%;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #0b7039;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slides {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slide {
  flex: 1 0 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 60, 0, 0.6));
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 700px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.7rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-content button {
  background: #0f9b4d;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
}

.hero-content button:hover {
  background: #0b7039;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .hero {
    height: 80vh;
    margin-top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b7039;
  }

  .hero-inner {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: unset;
    border-radius: 0;
    overflow: hidden;
  }

  .slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out;
  }

  .slide {
    flex: 0 0 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
  }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
    line-height: 1.4;
    margin-bottom: 18px;
  }

  .hero-content button {
    padding: 10px 24px;
    font-size: 0.95rem;
    background: #0f9b4d;
    border: none;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
  }

  .hero-content button:hover {
    background: #0b7039;
  }
}

/* ===============================
   VISI & MISI SECTION
================================*/
.judul {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

.judul h2 {
  font-size: 28px;
  font-weight: 700;
  color: #0b6b30;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.judul h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #0b6b30;
  margin: 10px auto 0;
  border-radius: 2px;
}

.visi-card,
.misi-card {
  background: #fff;
  padding: 40px 50px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin: 0 auto 60px;
  width: 100%;
  max-width: 1000px;
}

.visi-card h4,
.misi-card h4 {
  font-size: 1.5rem;
  color: #0b6b30;
  margin-bottom: 20px;
  text-align: center;
}

.visi-card p {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
}

.misi-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 25px;
  justify-content: center;
}

.misi-item {
  background: transparent;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1.5px solid #cfe8cf;
  text-align: justify;
  transition: all 0.3s ease;
  max-width: 360px;
  margin: 0 auto;
}

.misi-item:hover {
  background: #f6fff6;
  border-color: #0b6b30;
  transform: translateY(-1px);
}

.misi-terakhir {
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .judul h2 {
    font-size: 17px;
    letter-spacing: 1px;
  }

  #visi,
  #misi {
    padding: 60px 5%;
    background: #f8fff8;
    overflow-x: hidden;
  }

  .visi-card,
  .misi-card {
    padding: 28px 25px;
    margin-bottom: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .visi-card h4,
  .misi-card h4 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    text-align: center;
  }

  .visi-card p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
  }

  .misi-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .misi-item {
    width: 100%;
    max-width: 90%;
    text-align: justify;
    padding: 16px 18px;
    font-size: 0.95rem;
    background: #ffffff;
    border: 1.5px solid #d7f0d7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
  }

  .misi-item:hover {
    background: #f0fff0;
    border-color: #0b6b30;
    transform: scale(1.01);
  }

  .misi-terakhir {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
  }
}

@media (max-width: 480px) {
  .visi-card,
  .misi-card {
    padding: 24px 18px;
    border-radius: 12px;
	background: #fff;
  }

  .visi-card h4,
  .misi-card h4 {
    font-size: 1.15rem;
  }

  .visi-card p,
  .misi-item {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .misi-item {
    border-radius: 10px;
    padding: 14px 16px;
    max-width: 92%;
  }
}

/* ================================
   SAMBUTAN KEPALA MADRASAH
================================ */
#sambutan {
  background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  padding: 80px 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#sambutan .judul h2 {
  font-size: 1.8rem;
  color: #0b7039;
  margin-bottom: 40px;
  position: relative;
}

#sambutan .judul h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #0b7039;
  margin: 10px auto 0;
  border-radius: 2px;
}

#sambutan .sambutan-container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 50px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
}

#sambutan .sambutan-foto {
  flex: 0 0 360px;
  max-width: 360px;
  height: 440px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

#sambutan .sambutan-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  transition: transform 0.4s ease;
}


#sambutan .sambutan-foto img:hover {
  transform: scale(1.05);
}

#sambutan .sambutan-teks {
  flex: 1;
  color: #0b6b30;
  font-size: 1rem;
  line-height: 1.9;
  text-align: justify;
  max-width: 600px;
}

#sambutan .sambutan-teks p {
  margin-bottom: 15px;
}

#sambutan .sambutan-teks .penutup {
  font-weight: 600;
  text-align: justify;
  color: #0b7039;
  margin-top: 10px;
}

#sambutan .sambutan-teks .nama-kepala {
  font-weight: 700;
  color: #0b7039;
  text-align: justify;
  margin-top: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  #sambutan {
    padding: 60px 4%;
	background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  }

  #sambutan .sambutan-container {
    flex-direction: column;
    text-align: justify;
    padding: 30px 20px;
    gap: 25px;
  }

#sambutan .sambutan-foto {
  flex: 0 0 300px;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}


  #sambutan .sambutan-teks {
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 95%;
    padding: 0 10px;
  }

  #sambutan .judul h2 {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }
}


/* ===============================
	SECTION MENGAPA
================================*/
.mengapa-section {
  padding: 80px 5%;
  background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mengapa-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
}

/* Kartu utama */
.mengapa-item {
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mengapa-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.mengapa-item .number {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b6b30;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #0b6b30;
  border-radius: 50%;
  flex-shrink: 0;
  background: #ffffff;
}

.mengapa-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

@media (max-width: 768px) {
  .mengapa-section {
    padding: 60px 6%;
	background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  }

  .mengapa-list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .mengapa-item {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 20px 16px;
  }

  .mengapa-item .number {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
  }

  .mengapa-item p {
    font-size: 0.95rem;
  }
}

.mengapa-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.mengapa-item:nth-child(1) { animation-delay: 0.2s; }
.mengapa-item:nth-child(2) { animation-delay: 0.4s; }
.mengapa-item:nth-child(3) { animation-delay: 0.6s; }
.mengapa-item:nth-child(4) { animation-delay: 0.8s; }
.mengapa-item:nth-child(5) { animation-delay: 1s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   GALERI AKTIVITAS 
================================*/
#galeri {
  padding: 60px 5%;
  background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  display: flex;
  flex-direction: column;
  align-items: center;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 1200px;
}

.galeri-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.galeri-item:hover {
  transform: scale(1.05);
}

/* Lightbox Style */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

@media (max-width: 768px) {
  .galeri-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .galeri-item {
    border-radius: 6px;
  }
}
/* ===============================
   EKSTRAKURIKULER SECTION
================================*/
#ekstra {
  padding: 80px 5%;
  background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
}

.ekstra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.ekstra-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.ekstra-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.ekstra-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 14px;
}

.ekstra-card h4 {
  font-size: 1.2rem;
  color: #0b6b30;
  font-weight: 700;
  margin-bottom: 10px;
}

.ekstra-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin: 0 auto;
  max-width: 90%;
}

@media (max-width: 768px) {
  #ekstra {
    padding: 60px 6%;
	background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  }

  .ekstra-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ekstra-card {
    background: #ffffff;
    padding: 20px 16px;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }

  .ekstra-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
  }

  .ekstra-card h4 {
    font-size: 1.05rem;
  }

  .ekstra-card p {
    font-size: 0.9rem;
    color: #444;
  }

  .ekstra-card:active {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }
}

/* ===============================
   SIKLUS KEGIATAN
================================*/
#siklus {
  padding: 90px 8%;
	background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
}

.siklus-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.siklus-card {
  background: #ffffff;
  border: 1.5px solid #cce6cc;
  border-radius: 15px;
  padding: 25px 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.siklus-card:hover {
  transform: translateY(-6px);
  border-color: #0b6b30;
}

.siklus-card h4 {
  text-align: center;
  color: #0b6b30;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.siklus-card ul {
  list-style: disc;
  padding-left: 25px;
  line-height: 1.8;
  color: #333;
}

.siklus-card li {
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  #siklus {
    padding: 60px 6%;
	background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  }
  .siklus-card {
    padding: 20px;
  }
  .siklus-card h4 {
    font-size: 1.1rem;
  }
}

/* ===============================
   FASILITAS PENDIDIKAN
================================*/
#fasilitas {
  padding: 90px 8%;
	background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  text-align: center;
}

.fasilitas-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.fasilitas-item {
  background: #f8fff8;
  border: 1.5px solid #cce6cc;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fasilitas-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.fasilitas-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.fasilitas-item p {
  padding: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0b6b30;
  background: #ffffff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
  line-height: 1.4;
  min-height: 50px;
}

.lihat-selengkapnya {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}


.btn-selengkapnya {
  display: inline-block;
  background-color: transparent;
  color: #0b6b30;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #0b6b30;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-selengkapnya:hover {
  background-color: #0b6b30;
  color: #ffffff;
  transform: translateY(-3px);
}


.btn-selengkapnya:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(11, 107, 48, 0.2);
}

@media (max-width: 768px) {
  #fasilitas {
  padding: 60px 6%;
  background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
}

  .fasilitas-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .fasilitas-item {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
  }

  .fasilitas-item img {
    height: 100px;
  }

  .fasilitas-item p {
    font-size: 0.85rem;
    padding: 8px;
    min-height: auto;
  }

  .btn-selengkapnya {
    font-size: 0.9rem;
    padding: 10px 24px;
  }
}
/* ===============================
   STAFF PENGAJAR
================================*/
#staff {
  padding: 90px 8%;
  background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  text-align: center;
}

.staff-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.staff-item {
  background: #ffffff;
  border: 1.5px solid #cce6cc;
  border-radius: 12px;
  padding: 15px 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.staff-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.5s ease;
}

.staff-item:hover img {
  transform: scale(1.08);
}

.staff-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0b6b30;
  margin-bottom: 4px;
}

.staff-item p {
  font-size: 0.9rem;
  color: #333;
}

@media (max-width: 768px) {
  #staff {
	background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  }
  .staff-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .staff-item img {
    height: 120px;
  }

  .staff-item h4 {
    font-size: 0.9rem;
  }

  .staff-item p {
    font-size: 0.8rem;
  }
}

/* ===============================
   INFORMASI PENTING & KONTAK
================================*/
#info-kontak {
  padding: 60px 5%;
  background: linear-gradient(
    180deg,
    rgba(248, 255, 248, 0) 0%,
    rgba(238, 255, 238, 0.8) 25%,
    rgba(228, 255, 228, 0.9) 50%,
    rgba(238, 255, 238, 0.8) 75%,
    rgba(248, 255, 248, 0) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
}

#info-kontak .info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1200px;
}

.info-card {
  background: white;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-card h4 {
  font-size: 1.5rem;
  color: #0b6b30;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  font-size: 1.2rem;
  color: #0b6b30;
}

.btn-cta {
  display: inline-block;
  background: #0f9b4d;
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: 0.3s;
  text-align: center;
}

.btn-cta:hover {
  background: #0b7039;
  transform: scale(1.05);
}

#info-kontak .info-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 10px;
  line-height: 1.6;
}

#info-kontak .info-card li {
  margin-bottom: 6px;
}

.kontak-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 2px;
}

.kontak-item {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 450px;
  background: #f8fff8;
  border: 1.5px solid #cce8cc;
  border-radius: 10px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.kontak-item:hover {
  background: #e6f7e6;
  transform: translateY(-2px);
}

.wa-icon-circle {
  background: #0b6b30;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 12px;
}

.wa-icon-circle img {
  width: 20px;
  height: 20px;
  filter: invert(100%) brightness(100%);
}

.kontak-text strong {
  color: #0b6b30;
  font-size: 1rem;
  display: block;
  margin-bottom: 4px;
}

.kontak-text p {
  color: #333;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 768px) {
  #info-kontak {
	  background: linear-gradient(
		180deg,
		rgba(248, 255, 248, 0) 0%,
		rgba(238, 255, 238, 0.8) 25%,
		rgba(228, 255, 228, 0.9) 50%,
		rgba(238, 255, 238, 0.8) 75%,
		rgba(248, 255, 248, 0) 100%
	  );
  }
  
  #info-kontak .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   FOOTER
================================*/
footer {
  background: #0b6b30;
  color: white;
  text-align: center;
  padding: 20px 5%;
  font-family: "Poppins", sans-serif;
}

.footer-social {
  margin-bottom: 12px;
  color: white;
}

.footer-social a {
  display: inline-block;
  margin: 0 8px;
  transition: transform 0.3s, opacity 0.3s;
}

.footer-social a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.footer-social img {
  display: block;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  footer {
    width: 100vw;
    margin: 0;
    padding: 25px 4%;
    background: #0b6b30;
    color: white;
    text-align: center;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
  }

  .footer-social {
    margin-bottom: 15px;
  }

  .footer-social a {
    margin: 0 10px;
  }

  .footer-social img {
    width: 22px;
    height: 22px;
  }

  .footer-bottom {
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 0 10px;
}
}
/* ===============================
   ANIMASI FADE IN SCROLL
================================*/

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
	POP UP
================================*/
#popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#popup-box {
  background: #ffffff;
  padding: 25px;
  width: 85%;
  max-width: 350px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  font-family: "Poppins", sans-serif;
}

#popup-close {
  margin-top: 15px;
  background: #0b6b30;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}

#popup-close:hover {
  background: #0a5c29;
}

#popup-overlay.active {
  visibility: visible;
  opacity: 1;
}
