/* =========================
   GOOGLE FONT
========================= */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f4f7fb;
}

/* =========================
   NAVBAR
========================= */
nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);

  width: 92%;
  max-width: 1400px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1rem 2rem;

  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.4);

  border-radius: 22px;

  box-shadow:
    0 8px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);

  z-index: 9999;
}

/* =========================
   LOGO
========================= */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;

  letter-spacing: 0.5px;
}

.logo span {
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================
   MENU
========================= */
.menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;

  list-style: none;
}

.menu li {
  position: relative;
}

.menu li a {
  position: relative;

  text-decoration: none;
  color: #334155;

  font-size: 0.95rem;
  font-weight: 500;

  transition: 0.3s ease;
}

/* hover */
.menu li a::before {
  content: "";

  position: absolute;
  bottom: -8px;
  left: 50%;

  width: 0%;
  height: 3px;

  transform: translateX(-50%);

  border-radius: 99px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  transition: 0.3s;
}

.menu li a:hover {
  color: #0f766e;
}

.menu li a:hover::before {
  width: 100%;
}

/* =========================
   DROPDOWN DESKTOP
========================= */
.dropdown-menu {
  position: absolute;
  top: 180%;
  left: 50%;

  transform: translateX(-50%) translateY(10px);

  min-width: 220px;

  background: rgba(255, 255, 255, 0.92);

  backdrop-filter: blur(18px);

  border-radius: 18px;

  padding: 0.8rem;

  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.12);

  opacity: 0;
  visibility: hidden;

  transition: 0.35s ease;

  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;

  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;

  padding: 0.85rem 1rem;

  border-radius: 12px;

  transition: 0.3s;
}

.dropdown-menu li a:hover {
  background: rgba(20, 184, 166, 0.1);
}

/* =========================
   LOGIN BUTTON
========================= */
.btn-login {
  text-decoration: none;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
  color: white;

  padding: 0.8rem 1.7rem;

  border-radius: 999px;

  font-size: 0.9rem;
  font-weight: 600;

  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.25);

  transition: 0.35s ease;
}

.btn-login:hover {
  transform: translateY(-4px) scale(1.03);

  box-shadow: 0 12px 25px rgba(20, 184, 166, 0.35);
}

/* =========================
   HAMBURGER
========================= */
#hamburger-menu {
  display: none;

  color: #0f172a;
  font-size: 1.7rem;
}

/* =========================
   TABLET
========================= */
@media (max-width: 768px) {
  nav {
    width: 95%;
    padding: 1rem 1.4rem;
  }

  #hamburger-menu {
    display: block;
    z-index: 99999;
  }

  /* LOGIN FIX */
  .btn-login {
    display: flex;
    justify-content: center;

    width: 20%;

    text-align: center;

    margin-top: 0.5rem;
  }

  .menu {
    position: fixed;

    top: 0;
    right: -100%;

    width: 320px;
    height: 100vh;

    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    gap: 1rem;

    padding: 7rem 2rem;

    background: rgba(255, 255, 255, 0.88);

    backdrop-filter: blur(20px);

    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08);

    transition: 0.45s ease;

    overflow-y: auto;
  }

  .menu.active {
    right: 0;
  }

  .menu li {
    width: 100%;
  }

  .menu li a {
    display: block;

    width: 100%;

    padding: 0.9rem 1rem;

    border-radius: 14px;

    font-size: 1rem;
  }

  .menu li a:hover {
    background: rgba(20, 184, 166, 0.08);
  }

  .dropdown-menu {
    position: static;

    display: none;

    opacity: 1;
    visibility: visible;

    transform: none !important;

    left: 0 !important;

    width: 100%;

    margin-top: 0.5rem;

    padding: 0.5rem;

    border-radius: 14px;

    background: rgba(241, 245, 249, 0.8);

    box-shadow: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 0.8rem 1rem;

    font-size: 0.92rem;

    border-radius: 10px;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 450px) {
  nav {
    top: 0.7rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
  }

  .logo {
    font-size: 1.15rem;
  }

  .menu {
    width: 260px;
    padding: 6rem 1.5rem;
  }

  .menu li a {
    font-size: 0.95rem;
  }

  .btn-login {
    width: 30px;
  }
}
/* =========================
   HERO MODERN PREMIUM
========================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* =========================
   HERO IMAGE
========================= */

.Hero-img {
  width: 100%;
  height: 100%;
  position: relative;
}

.Hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  animation: heroZoom 18s ease-in-out infinite alternate;
}

/* =========================
   OVERLAY
========================= */

.Hero-img::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    rgba(2, 6, 23, 0.88) 15%,
    rgba(2, 6, 23, 0.55) 45%,
    rgba(2, 6, 23, 0.2) 100%
  );

  z-index: 1;
}

/* glow effect */
.Hero-img::after {
  content: "";

  position: absolute;
  width: 600px;
  height: 600px;

  background: rgba(20, 184, 166, 0.18);

  filter: blur(120px);

  border-radius: 50%;

  top: -200px;
  right: -100px;

  z-index: 1;
}

/* =========================
   HERO TEXT
========================= */

.hero-text {
  position: absolute;

  top: 50%;
  left: 8%;

  transform: translateY(-50%);

  z-index: 3;

  width: 100%;
  max-width: 720px;

  animation: fadeUp 1.2s ease;
}

/* small badge */
.hero-text::before {
  content: "✨ Website Resmi Musholla";

  display: inline-block;

  margin-bottom: 1.5rem;
  padding: 0.7rem 1.3rem;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(10px);

  border-radius: 999px;

  color: white;

  font-size: 0.85rem;
  font-weight: 500;

  letter-spacing: 0.4px;
}

/* =========================
   TITLE
========================= */

.hero-text h1 {
  font-size: 5.3rem;
  line-height: 1.05;

  color: white;

  font-weight: 700;

  letter-spacing: -2px;

  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.hero-text h1:nth-child(3) {
  background: linear-gradient(135deg, #5eead4, #14b8a6);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================
   DESCRIPTION
========================= */

.hero-text p {
  margin-top: 1.8rem;

  font-size: 1.05rem;
  line-height: 2;

  color: rgba(255, 255, 255, 0.82);

  max-width: 620px;
}

/* =========================
   BUTTON
========================= */

.hero-text .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 2.5rem;

  padding: 1rem 2.3rem;

  border-radius: 999px;

  text-decoration: none;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  color: white;

  font-size: 0.95rem;
  font-weight: 600;

  box-shadow: 0 10px 35px rgba(20, 184, 166, 0.35);

  transition: 0.4s ease;
}

.hero-text .btn:hover {
  transform: translateY(-6px) scale(1.03);

  box-shadow: 0 18px 45px rgba(20, 184, 166, 0.45);
}

/* =========================
   ANIMATION
========================= */

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .hero-text {
    left: 6%;
    max-width: 90%;
  }

  .hero-text h1 {
    font-size: 3.8rem;
  }

  .hero-text p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .hero-text .btn {
    padding: 0.95rem 2rem;
  }

  .Hero-img::after {
    width: 400px;
    height: 400px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .Hero-img::before {
    background: linear-gradient(
      to top,
      rgba(2, 6, 23, 0.95),
      rgba(2, 6, 23, 0.45)
    );
  }

  .hero-text {
    left: 50%;
    top: 55%;

    transform: translate(-50%, -50%);

    width: 90%;

    text-align: center;
  }

  .hero-text::before {
    font-size: 0.7rem;
    padding: 0.6rem 1rem;
  }

  .hero-text h1 {
    font-size: 2.6rem;
    line-height: 1.2;
  }

  .hero-text p {
    margin-top: 1.2rem;

    font-size: 0.9rem;
    line-height: 1.7;
  }

  .hero-text .btn {
    width: 100%;

    padding: 1rem;
  }

  .Hero-img::after {
    width: 250px;
    height: 250px;

    top: -80px;
    right: -80px;
  }

  .hero::after {
    width: 24px;
    height: 42px;
  }
}

/* =========================
   ABOUT SECTION
========================= */

.about {
  position: relative;

  padding: 3rem 7%;
  background: #f8fafc;

  overflow: hidden;
}

/* background glow */
.about::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  background: rgba(20, 184, 166, 0.08);

  filter: blur(120px);

  border-radius: 50%;

  top: -120px;
  left: -120px;
}

/* =========================
   TITLE
========================= */

.about h2 {
  position: relative;

  text-align: center;

  font-size: 3rem;
  font-weight: 700;

  color: #0f172a;

  margin-bottom: 4rem;

  z-index: 2;
}

.about h2::after {
  content: "";

  width: 90px;
  height: 5px;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  display: block;

  margin: 1rem auto 0;
}

/* =========================
   CONTAINER
========================= */

.about-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;

  position: relative;
  z-index: 2;
}

/* =========================
   ABOUT CONTAINER
========================= */

.about-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* =========================
   ABOUT BOX
========================= */

.about-box {
  display: grid;
  grid-template-columns: 1fr 1.4fr; /* foto | teks */

  border-radius: 28px;
  overflow: hidden;

  background: #ffffff;

  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.09);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;

  min-height: 280px;
}

.about-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.13);
}

/* zig-zag: card genap balik arah */
.about-box:nth-child(even) {
  grid-template-columns: 1.4fr 1fr; /* teks | foto */
  direction: rtl; /* balik urutan kolom */
}

.about-box:nth-child(even) .about-text,
.about-box:nth-child(even) .about-img {
  direction: ltr; /* konten tetap normal */
}

/* =========================
   IMAGE — tinggi ngikut teks
========================= */

.about-img {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.about-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-box:hover .about-img img {
  transform: scale(1.07);
}

/* overlay tipis di gambar */
.about-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 94, 92, 0.15), transparent);
}

/* =========================
   TEXT — tinggi bebas
========================= */

.about-text {
  padding: 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

/* garis aksen kiri */
.about-text::before {
  content: "";
  position: absolute;
  top: 2.2rem;
  left: 0;
  width: 4px;
  height: 50px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #0f5e5c, #d4af37);
}

/* garis aksen kanan untuk card genap */
.about-box:nth-child(even) .about-text::before {
  left: unset;
  right: 0;
}

.about-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.about-text p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #475569;
  text-align: justify;
}

/* =========================
   TABLET — 768px
========================= */

@media (max-width: 768px) {
  .about-box,
  .about-box:nth-child(even) {
    grid-template-columns: 1fr; /* tumpuk vertikal */
    direction: ltr;
    min-height: auto;
  }

  .about-img {
    min-height: 220px;
  }

  .about-text {
    padding: 1.6rem 1.8rem;
  }

  /* garis aksen pindah ke atas */
  .about-text::before,
  .about-box:nth-child(even) .about-text::before {
    top: 0;
    left: 1.5rem;
    right: unset;
    width: 50px;
    height: 4px;
  }

  .about-text h3 {
    font-size: 1.2rem;
  }
}

/* =========================
   MOBILE — 450px
========================= */

@media (max-width: 450px) {
  .about-img {
    min-height: 190px;
  }

  .about-text {
    padding: 1.3rem 1.4rem;
  }

  .about-text h3 {
    font-size: 1.1rem;
  }

  .about-text p {
    font-size: 0.88rem;
    line-height: 1.75;
  }
}

/* =========================
   STRUKTUR MINIMALIS MODERN
========================= */

.struktur {
  padding: -1rem 7%;

  background: #f8fafc;
}

/* =========================
   JUDUL
========================= */

.judul-struktur {
  text-align: center;

  font-size: 2.5rem;
  font-weight: 700;

  color: #0f172a;

  margin-bottom: 4rem;

  letter-spacing: -1px;
}

/* =========================
   LEVEL
========================= */

.level {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 1.5rem;

  margin: 1.5rem 0;

  flex-wrap: wrap;
}

/* =========================
   GARIS
========================= */

.line {
  width: 2px;
  height: 45px;

  background: #cbd5e1;

  margin: auto;
}

/* =========================
   CARD
========================= */

.card {
  width: 220px;

  background: white;

  border-radius: 20px;

  padding: 1.3rem;

  text-align: center;

  border: 1px solid #e2e8f0;

  transition: 0.3s ease;

  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
}

.card:hover {
  transform: translateY(-5px);

  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

/* =========================
   ICON
========================= */

.card .icon {
  width: 55px;
  height: 55px;

  margin: auto auto 1rem;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  color: white;

  font-size: 1.2rem;
  font-weight: 700;
}

/* =========================
   NAMA
========================= */

.nama {
  font-size: 1rem;
  font-weight: 600;

  color: #0f172a;

  margin-bottom: 0.6rem;
}

/* =========================
   JABATAN
========================= */

.card span {
  font-size: 0.8rem;
  font-weight: 500;

  color: #64748b;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .struktur {
    padding: 5rem 5%;
  }

  .judul-struktur {
    font-size: 2rem;
  }

  .card {
    width: 200px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .struktur {
    padding: 4rem 4%;
  }

  .judul-struktur {
    font-size: 1.7rem;

    margin-bottom: 3rem;
  }

  .level {
    gap: 1rem;
  }

  .card {
    width: 100%;

    padding: 1.2rem;
  }

  .card .icon {
    width: 50px;
    height: 50px;

    font-size: 1rem;
  }

  .nama {
    font-size: 0.95rem;
  }

  .card span {
    font-size: 0.75rem;
  }
}

/* =========================
   JADWAL SHOLAT SECTION
========================= */

.jadwal {
  position: relative;

  padding: 2rem 7%;

  background: linear-gradient(to bottom, #ffffff, #f8fafc);

  overflow: hidden;
}

/* background glow */
.jadwal::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  background: rgba(20, 184, 166, 0.08);

  border-radius: 50%;

  filter: blur(120px);

  top: -150px;
  right: -150px;
}

/* =========================
   TITLE
========================= */

.jadwal h1 {
  text-align: center;

  font-size: 3rem;
  font-weight: 700;

  color: #0f172a;

  letter-spacing: -1px;
}

.jadwal h2 {
  text-align: center;

  margin-top: 0.8rem;
  margin-bottom: 4rem;

  font-size: 1rem;
  font-weight: 500;

  color: #64748b;
}

/* =========================
   BOX
========================= */

.jadwal-box {
  position: relative;

  max-width: 950px;

  margin: auto;

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.4);

  border-radius: 30px;

  overflow: hidden;

  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);

  z-index: 2;
}

/* =========================
   TABLE
========================= */

.jadwal table {
  width: 100%;

  border-collapse: collapse;
}

/* =========================
   HEADER
========================= */

.jadwal table th {
  background: linear-gradient(135deg, #14b8a6, #0f766e);

  color: white;

  padding: 1.4rem;

  font-size: 0.95rem;
  font-weight: 600;

  text-align: center;

  letter-spacing: 0.3px;
}

/* =========================
   BODY
========================= */

.jadwal table td {
  padding: 1.3rem;

  text-align: center;

  font-size: 0.95rem;

  color: #334155;

  border-bottom: 1px solid #eef2f7;

  transition: 0.3s ease;
}

/* hover row */
.jadwal table tr:hover td {
  background: rgba(20, 184, 166, 0.05);
}

/* nama sholat */
.jadwal table td:first-child {
  font-weight: 600;

  color: #0f172a;
}

/* waktu */
.jadwal table td:nth-child(2) {
  color: #0f766e;

  font-weight: 700;
}

/* =========================
   LAST ROW
========================= */

.jadwal table tr:last-child td {
  border-bottom: none;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .jadwal {
    padding: 6rem 5%;
  }

  .jadwal h1 {
    font-size: 2.4rem;
  }

  .jadwal-box {
    border-radius: 24px;
  }

  .jadwal table th,
  .jadwal table td {
    padding: 1rem;

    font-size: 0.9rem;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .jadwal {
    padding: 5rem 4%;
  }

  .jadwal h1 {
    font-size: 2rem;
  }

  .jadwal h2 {
    font-size: 0.9rem;

    margin-bottom: 2.5rem;
  }

  .jadwal-box {
    overflow-x: auto;

    border-radius: 20px;
  }

  .jadwal table {
    min-width: 500px;
  }

  .jadwal table th,
  .jadwal table td {
    padding: 0.9rem;

    font-size: 0.82rem;
  }
}

/* =========================
   LAYANAN SECTION
========================= */

.layanan {
  position: relative;

  padding: 2rem 7%;

  background: linear-gradient(to bottom, #f8fafc, #ffffff);

  overflow: hidden;
}

/* glow background */
.layanan::before {
  content: "";

  position: absolute;

  width: 550px;
  height: 550px;

  background: rgba(20, 184, 166, 0.08);

  border-radius: 50%;

  filter: blur(120px);

  top: -180px;
  right: -180px;
}

.layanan::after {
  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  background: rgba(59, 130, 246, 0.05);

  border-radius: 50%;

  filter: blur(110px);

  bottom: -150px;
  left: -150px;
}

/* =========================
   TITLE
========================= */

.layanan h2 {
  position: relative;

  text-align: center;

  font-size: 3rem;
  font-weight: 700;

  color: #0f172a;

  margin-bottom: 5rem;

  letter-spacing: -1px;

  z-index: 2;
}

.layanan h2::after {
  content: "";

  width: 90px;
  height: 5px;

  margin: 1rem auto 0;

  display: block;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

/* =========================
   CONTAINER
========================= */

.layanan-container {
  position: relative;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 2rem;

  z-index: 2;
}

/* =========================
   CARD
========================= */

.layanan-card {
  position: relative;

  padding: 2.3rem 2rem;

  border-radius: 30px;

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.35);

  overflow: hidden;

  transition: 0.45s ease;

  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
}

/* hover premium */
.layanan-card:hover {
  transform: translateY(-12px);

  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

/* glow top */
.layanan-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background: linear-gradient(90deg, #14b8a6, #0f766e);
}

/* floating blur */
.layanan-card::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  background: rgba(255, 255, 255, 0.18);

  border-radius: 50%;

  top: -70px;
  right: -70px;

  filter: blur(30px);
}

/* =========================
   ICON
========================= */

.layanan-card .icon {
  position: relative;

  width: 75px;
  height: 75px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 1.8rem;

  border-radius: 22px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  color: white;

  font-size: 2rem;

  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.28);

  z-index: 2;
}

/* =========================
   TITLE CARD
========================= */

.layanan-card h3 {
  position: relative;

  font-size: 1.5rem;
  font-weight: 700;

  color: #0f172a;

  margin-bottom: 1rem;

  z-index: 2;
}

/* =========================
   DESCRIPTION
========================= */

.layanan-card p {
  position: relative;

  font-size: 0.95rem;
  line-height: 1.9;

  color: #64748b;

  z-index: 2;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .layanan {
    padding: 6rem 5%;
  }

  .layanan h2 {
    font-size: 2.4rem;
  }

  .layanan-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .layanan-card {
    padding: 2rem 1.7rem;
  }

  .layanan-card .icon {
    width: 68px;
    height: 68px;

    font-size: 1.7rem;
  }

  .layanan-card h3 {
    font-size: 1.3rem;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .layanan {
    padding: 5rem 4%;
  }

  .layanan h2 {
    font-size: 2rem;

    margin-bottom: 3rem;
  }

  .layanan-container {
    grid-template-columns: 1fr;
  }

  .layanan-card {
    padding: 1.7rem 1.4rem;

    border-radius: 24px;
  }

  .layanan-card .icon {
    width: 60px;
    height: 60px;

    border-radius: 18px;

    font-size: 1.5rem;
  }

  .layanan-card h3 {
    font-size: 1.2rem;
  }

  .layanan-card p {
    font-size: 0.9rem;
    line-height: 1.8;
  }
}

/* =========================
   BERITA SECTION
========================= */

.berita {
  position: relative;

  padding: 2rem 7%;

  background: linear-gradient(to bottom, #ffffff, #f8fafc);

  overflow: hidden;
}

/* background glow */
.berita::before {
  content: "";

  position: absolute;

  width: 550px;
  height: 550px;

  background: rgba(20, 184, 166, 0.07);

  border-radius: 50%;

  filter: blur(120px);

  top: -200px;
  left: -180px;
}

.berita::after {
  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  background: rgba(59, 130, 246, 0.05);

  border-radius: 50%;

  filter: blur(110px);

  bottom: -180px;
  right: -150px;
}

/* =========================
   TITLE
========================= */

.berita h2 {
  position: relative;

  text-align: center;

  font-size: 3rem;
  font-weight: 700;

  color: #0f172a;

  margin-bottom: 5rem;

  letter-spacing: -1px;

  z-index: 2;
}

.berita h2::after {
  content: "";

  width: 90px;
  height: 5px;

  display: block;

  margin: 1rem auto 0;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

/* =========================
   CONTAINER
========================= */

.berita-container {
  position: relative;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 2rem;

  z-index: 2;
}

/* =========================
   CARD
========================= */

.berita-card {
  position: relative;

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.4);

  border-radius: 30px;

  overflow: hidden;

  transition: 0.45s ease;

  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

/* hover */
.berita-card:hover {
  transform: translateY(-12px);

  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
}

/* =========================
   IMAGE
========================= */

.berita-card img {
  width: 100%;
  height: 240px;

  object-fit: cover;

  transition: 0.7s ease;
}

.berita-card:hover img {
  transform: scale(1.08);
}

/* image overlay */
.berita-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(to top, rgba(15, 23, 42, 0.08), transparent);

  z-index: 1;

  pointer-events: none;
}

/* =========================
   TEXT
========================= */

.berita-text {
  position: relative;

  padding: 2rem;

  z-index: 2;
}

/* date badge */
.berita-text span {
  display: inline-block;

  margin-bottom: 1rem;

  padding: 0.45rem 1rem;

  border-radius: 999px;

  background: rgba(20, 184, 166, 0.1);

  color: #0f766e;

  font-size: 0.8rem;
  font-weight: 600;
}

/* title */
.berita-text h3 {
  font-size: 1.45rem;
  font-weight: 700;

  color: #0f172a;

  line-height: 1.4;

  margin-bottom: 1rem;

  transition: 0.3s ease;
}

.berita-card:hover h3 {
  color: #0f766e;
}

/* desc */
.berita-text p {
  font-size: 0.95rem;
  line-height: 1.9;

  color: #64748b;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .berita {
    padding: 6rem 5%;
  }

  .berita h2 {
    font-size: 2.4rem;
  }

  .berita-container {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .berita-card img {
    height: 220px;
  }

  .berita-text {
    padding: 1.6rem;
  }

  .berita-text h3 {
    font-size: 1.25rem;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .berita {
    padding: 5rem 4%;
  }

  .berita h2 {
    font-size: 2rem;

    margin-bottom: 3rem;
  }

  .berita-container {
    grid-template-columns: 1fr;
  }

  .berita-card {
    border-radius: 24px;
  }

  .berita-card img {
    height: 200px;
  }

  .berita-text {
    padding: 1.4rem;
  }

  .berita-text h3 {
    font-size: 1.1rem;
  }

  .berita-text p {
    font-size: 0.88rem;
    line-height: 1.7;
  }
}

/* =========================
   MAPS SECTION
========================= */

.maps {
  position: relative;

  padding: 2rem 7%;

  background: linear-gradient(to bottom, #f8fafc, #ffffff);

  overflow: hidden;
}

/* glow background */
.maps::before {
  content: "";

  position: absolute;

  width: 550px;
  height: 550px;

  background: rgba(20, 184, 166, 0.08);

  border-radius: 50%;

  filter: blur(120px);

  top: -180px;
  right: -180px;
}

/* =========================
   TITLE
========================= */

.maps h2 {
  position: relative;

  text-align: center;

  font-size: 3rem;
  font-weight: 700;

  color: #0f172a;

  margin-bottom: 4rem;

  letter-spacing: -1px;

  z-index: 2;
}

.maps h2::after {
  content: "";

  width: 90px;
  height: 5px;

  display: block;

  margin: 1rem auto 0;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

/* =========================
   MAP BOX
========================= */

.maps-container {
  position: relative;

  overflow: hidden;

  border-radius: 35px;

  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);

  z-index: 2;
}

.maps-container iframe {
  display: block;

  width: 100%;

  filter: grayscale(0.1) contrast(1.05);
}

/* =========================
   ALAMAT
========================= */

.alamat {
  margin-top: 2rem;

  text-align: center;

  font-size: 1rem;
  line-height: 1.8;

  color: #64748b;
}

/* =========================
   KONTAK SECTION
========================= */

.kontak {
  position: relative;

  padding: 2rem 7%;

  background: linear-gradient(to bottom, #ffffff, #f8fafc);

  overflow: hidden;
}

/* glow */
.kontak::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  background: rgba(59, 130, 246, 0.06);

  border-radius: 50%;

  filter: blur(120px);

  bottom: -180px;
  left: -180px;
}

/* =========================
   TITLE
========================= */

.kontak h2 {
  position: relative;

  text-align: center;

  font-size: 3rem;
  font-weight: 700;

  color: #0f172a;

  margin-bottom: 5rem;

  letter-spacing: -1px;

  z-index: 2;
}

.kontak h2::after {
  content: "";

  width: 90px;
  height: 5px;

  display: block;

  margin: 1rem auto 0;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

/* =========================
   ROW
========================= */

.row {
  position: relative;

  display: grid;
  grid-template-columns: 1fr 1.2fr;

  gap: 2rem;

  z-index: 2;
}

/* =========================
   INFO
========================= */

.kontak-info {
  display: flex;
  flex-direction: column;

  gap: 1.5rem;
}

/* =========================
   INFO BOX
========================= */

.info-box {
  padding: 2rem;

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);

  transition: 0.4s ease;
}

.info-box:hover {
  transform: translateY(-8px);

  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.info-box h3 {
  margin-bottom: 0.8rem;

  font-size: 1.2rem;
  font-weight: 700;

  color: #0f172a;
}

.info-box p {
  font-size: 0.95rem;
  line-height: 1.8;

  color: #64748b;
}

/* =========================
   FORM
========================= */

.kontak-form {
  padding: 2rem;

  border-radius: 30px;

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
}

.kontak-form form {
  display: flex;
  flex-direction: column;

  gap: 1.2rem;
}

/* input */
.kontak-form input,
.kontak-form textarea {
  width: 100%;

  padding: 1rem 1.2rem;

  border: 1px solid #e2e8f0;

  border-radius: 18px;

  outline: none;

  background: #f8fafc;

  font-family: inherit;

  font-size: 0.95rem;

  transition: 0.3s ease;
}

.kontak-form input:focus,
.kontak-form textarea:focus {
  border-color: #14b8a6;

  background: white;

  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

/* button */
.kontak-form button {
  padding: 1rem;

  border: none;

  border-radius: 18px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  color: white;

  font-size: 0.95rem;
  font-weight: 600;

  cursor: pointer;

  transition: 0.4s ease;

  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.25);
}

.kontak-form button:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 40px rgba(20, 184, 166, 0.35);
}

/* =========================
   STATISTIK
========================= */

.statistik {
  margin-top: 2rem;

  padding: 2rem;

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.statistik h3 {
  margin-bottom: 1.5rem;

  font-size: 1.2rem;
  font-weight: 700;

  color: #0f172a;
}

.statistik ul {
  list-style: none;
}

.statistik ul li {
  padding: 0.9rem 0;

  border-bottom: 1px solid #eef2f7;

  font-size: 0.95rem;

  color: #64748b;
}

.statistik ul li:last-child {
  border-bottom: none;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .maps,
  .kontak {
    padding: 6rem 5%;
  }

  .maps h2,
  .kontak h2 {
    font-size: 2.4rem;
  }

  .row {
    grid-template-columns: 1fr;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .maps,
  .kontak {
    padding: 5rem 4%;
  }

  .maps h2,
  .kontak h2 {
    font-size: 2rem;

    margin-bottom: 3rem;
  }

  .maps-container {
    border-radius: 24px;
  }

  .alamat {
    font-size: 0.9rem;
  }

  .info-box,
  .kontak-form,
  .statistik {
    padding: 1.5rem;

    border-radius: 22px;
  }

  .kontak-form input,
  .kontak-form textarea,
  .kontak-form button {
    font-size: 0.9rem;
  }

  .statistik ul li {
    font-size: 0.88rem;
  }
}

/* =========================
   FOOTER MODERN
========================= */

.footer {
  position: relative;

  padding: 2rem 7%;

  background: linear-gradient(135deg, #0f172a, #111827);

  overflow: hidden;

  text-align: center;
}

/* glow effect */
.footer::before {
  content: "";

  position: absolute;

  width: 300px;
  height: 300px;

  background: rgba(20, 184, 166, 0.15);

  border-radius: 50%;

  filter: blur(100px);

  top: -120px;
  left: 50%;

  transform: translateX(-50%);
}

/* top border glow */
.footer::after {
  content: "";

  position: absolute;

  top: 0;
  left: 50%;

  transform: translateX(-50%);

  width: 120px;
  height: 4px;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

/* text */
.footer p {
  position: relative;

  font-size: 0.95rem;
  font-weight: 400;

  color: rgba(255, 255, 255, 0.7);

  letter-spacing: 0.5px;

  z-index: 2;
}

/* creator name */
.footer p span {
  color: #14b8a6;

  font-weight: 600;
}

/* hover */
.footer p:hover {
  color: white;

  transition: 0.3s ease;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .footer {
    padding: 1.8rem 5%;
  }

  .footer p {
    font-size: 0.9rem;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .footer {
    padding: 1.5rem 4%;
  }

  .footer p {
    font-size: 0.82rem;

    line-height: 1.7;
  }
}

/* ================= SEJARAH ================= */

/* =========================
   HERO SEJARAH MODERN
========================= */

.hero-sejarah {
  position: relative;

  width: 100%;

  padding: 8rem 7% 6rem;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  background: linear-gradient(135deg, #f8fafc, #eef2f7);
}

/* background glow */
.hero-sejarah::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  background: rgba(20, 184, 166, 0.08);

  border-radius: 50%;

  filter: blur(120px);

  top: -200px;
  right: -150px;
}

/* =========================
   CONTENT BOX
========================= */

.hero-sejarah .content {
  position: relative;

  width: 100%;
  max-width: 1200px;

  padding: 5rem 4rem;

  border-radius: 40px;

  overflow: hidden;

  background:
    linear-gradient(135deg, #14b8a6, #0f766e), url("../img/sejarah-bg.jpg");

  background-size: cover;
  background-position: center;

  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);

  text-align: center;

  z-index: 2;
}

/* glass overlay */
.hero-sejarah .content::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);

  z-index: 1;
}

/* =========================
   TITLE
========================= */

.hero-sejarah .content h1 {
  position: relative;

  font-size: 4.2rem;
  font-weight: 800;

  line-height: 1.1;

  letter-spacing: -2px;

  color: white;

  z-index: 2;
}

/* gradient text */
.hero-sejarah .content h1 span {
  background: linear-gradient(135deg, #fefefe, #c1d6d4, #d0e5e3);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================
   PARAGRAPH
========================= */

.hero-sejarah .content p {
  position: relative;

  max-width: 800px;

  margin: 2rem auto 0;

  font-size: 1rem;
  line-height: 2;

  color: rgba(255, 255, 255, 0.82);

  z-index: 2;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .hero-sejarah {
    padding: 9rem 5% 5rem;
  }

  .hero-sejarah .content {
    padding: 4rem 2rem;

    border-radius: 30px;
  }

  .hero-sejarah .content h1 {
    font-size: 3rem;
  }

  .hero-sejarah .content p {
    font-size: 0.95rem;

    line-height: 1.9;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .hero-sejarah {
    padding: 8rem 4% 4rem;
  }

  .hero-sejarah .content {
    padding: 3rem 1.5rem;

    border-radius: 24px;
  }

  .hero-sejarah .content h1 {
    font-size: 2.2rem;

    line-height: 1.2;
  }

  .hero-sejarah .content p {
    margin-top: 1.5rem;

    font-size: 0.88rem;

    line-height: 1.8;
  }
}

/* =========================
   SEJARAH SECTION
========================= */

.sejarah {
  position: relative;

  padding: -2rem 7%;

  background: linear-gradient(to bottom, #ffffff, #f8fafc);

  overflow: hidden;
}

/* glow background */
.sejarah::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  background: rgba(20, 184, 166, 0.08);

  border-radius: 50%;

  filter: blur(120px);

  top: -180px;
  left: -180px;
}

/* =========================
   ROW
========================= */

.sejarah .row {
  position: relative;

  display: grid;
  grid-template-columns: 1fr 1.1fr;

  gap: 4rem;

  align-items: start;

  z-index: 2;
}

/* =========================
   LEFT CONTENT
========================= */

.sejarah .content {
  position: sticky;
  padding-left: 2rem;
  top: 120px;
}

.sejarah .content h2 {
  font-size: 3rem;
  font-weight: 800;

  line-height: 1.2;

  color: #0f172a;

  margin-bottom: 2rem;

  letter-spacing: -1px;
}

.sejarah .content h2::after {
  content: "";

  display: block;

  width: 90px;
  height: 5px;

  margin-top: 1rem;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.sejarah .content p {
  font-size: 1rem;
  line-height: 2;

  color: #64748b;

  margin-bottom: 1.5rem;
}

/* =========================
   TIMELINE
========================= */

.timeline {
  position: relative;

  padding-left: 2rem;
}

/* garis timeline */
.timeline::before {
  content: "";

  position: absolute;

  top: 0;
  left: 20px;

  width: 4px;
  height: 100%;

  border-radius: 999px;

  background: linear-gradient(to bottom, #14b8a6, #0f766e);
}

/* item */
.timeline-item {
  position: relative;

  margin-bottom: 2rem;

  padding-left: 3rem;
}

/* bulatan */
.timeline-item::before {
  content: "";

  position: absolute;

  left: 8px;
  top: 12px;

  width: 24px;
  height: 24px;

  border-radius: 50%;

  background: white;

  border: 5px solid #14b8a6;

  box-shadow: 0 0 0 8px rgba(20, 184, 166, 0.1);
}

/* tahun */
.tahun {
  display: inline-block;

  padding: 0.45rem 1rem;

  border-radius: 999px;

  margin-bottom: 1rem;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  color: white;

  font-size: 0.85rem;
  font-weight: 600;

  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.25);
}

/* card */
.timeline-text {
  padding: 2rem;

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.78);

  backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.5);

  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);

  transition: 0.4s ease;
}

.timeline-text:hover {
  transform: translateY(-8px);

  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
}

.timeline-text h4 {
  font-size: 1.25rem;
  font-weight: 700;

  color: #0f172a;

  margin-bottom: 0.8rem;
}

.timeline-text p {
  font-size: 0.95rem;
  line-height: 1.9;

  color: #64748b;
}

/* =========================
   NILAI MAKNA
========================= */

.nilai-makna {
  padding: 2rem 7%;

  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.nilai-makna .container {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 4rem;

  align-items: center;
}

/* gambar */
.nilai-makna .gambar {
  position: relative;
}

.nilai-makna .gambar img {
  width: 100%;

  border-radius: 35px;

  object-fit: cover;

  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

/* teks */
.nilai-makna .teks h2 {
  font-size: 3rem;
  font-weight: 800;

  line-height: 1.2;

  color: #0f172a;

  margin-bottom: 1.5rem;

  letter-spacing: -1px;
}

.nilai-makna .teks p {
  font-size: 1rem;
  line-height: 2;

  color: #64748b;
}

/* =========================
   QUOTE
========================= */

.quote {
  margin: 2rem auto 0;

  max-width: 950px;

  padding: 2rem 3rem;

  border-radius: 40px;

  text-align: center;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.14);
  bottom: 25%;
}

.kutipan {
  font-size: 2rem;
  font-weight: 700;

  line-height: 1.6;

  color: white;

  margin-bottom: 1.5rem;
}

.keterangan {
  font-size: 1rem;
  line-height: 1.9;

  color: rgba(255, 255, 255, 0.7);
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .sejarah,
  .nilai-makna {
    padding: 6rem 5%;
  }

  .sejarah .row,
  .nilai-makna .container {
    grid-template-columns: 1fr;
  }

  .sejarah .content {
    position: static;
  }

  .sejarah .content h2,
  .nilai-makna .teks h2 {
    font-size: 2.5rem;
  }

  .kutipan {
    font-size: 1.6rem;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .sejarah,
  .nilai-makna {
    padding: 5rem 4%;
  }

  .sejarah .content h2,
  .nilai-makna .teks h2 {
    font-size: 2rem;
  }

  .timeline {
    padding-left: 1.2rem;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .timeline-item::before {
    width: 18px;
    height: 18px;

    left: 2px;
  }

  .timeline-text {
    padding: 1.5rem;

    border-radius: 22px;
  }

  .timeline-text h4 {
    font-size: 1.05rem;
  }

  .timeline-text p,
  .sejarah .content p,
  .nilai-makna .teks p,
  .keterangan {
    font-size: 0.9rem;

    line-height: 1.8;
  }

  .nilai-makna .gambar img {
    border-radius: 24px;
  }

  .quote {
    padding: 2.5rem 1.5rem;

    border-radius: 28px;
  }

  .kutipan {
    font-size: 1.3rem;
  }
}

/* =========================
   VISI MISI MODERN PREMIUM
========================= */

.visi-misi {
  position: relative;

  padding: 9rem 7% 7rem;

  overflow: hidden;

  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

/* background blur */
.visi-misi::before {
  content: "";

  position: absolute;

  width: 600px;
  height: 600px;

  background: rgba(20, 184, 166, 0.08);

  border-radius: 50%;

  filter: blur(120px);

  top: -250px;
  right: -180px;
}

.visi-misi::after {
  content: "";

  position: absolute;

  width: 450px;
  height: 450px;

  background: rgba(59, 130, 246, 0.06);

  border-radius: 50%;

  filter: blur(120px);

  bottom: -200px;
  left: -150px;
}

/* =========================
   TITLE
========================= */

.visi-misi .judul {
  position: relative;

  text-align: center;

  font-size: 4.5rem;
  font-weight: 800;

  color: #0f172a;

  letter-spacing: -3px;

  margin-bottom: 5rem;

  z-index: 2;
}

.visi-misi .judul span {
  background: linear-gradient(135deg, #14b8a6, #0f766e);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================
   CONTAINER
========================= */

.container-visi {
  position: relative;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

  gap: 2.5rem;

  align-items: stretch;

  z-index: 2;
}

/* =========================
   CARD
========================= */

.container-visi .card {
  position: relative;

  padding: 3rem;

  border-radius: 40px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.7);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);

  transition: 0.5s ease;
  width: 100%;
}

/* hover */
.container-visi .card:hover {
  transform: translateY(-12px) scale(1.01);

  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.14);
}

/* glow effect */
.container-visi .card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent);

  z-index: 1;
}

/* decorative circle */
.container-visi .card::after {
  content: "";

  position: absolute;

  width: 220px;
  height: 220px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.12);

  top: -90px;
  right: -90px;

  filter: blur(20px);
}

/* =========================
   CONTENT
========================= */

.container-visi .card h3 {
  position: relative;

  font-size: 2.3rem;
  font-weight: 800;

  color: #0f172a;

  margin-bottom: 2rem;

  z-index: 2;
}

/* line */
.container-visi .card h3::after {
  content: "";

  display: block;

  width: 70px;
  height: 4px;

  margin: 1rem auto 0;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

/* paragraph */
.container-visi .card p {
  position: relative;

  font-size: 1rem;
  line-height: 2.1;

  color: #475569;

  z-index: 2;
}

/* =========================
   LIST MISI
========================= */

.container-visi .card ul {
  position: relative;

  display: flex;
  flex-direction: column;

  gap: 1rem;

  list-style: none;

  z-index: 2;
}

.container-visi .card ul li {
  position: relative;

  padding: 1rem 1.2rem 1rem 3.2rem;

  border-radius: 18px;

  background: rgba(248, 250, 252, 0.85);

  color: #334155;

  font-size: 0.95rem;
  font-weight: 500;

  transition: 0.35s ease;
}

/* check icon */
.container-visi .card ul li::before {
  content: "✓";

  position: absolute;

  left: 1.2rem;
  top: 50%;

  transform: translateY(-50%);

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  color: white;

  font-size: 0.8rem;
  font-weight: 700;
}

.container-visi .card ul li:hover {
  transform: translateX(10px);

  background: white;

  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.06);
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .visi-misi {
    padding: 8rem 5% 5rem;
  }

  .visi-misi .judul {
    font-size: 3.2rem;

    margin-bottom: 4rem;
  }

  .container-visi {
    grid-template-columns: 1fr;
  }

  .container-visi .card {
    padding: 2.5rem;

    border-radius: 32px;
  }

  .container-visi .card h3 {
    font-size: 2rem;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .visi-misi {
    padding: 7rem 4% 4rem;
  }

  .visi-misi .judul {
    font-size: 2.4rem;

    letter-spacing: -1px;

    margin-bottom: 3rem;
  }

  .container-visi .card {
    padding: 2rem 1.5rem;

    border-radius: 26px;
  }

  .container-visi .card h3 {
    font-size: 1.6rem;

    margin-bottom: 1.5rem;
  }

  .container-visi .card p,
  .container-visi .card ul li {
    font-size: 0.9rem;

    line-height: 1.8;
  }

  .container-visi .card ul li {
    padding: 0.9rem 1rem 0.9rem 3rem;
  }
}

/* =========================
   INFAQ SECTION
========================= */

.infaq {
  position: relative;

  padding: 9rem 7% 7rem;

  overflow: hidden;

  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

/* glow background */
.infaq::before {
  content: "";

  position: absolute;

  width: 550px;
  height: 550px;

  border-radius: 50%;

  background: rgba(20, 184, 166, 0.08);

  filter: blur(120px);

  top: -220px;
  right: -180px;
}

.infaq::after {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  border-radius: 50%;

  background: rgba(59, 130, 246, 0.05);

  filter: blur(120px);

  bottom: -180px;
  left: -150px;
}

/* =========================
   TITLE
========================= */

.infaq h2 {
  position: relative;

  text-align: center;

  font-size: 4rem;
  font-weight: 800;

  letter-spacing: -2px;

  color: #0f172a;

  z-index: 2;
}

.infaq h2::after {
  content: "";

  display: block;

  width: 90px;
  height: 5px;

  margin: 1.2rem auto 0;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.infaq > p {
  position: relative;

  text-align: center;

  margin-top: 1.5rem;
  margin-bottom: 5rem;

  font-size: 1rem;
  line-height: 1.9;

  color: #64748b;

  z-index: 2;
}

/* =========================
   CARD CONTAINER
========================= */

.infaq-card {
  position: relative;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 2rem;

  z-index: 2;
}

/* =========================
   CARD
========================= */

.infaq-card .card {
  position: relative;

  padding: 2.5rem;

  border-radius: 35px;
  width: 100%;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.72);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);

  transition: 0.45s ease;
}

/* hover */
.infaq-card .card:hover {
  transform: translateY(-12px) scale(1.01);

  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.14);
}

/* top glow */
.infaq-card .card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

/* =========================
   CARD CONTENT
========================= */

.infaq-card .card h3 {
  font-size: 1.8rem;
  font-weight: 800;

  color: #0f172a;

  margin-bottom: 1.5rem;

  line-height: 1.4;
}

.infaq-card .card p {
  font-size: 0.95rem;

  color: #64748b;

  margin-bottom: 1.5rem;
}

/* =========================
   PROGRESS BAR
========================= */

.progress {
  width: 100%;
  height: 14px;

  border-radius: 999px;

  overflow: hidden;

  background: rgba(226, 232, 240, 0.9);

  margin-bottom: 1rem;
}

.progress-bar {
  height: 100%;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.25);

  transition: 1s ease;
}

/* warna hijau */
.progress-bar.hijau {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

/* persen */
.infaq-card .card span {
  display: inline-block;

  margin-bottom: 2rem;

  font-size: 1.1rem;
  font-weight: 700;

  color: #0f172a;
}

/* =========================
   BUTTON
========================= */

.infaq-card .card button {
  width: 100%;

  padding: 1rem;

  border: none;
  outline: none;

  border-radius: 18px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  color: white;

  font-size: 0.95rem;
  font-weight: 600;

  cursor: pointer;

  box-shadow: 0 15px 30px rgba(20, 184, 166, 0.22);

  transition: 0.35s ease;
}

.infaq-card .card button:hover {
  transform: translateY(-4px);

  box-shadow: 0 20px 35px rgba(20, 184, 166, 0.32);
}

/* tombol hijau */
.hijau-btn {
  background: linear-gradient(135deg, #22c55e, #15803d) !important;

  box-shadow: 0 15px 30px rgba(34, 197, 94, 0.24) !important;
}

/* =========================
   REKENING
========================= */

.rekening {
  position: relative;

  margin-top: 5rem;

  display: grid;
  grid-template-columns: 1fr 320px;

  gap: 2rem;

  align-items: center;

  padding: 3rem;

  border-radius: 40px;

  overflow: hidden;

  background: linear-gradient(135deg, #0f172a, #111827);

  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);

  z-index: 2;
}

/* glow */
.rekening::before {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  border-radius: 50%;

  background: rgba(20, 184, 166, 0.12);

  filter: blur(80px);

  top: -80px;
  right: -80px;
}

/* text */
.rekening-text h3 {
  font-size: 2rem;
  font-weight: 800;

  color: white;

  margin-bottom: 1.5rem;
}

.rekening-text p {
  font-size: 1rem;
  line-height: 2;

  color: rgba(255, 255, 255, 0.78);
}

/* qris */
.qris {
  text-align: center;
}

.qris img {
  width: 100%;
  max-width: 240px;

  padding: 1rem;

  border-radius: 25px;

  background: white;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.qris p {
  margin-top: 1rem;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.9rem;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .infaq {
    padding: 8rem 5% 5rem;
  }

  .infaq h2 {
    font-size: 3rem;
  }

  .rekening {
    grid-template-columns: 1fr;

    text-align: center;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .infaq {
    padding: 7rem 4% 4rem;
  }

  .infaq h2 {
    font-size: 2.2rem;

    letter-spacing: -1px;
  }

  .infaq > p {
    font-size: 0.9rem;

    margin-bottom: 3rem;
  }

  .infaq-card {
    grid-template-columns: 1fr;
  }

  .infaq-card .card {
    padding: 2rem 1.5rem;

    border-radius: 26px;
  }

  .infaq-card .card h3 {
    font-size: 1.4rem;
  }

  .rekening {
    padding: 2rem 1.5rem;

    border-radius: 28px;
  }

  .rekening-text h3 {
    font-size: 1.5rem;
  }

  .rekening-text p,
  .qris p {
    font-size: 0.9rem;
  }
}

/* =========================
   PROGRAM INFAQ
========================= */

.program-infaq {
  position: relative;

  padding: 2rem 7% 7rem;

  overflow: hidden;

  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

/* glow background */
.program-infaq::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background: rgba(20, 184, 166, 0.08);

  filter: blur(120px);

  top: -200px;
  right: -150px;
}

.program-infaq::after {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  border-radius: 50%;

  background: rgba(59, 130, 246, 0.05);

  filter: blur(120px);

  bottom: -180px;
  left: -120px;
}

/* =========================
   TITLE
========================= */

.program-infaq h2 {
  position: relative;

  text-align: center;

  font-size: 4rem;
  font-weight: 800;

  color: #0f172a;

  letter-spacing: -2px;

  z-index: 2;
}

.program-infaq h2::after {
  content: "";

  display: block;

  width: 90px;
  height: 5px;

  margin: 1.2rem auto 0;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.program-infaq > p {
  position: relative;

  text-align: center;

  max-width: 700px;

  margin: 1.5rem auto 5rem;

  font-size: 1rem;
  line-height: 2;

  color: #64748b;

  z-index: 2;
}

/* =========================
   CONTAINER
========================= */

.program-container {
  position: relative;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 2rem;

  z-index: 2;
}

/* =========================
   CARD
========================= */

.program-box {
  position: relative;

  padding: 2.5rem;

  border-radius: 30px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.9);

  border: 1px solid rgba(226, 232, 240, 0.8);

  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);

  transition: 0.4s ease;
}

/* hover */
.program-box:hover {
  transform: translateY(-10px);

  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.1);
}

/* top line */
.program-box::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

/* icon circle */
.program-box h3 {
  display: flex;
  align-items: center;

  gap: 1rem;

  font-size: 1.5rem;
  font-weight: 700;

  color: #0f172a;

  margin-bottom: 1.5rem;

  line-height: 1.5;
}

/* icon style */
.program-box h3::before {
  content: "";

  width: 50px;
  height: 50px;

  flex-shrink: 0;

  border-radius: 16px;

  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.15),
    rgba(15, 118, 110, 0.08)
  );

  position: absolute;

  left: 2.5rem;
  top: 2.3rem;

  z-index: -1;
}

/* description */
.program-box p {
  font-size: 0.96rem;
  line-height: 2;

  color: #64748b;
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .program-infaq {
    padding: 8rem 5% 5rem;
  }

  .program-infaq h2 {
    font-size: 3rem;
  }

  .program-box {
    padding: 2.2rem;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .program-infaq {
    padding: 7rem 4% 4rem;
  }

  .program-infaq h2 {
    font-size: 2.2rem;

    letter-spacing: -1px;
  }

  .program-infaq > p {
    font-size: 0.9rem;

    margin-bottom: 3rem;
  }

  .program-container {
    grid-template-columns: 1fr;
  }

  .program-box {
    padding: 2rem 1.5rem;

    border-radius: 24px;
  }

  .program-box h3 {
    font-size: 1.25rem;
  }

  .program-box p {
    font-size: 0.9rem;

    line-height: 1.8;
  }
}

/* =========================
   MENU KEGIATAN
========================= */

.menu-kegiatan {
  position: relative;

  padding: 7rem 7% 5rem;

  overflow: hidden;

  text-align: center;

  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

/* glow background */
.menu-kegiatan::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background: rgba(20, 184, 166, 0.08);

  filter: blur(120px);

  top: -220px;
  right: -180px;
}

/* =========================
   TITLE
========================= */

.menu-kegiatan h2 {
  position: relative;

  font-size: 4rem;
  font-weight: 800;

  color: #0f172a;

  letter-spacing: -2px;

  margin-bottom: 3rem;

  z-index: 2;
}

.menu-kegiatan h2::after {
  content: "";

  display: block;

  width: 90px;
  height: 5px;

  margin: 1.2rem auto 0;

  border-radius: 999px;

  background: linear-gradient(135deg, #14b8a6, #0f766e);
}

/* =========================
   MENU CONTAINER
========================= */

.kegiatan-menu {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 1.2rem;

  z-index: 2;
}

/* =========================
   BUTTON MENU
========================= */

.kegiatan-menu a {
  position: relative;

  padding: 1rem 2rem;

  border-radius: 999px;

  text-decoration: none;

  font-size: 0.95rem;
  font-weight: 600;

  color: #0f172a;

  background: rgba(255, 255, 255, 0.8);

  backdrop-filter: blur(18px);

  border: 1px solid rgba(226, 232, 240, 0.8);

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);

  overflow: hidden;

  transition: 0.4s ease;
}

/* hover background */
.kegiatan-menu a::before {
  content: "";

  position: absolute;

  inset: 0;

  width: 0%;

  background: linear-gradient(135deg, #14b8a6, #0f766e);

  z-index: -1;

  transition: 0.4s ease;
}

/* hover */
.kegiatan-menu a:hover::before {
  width: 100%;
}

.kegiatan-menu a:hover {
  color: white;

  transform: translateY(-6px);

  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.22);
}

/* active click */
.kegiatan-menu a:active {
  transform: scale(0.96);
}

/* =========================
   TABLET
========================= */

@media (max-width: 768px) {
  .menu-kegiatan {
    padding: 8rem 5% 4rem;
  }

  .menu-kegiatan h2 {
    font-size: 3rem;
  }

  .kegiatan-menu {
    gap: 1rem;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 450px) {
  .menu-kegiatan {
    padding: 7rem 4% 3rem;
  }

  .menu-kegiatan h2 {
    font-size: 2.2rem;

    letter-spacing: -1px;

    margin-bottom: 2rem;
  }

  .kegiatan-menu {
    gap: 0.8rem;
  }

  .kegiatan-menu a {
    width: 100%;

    padding: 0.95rem 1rem;

    font-size: 0.9rem;
  }
}

/* =========================================
   SECTION ISI KEGIATAN
========================================= */

.isi-kegiatan {
  padding: 60px 8%;
  background: #f5f7fb;
}

/* CARD ITEM */
.kegiatan-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;

  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.kegiatan-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* selang-seling kiri-kanan */
.kegiatan-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* IMAGE */
.kegiatan-img {
  flex: 0 0 320px;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.kegiatan-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kegiatan-item:hover .kegiatan-img img {
  transform: scale(1.06);
}

/* overlay tipis di gambar */
.kegiatan-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 94, 92, 0.12), transparent);
}

/* TEXT */
.kegiatan-text {
  flex: 1;
  padding: 2rem 2.5rem 2rem 0;
  position: relative;
}

.kegiatan-item:nth-child(even) .kegiatan-text {
  padding: 2rem 0 2rem 2.5rem;
}

/* garis aksen di sisi teks */
.kegiatan-text::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -1px;
  width: 4px;
  height: 60px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #0f5e5c, #d4af37);
}

.kegiatan-item:nth-child(even) .kegiatan-text::before {
  left: unset;
  right: -1px;
}

.kegiatan-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f5e5c;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.kegiatan-text p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.85;
  text-align: justify;
}

/* =========================================
   TABLET — 768px
========================================= */
@media (max-width: 768px) {
  .isi-kegiatan {
    padding: 40px 5%;
  }

  .kegiatan-item,
  .kegiatan-item:nth-child(even) {
    flex-direction: column;
    border-radius: 18px;
    gap: 0;
  }

  .kegiatan-img {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .kegiatan-text {
    padding: 1.5rem !important;
  }

  /* garis aksen pindah ke atas */
  .kegiatan-text::before,
  .kegiatan-item:nth-child(even) .kegiatan-text::before {
    top: -1px;
    left: 20px;
    right: unset;
    width: 60px;
    height: 4px;
  }

  .kegiatan-text h3 {
    font-size: 1.3rem;
  }
}

/* =========================================
   MOBILE — 450px
========================================= */
@media (max-width: 450px) {
  .isi-kegiatan {
    padding: 30px 1.2rem;
  }

  .kegiatan-img {
    height: 190px;
  }

  .kegiatan-text {
    padding: 1.2rem !important;
  }

  .kegiatan-text h3 {
    font-size: 1.15rem;
  }

  .kegiatan-text p {
    font-size: 0.9rem;
    line-height: 1.75;
  }
}

/* =========================================
   SECTION KEGIATAN DETAIL
   (Qurban, Idul Fitri, MTQ)
========================================= */

.kegiatan-detail {
  padding: 60px 8%;
  background: #f5f7fb;
}

/* selang-seling background biar nggak monoton */
.kegiatan-detail:nth-child(even) {
  background: #ffffff;
}

/* HEADING */
.kegiatan-detail h2,
.isi-kegiatan h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f5e5c;
  margin-bottom: 3rem;
  position: relative;
}

.kegiatan-detail h2::after,
.isi-kegiatan h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  border-radius: 20px;
  background: linear-gradient(90deg, #0f5e5c, #d4af37);
}

/* CARD ITEM — sama kayak ramadhan */
.kegiatan-detail .kegiatan-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;

  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* kalau background section putih, kasih border tipis biar card keliatan */
.kegiatan-detail:nth-child(even) .kegiatan-item {
  background: #f5f7fb;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.kegiatan-detail .kegiatan-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.kegiatan-detail .kegiatan-item:nth-child(even) {
  flex-direction: row-reverse;
}

/* IMAGE */
.kegiatan-detail .kegiatan-img {
  flex: 0 0 320px;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.kegiatan-detail .kegiatan-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kegiatan-detail .kegiatan-item:hover .kegiatan-img img {
  transform: scale(1.06);
}

.kegiatan-detail .kegiatan-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 94, 92, 0.12), transparent);
}

/* TEXT */
.kegiatan-detail .kegiatan-text {
  flex: 1;
  padding: 2rem 2.5rem 2rem 0;
  position: relative;
}

.kegiatan-detail .kegiatan-item:nth-child(even) .kegiatan-text {
  padding: 2rem 0 2rem 2.5rem;
}

.kegiatan-detail .kegiatan-text::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -1px;
  width: 4px;
  height: 60px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #0f5e5c, #d4af37);
}

.kegiatan-detail .kegiatan-item:nth-child(even) .kegiatan-text::before {
  left: unset;
  right: -1px;
}

.kegiatan-detail .kegiatan-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f5e5c;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.kegiatan-detail .kegiatan-text p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.85;
  text-align: justify;
}

/* =========================================
   TABLET — 768px
========================================= */
@media (max-width: 768px) {
  .kegiatan-detail {
    padding: 40px 5%;
  }

  .kegiatan-detail .kegiatan-item,
  .kegiatan-detail .kegiatan-item:nth-child(even) {
    flex-direction: column;
    border-radius: 18px;
    gap: 0;
  }

  .kegiatan-detail .kegiatan-img {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .kegiatan-detail .kegiatan-text {
    padding: 1.5rem !important;
  }

  .kegiatan-detail .kegiatan-text::before,
  .kegiatan-detail .kegiatan-item:nth-child(even) .kegiatan-text::before {
    top: -1px;
    left: 20px;
    right: unset;
    width: 60px;
    height: 4px;
  }

  .kegiatan-detail h2 {
    font-size: 1.9rem;
  }

  .kegiatan-detail .kegiatan-text h3 {
    font-size: 1.3rem;
  }
}

/* =========================================
   MOBILE — 450px
========================================= */
@media (max-width: 450px) {
  .kegiatan-detail {
    padding: 30px 1.2rem;
  }

  .kegiatan-detail h2 {
    font-size: 1.6rem;
  }

  .kegiatan-detail .kegiatan-img {
    height: 190px;
  }

  .kegiatan-detail .kegiatan-text {
    padding: 1.2rem !important;
  }

  .kegiatan-detail .kegiatan-text h3 {
    font-size: 1.15rem;
  }

  .kegiatan-detail .kegiatan-text p {
    font-size: 0.9rem;
    line-height: 1.75;
  }
}

/* =========================================
   KAJIAN ISLAMI
========================================= */

.kajian-section {
  padding: 7rem 7%;
  background: #f5f7fb;
}

.kajian-section h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f5e5c;
  margin-bottom: 3rem;
  position: relative;
}

.kajian-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  border-radius: 20px;
  background: linear-gradient(90deg, #0f5e5c, #d4af37);
}

/* GRID */
.kajian-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

/* CARD */
.kajian-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.kajian-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* IMAGE WRAPPER — tambahin div ini di PHP-mu */
.kajian-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.kajian-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kajian-card:hover .kajian-card-img img {
  transform: scale(1.06);
}

/* overlay gradien bawah gambar */
.kajian-card-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(15, 94, 92, 0.35), transparent);
}

/* BODY */
.kajian-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

/* garis aksen atas */
.kajian-card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 40px;
  height: 3px;
  border-radius: 20px;
  background: linear-gradient(90deg, #0f5e5c, #d4af37);
}

.kajian-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f5e5c;
  line-height: 1.35;
  margin-top: 0.4rem;
}

.kajian-card-body p {
  font-size: 0.88rem;
  color: #5a5a5a;
  line-height: 1.8;
  text-align: justify;
  flex: 1;
}

/* EMPTY STATE */
.kajian-empty {
  text-align: center;
  color: #888;
  font-size: 1rem;
  padding: 3rem;
  grid-column: 1 / -1;
}

/* =========================================
   TABLET — 768px
========================================= */
@media (max-width: 768px) {
  .kajian-section {
    padding: 40px 5%;
  }

  .kajian-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .kajian-card-img {
    height: 180px;
  }
}

/* =========================================
   MOBILE — 450px
========================================= */
@media (max-width: 450px) {
  .kajian-section {
    padding: 30px 1.2rem;
  }

  .kajian-section h2 {
    font-size: 1.7rem;
  }

  .kajian-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .kajian-card-img {
    height: 200px;
  }

  .kajian-card-body {
    padding: 1.2rem 1.3rem 1.4rem;
  }

  .kajian-card-body h3 {
    font-size: 1rem;
  }

  .kajian-card-body p {
    font-size: 0.85rem;
  }
}

/* =========================================
   GALERI KEGIATAN
========================================= */

.galeri {
  padding: 60px 8%;
  background: #f5f7fb;
}

.galeri h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f5e5c;
  margin-bottom: 3rem;
  position: relative;
  padding-top: 2rem;
}

.galeri h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  border-radius: 20px;
  background: linear-gradient(90deg, #0f5e5c, #d4af37);
}

/* GRID */
.galeri-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ITEM */
.galeri-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeri-item:hover img {
  transform: scale(1.08);
}

/* OVERLAY muncul saat hover */
.galeri-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 40, 40, 0.82) 0%,
    rgba(10, 40, 40, 0.2) 55%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem 1.3rem;
}

.galeri-item:hover .galeri-overlay {
  opacity: 1;
}

/* teks overlay slide up */
.galeri-overlay p {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  transform: translateY(8px);
  transition: transform 0.35s ease;
  margin: 0;
}

.galeri-item:hover .galeri-overlay p {
  transform: translateY(0);
}

/* =========================================
   TABLET — 768px
========================================= */
@media (max-width: 768px) {
  .galeri {
    padding: 40px 5%;
  }

  .galeri-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
  }
}

/* =========================================
   MOBILE — 450px
========================================= */
@media (max-width: 450px) {
  .galeri {
    padding: 30px 1.2rem;
  }

  .galeri h2 {
    font-size: 1.7rem;
  }

  .galeri-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .galeri-item {
    border-radius: 12px;
  }

  /* di mobile overlay selalu keliatan dikit */
  .galeri-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(10, 40, 40, 0.65) 0%,
      transparent 60%
    );
  }

  .galeri-overlay p {
    transform: translateY(0);
    font-size: 0.78rem;
  }
}
