html { 
  scroll-behavior: smooth; 
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body { 
  font-family: 'Poppins', sans-serif; 
  background-color: #f8fafc; 
  color: #333333; 
  overflow-x: hidden; 
}

.navbar { 
  background-color: #0f766e; 
  padding: 16px 0; 
  position: sticky; 
  top: 0; 
  width: 100%; 
  z-index: 1000; 
  transition: all 0.4s ease-in-out; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

.navbar.scrolled { 
  padding: 8px 0; 
  background-color: rgba(15, 118, 110, 0.95); 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
  backdrop-filter: blur(8px); 
}

.navbar-container { 
  max-width: 1200px; 
  margin: auto; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 0 20px; 
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  color: #ffffff; 
  transition: transform 0.3s ease; 
}

.navbar.scrolled .brand { 
  transform: scale(0.9); 
}

.brand img { 
  width: 65px;   
  height: 65px; 
  object-fit: contain; 
  border-radius: 50%; 
  background: #ffffff; 
  padding: 4px; 
  border: 2px solid #ffffff; 
  transition: all 0.3s ease; 
}

.navbar.scrolled .brand img { 
  width: 50px; 
  height: 50px; 
}

.brand h3 { 
  font-size: 1rem; 
  margin: 0; 
  font-weight: 600; 
}

.menu { 
  display: flex; 
  gap: 15px; 
  align-items: center; 
}

.menu a { 
  color: #ffffff; 
  text-decoration: none; 
  font-size: 14px; 
  font-weight: 400; 
  padding: 6px 12px; 
  border-radius: 6px; 
  transition: all 0.3s ease-in-out; 
}

.menu a:hover { 
  color: #a7f3d0; 
  background-color: rgba(255, 255, 255, 0.1); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
  text-shadow: 0 0 8px rgba(167, 243, 208, 0.6); 
  transform: translateY(-2px); 
}


.hero-banner { 
  min-height: 100vh; 
  background: linear-gradient(-45deg, #0f766e, #134e4a, #065f46, #059669);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite; 
  color: #ffffff; 
  padding: 130px 20px 60px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  overflow: hidden;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. Floating Blobs (Cahaya melayang di belakang konten) */
.blob-decoration {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(52, 211, 153, 0.3);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 1;
    animation: floatAround 20s infinite alternate;
}
.blob-1 { top: -10%; left: -10%; background: rgba(52, 211, 153, 0.2); }
.blob-2 { bottom: -10%; right: -10%; background: rgba(251, 191, 36, 0.15); animation-delay: -5s; }

@keyframes floatAround {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* 3. Glassmorphism untuk Info Card & Stats */
.hero-stats .stat-card, .kotak-tambahan {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-stats .stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* 4. Tombol yang Bersinar (Glow Effect) */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.4);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(52, 211, 153, 0.6);
}

.hero-image-grid img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    border: 2px solid transparent;
    filter: none; 
}

.hero-image-grid img:hover {
    filter: contrast(1.1) saturate(1.1);
    transform: scale(1.05);
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 
                0 10px 40px rgba(15, 118, 110, 0.3); 
    
    z-index: 10;
}

.hero-banner-container { 
  max-width: 1200px; 
  width: 100%; 
  display: flex; 
  flex-direction: column; 
  gap: 60px; 
}

.hero-top { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 50px; 
}

.hero-text { 
  flex: 1; 
}

.hero-badge-group { 
  display: flex; 
  align-items: center; 
  gap: 15px; 
  margin-bottom: 20px; 
}

/* Class aslimu (Tanpa ::before) */
.badge { 
  background: rgba(255,255,255,0.2); 
  padding: 6px 14px; 
  border-radius: 20px; 
  font-size: 0.8rem; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  backdrop-filter: blur(5px);
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
}

.badge i.bi-megaphone-fill {
    color: #ffda79;
    transform-origin: bottom left;
    animation: toa-goyang 2s infinite;
}

@keyframes toa-goyang {
    0%, 15% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    25% { transform: rotate(-10deg); }
    30% { transform: rotate(15deg); }
    35% { transform: rotate(-10deg); }
    40%, 100% { transform: rotate(0deg); } 
}

.hero-text h1 { 
  font-size: 3.2rem; 
  font-weight: 700; 
  line-height: 1.2; 
  margin-bottom: 15px; 
}

.hero-text p { 
  font-size: 1.2rem; 
  opacity: 0.9; 
  margin-bottom: 30px; 
}

.hero-buttons { 
  display: flex; 
  gap: 15px; 
}

.btn { 
  padding: 12px 28px; 
  border-radius: 30px; 
  font-weight: 600; 
  text-decoration: none; 
  transition: all 0.3s ease; 
}

.btn-primary { 
  background: #ffffff; 
  color: #0f766e; 
}

.btn-primary:hover { 
  background: #e2e8f0; 
  transform: translateY(-3px); 
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.btn-secondary { 
  background: #0d9488; 
  color: #ffffff; 
  border: 1px solid rgba(255,255,255,0.3); 
}

.btn-secondary:hover { 
  background: #0f766e; 
  transform: translateY(-3px); 
}

.hero-image-grid { 
  flex: 1; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 15px; 
}

.hero-image-grid img { 
  width: 100%; 
  height: 200px; 
  object-fit: contain;
  padding: 25px;       
  border-radius: 12px; 
  border: 3px solid rgba(255,255,255,0.2); 
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
  transition: transform 0.4s ease, z-index 0s; 
  background-color: rgba(255,255,255,0.1); 
  backdrop-filter: blur(5px); 
}

.img-1 { transform: rotate(-3deg); }
.img-2 { transform: rotate(2deg); }
.img-3 { transform: rotate(3deg); }
.img-4 { transform: rotate(-2deg); }

.hero-image-grid img:hover { 
  transform: scale(1.05) rotate(0deg); 
  z-index: 10; 
  position: relative; 
}

.hero-stats { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
}

.stat-card { 
  background: rgba(255, 255, 255, 0.08); 
  backdrop-filter: blur(12px); 
  border: 1px solid rgba(255, 255, 255, 0.15); 
  border-radius: 16px; 
  padding: 25px 20px; 
  text-align: center; 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Garis bercahaya di bagian atas */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30%; /* Awalnya pendek */
  height: 4px;
  background: #2ed573; /* Warna hijau, bisa diganti */
  border-radius: 0 0 8px 8px;
  box-shadow: 0 3px 10px rgba(46, 213, 115, 0.5);
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Efek saat mouse diarahkan (Hover) */
.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
}

/* Garisnya memanjang saat di-hover */
.stat-card:hover::before {
  width: 80%; 
}

.stat-card:hover { 
  transform: translateY(-5px); 
  background: rgba(255, 255, 255, 0.15); 
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.stat-card h3 { 
  font-size: 2.2rem; 
  font-weight: 700; 
  color: #ffffff; 
  margin-bottom: 5px; 
}

.stat-card p { 
  font-size: 0.9rem; 
  opacity: 0.8; 
  margin: 0; 
}
  
.sambutan-container { 
  max-width: 900px; 
  margin: 90px auto 70px; 
  padding: 0 20px; 
}

.judul-sambutan { 
  text-align: center; 
  margin-bottom: 95px; 
}

.judul-sambutan h2 { 
  color: #0f766e; 
  font-size: 2.5rem; 
  margin: 0; 
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.judul-sambutan h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #2dd4bf;
  border-radius: 2px;
}

.kartu-sambutan { 
  background: #ffffff; 
  border-radius: 24px;
  border: 1px solid rgba(45, 212, 191, 0.25); 
  padding: 120px 60px 50px; 
  position: relative; 
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 30px -3px rgba(17, 94, 89, 0.05); 
  margin-top: 60px; 
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
  z-index: 1; 
}

.kartu-sambutan:hover {
  transform: translateY(-6px); 
  border-color: #14b8a6;
  box-shadow: 0 20px 50px -12px rgba(15, 118, 110, 0.15);
}

.kartu-sambutan::after {
  content: '“'; 
  position: absolute;
  left: 45px;
  top: 50px;
  font-size: 130px;
  color: rgba(45, 212, 191, 0.08); 
  font-family: 'Georgia', serif;
  line-height: 1;
  z-index: 1;
  transition: all 0.6s ease;
}

.kartu-sambutan:hover::after {
  transform: scale(1.1) translateY(-5px);
  color: rgba(45, 212, 191, 0.15);
}

.foto-ks-wrapper { 
  position: absolute; 
  top: -95px; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 160px; 
  height: 200px;
  border-radius: 20px; 
  background: #ffffff; 
  padding: 8px; 
  box-shadow: 0 10px 25px -5px rgba(15, 118, 110, 0.12), 0 8px 10px -6px rgba(15, 118, 110, 0.12);
  z-index: 2; 
  overflow: hidden; 
  border: 1px solid rgba(45, 212, 191, 0.2);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.foto-ks-wrapper::before,
.foto-ks-wrapper::after {
  content: none !important;
  display: none !important;
}

/* ELEMEN FOTO */
.foto-ks { 
  width: 100%; 
  height: 100%; 
  border-radius: 14px; 
  object-fit: cover; 
  display: block; 
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.kartu-sambutan:hover .foto-ks-wrapper {
  transform: translateX(-50%) translateY(-10px);
  box-shadow: 0 25px 45px -10px rgba(15, 118, 110, 0.25);
  border-color: #2dd4bf;
}

.kartu-sambutan:hover .foto-ks {
  transform: scale(1.06); 
}

.isi-sambutan { 
  color: #4b5563; 
  line-height: 1.9;
  font-size: 15.5px; 
  margin-bottom: 35px; 
  position: relative;
  z-index: 3; 
  text-align: justify;
  text-justify: inter-word;
}

.isi-sambutan p { 
  margin-bottom: 16px; 
}

.isi-sambutan p:first-child {
  font-size: 17px;
  color: #115e59;
  font-weight: 600;
}

.ttd-ks { 
  text-align: center;
  border-top: 1px dashed #e2e8f0;
  padding-top: 25px; 
  position: relative;
  z-index: 3;
}

.ttd-ks strong { 
  display: block; 
  color: #0f766e; 
  font-size: 1.2rem; 
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ttd-ks small { 
  color: #64748b; 
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .sambutan-container { 
    margin: 50px auto 30px; 
    padding: 0 16px; 
  }

  .judul-sambutan {
    margin-bottom: 75px;
  }
  
  .judul-sambutan h2 { 
    font-size: 1.9rem; 
  }

  .kartu-sambutan { 
    padding: 100px 24px 35px;
    margin-top: 60px; 
    border-radius: 20px;
  }

  .foto-ks-wrapper { 
    width: 130px; 
    height: 162px; 
    top: -80px; 
    padding: 6px;
    border-radius: 16px;
  }
  
  .foto-ks {
    border-radius: 10px;
  }

  .kartu-sambutan::after {
    font-size: 90px;
    left: 20px;
    top: 35px;
  }

  .isi-sambutan { 
    font-size: 14.5px; 
    line-height: 1.8;
  }
  
  .isi-sambutan p:first-child {
    font-size: 15.5px;
  }
}

.kartu-sekolah { 
  max-width: 1000px; 
  margin: 20px auto 60px; 
  background-color: #ffffff; 
  border-radius: 18px; 
  box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
  overflow: hidden; 
}

.kartu-sekolah.fade-in {

  animation: kartuMuncul 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 0; 
  transition: all 0.4s ease;
}

@keyframes kartuMuncul {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.kartu-sekolah:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.kartu-header { 
  background: linear-gradient(to right, #0f766e, #115e59); /* Latar hijau gelap */
  color: #ffffff; /* Teks putih */
  padding: 20px 25px; /* Ukuran yang pas */
  display: flex; 
  align-items: center; 
  gap: 15px; 
  border-radius: 12px 12px 0 0; /* Melengkung di bagian atas saja */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.kartu-header:hover {
  transform: translateX(6px); 
  background: linear-gradient(to right, #115e59, #0d9488); 
  box-shadow: 0 4px 15px rgba(15, 118, 110, 0.4); 
}

.kartu-header .ikon i {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.kartu-header:hover .ikon i {
  color: #fbbf24; 
  transform: rotate(-10deg) scale(1.15); 
}

.kartu-header h3 {
  transition: color 0.3s ease;
  margin: 0;
}

.kartu-header:hover h3 {
  color: #fbbf24; /* Berubah KUNING EMAS agar nyambung dengan ikon */
}

/* 5. Efek untuk Teks NPSN (Biar nggak ikutan hilang) */
.kartu-header span {
  transition: color 0.3s ease;
  opacity: 0.9;
}

.kartu-header:hover span {
  color: #f8fafc; /* Jadi putih terang bersinar */
}

.kartu-isi { 
  padding: 40px 30px; 
}

.grid-informasi { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 30px; 
}

.item-informasi { 
  display: flex; 
  gap: 15px; 
  align-items: flex-start; 
  margin-bottom: 20px;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 8px; 
}

.item-informasi:hover {
  transform: translateX(10px);
  background-color: rgba(0, 0, 0, 0.02);
}

.item-informasi .ikon i {
  display: inline-block;
  transition: all 0.3s ease;
}

.item-informasi:hover .ikon i {
  transform: scale(1.2) rotate(10deg);
  color: #0f766e; 
}

.item-informasi .ikon { 
  font-size: 20px;
  color: #0f766e;
  background-color: rgba(15, 118, 110, 0.1);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.item-informasi small { 
  display: block; 
  font-size: 12px; 
  color: #6b7280; 
  margin-bottom: 4px; 
}

.item-informasi strong { 
  font-size: 15px; 
  color: #1f2937; 
}

.garis { 
  height: 1px; 
  background: #e5e7eb; 
  margin: 30px 0; 
}

.judul-tambahan { 
  font-weight: 600; 
  margin-bottom: 15px; 
  color: #1f2937; 
}

/* STYLING BARU UNTUK IKON JUDUL TAMBAHAN */
.judul-tambahan i {
  color: #0f766e;
  margin-right: 8px;
  font-size: 1.1rem;
}

.grid-tambahan { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
  gap: 20px; 
}

.kotak-tambahan { 
  background: #f9fafb; 
  padding: 18px; 
  border-radius: 12px; 
  border: 1px solid #f3f4f6;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 1px solid transparent; 
}

.kotak-tambahan small { 
  display: block; 
  font-size: 12px; 
  color: #6b7280; 
  margin-bottom: 5px; 
}

.kotak-tambahan strong { 
  font-size: 16px; 
  color: #1f2937; 
}

.kotak-tambahan:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #fbbf24; /* Kasih garis luar kuning aksen */
  background-color: #ffffff; /* Pastikan background cerah */
  z-index: 5;
}

.kotak-tambahan:hover strong {
  color: #0f766e; /* Teks utamanya ganti warna saat di-hover */
}

/* =====================
   FOOTER
===================== */
.footer {
    background: linear-gradient(135deg, #0f766e 0%, #064e3b 100%);
    color: #ffffff;
    padding: 70px 0 20px;
    margin-top: 100px;
    position: relative;
    border-top: 5px solid #fbbf24; /* Aksen garis kuning emas di atas */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 50px;
    padding: 0 20px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    color: #fbbf24;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: #fbbf24;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand img {
    width: 65px;
    height: 65px;
    background: white;
    padding: 5px;
    border-radius: 50%;
}

.footer-brand h3 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0;
    font-weight: 700;
}

.footer-brand h3 span {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 12px; }
.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: #fbbf24;
    transform: translateX(5px);
}

/* Contact & Socials */
.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list i { color: #fbbf24; font-size: 1.1rem; }

.social-links { 
  display: flex; 
  gap: 15px; 
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.social-links a:hover { 
  background: #fbbf24; 
  color: #0f766e;

  transform: translateY(-5px) scale(1.1); 

  box-shadow: 0 8px 15px rgba(251, 191, 36, 0.4);
}

.social-links a i {
  transition: transform 0.3s ease;
}

.social-links a:hover i {
  transform: scale(1.15) rotate(10deg); 
}

/* Copyright */
.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsif Mobile */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand { justify-content: center; }
    .footer-section h4::after { left: 50%; transform: translateX(-50%); }
    .footer-section ul li a { justify-content: center; }
    .contact-list li { justify-content: center; }
    .social-links { justify-content: center; }
}

.fade-in { 
  opacity: 0; 
  transform: translateY(80px); 
  transition: opacity 1s ease-out, transform 1s ease-out; 
  will-change: opacity, transform; 
}

.fade-in.muncul { 
  opacity: 1; 
  transform: translateY(0); 
}

@media (max-width: 900px) {
  .hero-top { 
    flex-direction: column; 
    text-align: center; 
  }
  .hero-badge-group { 
    justify-content: center; 
  }
  .hero-buttons { 
    justify-content: center; 
  }
  .hero-stats { 
    grid-template-columns: 1fr 1fr; 
  }
}

@media (max-width: 768px) {
  .navbar-container { 
    flex-direction: column; 
    gap: 10px; 
    padding: 10px; 
  }
  
  .menu { 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 10px; 
  }
  
  .grid-informasi { 
    grid-template-columns: 1fr; 
  }
  
  .kartu-sambutan { 
    padding: 110px 20px 30px; 
  }
  
  .hero-text h1 { 
    font-size: 2.2rem; 
  }
  
  .hero-stats { 
    grid-template-columns: 1fr; 
  }

  .kartu-sekolah, .sambutan-container { 
    margin-left: 15px; 
    margin-right: 15px; 
  }
}

.container-judul {
    text-align: center;
    margin: 60px 0 30px;
}

.kontak-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;
    align-items: stretch;
}

.form-kontak-home {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
}

#map {
    flex: 1.2; /* Peta sedikit lebih lebar */
    min-height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1;
}

.input-group-dua {
    display: flex;
    gap: 15px;
}

.form-kontak-home input, .form-kontak-home textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    outline-color: #0f766e;
}

.btn-kirim-home {
    width: 100%;
    padding: 12px;
    background: #0f766e;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-kirim-home:hover {
    background: #0d5e58;
}

.alert-mini {
    background: #dcfce7;
    color: #166534;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}

/* Responsif buat HP */
@media (max-width: 768px) {
    .kontak-wrapper {
        flex-direction: column;
    }
    .input-group-dua {
        flex-direction: column;
        gap: 0;
    }
    #map {
        min-height: 300px;
    }
}

.alert-mini {
    background: #dcfce7;
    color: #166534;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #bbf7d0;
    /* Tambahkan animasi transisi halus */
    transition: opacity 0.5s ease;
}

.hero-banner {
    position: relative; 
}

.wave-lengkung {
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-lengkung svg {
    display: block;
    width: 100%;
    height: 60px; 
}

.wave-lengkung .shape-fill {
    fill: #ffffff; 
}

@media (max-width: 768px) {
    .wave-lengkung svg {
        height: 30px; 
    }
}

.news-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.section-title-area {
    opacity: 0;                                 
    transform: translateY(25px);               
    animation: fadeInUpTitle 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;                     
}

@keyframes fadeInUpTitle {
    to {
        opacity: 1;                             
        transform: translateY(0);               
    }
}

.news-nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #0f766e;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.nav-btn:hover {
    background: #0f766e;
    color: #ffffff;
    border-color: #0f766e;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.3);
}

.section-title-home {
    text-align: center;
    margin-bottom: 5px;
}

.section-title-home h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b; 
    margin-bottom: 5px;
}

.section-title-home p {
    font-size: 16px;
    color: #64748b; 
    margin-bottom: 25px;
}

.swiper-slide {
    height: auto; 
    display: flex;
}

.news-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.news-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(15, 118, 110, 0.15);
}

.card-img-container {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card-modern:hover .card-img-container img {
    transform: scale(1.1);
}

.category-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0f766e;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.meta-info {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.card-content h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-content p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.btn-read-more {
    color: #0f766e;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto; 
    display: inline-flex;
    align-items: center;
}

.swiper-pagination-bullet-active {
    background-color: #0f766e !important;
}

.swal2-container.swal2-top-end {
    padding-top: 100px !important;
    z-index: 9999 !important; 
}