:root {
  --primary-color: #27ae60;
  --secondary-color: #27ae60;
  --text-color: #333;
  --background-color: : #eaf4e5;;
  --white: #ffffff;
  --shadow-light: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: : #eaf4e5;;
  scroll-behavior: smooth;

}

span {
  color: var(--primary-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}
/* ===================== start : navbar ===================== */

/* start: header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 10px 0;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* end: header */

/* start: logo */
.logo-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 80px;
  margin-right: 2rem;
}

.logo {
  height: 75px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s;
  padding: 2px;
}

.logo:hover {
  transform: scale(1.05);
}
/* end: logo */

/* start: nav menu */
body.menu-open {
  overflow: hidden;
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* start: additional dropdown */
.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}
/* end: nav menu */

/* start: dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  list-style: none;
  padding: 0;
  margin: 0;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s;
}

.dropdown-menu a:hover {
  background-color: #f0fdf4;
  color: var(--primary-color);
  padding-left: 1.5rem;
}
/* end: dropdown menu */

/* start: cta buttons */
.cta-buttons {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
}

.cta-btn {
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-btn.primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.cta-btn.outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.cta-btn.outline:hover {
  background-color: var(--primary-color);
  color: white;
}
/* end: cta buttons */

/* start: mobile menu */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 999;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  position: relative;
  transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  transition: all 0.3s;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  z-index: 998;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  display: none;
  flex-direction: column;
}

.mobile-menu.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  margin: 0.5rem 0;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.submenu {
  display: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.submenu.active {
  display: block;
  animation: slideDown 0.3s ease forwards;
}

.mobile-nav-item.has-submenu > .mobile-nav-link {
  cursor: pointer;
}

.mobile-nav-link:hover {
  background: var(--primary-color);
  color: var(--white);
}

.mobile-nav-item.has-submenu > .mobile-nav-link::after {
  content: "\25BC";
  float: right;
  font-size: 0.8rem;
  color: var(--text-color);
}

.mobile-nav-item.has-submenu.active > .mobile-nav-link::after {
  content: "\25B2";
}

.mobile-toggle.active .hamburger {
  background: transparent;
}

.mobile-toggle.active .hamburger::before {
  transform: rotate(45deg) translate(0, 0);
  top: 0;
}

.mobile-toggle.active .hamburger::after {
  transform: rotate(-45deg) translate(0, 0);
  bottom: 0;
}

.nav-item {
  position: relative;
  display: inline-block;
}

.dropdown {
  display: none;
  position: absolute;
  background-color: var(--white);
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  top: 100%;
  left: 0;
  z-index: 1;
}

.nav-item:hover .dropdown {
  display: block;
}

.dropdown a {
  color: var(--primary-color);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.9em;
}

.dropdown a:hover {
  background-color: var(--background-color);
}
/* end: additional dropdown */
/* end: mobile menu */

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* start: media query navbar  */

@media (min-width: 769px) {
  .mobile-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .nav-menu {
    display: flex;
  }

  .cta-buttons {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .logo {
    height: 65px;
  }

  .logo-container {
    height: 70px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .logo-container {
    height: 60px;
  }

  .nav-menu,
  .cta-buttons {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-menu {
    box-shadow: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 80px); /* Sesuaikan 80px dengan tinggi header/logo */
    background: white;
    display: none;
    flex-direction: column;
    padding: 1rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow-y: auto; /* biar bisa scroll kalau konten panjang */
  }

  .mobile-menu.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-item {
    margin-bottom: 10px;
  }

  .mobile-nav-link {
    display: block;
    padding: 10px 15px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
  }

  .mobile-nav-link:hover {
    background-color: var(--primary-color);
    color: white;
  }

  .submenu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }

  .submenu.active {
    display: block;
  }

  .submenu li {
    list-style: none; /* hilangkan bullet */
  }

  .submenu li a {
    display: block;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }

  .submenu li a:hover {
    background-color: #f0fdf4;
    color: var(--primary-color);
  }

  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .mobile-cta .cta-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 999px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
  }
}

/* end: media query navbar  */

/* ===================== end : navbar ===================== */

/* ===================== start : footer ===================== */

/* start: footer */
.footer {
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  background-color: #27ae60;
  color: white;
  font-family: 'Inter', sans-serif;
  padding-top: 15px;
}

/* Grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 30px;
  text-align: center;
}

/* Kotak konten */
.footer-box {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 15px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.footer-box h3 {
  color: #f9c618;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: bold;
}

.footer-box:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Social media icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 1.2rem;
  margin-top: 8px;
}

.social-icons i {
  color: white;
  transition: all 0.2s ease;
}

.social-icons i:hover {
  color: #f9c618;
  transform: scale(1.1);
}

/* Footer bottom */
.footer-bottom {
  margin-top: 20px;
  background-color: #239C56;
  text-align: center;
  padding: 10px;
  font-size: 0.8rem;
}
/* end: footer */

/* start : media querry footer */
@media screen and (max-width: 768px) {
  .footer {
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding-top: 10px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }

  .footer-box {
    max-width: 100%;
    min-height: auto; /* Hapus tinggi minimal tetap */
    padding: 15px 10px;
    margin-bottom: 0;
  }
  
  .footer-box h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .footer-box p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .social-icons {
    gap: 12px;
    font-size: 1.1rem;
  }
  
  .footer-bottom {
    margin-top: 15px;
    padding: 8px;
    font-size: 0.75rem;
  }
}
/* end : media querry footer */

/* ===================== end : footer ===================== */
/* ===================== start : main.php ===================== */
/* ===================== start main ===================== */

/* start: hero section */
.hero-section {
  position: relative;
  min-height: 80vh;
  background: linear-gradient(135deg, #e9f5e9, #ffffff);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0; /* Compensate for header height */
  padding-top: 120px; /* Add padding to prevent overlap with fixed header */
}

.hero-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  left: -150px;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.1;
}

.hero-container {
  width: 90%;
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.hero-left {
  flex: 1 1 400px;
  text-align: center;
}

.hero-left img {
  width: 100%;
  max-width: 700px;
  animation: float 4s ease-in-out infinite;
}

.hero-right {
  flex: 1 1 400px;
  background-color: var(--white);
  color: var(--text-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px var(--shadow-light);
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
  position: relative;
}

.hero-right q {
  font-style: italic;
  display: block;
  margin: 0;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.hero-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #1e8c4d;
}
/* end: hero section */

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* start: media query hero section*/
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 0;
  }
    .hero-left {
    margin-bottom: 0; /* lebih rapat jarak ke bawah */
    padding: 15px; /* Padding ditambahkan */
  }
  .hero-left img {
    width: 100%; /* Lebar gambar dikurangi */
    max-width: 300px; /* Maksimum lebar gambar */
    margin-bottom: 0; /* Margin bawah dihilangkan */
  }

    .hero-right {
    width: 90%;
    padding: 15px 20px; /* Padding atas-bawah diperkecil */
    font-size: 0.95rem; /* Ukuran font diperkecil */
    line-height: 1.4;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;    margin-top: -15px;    position: relative;
    z-index: 2;
    max-height: 180px; /* Batasi tinggi maksimum */
    overflow: hidden; /* Sembunyikan konten yang melebihi */
  }

  .hero-right q {
        font-size: 1rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Batasi jumlah baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-button {
    margin-top: 10px; /* Kurangi margin atas */
    padding: 8px 12px; /* Padding diperkecil */
    font-size: 0.9rem;
  }
}
/* end: media query hero section*/

/* start : whatsapp button */
.whatsapp-button {
  z-index: 9999; /* Pastikan selalu di atas */
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  color: white;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s;
  text-decoration: none !important; /* Pastikan tidak ada underline */
  border: none !important; /* Hilangkan border default */
  outline: none !important; /* Hilangkan outline */
}
.whatsapp-button i {
  font-size: 30px;
  position: relative;
  text-decoration: none !important;
  display: inline-block; /* Pastikan ikon tidak terkena text-decoration */
}
.whatsapp-button {
  background-color: #25D366;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-button i {
  font-size: 30px;
  position: relative;
}

.whatsapp-button i::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 12px;
  height: 12px;
  background-color: white;
  border: 2px solid #25D366;
  border-radius: 50%;
}
.whatsapp-button:hover {
  transform: scale(1.1);
}
/* end : whatsapp button */

/* start: summary stats */
.summary-stats .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.summary-stats .stat-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 25px 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat {
  font-size: 2.5rem;
  font-weight: 700;
  color: black;
  margin-bottom: 8px;
}

.label {
  font-size: 1.1rem;
  color: #555;
  font-weight: 500;
}

/* end: summary stats */
/* Di bagian media query summary stats */
@media (max-width: 768px) {
  .summary-stats .container {
    flex-direction: column;
    gap: 15px; /* Tambahkan gap antara dua container */
    padding: 20px 0; /* Tambahkan padding atas-bawah */
  }

  .summary-stats .container > div {
    width: 90%; /* Lebar container */
    margin: 0 auto; /* Pusatkan container */
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .stat {
    font-size: 2rem; /* Ukuran angka diperkecil */
  }

  .label {
    font-size: 0.9rem; /* Ukuran label diperkecil */
  }
}
/* start: principles section */
.principles-section {
  background-color: var(--white);
  text-align: center;
  padding: 50px 0;
}

.principles {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.principle {
  background-color: var(--white);
  border: 1px solid var(--shadow-light);
  border-radius: 15px;
  padding: 30px;
  width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-light);
}
/* end: principles section */

/* start : media querry principles section */
@media (max-width: 768px) {
  .principles {
    flex-direction: column;
    align-items: center;
  }
  .principle {
    width: 90%;
  }
}
/* end : media querry principles section */

/* start: content section */
.content-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 50px;
}

.section-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.carousel-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.carousel-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

.carousel-item .content {
  padding: 20px;
  position: relative;
}

.meta-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.tag {
  background: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.date {
  color: #6c757d;
}

h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.25rem;
  line-height: 1.4;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.carousel-item:hover .read-more {
  color: #ffc107;
}

.more-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 40px auto 0;
}

.more-button:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* end: content section */

/* start : content section */
@media (max-width: 768px) {
  .carousel {
    grid-template-columns: 1fr;
  }
  .carousel-item {
    margin-bottom: 20px;
  }
}

/* end : content section */

/* start: statistics section */
.statistics-section {
  background-color: var(--white);
  padding: 50px 0;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background-color: var(--background-color);
  border-radius: 15px;
  width: 250px;
}
/* end: statistics section */

/* ===================== end main ===================== */
/* ===================== end : main.php ===================== */

/* ===================== start : navbar tentang kami ===================== */
/* ===================== start profile ===================== */

.sejarah-page {
  padding-top: 80px;
  background-color: #f4f6f7;
  padding-bottom: 40px;
}

.sejarah-header {
  text-align: center;
  margin-bottom: 2rem;
}

.sejarah-header img {
  margin-left: auto;
  margin-right: auto;
  height: 150px;
  width: auto;
  margin-top: 50px; /* Sesuaikan nilai ini sesuai kebutuhan */
  display: block; /* Memastikan margin bekerja dengan benar */
}

.sejarah-header h1 {
  font-size: 2.5rem;
  color: #27ae60;
  margin-bottom: 0.5rem;
}

.sejarah-subtitle {
  font-size: 1.1rem;
  color: #27ae60;
  max-width: 600px;
  margin: 0 auto;
}

.sejarah-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #333;
  line-height: 1.6;
}

.sejarah-content p {
  margin-bottom: 1rem;
}

.sejarah-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #27ae60;
}

.image-section {
  margin: 2rem 0;
  text-align: center;
}

.image-section img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* start media query profile */

@media (max-width: 768px) {
  .sejarah-header h1 {
    font-size: 2rem;
  }

  .sejarah-subtitle {
    font-size: 1rem;
  }

  .sejarah-content {
    padding: 1rem;
  }
}

/* end media query profile */

/* ===================== end profile ===================== */

/* ===================== start visi misi ===================== */

.visi-misi-page {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #e9f5e9, #ffffff);
  color: #333;
  padding-top: 120px;
  position: relative;
}

.visi-misi-header {
  text-align: center;
  margin-bottom: 40px;
  z-index: 2;
  position: relative;
}

.visi-misi-header img {
  height: 150px;
  width: auto;
  transition: transform 0.2s;
}

.visi-misi-header h1 {
  font-size: 2.5rem;
  color: #27ae60;
  margin-bottom: 1rem;
}

.visi-misi-header p {
  font-size: 1.1rem;
  color: #333;
}

.visi-misi-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 50px;
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.visi-misi-section {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.visi-misi-section:hover {
  transform: translateY(-5px);
}

.visi-misi-section h2 {
  color: #27ae60;
  margin-bottom: 20px;
}

.visi-misi-section p {
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Dekorasi Lingkaran */
.circle-decoration {
  position: fixed;
  width: 400px;
  height: 400px;
  background-color: #27ae60;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.circle-decoration.top-left {
  top: -100px;
  left: -100px;
}

.circle-decoration.bottom-right {
  bottom: -100px;
  right: -100px;
}

/* start media query visi misi */

@media (max-width: 768px) {
  .visi-misi-header h1 {
    font-size: 2rem;
  }

  .visi-misi-section {
    padding: 20px;
  }

  .circle-decoration {
    width: 300px;
    height: 300px;
  }
}

/* end media query visi misi */

/* ===================== end visi misi ===================== */

/* ===================== start organisasi ===================== */

.struktur-page {
  padding: 100px 20px 40px;
  background-color: #f8f9fa;
  min-height: 100vh;
}

.container-struktur {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 0 15px;
}

.leadership-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 2rem;
  background: linear-gradient(135deg, #2d6a4f, #40916c);
  color: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.leadership-header img {
  height: 150px;
  width: auto;
}

.leadership-header h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 1rem 0;
  letter-spacing: -0.5px;
}

.leadership-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Struktur Grid */
.leadership-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.leadership-level {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
}

.leadership-level::after {
  content: "";
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 60%;
  background: rgba(64, 145, 108, 0.1);
}

/* Kartu Profil */
.leadership-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  margin: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 260px;
  text-align: center;
  transition: all 0.3s ease;
}

.leadership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(64, 145, 108, 0.15);
}

/* Gambar Profil */
.compact-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #e9ecef;
  overflow: hidden;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.compact-image:hover {
  transform: scale(1.05);
}

.compact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info Teks */
.compact-info h3 {
  font-size: 1rem;
  color: #2d6a4f;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tooltip {
  font-size: 0.9rem;
  color: #495057;
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Warna Khusus Berdasarkan Level */
.level-1 .leadership-card {
  border-left: 4px solid #2d6a4f;
}
.level-2 .leadership-card {
  border-left: 4px solid #40916c;
}
.level-3 .leadership-card {
  border-left: 4px solid #52b788;
}
.level-4 .leadership-card {
  border-left: 4px solid #95d5b2;
}
.level-5 .leadership-card {
  border-left: 4px solid #c7f9cc;
}

/* start media query struktur organisasi */

@media (max-width: 992px) {
  .leadership-card {
    width: 220px;
    padding: 1rem;
  }

  .compact-image {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .leadership-header {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .leadership-header h1 {
    font-size: 1.8rem;
  }

  .leadership-card {
    width: 100%;
    max-width: 300px;
  }

  .leadership-level::after {
    width: 80%;
    bottom: -1rem;
  }
}

@media (max-width: 480px) {
  .struktur-page {
    padding: 80px 15px 30px;
  }

  .tooltip {
    font-size: 0.85rem;
  }
}

/* end media query struktur organisasi */

/* ===================== end organisasi ===================== */

/* ===================== start legalitas ===================== */

.legalitas-page {
  padding-top: 80px; /* Menyesuaikan tinggi header tetap */
  background-color: #f4f6f7;
  padding-bottom: 40px;
}

.legalitas-header {
  margin-top: -20px;
  text-align: center;
  margin-bottom: 30px;
}

.legalitas-header img {
  margin-left: auto;
  margin-right: auto;
  height: 150px;
  width: auto;
  margin-top: 50px; /* Sesuaikan nilai ini sesuai kebutuhan */
  display: block; /* Memastikan margin bekerja dengan benar */
}

.legalitas-header h1 {
  color: #27ae60;
  font-size: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
}

.legalitas-subtitle {
  color: #27ae60;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.legalitas-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.legalitas-list {
  list-style-type: decimal;
  padding-left: 20px;
}

.legalitas-list li {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.legalitas-list li strong {
  color: #27ae60;
}

/* start media query legalitas */

@media (max-width: 768px) {
  .legalitas-header h1 {
    font-size: 2rem;
  }

  .legalitas-subtitle {
    font-size: 1rem;
  }

  .legalitas-content {
    padding: 1rem;
  }

  .legalitas-list li {
    font-size: 0.9rem;
  }
}

/* end media query legalitas */

/* ===================== end legalitas ===================== */

/* ===================== start ngebaz + gallery in media ===================== */

.container-ngebaz {
  max-width: 1200px;
  margin: 7rem auto;
  padding: 0 20px;
}

.navv {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 4rem 0 2rem 0; /* ← margin atas diperbesar */
  flex-wrap: wrap;
}

.navv-button {
  margin-top: 3rem; /* atur sesuai kebutuhan */
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  background: #e0e0e0;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navv-button:hover {
  background: #28a745;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.navv-button.active {
  background: #28a745;
  color: white;
}

/* Galeri Item */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.gallery-item {
  position: relative;
  margin: 1rem 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border: none;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.gallery-item img,
.gallery-item iframe {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border: none;
}

/* Label dan Overlay */
.item-type {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(40, 167, 69, 0.9);
  color: white;
  padding: 4px 12px;
  font-size: 0.8rem;
  border-radius: 20px;
}

.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .item-overlay:not(.video-playing) {
  opacity: 1;
}

/* start media query ngebaz + gallery in media */

@media (max-width: 768px) {
  .navv {
    display: flex;
    justify-content: center; /* Pusatkan horizontal */
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 1rem 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .navv-button {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 10px 16px;
    font-size: 0.85rem;
    min-width: max-content;
    margin: 0; /* Hapus margin vertikal */
  }
}

/* end media query ngebaz + gallery in media */

/* ===================== end ngebaz + gallery in media ===================== */
/* ===================== end : navbar tentang kami ===================== */

/* ===================== start : navbar media ===================== */
/* ===================== start berita ===================== */

.news-section {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}

.news-carousel {
  flex: 2;
  min-width: 300px;
  position: relative;
  overflow: hidden;
}

.news-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.news-item {
  min-width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 400px;
}

.news-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.news-content-berita {
  position: relative;
  z-index: 1;
}

.news-carousel h2 {
  margin: 0;
  font-size: 1.8rem;
}

.news-carousel p {
  font-size: 1rem;
}

.news-carousel .date {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.news-carousel a.read-more {
  font-weight: bold;
  text-decoration: none;
}

.news-nav-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.news-nav-buttons button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

/* start video section */
.video-section {
  padding: 2rem 1rem;
  background-color: #fff;
  text-align: center;
}

.video-section h2 {
  font-size: 1.8rem;
  color: #136321;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.video-section .line {
  width: 6px;
  height: 28px;
  background-color: #136321;
  display: inline-block;
}

.video-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.video-item {
  flex: 1 1 300px;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: #000;
}

.video-item iframe {
  width: 100%;
  height: 220px;
  border: none;
}

/* start berita */
.berita-section {
  padding: 2rem 1rem;
  background-color: #fff;
}

.berita-section h2 {
  font-size: 1.8rem;
  color: #136321;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.berita-section .line {
  width: 6px;
  height: 28px;
  background-color: #136321;
  display: inline-block;
}

.berita-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.berita-card {
  width: 100%;
  max-width: 360px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.berita-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.berita-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.berita-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.tag {
  background-color: #136321;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tanggal {
  font-size: 0.8rem;
  color: #888;
}

.berita-content h3 {
  font-size: 1.1rem;
  color: #136321;
  margin: 0.5rem 0;
  font-weight: 600;
}

.berita-content p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 1rem;
}

.btn-baca {
  background-color: #136321;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.3s ease;
}

.btn-baca:hover {
  background-color: #0f501a;
}

/* start trending banyak */

.section-berita-lists {
  padding: 2rem 3rem; /* kiri-kanan diperbesar agar tidak mentok layar */
}

.container-berita-lists {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* supaya kolom lebih ke tengah */
  column-gap: 2.5rem; /* jarak antar kolom */
  row-gap: 2rem;
}

.berita-kolom {
  flex: 0 0 30%; /* masing-masing kolom maksimal 30% */
  min-width: 280px;
  background-color: #fff;
  border-left: 4px solid #1c7c37;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.judul-kolom {
  color: #1c7c37;
  font-weight: bold;
  margin-bottom: 1rem;
  border-bottom: 2px solid #1c7c37;
  display: inline-block;
  padding-bottom: 4px;
}

.berita-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  background-color: #f7fafa;
  border-radius: 8px;
  padding: 0.75rem;
  align-items: center;
}

.berita-item img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
}

.berita-item p {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
  color: #1c1c1c;
}

/* start media query berita */

@media (max-width: 1024px) {
  .berita-container {
    justify-content: center;
  }

  .berita-card {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .news-section {
    flex-direction: column;
  }

  .news-carousel {
    width: 100%;
  }

  .video-item iframe {
    height: 200px;
  }

  .berita-card {
    max-width: 100%;
  }
  .container-berita-lists {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .video-item iframe {
    height: 180px;
  }
}

/* end media query berita */

/* ===================== end berita ===================== */

/* ===================== start artikel ===================== */

.section-header {
  text-align: center;
  margin: 50px 0 40px;
}

.section-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #27ae60;
}

/* Artikel Section */
.artikel-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 2rem 1rem;
    margin-bottom: 30px;
}

.artikel-card {
    width: 100%;
    max-width: 360px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    margin-bottom: 30px;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artikel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.artikel-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.artikel-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.artikel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.artikel-content h3 {
    font-size: 1.1rem;
    color: #136321;
    margin: 0.5rem 0;
    font-weight: 600;
}

.artikel-content p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 1rem;
}

.tag {
  background: #27ae60;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.date {
  color: #6c757d;
}

.artikel-content a {
  background-color: #136321;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.3s ease;
}

.artikel-content a:hover {
  background-color: #0f501a;
}
/* start media query artikel */

@media (max-width: 768px) {
  .carousel {
    grid-template-columns: 1fr;
  }

  .image-container {
    height: 250px;
  }

  .section-header h1 {
    font-size: 2rem;
  }
}

/* end media query artikel */

/* ===================== end artikel ===================== */
/* ===================== end : navbar media ===================== */

/* ===================== start : navbar program ===================== */
/* start top-news */

.top-news {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #27ae60;
  z-index: 1000;
  padding: 15px;
  animation: slideIn 0.5s ease-out;
}
.top-news-header {
  background: #27ae60;
  color: white;
  padding: 8px 15px;
  margin: -15px -15px 15px -15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-news-content {
  max-height: 400px;
  overflow-y: auto;
}
.top-news-item {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.top-news-item:hover {
  background-color: #f9f9f9;
}

.top-news-item a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  display: block;
}

.top-news-item a:hover {
  color: #27ae60;
}
.top-news-date {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  display: block;
}
/* end top-news */

/* start : slideIn */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* end slideIn */

/* start : pendidikan + kesehatan + ekonomi + kemanusiaan + dakwah */

/* --- .news-image --- */
.news-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

/* --- .news-category --- */
.news-category {
  background: #27ae60;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 10px;
}

/* --- .news-title --- */
.news-title {
  font-size: 2rem;
  color: #27ae60;
  margin: 20px 0;
}

/* --- .news-meta --- */
.news-meta {
  color: #666;
  font-size: 0.9rem;
  margin: 10px 0;
}

/* --- .news-content --- */
.news-content {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  text-align: justify;
}

/* --- .read-more --- */
.read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #27ae60;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.read-more:hover {
  background-color: #219150;
  transform: scale(1.05);
}

/* --- #scrollToTop --- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #27ae60;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top:hover {
  background-color: #219150;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
  display: flex;
}
/* end : pendidikan + kesehatan + ekonomi + kemanusiaan + dakwah */

/* start media query program */

@media (max-width: 768px) {
  /* Atur ulang .top-news */
  .top-news {
    position: static;
    width: 100%;
    border-left: none;
    border-top: 4px solid #27ae60;
    box-shadow: none;
    animation: none;
    margin-bottom: 20px;
  }

  .top-news-header {
    margin: 0 0 10px 0;
  }

  .top-news-content {
    max-height: none;
  }

  /* Kontainer konten utama */
  .container {
    margin: 10px;
    padding: 15px;
  }

  /* Gambar berita */
  .news-image {
    height: auto;
  }

  /* Judul dan teks berita */
  .news-title {
    font-size: 1.5rem;
  }

  .news-content {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Tombol read-more */
  .read-more {
    width: 100%;
    text-align: center;
  }

  /* Tombol scroll to top lebih kecil */
  .scroll-to-top {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 20px;
    right: 20px;
  }
}

/* start : tablet max-width 1024px */

@media (max-width: 1024px) {
  .top-news {
    width: 250px; /* sedikit lebih sempit di tablet */
    padding: 10px;
  }

  .top-news-header {
    font-size: 0.95rem;
    padding: 8px 12px;
  }

  .top-news-item a {
    font-size: 13px;
  }

  .container {
    max-width: 90%;
    margin: 15px auto;
    padding: 15px;
  }

  .news-title {
    font-size: 1.8rem;
  }

  .news-image {
    height: 250px;
  }

  .news-content {
    font-size: 0.95rem;
  }

  .read-more {
    padding: 8px 16px;
    font-size: 0.95rem;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    font-size: 18px;
    bottom: 20px;
    right: 20px;
  }
}
/* end : tablet max-width 1024px */

/* start : Mobile max-width 768px */
@media (max-width: 768px) {
  .top-news {
    position: relative;
    width: 100%;
    border-left: none;
    border-bottom: 4px solid #27ae60;
    right: auto;
    animation: none;
  }

  .top-news-header {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.9rem;
  }

  .top-news-content {
    max-height: 300px;
  }

  .top-news-item a {
    font-size: 12px;
  }

  .container {
    max-width: 95%;
    margin: 10px auto;
    padding: 15px;
  }

  .news-title {
    font-size: 1.5rem;
  }

  .news-image {
    height: 200px;
  }

  .news-content {
    font-size: 0.9rem;
  }

  .read-more {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 15px;
    right: 15px;
  }
}
/* end : Mobile max-width 768px */

/* end media query program */

/* ===================== end : navbar program ===================== */

/* ===================== start : navbar layanan ===================== */
/* ===================== start kalkulator ===================== */

.calculator-section {
  background-color: #ffffff;
  padding: 100px 0 50px 0; /* Atas 100px, bawah 50px */
  margin: 80px 0; /* Jarak antar section lain (navbar/footer) */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Biar tetap tengah walau sedikit konten */
}

.calculator-section .container {
  max-width: 800px;
  width: 100%; /* Tambahkan ini biar di mobile tetap full */
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.calculator-section h1 {
  text-align: center;
  color: #27ae60;
  margin-bottom: 30px;
}

/* Form Controls */
.calculator-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #27ae60;
}

.calculator-section select,
.calculator-section input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.calculator-section select:focus,
.calculator-section input:focus {
  border-color: #27ae60;
  outline: none;
}

/* Button */
.calculator-section button {
  width: 100%;
  padding: 12px;
  background-color: #27ae60;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.calculator-section button:hover {
  background-color: #1e8c4d;
}

/* Result Box */
.result {
  margin-top: 20px;
  padding: 15px;
  background-color: #e7f9e7;
  border: 1px solid #c3e6c3;
  border-radius: 6px;
  color: #27ae60;
  font-weight: 500;
  font-size: 1rem;
}

/* start media query kalkulaor */

@media (max-width: 768px) {
  .calculator-section {
    padding: 5px 30px 5px 30px; /* atas 20px saja */
    margin-top: 0;
    margin-bottom: 0;
  }

  .calculator-section h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
  }

  .calculator-section .container {
    padding: 20px;
    width: 100%;
  }
}

/* end media query kalkulaor */

/* ===================== end kalkulator ===================== */

/* ===================== start DSKL ===================== */

.bayar-zakat-page {
  padding: 80px 20px 60px;
  background-color: #f7f9fb;
  font-family: "Poppins", sans-serif;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.header-decor {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.decor-circle {
  position: absolute;
  top: -15px;
  left: -20px;
  width: 30px;
  height: 30px;
  background-color: #27ae60;
  border-radius: 50%;
  opacity: 0.3;
}

.section-header h1 {
  font-size: 2.5rem;
  color: #27ae60;
}

.zakat-intro .subheader {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  color: #333;
}

.zakat-purpose h3 {
  margin-bottom: 10px;
  color: #2d6a4f;
}

.zakat-purpose ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 500px;
}

.zakat-purpose ul li {
  margin: 5px 0;
  font-size: 0.95rem;
  color: #444;
}

/* Jenis-jenis DSKL */
.zakat-types {
  margin-top: 50px;
  text-align: center;
}

.zakat-types h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #2d6a4f;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.zakat-card {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.zakat-card:hover {
  transform: translateY(-5px);
}

.zakat-icon {
  font-size: 2rem;
  color: #27ae60;
  margin-bottom: 10px;
}

.zakat-content h3 {
  margin-bottom: 10px;
  color: #2d6a4f;
}

.zakat-subtypes .subtype {
  margin-top: 10px;
  text-align: left;
}

.zakat-subtypes h4 {
  font-size: 1rem;
  color: #27ae60;
  margin-bottom: 5px;
}

.zakat-subtypes p {
  font-size: 0.9rem;
  color: #555;
}

/* Form & Info */
.zakat-grid {
  padding-left: 10px;
    padding-right: 10px;
  margin-top: 60px;
  gap: 30px;
}

.form-column {
  flex: 1 1 60%;
}

.info-column {
  flex: 1 1 35%;
}

.form-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-header h2 {
  color: #2d6a4f;
  margin-bottom: 10px;
}

.form-header p {
  color: #666;
  margin-bottom: 20px;
}

.input-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.form-group {
  flex: 1 1 48%;
  position: relative;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 10px 10px 35px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #27ae60;
  outline: none;
}

.form-group i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #27ae60;
  font-size: 1rem;
}

/* Button */
button.cta-btn.primary {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

button.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* Informasi Penting */
.info-card {
  background: #fff9e6;
  border-left: 6px solid #f1c40f;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
  color: #c0392b;
  margin-bottom: 10px;
}

.benefit-item {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 12px;
  color: #333;
}

.benefit-item i {
  color: #e67e22;
  font-size: 1.2rem;
  margin-top: 3px;
}

/* start media query dskl */

@media (max-width: 768px) {
  .zakat-category.grid-3-col {
    grid-template-columns: 1fr !important;
  }
  .bayar-zakat-page {
    padding: 50px 15px 40px;
  }

  .zakat-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 25px;
    align-items: stretch;
  }

  .form-column,
  .info-column {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  /* ⬇️ Atur urutan agar Formulir tampil duluan di mobile */
  .form-column {
    order: 1;
  }

  .info-column {
    order: 2;
  }

  .form-card,
  .info-card {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .form-card {
    margin-bottom: 10px;
  }

  .input-group {
    flex-direction: column;
    gap: 12px;
  }

  .form-group {
    flex: 1 1 100%;
  }

  .form-header h2 {
    font-size: 1.3rem;
  }

  .form-header p {
    font-size: 1rem;
  }

  button.cta-btn.primary {
    font-size: 1rem;
    padding: 0.9rem;
  }

  .info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .benefit-item {
    font-size: 0.95rem;
    gap: 10px;
  }

  .zakat-category.grid-3-col {
    grid-template-columns: 1fr;
  }

  .zakat-card {
    padding: 18px;
  }
}



/* end media query dskl */

/* ===================== end DSKL ===================== */

/* ===================== start jemput zakat ===================== */

.jemput-section {
  padding: 4rem 1rem;
  background: linear-gradient(to bottom, #f0fdf4, #dcfce7);
}

.jemput-container {
  max-width: 1020px;
  margin: 0 auto;
}

.jemput-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-input {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.submit-button {
  background-color: #10b981;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-button:hover {
  background-color: #059669;
}

/* start media query jemput zakat */

@media (min-width: 768px) {
  .form-row {
    flex-direction: row;
  }
}

/* end media query jemput zakat */

/* ===================== end jemput zakat ===================== */

/* ===================== start pengaduan & konsultasi ===================== */

/* ===== KONSULTASI SECTION ===== */
.section-konsultasi {
  padding: 4rem 1rem;
}

.container-konsultasi {
  max-width: 1000px; /* ← diperlebar dari 768px */
  margin-top: 70px;
  margin: 70px auto 0;
  padding: 1rem;
}

.card-konsultasi {
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

/* ===== JUDUL DAN TEKS ===== */
.title-header {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  color: #117c44;
  margin-bottom: 1rem;
}

.description {
  text-align: center;
  margin-bottom: 2rem;
}

.subtitle {
  font-size: 1.2rem;
  font-weight: bold;
  color: #117c44;
  margin-bottom: 1rem;
}

/* ===== KONTAK INFO ===== */
.konsultasi-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.konsultasi-contact-item {
  background-color: #e6f9ef;
  padding: 1rem;
  border-radius: 0.5rem;
}

.contact-title {
  font-weight: bold;
  color: #117c44;
  margin-bottom: 0.5rem;
}

.contact-info {
  font-size: 0.875rem;
  color: #666;
}

/* ===== FORM ===== */
.form-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.konsultasi-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.konsultasi-form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.konsultasi-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

textarea.form-input {
  resize: vertical;
}

/* ===== TOMBOL SUBMIT ===== */
.submit-button {
  background-color: #117c44;
  color: white;
  border: none;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 1rem;
}

.submit-button:hover {
  background-color: #0c5f34;
}

/* start media query pengaduan & konsultasi */

@media (max-width: 640px) {
  .konsultasi-form-row {
    flex-direction: column;
  }
}

/* end media query pengaduan & konsultasi */

/* ===================== end pengaduan & konsultasi ===================== */
/* ===================== end : layanan ===================== */

/* ===================== start navbar kontak kami ===================== */

.contact-page {
  padding: 80px 20px;
  background-color: #f4f6f7;
  font-family: "Poppins", sans-serif;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-size: 2.5rem;
  color: #27ae60;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 1.1rem;
  color: #555;
}

/* Google Map */
.map {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Contact Information */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  flex: 1 1 30%;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contact-item i {
  font-size: 2rem;
  color: #27ae60;
  margin-bottom: 10px;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2d6a4f;
}

.contact-item p {
  font-size: 1rem;
  color: #555;
}

/* Social Media */
.social-media-contact {
  text-align: center;
  margin-top: 30px;
}

.social-media-contact a {
  display: inline-block;
  margin: 0 15px;
  color: #27ae60;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.social-media-contact a i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.social-media-contact a:hover {
  color: #1e8c4d;
}

/* start media query kontak kami */

@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .contact-item {
    width: 100%;
    max-width: 400px;
  }

  .map iframe {
    height: 300px;
  }

  .contact-header h1 {
    font-size: 2rem;
  }
}

/* end media query kontak kami */

/* ===================== end : navbar kontak kami ===================== */

/* ===================== start : navbar zakat ===================== */

/* start : header */
.bayar-zakat-page {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fff8 0%, #f0faf0 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.header-decor {
  position: relative;
  padding: 2rem 0;
}

.decor-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(39, 174, 96, 0.1);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.section-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

.zakat-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.subheader {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.zakat-purpose {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.zakat-purpose ul {
  list-style: none;
  padding: 0;
}

.zakat-purpose li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.zakat-purpose li i {
  color: var(--primary-color);
}

.zakat-types {
  margin-top: 3rem;
}

.zakat-types h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}
/* end : header */

/* start : grid */
.zakat-category {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.zakat-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.zakat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-color);
}

.zakat-icon {
  text-align: center;
  margin-bottom: 1.5rem;
}

.zakat-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.zakat-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.zakat-content ul {
  list-style: none;
  padding: 0;
}

.zakat-content li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.zakat-subtypes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.subtype {
  background: #f8fff8;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
}

.subtype h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

.subtype i {
  font-size: 1.5rem;
  color: #1e8c4d;
}

.subtype p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.zakat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
/* end : grid */

/* start : card */
.form-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), #1e8c4d);
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.form-header h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.form-header p {
  color: #666;
  font-size: 0.95rem;
}
/* end : card */

/* start : input */
.icon-input {
  position: relative;
  margin-bottom: 1.5rem;
}

.icon-input i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.1rem;
}

.icon-input input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.icon-input input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(39, 174, 96, 0.2);
}
/* end : input */

/* start : select grup */
.select-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.select-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
}

.select-group select {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  appearance: none;
  font-size: 1rem;
  background: white;
}
/* end : select grup */

/* start : ctn btn+info */

.info-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* end : ctn btn+info */

/* start : benefit+kalkulator */
.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8fff8;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(10px);
}

.benefit-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.payment-methods .calculator-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 1.2rem;
  background: var(--primary-color);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.payment-methods .calculator-btn:hover {
  background: #1e8c4d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.calc-description {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  margin-top: 0.5rem;
}
/* end : benefit+kalkulator */

/* start media query zakat */

/* end media query zakat */

/* ===================== end : navbar zakat ===================== */

/* ===================== start : navbar infaq + sedekah ===================== */

.infaq-page {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fff8 0%, #f0faf0 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.header-decor {
  position: relative;
  padding: 2rem 0;
}

.decor-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(39, 174, 96, 0.1);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.section-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

.infaq-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.subheader {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.infaq-virtues {
  margin: 2rem 0;
}

.virtues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.virtue-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.virtue-card:hover {
  transform: translateY(-5px);
}

.virtue-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.infaq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
/* end: header sedekah dan infaq */

/* start : form sedekah dan infaq */
.form-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), #1e8c4d);
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.form-header h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.form-header p {
  color: #666;
  font-size: 0.95rem;
}
/* end : form sedekah dan infaq */

/* start : icon sedekah dan infaq */
.icon-input {
  position: relative;
  margin-bottom: 1.5rem;
}

.icon-input i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.1rem;
}

.icon-input input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.icon-input input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(39, 174, 96, 0.2);
}
/* end : icon sedekah dan infaq */

/* start : card sedekah dan infaq */
.info-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* end : card sedekah dan infaq */

/* start : verse sedekah dan infaq */
.verse {
  background: #f8fff8;
  padding: 1.5rem;
  border-radius: 10px;
  font-style: italic;
  color: #444;
  line-height: 1.8;
}
/* end : verse sedekah dan infaq */

/* start media query infaq + sedekah */

@media (max-width: 1024px) {
  .infaq-grid {
    grid-template-columns: 1fr;
  }
  .virtues-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .section-header h1 {
    font-size: 2rem;
  }
  .virtues-grid {
    grid-template-columns: 1fr;
  }
  .infaq-grid {
    grid-template-columns: 1fr;
  }
  .form-card,
  .info-card {
    padding: 1.5rem;
  }
}

/* end media query infaq + sedekah*/

/* ===================== end : navbar infaq + sedekah===================== */

/* ===================== START: INI-HEAD ===================== */
.ini-head {
  padding-top: 150px; 
  text-align: center;
  margin-bottom: 40px;
}

.ini-head h1 {
  font-size: 2.5rem;
  color: #27ae60;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.ini-head h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #27ae60;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
  .ini-head {
    padding-top: 120px; 
    margin-bottom: 30px;
  }
  
  .ini-head h1 {
    font-size: 2rem;
  }
  
  .ini-head h1::after {
    width: 40px;
    height: 2px;
    bottom: -8px;
  }
}

/* ===================== END: INI-HEAD ===================== */
