@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css');

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
.bungkus,
.hero,
.section-fluid {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  margin-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Preloader default visible */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
  z-index: 9999;
}

/* Preloader hidden state */
#preloader.hidden {
  opacity: 0;
  visibility: hidden; /* benar-benar hilang */
  pointer-events: none;
}

/* Konten default: sembunyi */
#content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Konten muncul */
#content.show {
  opacity: 1;
  transform: translateY(0);
}

.spinner-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spinner {
  border: 6px solid transparent;
  border-top: 6px solid #ff0000;
  border-right: 6px solid #00ff00;
  border-bottom: 6px solid #0000ff;
  border-left: 6px solid #ff00ff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

.spinner-name {
  margin-top: 10px;
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  color: #333;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* nambar baru */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  background-color: red;
  justify-content: center;
  color: white;
  height: 50px;
  align-items: center;
  z-index: 50;
}

.container-atas {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-atas svg {
  width: 30px;
  height: 30px;
}

.container-atas ul {
  display: flex;
  list-style: none;
  width: 40%;
  justify-content: space-between;
  margin: 0;
  padding-bottom: 10px;
}
.container-atas ul li {
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
}
nav ul li a:hover {
  color: rgb(0, 60, 255);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
  position: relative;
}

.menu-toggle input {
  position: absolute;
  width: 40px;
  height: 28px;
  left: -5px;
  top: -3px;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: rgb(255, 255, 255);
  border-radius: 3px;
  transition: all 0.5s;
}

/* animasi navbar toggle*/
.menu-toggle span:nth-child(2) {
  transform-origin: 0 0;
}
.menu-toggle span:nth-child(4) {
  transform-origin: 0 100%;
}

.menu-toggle input:checked ~ span:nth-child(2) {
  background-color: white;
  transform: rotate(45deg) translate(-1px, -1px);
}
.menu-toggle input:checked ~ span:nth-child(4) {
  background-color: white;
  transform: rotate(-45deg) translate(-1px, 0);
}
.menu-toggle input:checked ~ span:nth-child(3) {
  opacity: 0;
  transform: scale(0);
}
/* animasi navbar toggle terakhir*/
/* nambar baru terakhir */

.bungkus {
  width: 100%;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  background-image: url('cover.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  z-index: 0;
}

.hero {
  width: 100%;
  height: 70vh;
  background: #34495e;
  position: relative;
  overflow: hidden;
}
.cobak {
  width: 100%;
  height: auto;
  padding-top: 70px;
  padding-bottom: 150px;
  background: #e2edff;
}

.wave {
  margin-top: -5px;
  display: block; /* penting biar nggak ada spasi bawaan */
}
.wave1 {
  margin-bottom: -5px;
  display: block; /* penting biar nggak ada spasi bawaan */
}
.wave1 text {
  font-family: 'Spicy Rice', serif;
  font-size: 34px;
}

.border1 {
  width: 33vw;
  height: 33vw;
  background: #f7a35a;
  border-radius: 50%;
  position: absolute;
  top: 25%;
  left: -10%;
  z-index: 2;
}
.border2 {
  width: 13vw;
  aspect-ratio: 1/1; /* bulat responsif */
  max-width: 250px;
  background: #2d3f52;
  border-radius: 50%;
  position: absolute;
  top: -9%;
  right: -1%;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.border2 .pengasuh,
.border2 .pp {
  font-size: clamp(7px, 1vw, 14px);
  font-weight: bold;
}
.border2 .pengasuh {
  color: rgb(255, 255, 255);
  padding-top: 55%;
  padding-left: 5%;
  margin: 0;
}
.border2 .pp {
  color: rgba(255, 255, 255, 0.822);
  padding-left: 15%;
}

.text {
  width: 60vw;
  height: 200px;
  font-size: clamp(12px, 1.3vw, 20px);
  font-weight: bold;
  position: absolute;
  top: 23vh;
  left: 23vw;
  z-index: 4;
  color: white;
}

.text h1 {
  margin-left: 70px;
  margin-top: 2%;
  font-size: 50px;
  font-family: 'Bebas Neue', sans-serif;
}
.text h2,
.text h3 {
  font-size: 45px;
  font-family: 'Bangers', system-ui;
}

.text h2 {
  margin-left: 90px;
  margin-bottom: 0;
}
.text h3 {
  margin-left: 120px;
}

.kajian {
  width: 20vw;
  height: 2.3vw;
  display: flex;
  font-size: 2.5vw;
  align-items: center;
  background: #f7a35a;
  border-radius: 50px;
}

.kajian span {
  font-weight: bold;
  color: white;
  font-family: 'Arizonia', cursive;
}

.gambar {
  width: 50%;
  height: 98%;
  overflow: hidden;
  position: absolute;
  top: 17%;
  left: -4%;
  z-index: 4;
}

.gambar img {
  width: 100%;
  height: auto;
  clip-path: inset(0 0 10% 0);
}

.section-fluid {
  width: 100%;
  min-height: 100vh;
  padding: 100px 0;
  background: #1f1f1f;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.lingkaran {
  width: 200px;
  height: 200px;
  background: rgba(187, 126, 41, 0.1);
  border-radius: 50%;
  position: absolute;
  right: 50%;
  top: 50%;
  z-index: 2;
}
.lingkaran1 {
  width: 100px;
  height: 100px;
  background: rgba(187, 126, 41, 0.1);
  border-radius: 50%;
  position: absolute;
  top: 65%;
  right: 20%;
  z-index: 2;
}
.lingkaran2 {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: absolute;
  background: rgba(187, 126, 41, 0.1);
  top: 48%;
  left: 37%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); /* efek awal */
  animation: pulseGlow 3s ease-in-out infinite; /* ✨ animasi */
}
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  }
}

footer {
  background: #000000;
}

.kab {
  color: #53b2e6;
  font-size: 9px;
  margin-top: 15px;
}
.kab span {
  color: #ffffff;
}
.icon {
  margin-top: 10px;
  margin-bottom: 15px;
}
.food {
  width: 100%;
}

.saya {
  height: 30px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d97be;
  font-size: 13px;
  font-weight: bold !important;
}
.saya a {
  color: white !important;
}

footer:hover {
  width: 100%;
}

/* conten kedua */
.isi h1 {
  font-size: 1.6em;
}

.isi h2 {
  color: #ffffff;
  margin-bottom: 3%;
  font-size: 1.3em;
  font-family: 'Bangers', system-ui;
}

.isi h3 {
  color: #424242;
  font-family: 'Spicy Rice', serif;
}

.isi h4 {
  font-size: 17px;
  font-family: 'BBH Hegarty', sans-serif;
}

.isi h5 {
  font-weight: bold;
}

.isi p {
  font-size: 20px;
  font-family: 'Alkatra', system-ui;
}

.bismillah {
  width: 100%;
  padding-bottom: 5%;
  text-align: center;
}

.bismillah img {
  width: 30%;
}

.conten1 {
  width: 95%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 5%;
  border-radius: 15px;
  background: rgb(255, 255, 255);
  box-shadow: 0 19px 20px rgba(0, 0, 0, 0.2);
}

.tengah {
  width: 100%;
  height: auto;
  margin-top: 7%;
  margin-bottom: 7%;
}

.conten2 {
  width: 50%;
  margin-top: 5%;
  padding: 1rem;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  border: 3px solid #ffffffb4;
  border-radius: 15px;

  backdrop-filter: blur(3px); /* efek blur */
  -webkit-backdrop-filter: blur(8px);
}

.pembukaan {
  padding: 15px 0;
  font-weight: bold;
}

.pembukaan span {
  font-size: 17px;
  font-weight: bold;
}

.pembukaan p {
  margin: 0;
}
.pembukaan h4 {
  text-align: center;
  margin: 0;
}
.pembukaan p.mt-3 {
  margin-top: 1rem;
}

.pembukaan2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

table {
  margin-top: 30px;
  border: 2px;
}
table .hari {
  width: 27%;
}
td {
  padding-bottom: 2px;
  font-family: 'Alkatra', system-ui;
}

.conten3 {
  width: 50%;
  margin-top: 5%;
  padding: 1rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.1);
  border: 3px solid #ffffffb4;
  border-radius: 15px;

  backdrop-filter: blur(5px); /* efek blur */
  -webkit-backdrop-filter: blur(8px);
}

.operasi-jam {
  width: 100%;
  margin-top: 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1vw;
}

.date {
  display: flex;
  justify-content: center;
  font-size: 2vw;
  color: #f08900;
}

.save-date {
  width: 100%;
}
.save-date h1 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #3e2f1c;
  font-family: 'Gravitas One', serif;
}
.save-date h4 {
  height: 30px;
  margin-top: 7%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #3e2f1c;
}
.tombol {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.tombol a {
  width: 80px;
  color: #ffffff;
  font-size: 10px;
  text-align: center;
  border-radius: 5px;
  font-family: 'Alkatra', system-ui;
  text-decoration: none;
  background: rgb(49, 86, 250);
}
.tombol a:hover {
  background: #00a8ff;
}

.tombol2 {
  gap: 50%;
  padding-bottom: 3%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kembali a {
  color: #ffffff;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: bold;
  font-family: 'Alkatra', system-ui;
  text-decoration: none;
  background: rgb(241, 64, 64);
  border-radius: 4px;
}
.kembali a:hover {
  color: #ffffff;
  background: rgb(196, 0, 0);
}

.tombol-keluar a {
  color: #fff;
  font-size: 11px;
  border-radius: 5px;
  padding: 5px 10px;
  font-weight: bold;
  font-family: 'Alkatra', system-ui;
  text-decoration: none;
  background: rgb(241, 64, 64);
  transition: all 0.3s ease;
}
.tombol-keluar a:hover {
  color: #ffffff;
  background: rgb(196, 0, 0);
}

.foto {
  display: flex;
  justify-content: center;
  gap: 2%;
}
.left,
.right,
.left2 {
  width: 100%;
}
.left img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.3);
  padding: 10px;
}
.left2 img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.3);
  padding: 10px;
}
.right {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.3);
  padding: 1rem;
}

.lokasi {
  margin-top: 5%;
  padding-bottom: 7%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.lokasi2 {
  width: 80%;
  padding: 3% 0;
}
.lokasi2 h3 {
  color: rgb(48, 48, 48);
}
.lokasi2 iframe {
  width: 100%;
  height: 250px;
  display: flex;
  margin: 0 auto;
}

.cobak1 {
  padding-top: 3%;
}

.cobak1 p {
  color: #3b3b3b;
}
/* conten kedua terakhir */

@media (max-width: 1300px) {
  .border1 {
    width: 40vw;
    height: 40vw;
    top: 25%;
    left: -5%;
  }

  .border2 {
    width: 20vw;
    aspect-ratio: 1/1; /* bulat responsif */
    top: -9%;
    right: -4%;
  }

  .text {
    top: 23vh;
    left: 30vw;
  }
  .text {
    font-size: 8vw;
  }
  .text h1 {
    font-size: 3vw;
  }
  .text h2,
  .text h3 {
    font-size: 2vw;
  }
}
@media (max-width: 1080px) {
  .border1 {
    top: 40%;
    left: -5%;
  }

  .border2 {
    top: -6%;
    right: -4%;
  }

  .gambar {
    top: 25%;
    left: -4%;
  }
  .gambar img {
    clip-path: inset(0 0 5% 0);
  }

  .kajian {
    width: 19vw;
    margin-left: 6%;
    font-size: 1.3vw;
  }

  .kajian span {
    font-size: 1.8em;
  }

  .text {
    top: 29vh;
    left: 28%;
  }

  .text h1 {
    margin-top: 2%;
    margin-bottom: 1%;
    font-size: 3.5vw;
  }
  .text h2,
  .text h3 {
    font-size: 3vw;
  }
  .conten2 {
    width: 80%;
  }
}
@media (max-width: 930px) {
  .hero {
    height: 55vh;
  }
  .kajian {
    width: 19vw;
    margin-left: 2%;
    font-size: 1.3vw;
  }

  .text {
    left: 35%;
  }
  .text h1 {
    margin-left: 4vw;
  }
  .text h2 {
    margin-left: 6vw;
  }
  .text h3 {
    margin-left: 8vw;
  }
}
@media (max-width: 804px) {
  .hero {
    height: 40vh;
  }

  .border2 {
    top: -5% !important;
    right: -3%;
  }

  .text {
    top: 19vh;
    left: 35%;
  }

  .conten2 {
    width: 100%;
  }

  .isi h1 {
    font-size: 20px;
  }
  .isi h2 {
    font-size: 15px;
  }
  .isi h3 {
    font-size: 16px;
  }
  .isi h4 {
    font-size: 12px;
  }

  .isi h5 {
    font-size: 14px;
  }

  .isi p {
    font-size: 14px;
  }
  .right {
    padding: 9px;
  }

  .left img,
  .left2 img {
    height: 300px;
  }
  .saya {
    font-size: 10px !important;
  }
}

@media screen and (max-width: 768px) {
  nav ul {
    width: 50%;
  }
}

.border2 {
  top: -4% !important;
  right: -3%;
}
@media (max-width: 590px) {
  nav ul {
    position: absolute;
    font-size: 13px;
    right: 0;
    top: 40px;
    width: 30%;
    height: 25vh;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    background: red;
    clip-path: inset(0 0 0 100%);
    transition: opacity 0.5s ease, clip-path 0.5s ease;
    opacity: 0;
  }
  nav ul.show {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  .menu-toggle {
    display: flex;
  }

  .container-atas svg {
    width: 30px !important;
    height: 30px !important;
  }
  .hero {
    height: 35vh;
  }
  .gambar {
    top: 13vh;
    left: -4%;
  }

  .kajian {
    width: 25vw;
    height: 3.5vw;
    font-size: 1.5vw;
  }

  .kajian span {
    font-size: 2em;
  }

  .text {
    top: 19vh;
    left: 35%;
  }
  .text h1 {
    margin-top: 2%;
    margin-bottom: 1%;
    font-size: 3.7vw;
  }
  .text h2,
  .text h3 {
    font-size: 3.5vw;
  }

  .border2 {
    width: 30vw;
    top: -8% !important;
    right: -4% !important;
  }
  .border2 .pengasuh,
  .border2 .pp {
    font-size: 8px;
  }
  .pembukaan h5 {
    align-self: flex-start !important;
    text-align: left;
  }
  .isi h1 {
    font-size: 20px;
  }
  .isi h2 {
    font-size: 15px;
    margin: 0;
  }
  .isi h3 {
    font-size: 16px;
  }
  .isi h4 {
    font-size: 11px;
  }

  .isi h5 {
    font-size: 13px;
  }

  .isi p {
    font-size: 13px;
    margin: 0;
  }
  .save-date h4 {
    height: 21px;
  }
  .conten3 {
    width: 70%;
  }

  .waktu2 {
    margin-bottom: 3%;
  }

  .left img,
  .left2 img {
    height: 250px;
  }

  .wave1 text {
    font-size: 49px;
  }

  .iframe {
    height: 200px;
  }
}
@media (max-width: 475px) {
  .container-atas svg {
    width: 25px !important;
    height: 25px !important;
  }

  .border1 {
    width: 50vw;
    height: 50vw;
    top: 48%;
    left: -10%;
  }

  .border2 {
    width: 30vw;
    top: -7% !important;
    right: -4% !important;
    font-size: 7px;
  }

  .gambar {
    top: 13vh;
  }
  .kajian {
    width: 29vw;
    height: 3.5vw;
    font-size: 1.7vw;
  }

  .kajian span {
    font-size: 1.9em;
  }

  .text h1 {
    font-size: 4.6vw;
  }
  .text h2,
  .text h3 {
    font-size: 3.9vw;
  }

  .conten2 {
    width: 90%;
  }
  .isi h5 {
    font-size: 12px;
  }

  .tombol a {
    height: 20px;
    display: flex;
    gap: 3px;
    align-items: center;
    justify-content: center;
  }

  .wave1 text {
    font-size: 45px;
  }

  .left img,
  .left2 img {
    height: 200px;
  }
  .kab {
    font-size: 8px;
  }

  .saya {
    height: 25px;
    font-size: 2px !important;
  }
  .iframe {
    height: 150px !important;
  }
}
@media (max-width: 432px) {
  .container-atas svg {
    width: 24px !important;
    height: 24px !important;
  }

  .border1 {
    top: 52%;
  }
  .border2 {
    width: 150px;
    top: -10% !important;
    right: -8% !important;
  }
  .gambar {
    top: 15vh;
  }

  .kajian {
    width: 30vw;
    height: 3.5vw;
    font-size: 1.7vw;
    margin-left: 0;
  }

  .text h2 {
    margin-left: 7vw;
  }
  .text h3 {
    margin-left: 9vw;
  }
  .kajian span {
    font-size: 1.9em !important;
  }

  .wave1 text {
    font-size: 47px;
  }

  .conten2 {
    width: 100%;
  }

  .left img,
  .left2 img {
    height: 150px;
    padding: 5px;
  }

  .right {
    padding: 5px;
  }
}
@media (max-width: 400px) {
  .border2 {
    font-size: 4px;
    width: 150px;
    top: -10% !important;
    right: -9% !important;
  }

  .gambar {
    top: 17vh;
  }

  .isi h1 {
    font-size: 20px;
  }
  .isi h2 {
    font-size: 13px;
    margin: 0;
  }
  .isi h3 {
    font-size: 13px;
  }
  .isi h4 {
    font-size: 10px;
  }

  .isi h5 {
    font-size: 11px;
  }

  .isi p {
    font-size: 11px;
  }

  .left img,
  .left2 img {
    height: 150px;
    padding: 5px;
  }

  .right {
    padding: 5px;
  }

  .kab {
    font-size: 7px;
    margin-top: 8px;
  }
}
@media (max-width: 360px) {
  .border2 {
    font-size: 4px;
    width: 130px;
    top: -7% !important;
    right: -4% !important;
  }
  .gambar {
    top: 17vh;
  }
  .isi h5 {
    font-size: 11px;
  }
  .isi p {
    font-size: 10px;
  }
}
