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

/* =====================
   RESET & GLOBAL
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: #ffffff;
  color: #2d3436;
  line-height: 1.6;
  font-size: 15px;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  background: #1e7f43;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
/* =====================
   DROPDOWN FIX (WAJIB)
===================== */
.dropdown {
  position: relative;
}

/* SUBMENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  list-style: none;
  padding: 8px 0;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  
  /* INI KUNCI */
  display: none;
  z-index: 999;
}

/* LINK SUBMENU */
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: #1e7f43; /* warna normal */
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* HOVER SUBMENU */
.dropdown-menu li a:hover {
  background: #eaf7f0;
  color: #1e7f43; /* HIJAU */
  font-weight: 600;
}

/* TAMPIL SAAT HOVER (DESKTOP) */
.dropdown:hover .dropdown-menu {
  display: block;
}


/* LOGO */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.logo img {
  height: 40px;
}

/* MENU DESKTOP */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
/* =====================
   MOBILE NAVBAR
===================== */
@media (max-width: 768px) {

  .nav-toggle {
    display: block;
  }

  .nav-right {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #1e7f43;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    display: none;
  }

  .nav-right.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
  }

  .btn-ppdb {
    width: 90%;
    text-align: center;
  }
}


/* BUTTON PPDB */
.btn-ppdb {
  background: #ffffff;
  color: #1e7f43;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid #ffffff;
}

/* TOGGLE BUTTON */
.nav-toggle {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}


/* LOGO */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.logo img {
  height: 40px;
}

/* MENU + BUTTON */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.nav-menu a:hover {
  color: #d4ffea;
}

/* BUTTON PPDB */
.btn-ppdb {
  background: #ffffff;
  color: #1e7f43;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid #ffffff;
  transition: all 0.25s ease;
}

.btn-ppdb:hover {
  background: #2ecc71;
  border-color: #2ecc71;
  color: #ffffff;
}

/* =====================
   HERO / BANNER
===================== */
.hero {
  min-height: 80vh;
  background:
    linear-gradient(
      rgba(89, 158, 117, 0.65),
      rgba(3, 56, 23, 0.65)
    ),
    url('../img/smk.png') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.hero-text h1 {
  font-size: 40px;
  font-weight: 700;
}

.hero-text h2 {
  font-size: 32px;
  font-weight: 600;
  margin-top: 10px;
}

.hero-text p {
  font-size: 16px;
  margin-top: 15px;
}

/* =====================
   BUTTON GLOBAL
===================== */
.btn {
  display: inline-block;
  margin-top: 25px;
  background: #1e7f43;
  color: #ffffff;
  padding: 10px 26px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #2ecc71;
  color: #ffffff;
}

/* =====================
   SECTION
===================== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 60px auto;
}

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e7f43;
}

.intro-text {
  max-width: 800px;
  margin: auto;
  text-align: center;
  font-size: 15px;
}

.bg-light {
  background: #eaf7f0;
  padding: 60px 0;
}

/* =====================
   GRID
===================== */
.row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.col-4 {
  width: 32%;
}

/* =====================
   CARD
===================== */
.card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e7f43;
}


/* =====================
   FOOTER
===================== */
.footer {
  background: #1e7f43;           /* hijau gelap */
  color: #ffffff;
  padding: 40px 0;
  font-size: 14px;
}

.footer-container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer h5 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer p, 
.footer li {
  margin-bottom: 8px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: #ffc107;  /* kuning saat hover */
}

.footer .social-icons a {
  display: inline-block;
  margin-right: 15px;
  font-size: 20px;
  transition: transform 0.3s, color 0.3s;
}

.footer .social-icons a:hover {
  color: #ffc107;          /* kuning saat hover */
  transform: scale(1.2);   /* sedikit membesar saat hover */
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 25px;
  padding-top: 15px;
  font-size: 13px;
  text-align: center;
}


/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {

  .row {
    flex-direction: column;
  }

  .col-4 {
    width: 100%;
  }

  .nav-right {
    flex-direction: column;
    gap: 10px;
  }

  .btn-ppdb {
    width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text h2 {
    font-size: 26px;
  }
}

/* =====================
   SAMBUTAN KEPALA SEKOLAH
===================== */
.sambutan-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start; /* INI KUNCI KESEJAJARAN */
}

.sambutan-foto {
  flex: 1;
  max-width: 35%;
}

.sambutan-foto img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.sambutan-teks {
  flex: 2;
  text-align: justify;
  line-height: 1.7;
}

.sambutan-teks .ttd {
  margin-top: 18px;
  font-weight: 600;
  color: #1e7f43;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .sambutan-wrapper {
    flex-direction: column;
  }

  .sambutan-foto,
  .sambutan-teks {
    max-width: 100%;
  }

  .sambutan-foto img {
    height: 260px;
  }
}
/* =====================
   COUNTER
===================== */
.counter-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.counter-box {
  text-align: center;
  padding: 30px;
}

.counter {
  font-size: 48px;
  font-weight: bold;
  color: #1e7f43;
}

.counter-box p {
  font-size: 18px;
  margin-top: 10px;
}
/* =====================
   SCHOOL COUNTER
===================== */
.school-counter {
  background: linear-gradient(135deg, #1e7f43, #28a745);
  padding: 80px 20px;
  color: #fff;
}

.counter-wrapper {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  text-align: center;
}

.counter-item i {
  font-size: 60px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.counter-item h2 {
  font-size: 90px;     /* INI YANG BIKIN BESAR */
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.counter-item p {
  font-size: 22px;
  margin-top: 10px;
  letter-spacing: 1px;
}
/* =====================
   SCHOOL STATS - GLASS STYLE
===================== */

.school-stats {
  width: 100%;
  padding: 90px 20px;
  background: linear-gradient(135deg, #1e7f43, #2ecc71);
}

.stats-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 40px 20px;
  border-radius: 18px;

  /* GLASS EFFECT */
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  color: #ffffff;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-8px);
}

.stat-item h2 {
  font-size: 54px;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

.stat-item p {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
}

/* HILANGKAN GARIS */
.stat-divider {
  display: none;
}
/* =====================
   FIX FINAL COUNTER (OVERRIDE)
   TANPA HAPUS CSS LAIN
===================== */

.school-counter {
  width: 100%;
  background: #1e7f43;
  padding: 100px 0;
}

.counter-container {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.counter-item {
  flex: 1;
  text-align: center;
  color: #ffffff;
}

.counter-item h2 {
  font-size: 90px;
  font-weight: 800;
  margin: 0;
  line-height: 1;
}

.counter-item p {
  margin-top: 12px;
  font-size: 15px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
}

/* GARIS PEMBATAS */
.divider {
  width: 1px;
  height: 90px;
  background: rgba(255,255,255,0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .counter-container {
    flex-direction: column;
    gap: 40px;
  }

  .divider {
    display: none;
  }
}
/* =====================
   FORCE TEXT PUTIH - COUNTER SECTION
===================== */

.school-counter,
.school-counter h2,
.school-counter p,
.school-counter i {
  color: #ffffff !important;
}
/* =====================
   FIX WARNA ANGKA STATS
===================== */
.school-stats .counter {
  color: #ffffff !important;
}

/* =====================
   DROPDOWN FIX FINAL
===================== */
.dropdown {
  position: relative;
}

/* SUBMENU DEFAULT */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  list-style: none;
  padding: 8px 0;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  display: none;
  z-index: 999;
}

/* LINK SUBMENU */
.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #1e7f43;
  text-decoration: none;
  transition: 0.25s;
}

.dropdown-menu li a:hover {
  background: #eaf7f0;
  font-weight: 600;
}

/* =====================
   DESKTOP (HOVER)
===================== */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}
/* =====================
   DROPDOWN MOBILE
===================== */
@media (max-width: 768px) {

  .dropdown-menu {
    position: static;
    background: #1e7f43;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    display: none;
  }

  .dropdown-menu li a {
    color: #ffffff;
    padding: 10px 0;
  }

  /* AKTIF SAAT DIKLIK */
  .dropdown.active .dropdown-menu {
    display: block;
  }
}
/* =====================
   PROFIL SEKOLAH (FINAL)
===================== */
.profil-section {
  width: 100%;
  background: #eef4f1; /* abu + hijau soft */
  padding: 90px 20px;
}

/* pembatas lebar supaya tidak kepanjangan */
.profil-inner {
  max-width: 900px;   /* INI KUNCI "NGPAS" */
  margin: 0 auto;
  text-align: center;
}

/* judul */
.profil-section .section-title {
  font-size: 34px;
  font-weight: 700;
  color: #1e7f43;
  margin-bottom: 25px;
}

/* teks isi */
.profil-section .intro-text {
  font-size: 18px;       /* DIPERBESAR */
  line-height: 1.9;
  color: #333;
  margin-bottom: 35px;
}

/* tombol */
.profil-section .btn {
  padding: 12px 32px;
  font-size: 16px;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .profil-section .section-title {
    font-size: 26px;
  }

  .profil-section .intro-text {
    font-size: 16px;
  }
}
/* =====================
   INFO SECTION PREMIUM
===================== */

.info-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #eef7f1, #e3f3eb);
}

.info-row {
  justify-content: center;
  gap: 25px;
}

/* CARD */
.info-card {
  background: linear-gradient(180deg, #ffffff, #f8fffb);
  border-radius: 20px;
  padding: 45px 25px;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

/* HOVER EFFECT */
.info-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 45px rgba(30,127,67,0.25);
}

/* ICON CIRCLE */
.icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #1e7f43, #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrap i {
  font-size: 34px;
  color: #ffffff;
}

/* TITLE */
.info-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: #2d3436;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

/* VALUE */
.info-card p {
  font-size: 26px;
  font-weight: 600;
  color: #1e7f43;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .info-card {
    padding: 35px 20px;
  }

  .info-card p {
    font-size: 22px;
  }
}
.info-row {
  display: flex;
  flex-wrap: nowrap;
}

.info-row > div {
  flex: 1;
  max-width: 100%;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .info-card p {
    font-size: 26px;
  }

  .info-card h3 {
    font-size: 18px;
  }
}
/* =====================
   MAPS SECTION
===================== */
.maps-section {
  width: 100%;
  background: #eef3f0; /* abu kehijauan */
  padding: 80px 0;
}

.maps-section .section-title {
  text-align: center;
  color: #1e7f43;
  margin-bottom: 10px;
}

.maps-desc {
  text-align: center;
  font-size: 16px;
  color: #444;
  margin-bottom: 30px;
}

/* =====================
   MAPS FULL SECTION
===================== */
.maps-full {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

/* IFRAME MAP */
.maps-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* OVERLAY TEXT */
.maps-overlay {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 127, 67, 0.9);
  color: #ffffff;
  padding: 18px 30px;
  border-radius: 12px;
  text-align: center;
  z-index: 10;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.maps-overlay h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}

.maps-overlay p {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.95;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .maps-full {
    height: 380px;
  }

  .maps-overlay {
    width: 90%;
    padding: 15px 20px;
  }

  .maps-overlay h2 {
    font-size: 22px;
  }
}
/* =====================
   BERITA TERKINI
===================== */
.news-section {
  padding: 80px 0;
}

/* GRID */
.news-grid {
  margin-top: 40px;
}

/* CARD */
.news-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* IMAGE */
.news-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */
.news-content {
  padding: 22px;
  text-align: center;
}

.news-date {
  display: block;
  font-size: 13px;
  color: #1e7f43;
  font-weight: 600;
  margin-bottom: 8px;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2d3436;
}

.news-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* LINK */
.news-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: #1e7f43;
  text-decoration: none;
}

.news-link:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .news-content {
    padding: 18px;
  }

  .news-content h3 {
    font-size: 16px;
  }

  .news-image img {
    height: 200px;
  }
}
.news-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
/* =====================
   FINAL FIX SCHOOL STATS MOBILE
===================== */
@media (max-width: 768px) {

  .school-stats {
    padding: 50px 12px;
  }

  .school-stats .stats-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 🔑 3 kolom sama besar */
    gap: 12px !important;
    align-items: stretch !important;
  }

  /* SEMBUNYIKAN DIVIDER TOTAL */
  .school-stats .stat-divider {
    display: none !important;
  }

  .school-stats .stat-item {
    padding: 18px 8px !important;
    border-radius: 14px;
  }

  .school-stats .stat-item h2 {
    font-size: 32px !important;
    line-height: 1.1;
  }

  .school-stats .stat-item p {
    font-size: 11px !important;
    letter-spacing: 1px;
  }
}
/* =====================
   🔥 HARD FORCE MOBILE STATS (FINAL)
===================== */
@media screen and (max-width: 768px) {

  .school-stats {
    padding: 40px 10px !important;
  }

  .school-stats .stats-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 10px !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* HAPUS DIVIDER TOTAL */
  .school-stats .stat-divider {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .school-stats .stat-item {
    width: 100% !important;
    padding: 16px 6px !important;
    border-radius: 14px !important;
    text-align: center !important;

    /* 🔥 FIX TINGGI */
    min-height: 180px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .school-stats .stat-item h2 {
    font-size: 30px !important;
    line-height: 1 !important;
  }

  .school-stats .stat-item p {
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
  }
}
/* =====================
   INFORMASI SEKOLAH
===================== */
.info-list-section {
  max-width: 900px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  display: flex;
  gap: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.info-item:hover {
  transform: translateY(-6px);
}

.info-date {
  min-width: 70px;
  height: 70px;
  background: #1e7f43;
  color: #ffffff;
  border-radius: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-date span {
  font-size: 22px;
  font-weight: 700;
}

.info-date small {
  font-size: 12px;
  letter-spacing: 1px;
}

.info-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.info-content p {
  font-size: 14px;
  margin-bottom: 8px;
}

.info-content a {
  font-size: 13px;
  font-weight: 600;
  color: #1e7f43;
  text-decoration: none;
}

.info-content a:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  .info-item {
    flex-direction: column;
  }

  .info-date {
    width: 100%;
    flex-direction: row;
    gap: 10px;
    height: auto;
    padding: 10px 0;
  }
}
.intro-text {
  max-width: 900px;        /* 🔑 BATASI LEBAR TEKS */
  margin: 0 auto;          /* TENGAH */
  padding: 0 30px;         /* MARGIN KIRI-KANAN */
  text-align: justify;
  line-height: 1.8;        /* BIAR ENAK DIBACA */
}
.intro-text {
  max-width: 900px;        /* 🔑 BATASI LEBAR TEKS */
  margin: 0 auto;          /* TENGAH */
  padding: 0 30px;         /* MARGIN KIRI-KANAN */
  text-align: justify;
  line-height: 1.8;        /* BIAR ENAK DIBACA */
}
@media (max-width: 768px) {
  .intro-text {
    max-width: 100%;
    padding: 0 18px;       /* MARGIN HP */
  }
}
/* =====================
   VISI MISI SECTION
===================== */

.visi-misi-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f2f6f3, #e8f1ec);
}

.container.kecil {
  max-width: 900px;
}

/* VISI & MISI BOX */
.visi-box,
.misi-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 35px;
  margin-top: 35px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* ICON */
.icon-visi,
.icon-misi {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1e7f43, #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-visi i,
.icon-misi i {
  font-size: 28px;
  color: #ffffff;
}

/* TITLE */
.visi-box h3,
.misi-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1e7f43;
}

/* TEXT */
.visi-box p {
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}

/* MISI LIST */
.misi-box ul {
  padding-left: 18px;
}

.misi-box li {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .visi-box,
  .misi-box {
    padding: 30px 22px;
  }

  .visi-box p,
  .misi-box li {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .nav-right {
    display: none;
  }

  .nav-right.active {
    display: flex;
  }
}
.nav-toggle.open {
  transform: rotate(90deg);
}
/* =====================
   MOBILE NAVBAR FINAL (JANGAN DITIMPA)
===================== */
@media (max-width: 768px) {

  .navbar {
    position: relative;
    z-index: 9999;
  }

  .nav-toggle {
    display: block;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
  }

  .nav-right {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1e7f43;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 9998;
  }

  .nav-right.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    color: #fff;
  }

  .dropdown-menu {
    display: none;
    position: static;
    background: #15703a;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .btn-ppdb {
    margin-top: 15px;
    width: 90%;
    text-align: center;
  }
}

/* Jarak antar kartu ekstrakurikuler */
.identitas-card {
  margin-bottom: 32px;
  padding: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}


/* ===================== GAMBAR ===================== */
.ekskul-image {
  width: 260px;
  height: 170px;
  overflow: hidden;
  border-radius: 14px;
  flex-shrink: 0;
}

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

/* ===================== KONTEN ===================== */
.identitas-item {
  margin-bottom: 14px;
}

.identitas-item span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.identitas-item p {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  margin: 0;
}

/* ===================== DESKRIPSI ===================== */
.identitas-item.full {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #eee;
}

/* ===================== RESPONSIVE (MOBILE) ===================== */
@media (max-width: 768px) {
  .identitas-card {
    flex-direction: column;
  }

  .ekskul-image {
    width: 100%;
    height: 180px;
  }
}

/* ===================== DOKUMENTASI ===================== */
.dokumentasi-section {
  max-width: 1200px;
  margin: 70px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 45px;
  color: #111827;
}

/* GRID GALERI */
.dokumentasi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

/* CARD */
.dokumentasi-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

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

/* IMAGE */
.dokumentasi-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* CONTENT */
.dokumentasi-content {
  padding: 18px 20px 22px;
}

.dokumentasi-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111827;
}

.dokumentasi-content p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
}

.dokumentasi-content span {
  font-size: 12px;
  color: #6b7280;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .dokumentasi-card img {
    height: 180px;
  }
}

/* ===================== TESTIMONI ===================== */
.testimoni-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 45px;
  color: #111827;
}

/* GRID */
.testimoni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

/* CARD */
.testimoni-card {
  background: #ffffff;
  padding: 28px 26px;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

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

/* TEXT */
.testimoni-text {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 22px;
  position: relative;
}

.testimoni-text::before {
  content: "“";
  font-size: 40px;
  color: #d1d5db;
  position: absolute;
  top: -18px;
  left: -8px;
}

/* USER */
.testimoni-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimoni-user img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimoni-user h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

.testimoni-user span {
  font-size: 12px;
  color: #6b7280;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .testimoni-card {
    padding: 24px;
  }
}

/* ===============================
   KONTAK SEKOLAH
================================ */
.kontak-sekolah {
  padding: 60px 15px;
  background: #f8fafc;
  font-family: 'Segoe UI', sans-serif;
}

.judul-kontak {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e293b;
}

.kontak-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* LIST */
.kontak-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ITEM */
.kontak-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  padding: 16px 18px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* ICON */
.kontak-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  flex-shrink: 0;
}

/* TEXT */
.kontak-text h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}

.kontak-text p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #475569;
}

/* MAP */
.kontak-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .kontak-container {
    grid-template-columns: 1fr;
  }
}
  /* JUDUL SECTION */
  .identitas-section .section-title {
    margin-bottom: 25px; /* jarak judul ke konten diperkecil */
  }
  
  /* CARD UTAMA */
  .identitas-card {
    margin-top: 0; /* pastikan nempel rapi ke judul */
  }
  .hero-text p {
    margin-bottom: 0;
  }
  
  .hero-text p + p {
    margin-top: 2px;
  }
  @media (max-width: 768px) {

    .hero-text h2 {
      font-size: 16px;
    }
  
    .hero-text h1 {
      font-size: 22px;
      line-height: 1.25;
    }
  
    .hero-text p {
      font-size: 13px;   /* lebih kecil lagi */
      margin: 1px 0;    /* super rapat */
      line-height: 1.35;
    }
  
    .hero-text .btn {
      font-size: 13px;
      padding: 8px 20px;
    }
  }
 /* =====================
   BUTTON HERO
===================== */

.btn-hero {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 28px;

  background-color: #ffffff;      /* PUTIH */
  color: #1e7f43;                 /* HIJAU GELAP */
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;

  border-radius: 8px;             /* TIDAK TERLALU MELENGKUNG */
  border: 2px solid #1e7f43;

  transition: all 0.3s ease;
}

/* HOVER */
.btn-hero:hover {
  background-color: #35d472;      /* HIJAU */
  color: #ffffff;                 /* PUTIH */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 127, 67, 0.35);
}
 