/* ==============================
   ABOUT SECTION
   ============================== */
.about {
  background: linear-gradient(rgba(13,110,253,0.05), rgba(255,255,255,0.95)),
              url('../images/bg-sekolah.jpg') center/cover no-repeat;
  background-size: cover;
  font-family: 'Poppins', sans-serif;
}

.about h2 {
  color: #0d6efd;
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(13,110,253,0.4);
  letter-spacing: 1px;
}

.about-card {
  border-radius: 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
  box-shadow: 0 8px 20px rgb(0, 76, 190), 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(13,110,253,0.25),
              0 8px 20px rgba(0,0,0,0.15);
}

.about-text p {
  line-height: 1.9;
  color: #212529;
  font-size: 1.1rem;
}

.about-carousel {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.about-carousel .carousel-inner img {
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(13,110,253,0.25);
}

.about-carousel .carousel-indicators {
  position: static;
  margin-top: 0.8rem;
}

.about-carousel .carousel-indicators [data-bs-target] {
  background-color: #0d6efd;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.about-tagline {
  background-color: rgba(13,110,253,0.1);
  color: #0d6efd;
  font-weight: 600;
  font-size: 1.1rem;
}

.about-footer {
  color: #212529;
  font-size: 1.1rem;
  line-height: 1.9;
  text-align: center;
}

@media (max-width: 992px) {
  .about .d-flex {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ==============================
   TAUHID SECTION
   ============================== */
.tauhid-section {
  background-color: #f8f9fa;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.tauhid-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 3;
}

.tauhid-section .background-accent {
  width: 250%;
  height: 50px;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f0f8ff;
  border-radius: 1.5rem;
  z-index: 1;
}

.tauhid-card {
  position: relative;
  z-index: 3;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  background-color: #fff;
  text-align: center;
  transition: all 0.35s ease;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tauhid-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.tauhid-card ul {
  padding-left: 0;
  margin: 0;
}

.tauhid-card ul li {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  text-align: left;
  line-height: 1.6;
}

.dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.6rem;
  vertical-align: middle;
}

.tauhid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(13,110,253,0.25),
              0 0 20px rgba(255,255,255,0.6);
  background: radial-gradient(circle at top left, #ffffff 0%, #f9f9ff 100%);
}

@media (max-width: 992px) {
  .tauhid-section h2 {
    font-size: 2.1rem;
    margin-bottom: 2.5rem;
  }

  .tauhid-card {
    min-height: 360px;
    padding: 2rem 1.5rem;
  }

  .tauhid-card h5 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .tauhid-card ul li {
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  .tauhid-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .tauhid-card {
    min-height: 380px;
    padding: 2rem 1.5rem;
  }

  .tauhid-card h5 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .tauhid-card ul li {
    font-size: 1.2rem;
  }
}

/* ==============================
   VISI MISI SECTION
   ============================== */
.visi-misi {
  background: linear-gradient(rgba(13,110,253,0.05), rgba(255,255,255,0.95));
  font-family: 'Poppins', sans-serif;
  padding: 40px 0;
}

.visi-misi h2 {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

.visi-text {
  position: relative;
  background: rgba(13,110,253,0.05);
  border-left: 5px solid #0d6efd;
  border-radius: 0.6rem;
  padding: 1rem 1rem 1rem 4.5rem;
  line-height: 1.8;
  font-size: 1rem;
  color: #212529;
  font-weight: 600;
  transition: all 0.3s ease;
}

.visi-text:hover {
  background: rgba(13,110,253,0.12);
  transform: translateX(6px);
  box-shadow: 0 4px 14px rgba(13,110,253,0.15);
}

.visi-icon {
  content: "★";
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #0d6efd;
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 25px;
  box-shadow: 0 0 6px rgba(13,110,253,0.3);
  font-weight: bold;
}

.misi-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.misi-list li {
  position: relative;
  background: rgba(13,110,253,0.05);
  border-left: 5px solid #0d6efd;
  margin-bottom: 1rem;
  padding: 1rem 1rem 1rem 4.5rem;
  border-radius: 0.6rem;
  line-height: 1.8;
  font-size: 1rem;
  color: #212529;
  font-weight: 600;
  transition: all 0.3s ease;
}

.misi-list li::before {
  content: "✔";
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #0d6efd;
  color: white;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 25px;
  box-shadow: 0 0 6px rgba(13,110,253,0.3);
  font-weight: bold;
}

.misi-list li:hover {
  background: rgba(13,110,253,0.12);
  transform: translateX(6px);
  box-shadow: 0 4px 14px rgba(13,110,253,0.15);
}

.visi-misi .card {
  transition: all 0.3s ease;
}

.visi-misi .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(13,110,253,0.25);
}

/* ==============================
   CARD STYLE
   ============================== */
.custom-card,
.card.custom-card {
  border-radius: 12px;
  border: 1.5px solid rgba(13,110,253,0.5) !important;
  background-color: #ffffff;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(13,110,253,0.08);
}

.custom-card:hover,
.card.custom-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13,110,253,0.8) !important;
  box-shadow: 0 10px 25px rgba(13,110,253,0.18);
}

.card-img-top {
  border-radius: 12px 12px 0 0;
  transition: transform 0.3s ease;
}

.card.custom-card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

.card .btn {
  border-radius: 50px;
}

/* ==============================
   MODAL STYLE
   ============================== */
.modal-content {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(13,110,253,0.3);
  box-shadow: 0 8px 25px rgba(13,110,253,0.15);
}

.modal-body img {
  display: block;
  margin: 0 auto;
}

body.modal-open .card:hover {
  transform: none !important;
  box-shadow: 0 5px 15px rgba(13,110,253,0.08);
}

/* ==============================
   GURU SECTION
   ============================== */
.guru-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0,123,255,0.25);
}

.animate-text {
  animation: fadeUp 0.8s ease forwards;
}

.teacher-title {
  font-size: 3rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================
   WELCOME SECTION
   ============================== */
.welcome-section {
  min-height: 85vh;
  background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(13,110,253,0.2)),
              url('../images/background.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 180px 50px 80px;
  gap: 20px;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

.welcome-section .content {
  margin-top: 50px;
  text-align: left;
}

.welcome-section .content h1,
.welcome-section .content h2,
.welcome-section .content p {
  color: #ffffff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  margin-bottom: 20px;
}

.welcome-section .content h1 {
  font-size: 3rem;
  font-weight: 700;
}

.welcome-section .content h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.welcome-section .content p {
  font-size: 1rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  margin-bottom: 50px;
}

.nowrap-text {
  white-space: nowrap;
}

.welcome-image img {
  max-width: 750px;
  margin-top: -30px;
  display: block;
}

.welcome-image .image-wrapper {
  display: contents;
}

/* Tombol SPMB */
.btn-spmb {
  background-color: #ffc107;
  color: #000;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 25px;
  border: none;
  transition: 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-spmb:hover {
  background-color: #e0a800;
  color: #fff;
  transform: scale(1.05);
}

/* Tombol Video */
.btn-danger {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-danger i {
  font-size: 1.2rem;
}

/* ==============================
   RESPONSIVE WELCOME SECTION
   ============================== */
@media (max-width: 991px) {
  .welcome-section {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 80px 20px 50px;
  }

  .welcome-section .content {
    margin-top: 30px;
    text-align: center;
  }

  .welcome-section .content h1,
  .nowrap-text {
    white-space: normal;
    font-size: 2rem;
  }

  .welcome-section .content h2 {
    font-size: 1.8rem;
  }

  .welcome-section .content p {
    font-size: 1rem;
  }

  .welcome-image .image-wrapper {
    display: block !important;
    max-width: 340px !important;
    height: 340px !important;
    margin: 20px auto !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  }

  .welcome-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: right center !important;
    margin: 0 !important;
  }
}
