/* ==================================================
   ROOT VARIABLES
   Converted from Tailwind @theme
================================================== */
:root {
  --shadow-cause-shadow: 0px 4px 17px 0px #00000008;
  --shadow-featureShadow: 0px 72px 129px 0px #0000001a;

  --spacing-70: 70%;

  --color-primary: #0057ff;
  --color-midnight-text: #297BBF;
  --color-light-success: #e7f8f2;
  --color-deep-slate: #6493ea;
  --color-canary-500: #ffd700;

  --text-86: 5.375rem;

  --background-image-header: linear-gradient(120.3deg, #046ede 0%, #03d3fc 100%);
  --background-image-testimonial-bg: url('/images/people/bg-line.png');

  --leading-130: 130%;
  --leading-140: 140%;
  --leading-180: 180%;
}

/* ==================================================
   GLOBAL RESET & BASE
================================================== */
*,
*::before,
*::after {
  border-color: #e5e7eb;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: #000;
}

section {
  padding: 2rem 0;
}

/* ==================================================
   TYPOGRAPHY
================================================== */

/* H1 */
h1 {
  color: #000;
  font-size: 2.25rem;
  font-weight: 600;
}
@media (min-width: 768px) {
  h1 {
    font-size: var(--text-86);
  }
}

/* H2 */
h2 {
  color: #000;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 3rem;
}
@media (min-width: 640px) {
  h2 {
    font-size: 3rem;
    line-height: 3.5rem;
  }
}

/* H3 */
h3 {
  color: #000;
  font-size: 1.5rem;
  font-weight: 600;
}
@media (min-width: 640px) {
  h3 {
    font-size: 2.25rem;
  }
}

/* ==================================================
   UTILITIES
================================================== */

/* Container (responsive) */
.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}
@media (min-width: 1280px) {
  .container {
    padding: 0 4rem;
  }
}

/* Text Stroke Utilities */
.text-border-blue {
  color: white;
  -webkit-text-stroke: 2px #2563eb;
}
.text-border-green {
  color: #22c55e;
  -webkit-text-stroke: 1px #14532d;
}
.text-border {
  color: white;
  -webkit-text-stroke: 1px black;
}

/* ==================================================
   HEADER + NAVIGATION
================================================== */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 40;
  padding: 12px 0;
  transition: 0.3s ease;
}
.header.sticky {
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Header inner layout */
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  width: 197px;
  height: 45px;
  object-fit: contain;
}
@media (min-width: 640px) {
  .logo {
    width: 219px;
    height: 50px;
  }
}

/* Desktop Menu */
.navbar-wrapper {
  display: none;
  align-items: center;
  gap: 20px;
}

.menu-desktop {
  display: none;
  align-items: center;
  gap: 20px;
}
@media (min-width: 1024px) {
    .navbar-wrapper {
    display: flex;
  }  
    .menu-desktop {
    display: flex;
  }
}
.menu-item {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: black;
  text-decoration: none;
  padding-bottom: 5px;
}

.menu-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #ffc400;
  transition: width 0.25s ease;
  border-radius: 2px;
}

.menu-item:hover {
  color: #0057ff;
}

.menu-item:hover::after {
  width: 100%;
}

/* Buttons */
.btn-yellow {
  background: #FFD60A;
  padding: 3px 12px;
  border-radius: 6px;
  font-weight: bold;
  color: black;
  transition: 0.3s;
  cursor: pointer;
}
.btn-yellow:hover {
  background: #0057ff;
  color: white;
}

/* --------------------------------------------------
   Mobile Navigation
-------------------------------------------------- */
.menu-btn {
  display: block;
  border: none;
  background: transparent;
}
.menu-btn span {
  width: 24px;
  height: 3px;
  background: black;
  margin: 5px 0;
  display: block;
}

@media (min-width: 1024px) {
  .menu-btn {
    display: none !important;
  }

  #mobileMenu,
  #backdrop {
    display: none !important;
  }
}

/* Backdrop */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 40;
}

/* Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 80%;
  height: 100%;
  background: white;
  padding: 20px;
  transform: translateX(100%);
  transition: 0.3s ease;
  z-index: 50;
}
.mobile-menu.active {
  transform: translateX(0);
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-logo {
  height: 50px;
}

/* Close Button */
.close-btn {
  background: url('gambar/closed.svg') center/contain no-repeat;
  border: none;
  width: 24px;
  height: 24px;
}

/* Mobile Nav Items */
.mobile-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-item {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  color: black;
  text-decoration: none;
  padding-bottom: 4px;
}

.mobile-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #ffc400;
  transition: width 0.25s ease;
  border-radius: 2px;
}

.mobile-item:hover {
  color: #0057ff;
}

.mobile-item:hover::after {
  width: 40%;
}

/* Mobile submenu */
.mobile-submenu {
  display: none !important;
  background: #f9f9f9;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 6px;
}
.mobile-submenu.open {
  display: block !important;
}

.mobile-submenu a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  color: #333;
}

.mobile-submenu a:hover {
  color: #0057ff;
}


/* Desktop submenu */
.menu-item-wrapper:hover .submenu {
  display: block;
}
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.285);
  padding: 10px 0;
  display: none;
  z-index: 999;
}
.submenu a {
  padding: 10px 16px;
  display: block;
  font-size: 18px;
}
.submenu a:hover {
  background: #0057ff;
  color: white;
}

.submenu a,
.mobile-submenu a {
  text-decoration: none;
  border-bottom: none;
}

.menu-arrow {
  width: 12px;
  height: auto;
  margin-left: 6px;
  margin-top: 2px;
}



/* ==================================================
   EFEK TRANSISI
================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }

/* ==================================================
   HERO SECTION
================================================== */

.hero-section {
  background: linear-gradient(120.3deg, #046ede 0%, #03d3fc 100%);
  padding: 110px 0 60px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Hero grid */
.hero-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }
}

/* Left */
.hero-left {
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-left {
    text-align: left;
  }
}
.hero-greeting {
  color: #ffd700;
  font-size: 16px;
  max-width: 480px;
}
.hero-title {
  margin-top: 20px;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 60px;
  }
}
.hero-desc {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
  max-width: 480px;
  font-size: 18px;
}

/* Button */
.hero-button {
  margin-top: 25px;
  padding: 15px 30px;
  background: #ffd60a;
  border: 1px solid #ffd60a;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  color: #063a7a;
  cursor: pointer;
  transition: 0.25s;
  position: relative;
  z-index: 3;
}
.hero-button:hover {
  background: transparent;
  color: #ffd60a;
}

/* Right */
.hero-right {
  text-align: center;
}
.hero-img {
  width: 100%;
}

/* Small decoration images */
.hero-star,
.hero-line1,
.hero-line2 {
  position: absolute;
  opacity: 0.7;
}
.hero-star {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 26px;
  right: 51px;
  width: 95px;
  height: 97px;
  opacity: 0.7;
}
.hero-line1 {
  position: absolute;
  left: 45%;
  transform: translateX(-50%);
  top: 26px;
  right: 51px;
  width: 190px;
  height: 148px;
  opacity: 0.5;
}
.hero-line2 {
  bottom: -26px;
  right: 0;
  width: 190px;
  height: 148px;
  display: none;
}
@media (min-width: 1280px) {
  .hero-line2 {
    display: block;
  }
}

/* ==================================================
   LAYANAN SECTION
================================================== */

.layanan-section {
  padding: 50px 0 50px;
  position: relative;
  overflow: hidden;
}

.layanan-title {
  text-align: center;
  color: #297BBF;
  font-size: 40px;
  margin-bottom: 10px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .layanan-title {
    font-size: 50px;
  }
}

.layanan-desc {
  text-align: center;
  font-size: 18px;
  margin: 0 auto 20px;
  color: #555;
}

.layanan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.layanan-box {
  background: white;
  padding: 0 25px 25px 25px;
  border-radius: 18px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.layanan-box2 {
  background: rgba(254, 247, 145, 0.135);
  padding: 0 25px 25px 25px;
  border-radius: 18px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.layanan-header {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 400;
}
@media (min-width: 768px) {
  .layanan-header {
    font-size: 22px;
  }
  }

.layanan-icon {
  width: 48px;
  margin-right: 12px;
}

.alert-warning {
  background: #FFE4C4;
  color: #B4530A;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
}

.alert-success {
  background: #CCF7D0;
  color: #0F6A2C;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
}

.alert-success a {
  color: #0F6A2C;
  font-weight: 600;
  text-decoration: none;
}

.alert-success a:hover {
  color: #0b0ed6;
  text-decoration: underline;
}

.form-group {
  display: flex;
  align-items: center;
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 18px;
}

.form-icon {
  width: 55px;
  margin-right: 12px;
}

.form-field {
  flex: 1;
}

.form-field label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.form-field select {
  width: 100%;
  padding: 11px 40px 11px 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #fff;

  /* SVG arrow tanpa file */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;

  cursor: pointer;
}

.btn-wrapper {
  text-align: center;
}

#btnAkses {
  padding: 12px 50px;
  background: #cdcecf;
  color: #818385;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: not-allowed;
}

#btnAkses.enabled {
  background: #297BBF;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#btnAkses.enabled:hover {
  transform: scale(1.05);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: center;
  gap: 20px;
  margin-top: 30px;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #2b2b2b;
  transition: 0.2s;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.info-item iconify-icon {
  font-size: 50px;
}

.info-item:hover {
  transform: scale(1.05);
  color: #297BBF;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .layanan-grid {
    grid-template-columns: 1fr;
  }
}

.kemdikdasmen-section {
  background: #03befc10;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.grid-box {
  display: grid;
  padding-left: 20px;
  padding-right: 20px;
  grid-template-columns: 1fr;
  gap: 15px;
}

.title-row {
  display: flex;
  align-items: center;
}

.title {
  margin-right: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

/* Garis di sebelah judul */
.line {
  flex: 1;
  height: 2px;
  background: #2563eb;
}

/* List Link */
.list {
  margin-top: 5px;
}

/* Link item */
.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #444;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
}

.list-item:hover {
  color: #2563eb;
}


/* Icon ukuran */
.icon {
  font-size: 26px;
}

/* Desktop */
@media (min-width: 640px) {
  .grid-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .grid-box {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }

  .title {
    font-size: 20px;
  }

  .icon {
    width: 26px;
    height: 26px;
  }
}

/* ===========================
   SECTION APLIKASI
=========================== */

.aplikasi-section {
  padding: 50px 0;
}

.aplikasi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
  justify-items: center;
}

.aplikasi-image {
  width: 100%;
}

.aplikasi-content h2 {
  text-align: center;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 15px;
  color: #297BBF;
}
@media (min-width: 768px) {
  .aplikasi-content h2 {
    font-size: 50px;
  }
}

.aplikasi-content p {
  text-align: center;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 10px auto;
  color: #555;
}

/* Grid link aplikasi */
.aplikasi-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 5px;
  line-height: 1.1;
}

.aplikasi-item {
  background: white;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: 0.25s ease;
}

.aplikasi-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 5px;
}

.aplikasi-item .title {
  font-weight: 700;
  font-size: 14px;
  display: block;
}

.aplikasi-item .title:hover {
  color: #297BBF;
}

.aplikasi-item .desc {
  font-style: italic;
  font-size: 13px;
  color: #666;
}

/* Efek hover */
.aplikasi-item:hover {
  transform: scale(1.05);
}

/* =====================
   RESPONSIVE
===================== */

@media (min-width: 768px) {
  .aplikasi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .aplikasi-content h2,
  .aplikasi-content p {
    text-align: left;
    margin-left: 0;
  }
}

/* ===========================
   SECTION INFORMASI
=========================== */

/* SECTION */
.berita-section {
  position: relative;
  background: linear-gradient(120.3deg, #046ede 0%, #03d3fc 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}

/* Wave shared */
.wave-svg {
  width: 100%;
  height: 220px;
}

.wave-top {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  transform: rotate(180deg);
  overflow: hidden;
}

.wave-bottom {
  position: absolute;
  bottom: -70px;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1 !important;
  pointer-events: none;
}

.grid-area {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  justify-items: center;
}

@media (min-width: 768px) {
  .grid-area {
    grid-template-columns: repeat(12, 1fr);
  }

  .text-area {
    grid-column: span 6;
    text-align: left;
  }

  .image-area {
    grid-column: span 6;
    display: flex;
    justify-content: center;
  }
}

/* TEXT STYLE */
.text-area h2 {
  text-align: center;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: white;
}
@media (min-width: 768px) {
  .text-area h2 {
    font-size: 50px;
    padding-bottom: 15px;
  }
}
.text-area p {
  color: white;
  font-size: 19px;
  line-height: 1.5;
  max-width: 550px;
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .text-area h2,
  .text-area p {
    text-align: left;
    margin: 0;
  }
}

/* CTA BUTTON */
.cta {
  margin-top: 15px;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  color: #ffd60a;
  text-decoration: none;
  font-weight: 600;

  /* center di mobile */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta:hover {
  color: #ffffff;
}

/* Desktop: rata kiri */
@media (min-width: 768px) {
  .cta {
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start;
    text-align: left;
  }
}

/* IMAGE */
.gambar-berita {
  width: 100%;
}

/* ===========================
   SECTION SPMB
=========================== */

.spmb-section {
  padding-top: 80px;
  padding-bottom: 40px;
}
@media (min-width: 768px) {
  .spmb-section {
    padding-bottom: 20px;
  }
}

.spmb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  align-items: center;
  justify-items: center;
}

.spmb-image {
  width: 100%;
}

.spmb-content h2 {
  text-align: center;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 15px;
  color: #297BBF;
}
@media (min-width: 768px) {
  .spmb-content h2 {
    font-size: 50px;
  }
}

.spmb-content p {
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 10px auto;
  color: #555;
}

/* CTA BUTTON */
.spmb-cta {
  margin-top: 20px;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  color: #297BBF;
  text-decoration: none;
  font-weight: 600;

  /* center di mobile */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.spmb-cta:hover {
  color: #1c507b;
}

/* Desktop: rata kiri */
@media (min-width: 768px) {
  .spmb-cta {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 50px;
    justify-content: flex-start;
    text-align: left;
  }
}

/* =====================
   RESPONSIVE
===================== */

@media (min-width: 768px) {
  .spmb-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .spmb-content h2,
  .spmb-content p {
    text-align: left;
    margin-left: 0;
  }
}

/* ===========================
   SECTION GALERI
=========================== */
/* SECTION */
.galeri-section {
  background: #03befc10;
  position: relative;
  overflow: hidden;
  padding-top: 0px;
  padding-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* GRID */
.grid-2 {
  display: grid;
  margin-top: 2px;
  grid-template-columns: 1fr;
  gap: 5px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

/* TITLE */
.title-line {
  display: flex;
  align-items: center;
}
.title-line h2 {
  margin-right: 10px;
  font-size: 26px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
.title-line .line {
  flex: 1;
  border-top: 2px solid #0a66cc;
}
.line.red {
  border-color: #d60000;
}

.title-line iconify-icon {
  font-size: 27px;
  color: #046ede;
  vertical-align: middle;
}

/* SLIDER */
.slider {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CAPTION */
.caption-box {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 25px 15px;
  color: white;
  background: linear-gradient(to top, rgba(22, 181, 255, 0.8), transparent);
  font-size: 12px;
  font-weight: 700;
  text-shadow: 1px 1px 3px #444444;
}

.caption-box p {
  margin: 0;
  line-height: 1;
}

.caption-box span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
  color: rgb(248, 248, 107);
   text-shadow: 1px 1px 2px #444444;
}

@media (min-width: 768px) {
  .slider {
    height: 370px;
  }
  .caption-box {
  font-size: 20px;
  padding: 25px 30px;
  }
  .caption-box p {
  line-height: 1.2;
}
  .caption-box span {
  font-size: 14px;
  line-height: 1.2;
}
}
/* NAVIGATION */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.269);
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 20px; height: 30px;
  border-radius: 13%;
}
.prev { left: 10px; }
.next { right: 10px; }
.nav:hover {
  background: rgb(255, 255, 255);
}

.nav iconify-icon {
  position: absolute;
  top: 74%;
  margin: -13px;
  transform: translateY(-26%);
  font-size: 24px;
  color: rgba(255, 254, 254, 0.112);
}

.nav:hover iconify-icon {
  font-size: 24px;
  color: #282828;
}
/* DOTS */
.dots {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.dots div {
  width: 5px; height: 5px;
  background: #fff8;
  border-radius: 50%;
}
.dots .active {
  background: #fff;
  width: 12px;
  border-radius: 15%;
}

@media (min-width: 768px) {
  .dots {
  gap: 12px;
}
.dots div {
  width: 8px; height: 8px;
}
.dots .active {
  width: 16px;
  border-radius: 20%;
}
}

/* CAPTION */
 .caption-box2 {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 25px 15px;
  color: #0486ff;
  background: linear-gradient(to top, rgba(255, 64, 96, 0.8), transparent);
  font-size: 16px;
  font-weight: 800;
  text-shadow: 1px 1px 2px #ffffff;
}

.caption-box2 p {
  margin: 0;
  line-height: 1.3;
}

.caption-box2 span {
  display: block;
  margin-top: 3px;
  margin-right: 50%;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.1;
  color: rgb(255, 255, 255);
  text-shadow: 1px 1px 2px #020202b8;
}

@media (min-width: 768px) {
  .caption-box2 {
  font-size: 30px;
  padding: 25px 30px;
  }
  .caption-box2 p {
  line-height: 1.5;
}
  .caption-box2 span {
  font-size: 12px;
  line-height: 1.2;
}
}

/* ===========================
KONTAK
=========================== */
.sosmed-section {
  position: relative;
  overflow: hidden;
  padding-top: 0px;
  padding-bottom: 40px;
}

.sosmed-header h2 {
  font-size: 26px;
  font-weight: 700;
  border-bottom: 2px solid #ccc;
}

.sosmed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .sosmed-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-left: 20px;
    margin-right: 20px;
  }
}

.sosmed-logo {
  width: 38px;
}

.sosmed-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sosmed-school-title {
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .sosmed-school-title {
    font-size: 20px;
  }
}

.sosmed-address {
  margin-top: 1px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.4;
  color: #555;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  cursor: pointer;
  color: #333;
  text-decoration: none;
}

.contact-item:hover {
  color: #0077ff;
}

.contact-item iconify-icon {
  font-size: 24px;
  color: #333;
}

.sosmed-links {
  margin-top: 20px;
}

.sosmed-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  color: #333;
  text-decoration: none;
}

.sosmed-link:hover {
  color: #0077ff;
}

.sosmed-links iconify-icon {
  font-size: 24px;
  color: #333;
}

.sosmed-map iframe {
  width: 100%;
  height: 220px;
}
@media (min-width: 768px) {
  .sosmed-map iframe {
    height: 100%;
  }
}

/* ==========================================================================================
   PAGE KETENTUAN LAYANAN
============================================================================================= */
.section-tos {
  padding-top: 90px;
  padding-bottom: 60px;
}

.tos-content {
  margin-top: 20px;
  margin-bottom: 20px;
  text-decoration: none;
}

@media (min-width: 768px) {
 .section-tos {
  padding-left: 80px;
  padding-right: 80px;
}

.tos-content {
  margin-left: 80px;
  margin-right: 80px;
}
}

.tos-title {
  background: linear-gradient(120.3deg, #046ede 0%, #03d3fc 100%);
  padding: 20px 15px;
  margin: 0;
  text-align: center;
  color: white;
  font-size: 25px;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 2px #020202b8;
}

.tos-sub {
  padding-top: 5px;
  color: #046ede;
  font-size: 18px;
}
.tos-sub p {
  margin: 0;
  line-height: 1.3;
  font-weight: 600;
}
.tos-sub span {
  font-size: 16px;
  color: #817e7e;
}
.tos-sub span a {
  color: #046dde92;
  text-decoration: none;
}

@media (min-width: 768px) {
  .tos-title {
    font-size: 40px;
    padding: 30px 20px;
    margin-bottom: 40px;
  }
  .tos-sub {
    font-size: 24px;
  }
}

.tos-desc {
  text-align: justify;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

.tos-desc a {
  color: #046dde;
  text-decoration: none;
}

.tos-desc p {
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 16px;
}

.indent { 
  text-indent: 40px;
  text-align: justify;
  color: #333;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 20px;
}
.indent a {
  color: #046dde;
  text-decoration: none;
}
@media (min-width: 768px) {
.indent { 
  font-size: 18px;
  text-indent: 50px;
  line-height: 1.5;
}
.tos-desc {
  font-size: 18px;
  line-height: 1.5;
}
.tos-desc p {
  font-size: 18px;
}
}
.about-table {
  margin-top: 0;
  margin-bottom: 0;
}
.about-table a {
  color: #046dde;
  text-decoration: none;
}
.about-table td {
  padding: 1px 0;
  vertical-align: top;
}
.about-table td.label {
  width: 25px;
}
.about-table li {
  margin-left: 20px;
}
.priv-table {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 15px;
}
.priv-table li {
  margin-left: 20px;
}

.info-table {
  margin-top: 0;
  margin-bottom: 20px;
  margin-left: 15px;
}
.info-table td {
  padding: 1px 0;
  vertical-align: top;
}
.info-table td.label {
  width: 25px;
}

.info-table td.isi {
  width: auto;
}
.info-table li {
  margin-left: 20px;
}
.info-table hr {
  padding: 20px 0;
}
.info-table li a {
  color: #046dde;
  text-decoration: none;
}

.tos-back {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.5;
}
.tos-back a {
  color: #046dde;
  text-decoration: none;
}
@media (min-width: 768px) {
  .tos-back {
    font-size: 18px;
  }
}

/* ================================
    TABEL PROFIL
=============================== */
.section-profil {
  padding-top: 90px;
  padding-bottom: 60px;
}

.profil-content {
  margin-top: 20px;
  margin-bottom: 20px;
  text-decoration: none;
}

@media (min-width: 768px) {
 .section-profil {
  padding-left: 80px;
  padding-right: 80px;
}

.profil-content {
  margin-left: 80px;
  margin-right: 80px;
}
}

.profil-title {
  background: linear-gradient(120.3deg, #046ede 0%, #03d3fc 100%);
  padding: 20px 15px;
  margin: 0;
  text-align: center;
  color: white;
  font-size: 25px;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 2px #020202b8;
}

.profil-sub {
  padding-top: 5px;
  color: #046ede;
  font-size: 18px;
}
.profil-sub p {
  margin: 0;
  line-height: 1.3;
  font-weight: 600;
}
.profil-sub span {
  font-size: 16px;
  color: #817e7e;
}
.profil-sub span a {
  color: #046dde92;
  text-decoration: none;
}

@media (min-width: 768px) {
  .profil-title {
    font-size: 40px;
    padding: 30px 20px;
    margin-bottom: 40px;
  }
  .profil-sub {
    font-size: 24px;
  }
}

.profil-desc {
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

.profil-desc a {
  color: #046dde;
  text-decoration: none;
}

.profil-desc p {
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 16px;
}

@media (min-width: 768px) {
.profil-desc {
  font-size: 18px;
  line-height: 1.5;
}
.profil-desc p {
  font-size: 18px;
}
}

.profil-table {
  margin-top: 0;
  margin-bottom: 20px;
  margin-left: 15px;
}
.profil-table td {
  padding: 1px 0;
  vertical-align: top;
}
.profil-table td.no {
  width: 18px;
}
.profil-table td.label {
  width: 80px;
  padding-right: 4px;
}
.profil-table td.titik {
  width: 15px;
}
.profil-table td.isi {
  width: auto;
}
.profil-table td.isi a {
  color: #046dde;
  text-decoration: none;
}
@media (min-width: 768px) {
.profil-table {
  margin-left: 20px;
}
.profil-table td.label {
  width: 200px;
  }
}

/* ================================
    TABEL VISI-MISI
=============================== */
.visi-desc {
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

.visi-desc a {
  color: #046dde;
  text-decoration: none;
}

.visi-desc p {
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 16px;
}
.visi-desc span {
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 16px;
  color: rgb(6, 74, 14);
  font-style: italic;
}
@media (min-width: 768px) {
.visi-desc {
  font-size: 18px;
  line-height: 1.5;
}
.visi-desc p {
  font-size: 18px;
}
}

.visi-table {
  margin-top: 0;
  margin-bottom: 20px;
}
.visi-table td {
  padding: 1px 0;
  vertical-align: top;
}
.visi-table td.no {
  width: 20px;
}
.visi-table td.isi {
  width: auto;
}

/* ==================================================
   FOOTER
================================================== */

.footer {
  background: var(--color-midnight-text);
  color: white;
  padding-top: 30px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

/* GRID FOOTER — 3 kolom DESKTOP */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr; /* kiri - tengah - kanan */
  }
}

/* ------------------------------
   LOGO KIRI
------------------------------ */
.footer-logo {
  display: flex;
  justify-content: flex-start; /* kiri */
}

.footer-logo img {
  width: 260px;
}

/* ------------------------------
   MENU TENGAH
------------------------------ */
.footer-links {
  display: flex;
  justify-content: center; /* benar-benar tengah */
  gap: 25px;
  flex-wrap: wrap;
}

/* efek hover underline */
.footer-links a {
  position: relative;
  color: white;
  font-size: 18px;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background-color: white;
  transition: width 0.25s ease;
  border-radius: 2px;
}

.footer-links a:hover {
  color: #ffc400;
}

.footer-links a:hover::after {
  width: 100%;
}

/* ------------------------------
   SOSIAL MEDIA KANAN
------------------------------ */
.footer-social {
  display: flex;
  justify-content: flex-end; /* kanan */
  gap: 20px;
}

.footer-social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s;
}

.footer-social iconify-icon {
  font-size: 24px;
  color: white;
}

.footer-social a:hover {
  background: white;
}

.footer-social a:hover iconify-icon {
  color: black;
}


/* ------------------------------
   BOTTOM FOOTER
------------------------------ */
.footer-bottom {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
  font-size: 18px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }
}

/* Text copy */
.footer-copy {
  font-size: 18px;
}

/* MENU BAWAH */
.footer-menu {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .footer-menu {
    justify-content: flex-end;
  }
}

.footer-menu a,
.footer-copy a {
  color: white;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-copy a:hover {
  color: #ffd60a;
}

.divider {
  width: 2px;
  height: 20px;
  background: rgba(255,255,255,0.7);
}

/* =======================
   MOBILE CENTER FIX (≤767px)
======================= */
@media (max-width: 768px) {

  /* Semua kolom footer jadi 1 kolom rata tengah */
  .footer-container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  /* Logo tengah */
  .footer-logo {
    display: flex;
    justify-content: center !important;
  }

  /* Menu tengah */
  .footer-links {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Ikon sosial tengah */
  .footer-social {
    justify-content: center !important;
  }

  /* Footer bottom agar stack vertikal dan center */
  .footer-bottom {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* Menu bawah tengah */
  .footer-menu {
    justify-content: center !important;
  }

  /* Divider tetap rapi */
  .divider {
    margin: 0 auto !important;
  }
}

/* =======================
   LOADING OVERLAY
======================= */
/* Overlay putih blur */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

/* Wrapper ukuran 56x56 (w-14 h-14) */
.loader-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
}

/* Lingkaran biru */
.loader-blue {
  position: absolute;
  inset: 0;
  border: 4px solid #3b82f6; /* blue-500 */
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Lingkaran kuning (reverse spin) */
.loader-yellow {
  position: absolute;
  inset: 0;
  border: 4px solid transparent;
  border-top-color: #facc15; /* yellow-400 */
  border-radius: 50%;
  animation: spin-reverse 1.2s linear infinite;
}

/* Animasi */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}
