@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --text-color: #111616;
  --background-color: #fbfbfe;
  --primary-color: #2c4586;
  --secondary-color: #2c3890;
  --accent-color: #fc8b4f;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  text-decoration: none !important;
}

::-webkit-scrollbar {
  display: none;
}

/* Header */
/* ===================== */
/* ======= NAVBAR ====== */
/* ===================== */
.custom-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  background-color: rgba(163, 200, 230, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.custom-nav .nav-link {
  font-size: 1.1rem;
  padding: 10px 30px;
  color: #333;
  transition: color 0.3s;
}

.custom-nav .nav-link:hover,
.custom-nav .nav-link.active {
  color: #0F67B1;
  font-weight: 600;
  border-bottom: 2px solid #0F67B1;
}

.nav-link.active {
  font-weight: bold;
  color: #0F67B1 !important;
}

/* Dropdown muncul saat hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* biar posisi tetap rapi */
}

.nav-item.dropdown .dropdown-menu {
  display: none;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
}
/* Login */
.modal-content {
  max-width: 375px;
  margin:0 auto;
}
.modal-header {
  border-bottom: none;
  text-align: center;
}
.modal-title {
  font-size:1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--primary-color);
}
.btn-close:focus {
  outline: none;
  box-shadow: none;
}
.modal-body input {
  width:100%;
  margin:0 auto;
  padding:0.5rem;
  border-radius:5px;
  border:1px solid #ccc;
}
.modal-body button {
  width:100%;
  margin:0 auto;
  padding:0.5rem;
  border-radius:5px;
  border:1px solid #ccc;
  background-color: var(--primary-color);
}
.modal-body a {
  font-weight:bold;
  color:black;
}
/* Hero Section */
.hero {
  background: url("assets/coversmp.png") no-repeat center center;
  background-size: cover;
  background-position-y: -15rem;
  max-height: 100vh;
  position: relative;
}
.hero-title, .hero-desc {
  opacity: 0;
  transform: scale(0.8);
  /* animation: popIn 1s ease-out forwards;  <-- dihapus */
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}




.hero .container {
  padding-top: 12.5rem;
  padding-bottom: 18rem;
  display: grid;
  place-items: center;
}

.text__container {
  color: white;
  text-align: center;
  display: grid;
  place-items: center;
}

.text__container h1 {
  font-size: 5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.521);
}

.text__container h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 1.5rem;
  opacity: 0.9;
  max-width: 75%;
}

.steps__container {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.068);
  backdrop-filter: blur(10px);
  border-radius: 99rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.step {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
}

.step h5 {
  margin: 0;
  color: #fff;
}

.step i {
  color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 50%;
  padding: 0.5rem;
}

/* SVG */
svg { 
  position: absolute;
  bottom: -5rem; 
  left: 0; 
  width: 100%; 
  height: 0.1rem;   /* ✅ pakai titik */
  fill: #fff;
  overflow-x: hidden; /* cegah geser horizontal */
}

/* Testimonial */
.testimonial {
  z-index: 99;
  position: relative;
  top: -3rem;
  margin-top: 8rem;
}

.testimonial .container-fluid {
  padding: 1rem 0;
}

.testimonial h1 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #a8a8a8;
}

.testimonial__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  place-items: center;
}

.testimonial__content {
  width: 150px;
}

.testimonial__content img {
  width: 100%;
  height: 100%;
  filter: contrast(0.025);
  transition: all 0.4s ease;
}

.testimonial__content img:hover {
  filter: contrast(1);
}

@media (max-width: 767px) {
  .testimonial__wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial__content {
    width: 100%; 
    max-width: 200px;
  }

  .testimonial h1 {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .testimonial__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .testimonial__wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Pindahkan indikator ke bawah box */
.testimonial-box .carousel-indicators {
  position: absolute;
  bottom: -30px; /* geser ke bawah box */
  top: auto; /* pastikan tidak terikat top */
}

/* Ubah warna indikator jadi biru */
.testimonial-box .carousel-indicators [data-bs-target] {
  background-color: #2c3890; /* biru sesuai tema */
}

.book__container {
  margin: 0 auto;
  margin-top: 3rem;
  padding: 0 1rem;
}

.book__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-secondary);
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  position: relative;
  border: 1px solid var(--primary-color);
  flex-wrap: wrap
}

.book__text {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 300px;
}

.book__text h3 {
  text-align: center;
}

.book__text .text-active {
  position: relative;
  animation: slideDown 0.5s ease-in-out forwards;
  width: max-content;
}

.book__text .text-after-active {
  position: absolute;
  opacity: 0;
  animation: slideUp 0.5s ease-in-out forwards;
}

.book__button {
  border: none;
  background: var(--primary-color);
  color: #fff;
  border-radius: 99rem;
  padding: 0.75rem 2rem;
  border-bottom: 0.25rem solid transparent;
  transition: all 0.4s ease;
  text-align: center;
}

.book__button:hover {
  background: var(--primary-color);
  border-bottom: 0.25rem solid #5a6237;
}

@media (max-width: 768px) {
  .book__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .book__text {
    width: 80%;
  }

  .book__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .book__text h3 {
    font-size: 1.2rem; 
  }

  .book__button {
    padding: 0.75rem 1.5rem; 
  }
}

@media (max-width: 320px) {
  .book__text .text-active {
    margin-left: -0.5rem;
    font-size: 1rem;
  }
}


.destination .container {
  display: grid;
  place-items: center;
  margin-top: 5rem;
}

.section__title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 5rem;
  width: 100%;
  margin-bottom: 3rem;
}

.section__title h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.section__title h1 {
  color: var(--text-color);
  width: max-content;
}

.section__title .section__title__sub {
  width: 35%;
}

.section__title h4 {
  color: #a8a8a8;
  width: 100%;
  text-align: justify;
}

.destination__wrapper {
  display: grid;
  place-items: center;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}

.destination__content {
  position: relative;
  border-radius: 2px;
  padding: 2rem 1rem;
  width: 100%;
  height: 450px;
  display: grid;
  overflow: hidden;
}

.destination__content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  filter: contrast(1.1);
  transition: all 0.4s ease;
}

.destination__content:hover img {
  transform: scale(1.05);
}

.destination__details {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
}

.destination__content h4 i {
  color: rgb(255, 180, 42);
  font-size: 0.9rem;
  vertical-align: middle;
  margin-right: 0.3rem;
}

.destination__content h4 {
  color: #fff;
  padding: 0.5rem 1rem;
  margin: 0;
  background: rgba(0, 0, 0, 0.821);
  backdrop-filter: blur(10px);
  border-radius: 99rem;
  justify-self: flex-end;
  align-self: flex-start;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  margin: 1rem;
}

.destination__content h4 i {
  vertical-align: top;
}

.destination__text {
  align-self: flex-end;
  background: rgba(0, 0, 0, 0.477);
  backdrop-filter: blur(1px);
  position: absolute;
  width: 100%;
  padding: 0.5rem 1rem;
}

.destination__text h3 {
  color: #fff;
  letter-spacing: 1px;
}

.destination__text p {
  color: #fff;
  margin: 0;
}

.destination__text p i {
  font-size: 1.25rem;
  color: var(--primary-color);
  vertical-align: middle;
  padding-right: 5px;
}

.destination__info {
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 100%;
  display: grid;
  justify-content: space-between;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.115);
  color: white;
  padding: 20px;
  text-align: left;
}

.destinations__title {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.destinations__title i {
  color: var(--primary-color);
}

.destinations__title h3 {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta {
  border: none;
  background: var(--primary-color);
  color: #fff;
  border-radius: 99rem;
  padding: 0.75rem 2rem;
  margin-top: 2rem;
  border-bottom: 0.25rem solid transparent;
  transition: all 0.4s ease;
  text-align: center;
}

.cta:hover {
  background: var(--primary-color);
  border-bottom: 0.25rem solid #5a6237;
}

@media (max-width: 1200px) {
  .section__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section__title .section__title__sub {
    width: 100%;
  }

  .section__title h1 {
    width: 100%;
  }

  .destination__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .destination__content:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 992px) {
  .section__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .section__title .section__title__sub {
    width: 100%;
  }

  .section__title h1 {
    width: 100%;
  }

  .destination__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .destination__content:last-child {
    grid-column: 1 / -1;
    max-width: 100%;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .destination__wrapper {
    grid-template-columns: 1fr;
  }

  .section__title {
    flex-direction: column;
    gap: 1rem;
  }

  .destination__content {
    height: 300px;
  }

  .destination__content h4 {
    font-size: 1rem;
  }

  .destination__text {
    padding: 0.3rem 0.5rem;
  }

  .cta {
    padding: 0.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .destination__wrapper {
    gap: 2rem;
  }

  .destination__content {
    padding: 1rem;
  }

  .destination__text h3 {
    font-size: 1.1rem;
  }

  .destination__text p {
    font-size: 0.9rem;
  }
}

/* Packages */
.packages {
  margin-top: 8rem;
}

.packages .container {
  display: grid;
  place-items: center;
}

.packages__wrapper {
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.packages__content {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.205);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%; 
  position: relative;
  overflow: hidden;
}

.packages__content:hover .packages__image img {
  transform: scale(1.05);
}

.packages__image {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  height: 250px;
  overflow: hidden;
}

.packages__image img {
  width: 100%;
  height: 100%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  object-fit: cover;
  transition: all ease .4s;
}

.packages__content h3 {
  padding: 0 0.5rem;
  font-size: 1.6rem;
  color: var(--text-color);
  letter-spacing: 0.5px;
  font-weight: 600;
}

.packages__content h3, .packages__content p, .packages__content .packages__details, .packages__content .packages__price {
  padding: 0 1rem;
}

.packages__content p {
  font-size:1rem;
  color:#a8a8a8;
}

.packages__details {
  display: flex;
  gap: 1rem;
}

.packages__details div {
  border-right: 2px solid rgba(192, 192, 192, 0.219);
}

.packages__details div:last-child {
  border: none;
}

.packages__details div h5, .packages__details div i {
  font-size: 1rem;
  color: var(--primary-color);
}

.packages__price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.5rem;
  margin-bottom: 3rem;
}

.packages__price h5 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color)
}

.packages__price h5 span {
  font-size: 1.1rem;
  color: var(--text-color);
}

.packages__price button {
  border: none;
  background: var(--primary-color);
  color: #fff;
  border-radius: 99rem;
  padding: 0.75rem 2.25rem;
  transition: all ease .4s;
}

.packages__price button:hover {
  background: var(--accent-color);
}

.packages__order {
  position: absolute;
  background-color: var(--primary-color);
  bottom: -30px;
  width: 100%;
  padding: 0.25rem 0;
  transition: bottom 0.4s ease, background-color 0.4s ease;
}

.packages__content:hover .packages__order {
  bottom: -5px;
  background-color: var(--primary-color);
}


.packages__order * {
  color: #fff;
  text-align: center;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .packages__wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
  }

  .packages__content {
    max-width: 400px;
    width: 100%;
  }

  .packages__image {
    height: 180px;
  }

  .packages__content h3 {
    font-size: 1.4rem;
    text-align: center;
  }

  .packages__details {
    gap: 0.8rem;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .packages__price {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .packages__price h5 {
    font-size: 1.4rem;
  }
}


@media (max-width: 768px) {
  .packages__wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
  }

  .packages__content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .packages__content p {
    text-align: center;
  }

  .packages__image {
    height: 200px;
  }

  .packages__content h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  .packages__details {
    gap: 0.5rem;
    justify-content: space-around;
  }

  .packages__price {
    flex-direction: column;
    gap: 1rem;
  }

  .packages__price h5 {
    font-size: 1.3rem;
  }

  .packages__price button {
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
  }
}


@media (max-width: 480px) {
  .packages {
    margin-top: 4rem;
    padding: 0 1rem;
  }
  
  .packages__content h3 {
    font-size: 1rem;
    text-align: center;
  }
  
  .packages__details {
    gap: 0.5rem;
  }
  
  .packages__details div h5, 
  .packages__details div i {
    font-size: 0.85rem;
  }
  
  .packages__price h5 {
    font-size: 1.2rem;
  }
  
  .packages__price h5 span {
    font-size: 0.9rem;
  }
  
  .packages__price button {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .packages__image {
    height: 180px;
  }
}

/* Process */
.process {
  margin-top: 8rem;
}

.process__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.process__image {
  height: 750px;
}

.process__image img {
  width: 100%;
  object-fit: cover;
  height: 100%;
  border-radius: 1rem;
}

.process__content {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
}

.process__details {
  position: absolute;
  bottom: 0.5rem;
  padding: 0 1rem;
}

.process__details p {
  color: #ffffffd2;
  margin-top: 1rem;
  text-align: center;
  letter-spacing: 0.25px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.process__details__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.034);
  backdrop-filter: blur(5px);
  border-radius: 99rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0rem;
  padding-left: 1rem;
}

.process__details__content {
  display: flex;
  align-items: center;
  padding-right: 1rem;
  border-right: 2px solid rgb(87, 87, 87);
}

.process__details__content:last-child {
  border: none;
  padding-right: 0.5rem;
}

.process__details__content h5 {
  color: #b4b2b2;
  font-size: 1rem;
  font-weight: 300;
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  margin-right: 0.5rem;
}

.process__details__content h5 i {
  margin-right: 0.3rem;
  vertical-align: middle;
  color: #b4b2b2;
  font-size: 1rem;
}

.process__details__content i {
  color: #f5f5f5c9;
  cursor: pointer;
  font-size: 0.8rem;
}

.process__details__content button {
  border: none;
  background: var(--primary-color);
  color: #fff;
  border-radius: 99rem;
  padding: 0.5rem 1.5rem;
  transition: all 0.4s ease;
}

.process__content .section__title h1 {
  font-size: 3rem;
}

.process__steps__wrapper {
  display: grid;
  gap: 2rem;
}

.process__steps__content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.process__steps__content .icon__wrapper {
  padding: 1.2rem;
  border: 3px solid var(--secondary-color);
  box-shadow: 0 3px 9px rgba(44, 44, 44, 0.11);
  border-radius: 50%;
}

.process__steps__content i {
  font-size: 2rem;
  color: var(--primary-color);
}

.process__steps__text h3 {
  color: var(--text-color);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.process__steps__text p {
  color: #a8a8a8;
  font-weight: 500;
  letter-spacing: 0.5px;
}

@media (max-width: 1200px) {
  .process__image {
    height: 650px;
  }

  .process__content .section__title h1 {
    font-size: 2.5rem;
  }

  .process__steps__content i {
    font-size: 1.8rem;
  }

  .process__steps__content .icon__wrapper {
    padding: 1rem;
  }
}

@media (max-width: 992px) {
  .process__wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process__content:nth-child(1) {
    order: 2;
  }

  .process__image {
    height: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .process__content .section__title h1 {
    font-size: 2.2rem;
  }

  .process__steps__wrapper {
    margin: 0 auto;
  }

  .process__steps__content {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .process {
    margin-top: 6rem;
  }

  .process__image {
    height: 400px;
  }

  .process__steps__content .icon__wrapper {
    padding: 0.8rem;
  }

  .process__steps__content i {
    font-size: 1.5rem;
  }

  .process__steps__text h3 {
    font-size: 1.2rem;
  }

  .process__steps__text p {
    font-size: 0.9rem;
  }

  .process__steps__wrapper {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .process {
    margin-top: 4rem;
  }

  .process__image {
    height: 350px;
  }

  .process__content .section__title h1 {
    font-size: 1.8rem;
  }

  .process__content .section__title h3 {
    font-size: 1.1rem;
  }

  .process__steps__content {
    gap: 1rem;
  }

  .process__steps__content .icon__wrapper {
    padding: 0.6rem;
  }

  .process__steps__content i {
    font-size: 1.3rem;
  }

  .process__steps__text h3 {
    font-size: 1.1rem;
  }

  .process__steps__text p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .process__steps__wrapper {
    gap: 1.2rem;
  }
}

/* Why Us */
.why-us {
  margin-top: 8rem;
  
}

.why-us-wrapper {
  display: grid;
  place-items: center;
  gap: 2rem;
  position: relative;
}

.why-us-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  align-items: center;
  gap: 15rem;
  position: relative;
}

.why-us-image {
  height: 450px;
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-radius: 2rem;
}

.why-us-image img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.why-us-text {
  display: grid;
  gap: 1rem;
}

.why-us-text h3 {
  color: var(--text-color);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.why-us-text p {
  color: var(--text-color);
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 400;
  text-align: justify;
}

.timeline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
}

.timeline__point {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.75rem;
  height: 1.75rem;
  border: 5px solid #a5c2e8;
  padding: 0.5rem;
  background: var(--primary-color);
  border-radius: 50%;
  z-index: 99;
}

@media (max-width: 1200px) {
  .why-us-content {
    gap: 8rem;
  }
  
  .why-us-image {
    height: 400px;
  }
  
  .why-us-text h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 992px) {
  .why-us {
    margin-top: 6rem;
  }

  .why-us-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .why-us-image {
    height: 350px;
    padding: 2rem;
    order: 1;
  }

  .why-us-text {
    order: 2;
  }

  .why-us-text p {
    text-align: center;
  }

  .timeline,
  .timeline__point {
    display: none;
  }
}

@media (max-width: 768px) {
  .why-us-image {
    height: 300px;
    padding: 1rem;
  }

  .why-us-text h3 {
    font-size: 1.5rem;
  }

  .why-us-text p {
    font-size: 0.9rem;
  }

  .review__text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .why-us {
    margin-top: 4rem;
  }

  .why-us-image {
    height: 250px;
    padding: 0.5rem;
  }

  .why-us-text h3 {
    font-size: 1.3rem;
  }

  .quote__container {
    font-size: 1.5rem;
  }
}


/* Reviews */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial__heading {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #2c4586;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0; /* Supaya animasi muncul saat load */
}


.review__container {
  margin-top: 3rem;
}

.review__wrapper {
  display: flex;
  gap: 20rem;
}

.review__content:nth-child(1) h4,
.review__content:nth-child(1) p {
  width: max-content;
}

.review__content:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.arrow__container {
  display: flex;
  gap: 1rem;
}

.arrow__container {
  margin-bottom: 1rem;
}

.arrow__container * {
  font-size: 1.3rem;
  cursor: pointer;
}

.arrow__container .active {
  color: var(--text-color);
}

.arrow__container .inactive {
  color: #a8a8a8;
}

.review__profile {
  display: flex;
  gap: 1rem;
}

.review__name * {
  margin: 0;
}

.review__name h4 {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 600;
}

.review__name p {
  color: #464444;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.review__image {
  width: 60px !important;
  height: 60px;
  border-radius: 50%;
}

.review__image img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.review__content:nth-child(2) {
  position: relative;
}

.quote__container {
  position: absolute;
  top: -4rem;
  left: -1rem;
}

.quote__container i {
  font-size: 7rem;
  color: #a8a8a82a;
  z-index: -99;
}

.review__text {
  z-index: 99;
}

.review__text p {
  font-weight: 400;
  color: var(--text-color);
  letter-spacing: 0.5px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}





@media (max-width: 480px) {
  .carousel-indicators {
    top: 17rem;
  }
}
.carousel-inner img {
  max-height: 500px; /* atau tinggi yang kamu mau */
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-indicators {
    top: 17rem;
  }
}

/* Add responsive styles */
@media (max-width: 1200px) {
  .review__wrapper {
    gap: 10rem;
  }
}

@media (max-width: 992px) {
  .review__wrapper {
    gap: 5rem;
  }
  
  .quote__container i {
    font-size: 5rem;
  }
}

@media (max-width: 768px) {
  .review__wrapper {
    flex-direction: column;
    gap: 3rem;
  }

  .review__content:nth-child(1) h4,
  .review__content:nth-child(1) p {
    width: auto;
  }

  .review__content:nth-child(1) {
    flex-direction: row;
    align-items: center;
  }

  .arrow__container {
    margin: 0;
    padding: 0 1rem;
  }
  
  .quote__container {
    top: -3rem;
  }
  
  .review__text p {
    -webkit-line-clamp: 8;
  }
}

@media (max-width: 480px) {
  .review__container {
    margin-top: 2rem;
  }
  
  .review__name h4 {
    font-size: 1.2rem;
  }
  
  .review__name p {
    font-size: 0.9rem;
  }
  
  .review__image,
  .review__image img {
    width: 50px !important;
    height: 50px;
  }
  
  .quote__container i {
    font-size: 4rem;
  }
  
  .arrow__container * {
    font-size: 1.1rem;
  }
}

/* FAQ */
.faq {
  margin-top: 8rem;
  padding: 0 1rem;
}

.faq__wrapper {
  display: grid;
  gap: 2rem;
}

.faq__content {
  display: grid;
  padding-bottom: 1rem;
  border-bottom: 2px solid #c5c5c57a;
}

.faq__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq__title h3 {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.faq__title button {
  background: none;
  border: 3px solid var(--secondary-color);
  border-radius: 99rem;
  flex-shrink: 0;
}

.faq__title button i {
  color: var(--primary-color);
  padding: 0.6rem;
  font-size: 1.25rem;
}

.faq__answer {
  max-width: 95%;
  overflow-y: hidden;
  max-height: 0;
  transition: all 0.4s ease;
}

.faq__answer p {
  color: #a8a8a8;
  font-size: 1rem;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.faq-button i {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-button i.fa-minus {
  transform: rotate(180deg);
}

.faq-button i.fa-plus {
  transform: rotate(0deg);
}

.faq__content:last-child {
  border: none;
}

@media (max-width: 768px) {
  .faq {
    margin-top: 4rem;
  }

  .faq__title h3 {
    font-size: 1.25rem;
  }

  .faq__title button i {
    padding: 0.5rem;
    font-size: 1rem;
  }

  .faq__answer p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .faq {
    margin-top: 3rem;
  }

  .faq__wrapper {
    gap: 1.5rem;
  }

  .faq__title h3 {
    font-size: 1.1rem;
  }

  .faq__title button {
    border-width: 2px;
  }

  .faq__title button i {
    padding: 0.4rem;
    font-size: 0.9rem;
  }

  .faq__answer {
    max-width: 100%;
  }

  .faq__answer p {
    font-size: 0.8rem;
  }
}


/* Contact Us */
.contact {
  margin: 8rem 0;
  padding: 0 1rem;
}

.ouroffices {
  background-color: white;
}

.ouroffices {
  margin-top: 8rem;
}

.contact__container {
  background-color: transparent;
  border-radius: 1rem;
  display: grid;
  gap: 1rem;
  position: relative;
}

.contact__container * {
  color: #070707;
  margin: 0;
}

.contact__container h3 {
  font-weight: 700;
  font-size: 2.75rem;
  letter-spacing: 1px;
  line-height: 1.2;
}

.contact__container p {
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.contact__details {
  display: grid;
  gap: 0.25rem;
}

.contact__button {
  margin-top: 1rem;
}

.contact__button button {
  border: none;
  background: var(--primary-color);
  color: #fff;
  border-radius: 99rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.75rem 2.25rem;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  cursor: pointer;
}

.contact__button button:hover {
  transform: scale(1.025);
}

.contact__details span {
  font-weight: bold;
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .contact {
    margin: 6rem 0;
  }

  .contact__container {
    padding: 2rem;
    padding-top: 4rem;
    padding-bottom: 7rem;
  }

  .contact__container h3 {
    font-size: 2.25rem;
  }

  .contact__button {
    left: 0;

  }
}

@media (max-width: 768px) {
  .contact {
    margin: 4rem 0;
  }

  .contact__container {
    padding: 1.5rem;
    padding-top: 3rem;
  }

  .contact__container h3 {
    font-size: 1.75rem;
  }

  .contact__container p {
    font-size: 0.95rem;
  }

  .contact__button button {
    padding: 0.6rem 2rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .contact {
    margin: 3rem 0;
  }
}
  .contact__container {
    padding: 1.25rem;
    padding-top: 2rem;
    padding-bottom: 5rem;
  }

  .contact__container h3 {
    font-size: 1.5rem;
  }

  .contact__container p {
    font-size: 0.9rem;
  }

  .contact__button {
    position: static;
    padding: 0;
    margin-top: 1rem;
    background-color:#00ff62;
  }

  .contact__button button {
    width: 100%;
    padding: 0.75rem;
    
    
  }
  
/* =========================== */
/* ========= FOOTER ========== */
/* =========================== */
footer {
  background-color: #0F67B1; /* Lebih gelap dari bg-dark agar elegan */
  color: #f1f1f1;
  font-size: 15px;
  line-height: 1.7;
}

footer h5 {
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
}

footer p, footer a {
  color: #dcdcdc;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer img {
  width: 60px;
}

footer .bi {
  vertical-align: middle;
  margin-right: 6px;
}

footer .social-icons a {
  color: #dcdcdc;
  transition: color 0.3s ease;
}

footer .social-icons a:hover {
  color: #ffffff;
}

/* Batas garis di atas copyright */
footer hr {
  border-top: 1px solid #444;
  margin-top: 30px;
  margin-bottom: 20px;
}
/* Atur baris footer jadi flex */
.footer .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Biar tiap kolom menempel sesuai */
.footer .col-lg-4 {
  text-align: left;
}

.footer .col-lg-2 {
  text-align: center;
}

.footer .col-lg-3 {
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  .footer .row {
    flex-direction: column;
    text-align: center;
  }
}
/* Geser copyright sedikit ke kanan */
.footer .text-center {
  transform: translateX(50px); /* bisa atur 10px, 15px, 20px sesuai pasnya */
}
/* Bikin ikon & link sosmed putih */
.footer .social-icon i {
  color: #ffffff !important;
}

/* Bikin semua teks link di footer putih */
.footer a {
  color: #ffffff !important;
}

/* Kalau mau hover tetap putih (atau bisa kasih efek lain) */
.footer a:hover,
.footer .social-icon i:hover {
  color: #f5f5f5 !important; /* agak abu terang */
}
/* Ubah judul footer jadi putih */
.footer h4,
.footer h5 {
  color: #ffffff !important;
}

/* Ubah teks khusus di footer jadi putih */
.footer p,
.footer span {
  color: #ffffff !important;
}

/* Kalau mau link email juga putih */
.footer .social__container p span,
.footer .social__container p {
  color: #ffffff !important;
}


/* Responsive padding dan text align */
@media (max-width: 768px) {
  footer {
    text-align: center;
  }

  footer .text-md-start,
  footer .text-md-center,
  footer .text-md-end {
    text-align: center !important;
  }

  footer .social-icons {
    justify-content: center !important;
  }
  
}

@media (max-width: 1440px) {
  .hero {
    background-position-y: 0;
  }

  .hero .container {
    padding-top: 10rem;
    padding-bottom: 15rem;
  }

  .testimonial {
    margin-top: 3rem;
  }

  .text__container h1 {
    font-size: 4rem;
  }

  .text__container h3 {
    font-size: 1.25rem;
    max-width: 85%;
  }

  .steps__container {
    margin-top: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .hero .container {
    padding-top: 8rem;
    padding-bottom: 12rem;
  }

  .testimonial {
    margin-top: 4rem;
  }

  .text__container h1 {
    font-size: 3.5rem;
  }

  .text__container h3 {
    font-size: 1.15rem;
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .hero {
    background-position: center;
  }

  .hero .container {
    padding-top: 6rem;
    padding-bottom: 10rem;
  }

  .text__container h1 {
    font-size: 3rem;
  }

  .text__container h3 {
    font-size: 1rem;
    max-width: 95%;
    margin-top: 1rem;
  }

  svg {
    bottom: -0.5rem;
  }

  .step {
    padding: 0.75rem 1.5rem;
  }

  .step h5 {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero .container {
    padding-top: 5rem;
    padding-bottom: 8rem;
  }

  .text__container h1 {
    font-size: 2rem;
  }

  .text__container h3 {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .steps__container {
    display: none;
  }
}

/* VISI MISI */

/* Reset dasar */
body {
/* Default background untuk semua halaman */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff; /* putih default */
}
  
/* Khusus untuk halaman visi */
body.visi-page {
    background-color: #00ff62; /* Warna hijau khusus halaman visi */
}


/* Container utama */
main.container {
    background: #fff;
    max-width: 1100px;
    margin: 50px auto;
    padding: 50px 40px;
    border-radius: 40px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* Judul halaman */
main.container h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #15083b;
    margin-bottom: 40px;
}

/* Subjudul */
main.container h2 {
    color: #15083b;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Paragraf visi */
main.container p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #15083b;
    max-width: 900px;
    margin: 0 auto 30px;
}

/* List misi */
main.container ul {
    list-style: none; /* Hilangkan bullet bawaan */
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

main.container ul li {
    font-size: 1.1rem;
    color: #15083b;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

/* Bullet custom */
main.container ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #53d219;
    font-size: 1.5rem;
    line-height: 1;
}
/* sejarah */
body {
  font-family: 'Poppins', sans-serif;
  background: #f5f5f5;
  margin: 10px;
}

.sejarah {
  padding: 3rem 1rem;
}

.container {
  max-width: 900px;
  margin: auto;
}

.sejarah-image {
  text-align: center;
  margin-bottom: 2rem;
}

.sejarah-image img {
  width: 50%;
  height: auto;
  max-height: 600px; /* supaya tidak terlalu tinggi */
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(100%) contrast(1.1);
}


.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 1rem;
}
/* ===== GURU & STAF SECTION ===== */
.guru-card {
  position: relative;
  width: 100%;
  max-width: 250px;
  height: 320px;
  margin: auto; /* biar center di dalam col */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.guru-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row.g-4 > [class*='col-'] {
  display: flex;
  justify-content: center; /* center isi kolom */
}
.guru-card {
  position: relative;
  width: 100%;
  max-width: 250px;
  height: 320px;
  margin: auto; /* biar center di dalam col */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.guru-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row.g-4 > [class*='col-'] {
  display: flex;
  justify-content: center; /* center isi kolom */
}
/* Prestasi Section */
.prestasi-section h1 {
  font-weight: 800; /* lebih tebal */
  color: var(--primary-color);
  text-transform: uppercase; /* huruf kapital semua */
  font-size: 2.5rem; /* agak besar */

}

.prestasi-card {
  text-align: center;
}

.prestasi-img {
  overflow: hidden;
  border-radius: 8px;
}

.prestasi-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.prestasi-img:hover img {
  transform: scale(1.05);
}

.prestasi-card h3 {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.prestasi-card p {
  color: #666;
  font-size: 0.95rem;
}
.facility-container {
  overflow: hidden;
}

.scroll-row {
  display: flex;
  gap: 20px;
  padding: 10px 0;
}
.facility-container {
  background-color: #233671; /* warna ungu sesuai contoh */
  padding: 20px 0;
}

.scroll-row .facility-box {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scroll-row .facility-box {
  min-width: 250px;
  flex-shrink: 0;
  background: #fafafa;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Baris 1: geser ke kiri */
#scroll-left {
  animation: scrollLeft 20s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Baris 2: geser ke kanan */
#scroll-right {
  animation: scrollRight 20s linear infinite;
}

@keyframes scrollRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.testimonial-box {
  background-color: #99d1ff; /* Kuning pastel */
  border-radius: 10px;
  padding: 30px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.statistics {
  background: #eef3fb;
  padding: 3rem 0;
  border-radius: 4px;
}
/* Geser statistik agak ke bawah */
.statistics {
  margin-top: 200px; /* Bisa disesuaikan */
}

.section-title {
  color: #2c4586;
  font-size: 2.5rem;
  font-weight: 700;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.stat-number {
  font-size: 3rem;       /* Biar besar */
  font-weight: bold;     /* Tebal */
  color: #2c3e50;        /* Warna gelap biar kontras */
  margin-bottom: 0.5rem; /* Jarak ke teks di bawahnya */
}


.stat-label {
  margin-top: 0.75rem;
  font-weight: 500;
  color: #222;
}

.guru-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
}
.guru-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
}

.guru-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 15px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.guru-card:hover .guru-info {
  transform: translateY(0);
}

.guru-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff; /* Putih dan tebal */
}

.guru-subject {
  font-size: 0.95rem;
  opacity: 0.9;
  color: #fff; /* Putih */
}

/* ===== SPMB Section ===== */
.spmb-section {
  text-align: center;
  margin: 2rem auto;
  max-width: 900px;
}

.spmb-box {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.spmb-image {
  position: relative;
  background: url('assets/flyersmp.jpg') center/cover no-repeat;
  height: 800px; /* Lebih besar */
  display: flex;
  align-items: flex-start;
}

.spmb-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 70, 150, 0.55);
  z-index: 1;
}

.spmb-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  text-align: left;
  color: white;
}

.spmb-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f5f5f5;
}

.akreditasi {
  display: inline-block;
  background: rgb(247, 245, 245);
  padding: 0.4rem 1rem;
  border-radius: 99rem;
  font-weight: bold;
  margin: 1rem 0;
}

.info-box {
  background: rgba(255, 255, 255, 0.9);
  color: rgb(247, 245, 245);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.info-box h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.info-box p {
  margin: 0.4rem 0;
  font-size: 1rem;
}

.btn-daftar {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 2.5rem;
  background: var(--primary-color);
  color: white !important;
  border-radius: 99rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-daftar:hover {
  background: var(--accent-color);
}
.info-container {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(245, 243, 243, 0.15);
}

.info-header {
  background-color: #0c155b; /* warna judul */
  padding: 0.75rem 1.5rem;
}

.info-header h2 {
  color: #fff;
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
}

.info-body {
  background-color: #a1c7ec; /* warna isi */
  padding: 1rem 1.5rem;
}

.info-body p {
  margin: 0.4rem 0;
  color: #000;
  font-size: 1rem;
}

.spmb-desc {
  margin-top: 1rem;
  font-size: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: #333;
}
.spmb-image {
  position: relative;
  background: url('assets/flyersmp.jpg') center/cover no-repeat;
  height: 650px; /* besar */
  display: flex;
  align-items: center; /* vertikal tengah */
  justify-content: flex-start; /* rata kiri */
  text-align: left;
  padding-left: 3rem; /* jarak dari kiri */
}

.spmb-title-center {
  position: relative;
  z-index: 2;
}

.spmb-title-center h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.spmb-title-center .akreditasi {
  display: inline-block;
  background: rgba(255,255,255,0.9);
  padding: 0.4rem 1.2rem;
  border-radius: 99rem;
  font-weight: bold;
  margin-top: 1rem;
}

/* VISI MISI */

/* Reset dasar */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fff; /* putih default */
}

/* Khusus untuk halaman visi */
body.visi-page {
    background-color: #8d3278; /* Warna hijau khusus halaman visi */
}


/* Container utama */
.visi-misi-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.header {
  background-color: #0F67B1;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h1 {
  font-size: 2.5rem;
}

/* Container utama */
.visi-misi-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}


.sejarah {
  background-color: #fafbfc; /* warna khusus sejarah */
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sejarah h2 {
  color: #1565C0;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  margin-top: 15px;
}

.sejarah .logo {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: 10px; /* sudut lebih halus */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
.sejarah h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: #0F67B1;
  margin-bottom: 1rem;
}

/* Visi dan Misi Section */
/* Gaya judul sama seperti "Sejarah" */
.visi h2, 
.misi h2, 
.tujuan h2 {
  color: #0F67B1;        /* Warna biru */
  font-size: 1.75rem;    /* Ukuran sama */
  font-weight: bold;     /* Tebal */
  margin-top: 1rem;      /* Jarak atas seperti "Sejarah" */
  margin-bottom: 1rem;   /* Jarak bawah */
}

.misi {
  background-color: #96C9F4;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.visi {
  background-color: #96C9F4;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}     

.visi h2, .misi h2 {
  color: #0F67B1;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.misi ul {
  padding-left: 1.5rem;
}

.misi ul li {
  margin-bottom: 0.75rem;
  position: relative;
}

.misi ul li::before {
  content: "✓";
  color: #0F67B1;
  font-weight: bold;
  position: absolute;
  left: -1.5rem;
}

.tujuan {
  background-color: #96C9F4;
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tujuan h2 {
  color: #0F67B1;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.tujuan ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.tujuan ul li {
  margin-bottom: 0.75rem;
  position: relative;
}

.tujuan ul li::before {
  content: "✓";
  color: #0F67B1;
  font-weight: bold;
  position: absolute;
  left: -1.5rem;
}

/* Card Container */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Tetap untuk semua info-card */
.info-card {
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

/* Card ganjil (1, 3, 5, dst): putih */
.card-container .info-card:nth-child(odd) {
  background-color: #96C9F4;
}

/* Card genap (2, 4, 6, dst): biru muda */
.card-container .inf\o-card:nth-child(even) {
  background-color: #ffffff; /* kamu juga bisa coba: #f0f9ff atau #f7fbff */
}

/* (Opsional) Warna teks jika background-nya lebih terang */
.card-container .info-card:nth-child(even) h3,
.card-container .info-card:nth-child(even) p {
  color: #000000;
}
/* ===== Guru & Staf Header ===== */
.guru-header {
  position: relative;
  background: linear-gradient(135deg, #1e3c72, #2a5298); /* gradasi biru */
  color: white;
  text-align: center;
  padding: 8rem 1rem 6rem; /* ruang atas-bawah biar lega */
  overflow: hidden;
}

.guru-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Blob dekorasi */
.blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(60px);
  z-index: 1;
}

.blob1 {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -100px;
}

.blob2 {
  width: 250px;
  height: 250px;
  bottom: -60px;
  right: -100px;
}

/* Wave bawah biar smooth ke konten */
.guru-header-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
}
/* ===== Guru ===== */
.guru-header {
  position: relative;
  background: linear-gradient(135deg, #1e3c72, #2a5298); /* gradasi biru */
  color: white;
  text-align: center;
  min-height: 300px;  /* tinggi minimal biar lega */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem; /* atas-bawah seimbang */
  margin-top: 0;      /* tempel ke atas */
  overflow: hidden;
}

.guru-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Blob dekorasi */
.blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(60px);
  z-index: 1;
}

.blob1 {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -100px;
}

.blob2 {
  width: 250px;
  height: 250px;
  bottom: -60px;
  right: -100px;
}

/* Wave bawah */
.-header-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;   /* bikin lebih tinggi biar gelombangnya besar */
  display: block;
  line-height: 0;
}
}

/* ===== Prestasi ===== */
.prestasi-header {
  position: relative;
  background: linear-gradient(135deg, #1e3c72, #2a5298); /* gradasi biru */
  color: white;
  text-align: center;
  min-height: 300px;  /* tinggi minimal biar lega */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem; /* atas-bawah seimbang */
  margin-top: 0;      /* tempel ke atas */
  overflow: hidden;
}

.prestasi-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Blob dekorasi */
.blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(60px);
  z-index: 1;
}

.blob1 {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -100px;
}

.blob2 {
  width: 250px;
  height: 250px;
  bottom: -60px;
  right: -100px;
}

/* Wave bawah */
.-header-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;   /* bikin lebih tinggi biar gelombangnya besar */
  display: block;
  line-height: 0;
}
/* Background gambar untuk seluruh body */
body {
  background: url("./assets/background1.png") no-repeat center center fixed;
  background-size: cover;
  background-repeat: no-repeat;        /* Biar tidak berulang */
  background-size: cover;              /* Menyesuaikan layar */
  background-position: center;         /* Posisi di tengah */
  background-attachment: fixed;        /* Background tetap, hanya konten yang scroll */
  scroll-behavior: smooth;
}
/* Footer layout alignment */
.footer .col-lg-4 {
  text-align: left;   /* Logo dan deskripsi rata kiri */
}

.footer .col-lg-2 {
  text-align: center; /* Links rata tengah */
}

.footer .col-lg-3 {
  text-align: right;  /* Kontak Kami rata kanan */
}

/* Responsive: biar tetap rapi di HP */
@media (max-width: 768px) {
  .footer .col-lg-4,
  .footer .col-lg-2,
  .footer .col-lg-3 {
    text-align: center;
  }
  /* ====== FIX SCROLL KE KIRI-KANAN ====== */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative;
}

/* Hapus efek width 100vw yang bikin geser */
[class*="container"],
[class*="container-fluid"],
section,
header,
footer {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* SVG biar gak keluar layar */
svg {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  overflow: hidden;
}

/* Review & Why-us biar ga kebablasan */
.review__wrapper,
.why-us-content {
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

/* Carousel aman */
.carousel-inner img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.container-fluid {
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

svg, img {
  max-width: 100%;
  height: auto;
  display: block;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000; /* pastikan di atas konten lain */
}

.mobile__menu__toggle {
  position: absolute;
  right: 1rem;   /* taruh di kanan */
  top: 1rem;     /* taruh di atas */
  z-index: 10001; /* di atas header */
}
/* ======== FIX WEBSITE GESER ======== */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Pastikan background menyesuaikan layar */
body {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
}

/* Semua gambar supaya tidak keluar layar */
img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Atur container fasilitas */
.facility-container {
  max-width: 100% !important;
  padding: 0 10px !important;
  overflow: hidden !important;
}

/* Scroll-row supaya nggak bikin overflow */
.scroll-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 1rem !important;
  width: 100% !important;
  margin: 0 auto !important;
}

/* Kotak fasilitas lebih fleksibel */
.facility-box {
  flex: 1 1 250px !important;
  max-width: 300px !important;
}
/* Perbaikan tampilan Extracurricular agar rapi di mobile */
@media (max-width: 768px) {
  .why-us-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem !important;
  }

  .why-us-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 0 !important;
    order: 1;
  }

  .why-us-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .why-us-text {
    width: 100%;
    padding: 0 15px;
    order: 2;
  }

  .why-us-text h3 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .why-us-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: justify;
  }

  /* Hilangkan garis timeline di mobile */
  .timeline,
  .timeline__point {
    display: none;
  }
}

/* Untuk layar kecil ≤480px */
@media (max-width: 480px) {
  .why-us-text h3 {
    font-size: 1.2rem;
  }

  .why-us-text p {
    font-size: 0.9rem;
  }
}
/* ============================= */
/* FASILITAS DESKTOP (4 KOLOM)  */
/* ============================= */
.facility-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 2rem auto;
  max-width: 1200px;
  gap: 1rem;
}

/* Setiap box fasilitas */
.facility-box {
  background-color: #1E88E5; /* biru */
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.facility-box i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.facility-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.facility-box p {
  font-size: 0.9rem;
  opacity: 0.9;
  color: #fff;
}

/* ============================= */
/* TABLET (≤992px): 2 KOLOM     */
/* ============================= */
@media (max-width: 992px) {
  .facility-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================= */
/* HP (≤768px): GESER HORIZONTAL*/
/* ============================= */
@media (max-width: 768px) {
  .facility-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 10px;
  }

  .scroll-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .scroll-row::-webkit-scrollbar {
    display: none;
  }

  .facility-box {
    flex: 0 0 65%;
    max-width: 65%;
    scroll-snap-align: start;
  }
}

/* ============================= */
/* HP KECIL BANGET (≤480px)     */
/* ============================= */
@media (max-width: 480px) {
  .facility-box {
    flex: 0 0 80%;
    max-width: 80%;
  }
}
.kegiatan-section {
  max-width: 100%;
  margin: 0 auto;
}

.kegiatan-section h2 {
  color: #2c3890;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.carousel img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

/* Keterangan di luar gambar */
.slide-caption {
  font-size: 0.9rem;
  color: #6c757d; /* abu-abu */
  margin-top: 8px;
  margin-bottom: 20px;
  font-style: italic;
}

/* Tombol navigasi transparan */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}
}
/* ======== FIX VIDEO AKTIVITAS AGAR MUNCUL DI MOBILE ======== */

/* Pastikan card video tidak tersembunyi */
.aktivitas .card {
  overflow: visible !important;
}

/* Atur tampilan video agar selalu tampil rapi di semua ukuran layar */
.aktivitas video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 320px;
  object-fit: cover;
  background: #000;
  border-radius: 12px;
}

/* Tambahan fix khusus untuk mobile */
@media (max-width: 768px) {
  .aktivitas video {
    max-height: 250px;
    border-radius: 10px;
  }

  /* Kadang Bootstrap row/gap membuat video ke-cut, ini untuk pastikan tampil penuh */
  .aktivitas .col-lg-6,
  .aktivitas .col-md-6 {
    overflow: visible !important;
  }

  /* Perbaiki spacing antar card biar tidak rapat */
  .aktivitas .card {
    margin-bottom: 1.5rem;
  }
}

/* Tambahan keamanan untuk mencegah collapse tinggi parent */
.aktivitas .card-img-top {
  min-height: 180px;
}

/* Agar video selalu terlihat meski loading lambat */
.aktivitas video source {
  display: block !important;
}

