* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
background-color: #f5f7fb;
}

html {
  scroll-behavior: smooth;
}

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  z-index: 999;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  -webkit-transition: background 0.3s ease, box-shadow 0.3s ease;
  -moz-transition: background 0.3s ease, box-shadow 0.3s ease;
  -ms-transition: background 0.3s ease, box-shadow 0.3s ease;
  -o-transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.transparent {
  background: transparent;
}
.navbar.scrolled {
  background: #0b5ed7;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-logo img {
  height: 36px;
}


.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 42px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.school-name {
  font-weight: 600;
  font-size: 15px;
}

.nav-menu {
  display: flex;
  gap: 44px;
  margin-left: auto;
}
.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-menu a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 60px 60px;
  min-height: calc(100vh - 80px);
  background: linear-gradient(135deg, #0b4cc1, #4aa3ff);
  color: white;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 560px;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 32px;
}

/* BUTTON */
.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #ffd600;
  color: #1a1a1a;
}

.btn-primary:hover {
  background-color: #ffea00;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.15);
}

/* HERO IMAGE */
.hero-image {
  position: relative;
  right: 60px;
  flex-shrink: 0;
  width: 420px;
  height: 420px;
  top: unset;
  right: unset;
  transform:none ;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255,255,255,0.8);
  -webkit-transform:none ;
  -moz-transform:none ;
  -ms-transform:none ;
  -o-transform:none ;
}

.hero-image img {
  width: 420px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.6);
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .navbar {
    padding: 16px 24px;
  }

  .hero {
    padding: 60px 24px;
  }
}

/* INFORMASI PPDB */
.ppdb-info {
  padding: 80px 60px 110px;
  background: linear-gradient(135deg, #0b4cc1, #4aa3ff);
  color: white;
  text-align: center;
}

.ppdb-info h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 50px;
}

.info-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.info-card {
  background: white;
  color: #1a1a1a;
  width: 420px;
  padding: 32px 30px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  text-align: left;
  margin-top: 50px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #0b4cc1;
  margin-bottom: 20px;
  justify-content: center;
  text-align: center;
}

.card-title .icon {
  font-size: 20px;
}

.info-card ul {
  list-style: disc;
  padding-left: 18px;
}

.info-card ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .ppdb-info {
    padding: 60px 24px;
  }

  .info-card {
    width: 100%;
  }
}

/* ALUR PENDAFTARAN */
.alur-pendaftaran {
  padding: 80px 60px 230px;
  background: linear-gradient(135deg, #0b4cc1, #4aa3ff);
  color: white;
  text-align: center;
}

.alur-pendaftaran h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 60px;
}

.alur-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 150px;
}

/* CARD */
.alur-card {
  background: white;
  color: #1a1a1a;
  width: 220px;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  position: relative;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b4cc1;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.alur-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.alur-card p {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

/* PANAH */
.arrow {
  font-size: 28px;
  font-weight: bold;
  color: white;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .alur-container {
    flex-direction: column;
  }

  .arrow {
    transform: rotate(90deg);
  }
}

/* FOOTER */
.footer {
  background-color: #e9f2ff;
  color: #000;
  margin-top: 0px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px;
}

.footer h3,
.footer h4 {
  font-weight: 700;
  margin-bottom: 12px;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-about p {
  max-width: 280px;
}

.social-icons {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.social-icons a {
  font-size: 22px;
  text-decoration: none;
}

/* LINKS */
.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-location a {
  color: #000;
  text-decoration: none;
}

.footer-location a:hover {
  text-decoration: underline;
}

/* BOTTOM */
.footer-bottom {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
}

/* =================================
   NAVBAR MOBILE (WAJIB PALING BAWAH)
================================= */

.menu-toggle {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0b5ed7;
    width: 100%;
    flex-direction: column;
    gap: 0;
    display: none;
    text-align: center;
    padding: 20px 0;
  }

  .nav-menu a {
    padding: 12px 0;
    display: block;
  }

  .nav-menu.active {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-image {
    width: 280px;
    height: 280px;
    margin: 0 auto; 
  }

  .hero-image img {
    width: 100%;
    height: 100%;
  }
}