/* ========== Root & Reset ========== */
:root{
  --blue-700:#0B3D91;
  --blue-600:#1450B0;
  --blue-500:#2A66C7;
  --yellow-400:#FFD54A;
  --yellow-500:#FFC107;
  --bg:#ffffff;
  --text:#0e1a2b;
  --muted:#5b6b88;
  --surface:#f4f7fd;
  --ring: rgba(20,80,176,.25);
  --radius: 16px;
  --shadow: 0 6px 20px rgba(13, 39, 86, .1);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.7;
}

/* ========== Utilities ========== */
.container{
  width:min(1120px, 92%);
  margin-inline:auto;
}

.section{
  padding: clamp(48px, 6vw, 88px) 0;
}

.section--alt{
  background: var(--surface);
}

h1,h2,h3{
  line-height:1.2;
  margin:0 0 .6rem 0;
}
h1{ font-size: clamp(2rem, 4vw, 3rem); font-weight:800; letter-spacing:-0.02em; }
h2{ font-size: clamp(1.5rem, 2.8vw, 2.125rem); font-weight:800; letter-spacing:-0.01em; }
h3{ font-size: clamp(1.125rem, 2.2vw, 1.25rem); font-weight:700; }

p{ margin:0 0 1rem 0; }
.muted{ color:var(--muted); }

a{ color:var(--blue-600); text-decoration:none; color: inherit;
  transition: all 0.3s ease; /* biar smooth */ }
a:hover{ text-decoration:none;opacity: 0.85; }

.nav a {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #FFD700; /* kuning aksen */
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #FFD700; /* warna teks kuning saat hover */
}

.nav a:hover::after {
  width: 100%; /* underline animasi halus */
}






/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Kuning - Daftar Sekarang */
.btn--accent {
  background: #FFD700;
  border: 2px solid #FFD700;
  color: #222;
}

.btn--accent:hover {
  background: transparent;
  color: #222;
  border-color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Putih - Pelajari Lebih Lanjut */
.btn--outline {
  background: #fff;
  border: 2px solid #fff;
  color: #222;
}

.btn--outline:hover {

  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Scroll-to-top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0860D8; /* biru */
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  line-height: 40px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease; /* smooth */
  z-index: 100;
}

.scroll-top:hover {
  background: #FFD700; /* kuning */
  color: #222;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}









/*navbar hamburger*/
/* Hide default checkbox */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: var(--blue-700);
  height: 3px;
  width: 100%;
  border-radius: 3px;
  position: absolute;
  transition: 0.3s ease;
}

.nav-toggle-label span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-label span::before {
  content: '';
  top: -8px;
}

.nav-toggle-label span::after {
  content: '';
  top: 8px;
}

/* Mobile Nav */
@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 64px;
    right: 0;
    background: #fff;
    width: 220px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s ease;
    padding: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  }

  .nav a {
    margin: .5rem 0;
  }

  .nav-toggle:checked ~ .nav {
    transform: translateX(0);
  }

  .nav-toggle-label {
    display: block;
  }
}

/*Scroll to Top Button*/
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--blue-600);
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  line-height: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-decoration: none;
  transition: background 0.3s;
  z-index: 100;
}

.scroll-top:hover {
  background: var(--yellow-500);
  color: #222;
}




.btn{
  display:inline-block;
  padding:.9rem 1.15rem;
  border-radius: 999px;
  background: var(--blue-600);
  color:#fff;
  font-weight:700;
  letter-spacing:.2px;
  text-decoration:none;
  box-shadow: var(--shadow);
  border:2px solid transparent;
}
.btn:hover{ filter: brightness(1.05); text-decoration:none; }
.btn:focus{ outline: none; box-shadow: 0 0 0 6px var(--ring); }
.btn--accent{ background: linear-gradient(90deg, var(--yellow-500), var(--yellow-400)); color:#222; }
.btn--block{ display:block; width:100%; text-align:center; }
.btn--lg{ padding:1rem 1.35rem; font-size:1.05rem; }
.btn--sm{ padding:.55rem .9rem; font-size:.9rem; background:var(--blue-500); }

.tag{
  display:inline-block;
  font-weight:700;
  background:var(--blue-700);
  color:#fff;
  padding:.2rem .6rem;
  border-radius: 6px;
  margin-right:.5rem;
  font-size:.85rem;
}

/* ========== Header ========== */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: #fff;
  border-bottom:1px solid #e8eefc;
  backdrop-filter: saturate(140%) blur(6px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  min-height:64px;
}
.brand{
  display:flex; align-items:center; gap:.6rem;
  font-weight:800; color:var(--blue-700); text-decoration:none;
}
.brand-mark{ font-size:1.25rem; }
.brand-text{ font-size:1.1rem; letter-spacing:.3px; }
.nav{
  display:flex; flex-wrap:wrap; gap:.75rem 1rem;
}
.nav a{
  font-weight:600; color:#1c2b4a; padding:.5rem .4rem; border-radius:8px;
}
.nav a:hover{ background:none; text-decoration:none; }

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #002B5B; /* biru utama */
  font-weight: bold;
  font-size: 1.5rem;
}

.brand-mark img {
  width: 40px;   /* sesuaikan ukuran logo */
  height: auto;
  margin-right: 10px;
}

.brand-text {
  font-family: 'Poppins', sans-serif;
}


/*HERO slide*/
/* Hero Slideshow */
.hero {
  position: relative;
  height: 80vh; /* proporsional fullscreen */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Container slides */
.slider {
  position: absolute;
  inset: 0;
}

/* Slide image */
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 32s infinite; /* 4 slides x 8s each = 32s total */
}

/* Smooth fade + zoom */
@keyframes slideShow {
  0% { opacity: 0; transform: scale(1); }
  5% { opacity: 1; transform: scale(1); }
  25% { opacity: 1; transform: scale(1.08); } /* zoom-in */
  30% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; }
}

/* Delay tiap slide */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 8s; }
.slide:nth-child(3) { animation-delay: 16s; }
.slide:nth-child(4) { animation-delay: 24s; }

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 32s infinite;

  /* bikin foto lebih vivid dan agak kebiruan */
  filter: contrast(1.1) saturate(1.1) brightness(1.05) hue-rotate(-10deg);
}




/* Overlay navy (lebih tipis agar foto jelas) */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8,96,216,0.3), rgba(11,61,145,0.55));

  z-index: 1;
}

.hero-subtitle {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 0.2rem; /* lebih rapat ke title */
  line-height: 1.2;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 1rem; /* beri jarak agak besar ke akreditasi */
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0,0,0,0.7);
}

.hero-accreditation {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}








/* Hero content */
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}






/*tambahan hero*/

.hero-copy {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-accreditation {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Buttons side by side */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--accent {
  background: #FFD700; /* kuning */
  color: #222;
}

.btn--accent:hover {
  background: #e6c200;
}

.btn--outline {
  background: #fff; /* putih */
  color: #222;
  border: 2px solid #fff;
}




/*pure orbit css*/

.tagline-section {
  position: relative;
  padding: 2.5rem 1rem; /* lebih ringkas */
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0860D8, #0b3d91);
  overflow: hidden;
  background-attachment: fixed;

}

/* Orbit abstract circles */
.tagline-section::before,
.tagline-section::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,0.1); /* lebih halus */
  border-radius: 50%;
  animation: orbit 40s linear infinite;
  z-index: 0;
}

.tagline-section::before {
  width: 220px;
  height: 220px;
  top: -70px;
  left: -70px;
}

.tagline-section::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  right: -120px;
  animation-duration: 55s;
}

@keyframes orbit {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Tagline text */
.tagline-section p {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}




















/* ========== Cards, Layouts ========== */
.card{
  background:#fff;
  border:1px solid #e8eefc;
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 22px);
  box-shadow: var(--shadow);
}
.card.emphasis{
  border-color:#ffec9a;
  background: linear-gradient(180deg, #fffdf2, #ffffff);
}

.grid-2{
  display:grid; gap: clamp(16px, 3vw, 28px);
  grid-template-columns: 1fr;
}
@media (min-width: 860px){
  .grid-2{ grid-template-columns: 1.1fr .9fr; }
}

/* ========== Lists ========== */
.checklist li{
  list-style:none; position:relative; padding-left:28px; margin:.35rem 0;
}
.checklist li::before{
  content:"✔"; position:absolute; left:0; top:0; color:var(--yellow-500); font-weight:800;
}
.bullets{ padding-left:1.1rem; }
.bullets li{ margin:.4rem 0; }
.bullets.ordered{ padding-left:1.25rem; }

/* ========== Gallery ========== */
.gallery{
  display:grid; gap: clamp(12px, 2vw, 18px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.gallery-card{
  background:#fff; border:1px solid #e8eefc;
  border-radius: 14px; overflow:hidden; box-shadow: var(--shadow);
}
.gallery-card img{ display:block; width:100%; height:220px; object-fit:cover; }
.gallery-card figcaption{
  padding:.75rem .9rem; font-weight:600; color:#203157;
}
/* Galeri kegiatan  */
.gallery img {
  width: 100%;            /* ikut lebar container */
  height: 200px;          /* tinggi seragam */
  object-fit: cover;      /* crop rapi tanpa gepeng */
  border-radius: 10px;    /* sudut membulat */
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05); /* efek zoom saat hover */
}


/* ========== Features (Fasilitas) ========== */
.features{
  display:grid; gap: clamp(12px, 2vw, 18px);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.feature{
  background:#fff; border:1px solid #e8eefc; border-radius:14px; padding:18px; text-align:center;
  box-shadow: var(--shadow);
}
.icon{
  width:56px; height:56px; margin:0 auto 10px; border-radius:14px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  display:grid; place-items:center;
}
.icon svg{ width:28px; height:28px; fill:#fff; }

/* ========== Key-Value (Sistem & Pendaftaran) ========== */
.kv{ margin:0; }
.kv > div{
  display:grid; grid-template-columns: 140px 1fr; gap:.75rem;
  padding:.5rem 0; border-bottom:1px dashed #e2e8f7;
}
.kv > div:last-child{ border-bottom:none; }
.kv dt{ font-weight:800; color:#1b2c52; }
.kv dd{ margin:0; }

/* ========== Programs ========== */
.programs{
  display:grid; gap: clamp(16px, 2.4vw, 24px);
  grid-template-columns: 1fr;
}
@media (min-width: 860px){
  .programs{ grid-template-columns: 1fr 1fr; }
}
.program{
  padding:20px;
  border:1px solid #e8eefc; border-radius:14px; background:#fff; box-shadow: var(--shadow);
}

/* ========== Faculty ========== */
.faculty{
  display:grid; gap:.6rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding:0; margin: 14px 0 0 0; list-style:none;
}
.faculty li{
  padding:12px 14px; border:1px solid #e8eefc; border-radius:12px; background:#fff;
}

/* ========== Contact & Map ========== */
.map-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* otomatis responsif */
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}




.contact{ list-style:none; padding:0; margin:0; display:grid; gap:.6rem; }
.map-card{ display:grid; gap:.5rem; }
.map-embed{
  border-radius: 14px; overflow:hidden; border:1px solid #e8eefc; box-shadow: var(--shadow);
  aspect-ratio: 16 / 9; background:#eef4ff;
}
.map-embed iframe{ width:100%; height:100%; border:0; }

/* ========== Footer ========== */
.site-footer{
  padding:28px 0;
  background: linear-gradient(180deg, #0b3d91, #0a316e);
  color:#e9f0ff;
  border-top:4px solid var(--yellow-500);
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  width:min(1120px, 92%); margin-inline:auto;
}
.site-footer a{ color:#fff; }

/* ========== Responsive Tweaks ========== */
@media (max-width: 760px){
  .nav a{ padding:.35rem .45rem; }
  .kv > div{ grid-template-columns: 120px 1fr; }
  .gallery-card img{ height:190px; }
}

@media (prefers-reduced-motion: no-preference){
  .btn, .feature, .gallery-card, .program, .card{
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  }
  .feature:hover, .gallery-card:hover, .program:hover, .card:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13,39,86,.14);
  }
}
/* Default (mobile & tablet) */
.hero {
  position: relative;
  height: 100vh; /* tetap full layar */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Untuk layar besar (desktop/laptop) */
@media (min-width: 1200px) {
  .hero {
    height: 73vh; /* lebih pendek supaya tagline ikut kelihatan */
  }
}

/* ===== Scroll-to-top ===== */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0860D8;
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  line-height: 40px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 100;
}

.scroll-top:hover {
  background: #FFD700;
  color: #222;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}