@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

/* Fonts */
:root {
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  --heading-font: "Raleway", sans-serif;
}

/* Color */
:root {
  /* Color Global */
  --color-primary: #018577;
  --color-secondary: #eaf8ef;
  --color-font-primary1: #f8a23d;
  --color-font-primary2: #272727;
  --color-font-primary3: #fff
  --color-font-secondary: #777777;

  /* Color utama Navbar */
  --background-color: #ffffff;
  --accent-color: #feb900;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #feb900;

  /* Color utama program */
  --color-program: #eaf8ef;
  --color-hvr-program: #018577;

  /* Warna utama galeri */
  --body-clr: #eaf8ef;
  --primary-clr: #018577;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: var(--font-primary);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* -------------------------------------------------------------- */
/* ------------------------- Layout Navbar ---------------------- */
/* -------------------------------------------------------------- */
/* ------ Bagian Navbar ------ */
.header a {
  text-decoration: none;
  transition: 0.3s;
}
.header {
  --background-color: rgba(33, 33, 33, 0.169);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 8px 0;
  transition: all 0.5s;
  z-index: 997;
}
.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--color-font-primary1);
  font-family: 'Dancing Script', cursive;
}
.header .logo span {
  font-size: 24px;
  padding-left: 1px;
  font-family: var(--heading-font);
  color: var(--color-primary);
}
.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}
.scrolled .header {
  background-color: var(--color-primary);
  --heading-color: #ffffff;
  --nav-color: #ffffff;
  --nav-hover-color: #f8a23d;
}

/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navmenu li {
    position: relative;
  }
  .navmenu > ul > li {
    white-space: nowrap;
    padding: 15px 14px;
  }
  .navmenu > ul > li:last-child {
    padding-right: 0;
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 14px;
    padding: 0 2px;
    font-family: var(--font-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }
  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }
  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }
  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu .dropdown ul li {
    min-width: 200px;
  }
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    color: var(--nav-dropdown-color);
  }
  .navmenu .dropdown ul a i {
    font-size: 12px;
  }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }
  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
  .header .logo h1{
    font-size: 11px;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  .navmenu ul {
    display: none;
    list-style: none;
    /* Layout spacing */
    inset: 60px 20px 20px 20px;
    padding: 30px 0;
    margin: 50px 10px;
    /* Appearance */
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    /* Behavior */
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: black;
  }
  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }
  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }
  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }
  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }
  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/* -------------------------------------------------------------- */
/* ------------------------- Layout Home ------------------------ */
/* -------------------------------------------------------------- */
.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center; 
  flex-direction: column;
  background: #018577;
}
.home .content {
  z-index: 888;
  color: #fff;
  width: 70%;
  margin-top: 50px;
  display: none;
  text-align: center;
}
.home .content.active {
  display: block;
}
.home .content h1 {
  font-size: 2em;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 3px;
  line-height: 40px;
  margin-bottom: 10px;
}
.home .content h1 span {
  font-size: 1.2em;
  font-weight: 700;
}
.home .content p {
  text-align: center;
  margin-bottom: 70px;
}
.home .content a {
  background: #fff;
  padding: 15px 35px;
  color: #018577;
  font-size: 1.1em;
  font-weight: 500;
  text-decoration: none;
  border-radius: 100px;
  margin-left: 40px;
}
.home .media-icons {
  z-index: 888;
  position: absolute;
  right: 30px;
  display: flex;
  flex-direction: column;
  transition: 0.5s ease;
}
.home .media-icons a:not(:last-child) {
  margin-bottom: 20px;
}
.home .media-icons a:hover {
  transform: scale(1.3);
}
.home video {
  z-index: 000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------ Home Mobile Vidio ------ */
@media (max-width: 768px) {
  .home {
    width: 100%;
    min-height: 50vh;
  }
  .home::before {
    border-radius: 0;
  }
  .home .content {
    width: 90%;
    margin-top: 20px;
  }
  .home .content h1 {
    font-size: 1.4em;
    letter-spacing: 3px;
    line-height: 30px;
    margin-top: 40px;
    margin-bottom: 10px;
  }
  .home .content p {
    font-size: 0.8em;
    margin-bottom: 30px;
  }
  .home .content a {
    padding: 8px 20px;
    font-size: 0.9em;
  }
}

/*----- Bagian Intro Home -----*/
.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3em;
  padding: 6% 4%;
  background: var(--color-secondary);
  text-align: center;
  width: 100%;;
  margin: 0 auto;
}
.about-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-img img {
  width: 100%;
  max-width: 250px;
  border-radius: 12px;
  padding: 5px;
  transition: transform 0.3s ease;
}
.about-img img:hover,
.touch-animate-img.touch-active {
  transform: scale(1.05);
}
.about-content {
  width: 100%;
}
.about-content h2 {
  color: var(--color-font-primary1);
  font-style: var(--font-secondary);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 0.5em;
}
.about-content h3 {
  color: var(--color-font-primary2);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5em;
}
.about-content p {
  color: var(--color-font-primary2);
  font-size: 16px;
  text-align: justify;
  margin: 0 auto;
  max-width: 100%;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .about {
    flex-direction: row;
    text-align: left;
    padding: 6% 8%;
  }
  .about-content {
    width: 55%;
  }
  .about-content h3 {
    font-size: 20px;
    margin-bottom: 0.8em;
  }
  .about-content p {
    line-height: 1.7;
  }
}

@media (max-width: 760px) {
  .about {
    padding: 10% 5%;
    gap: 0em;
  }
  .about-img img {
    max-width: 180px;
  }
  .about-content h2 {
    font-size: 20px;
  }
  .about-content h3 {
    font-size: 14px;
  }
  .about-content p {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
  }
}

/* ----- Bagian Visi dan Misi ----- */
.beranda {
  width: 100%;
  position: relative;
  padding: 0;
}
.beranda h2 {
  font-size: 30px;
  margin: 20px 10px 0 0;
  font-weight: 600;
  color: var(--color-font-primary1);
}
.beranda .card-text {
  color: var(--color-font-primary2);
  font-size: 17px;
  text-align: center;
}
.beranda .card-body {
  background: var(--color-secondary);
  border-radius: 5px;
}

@media (max-width: 760px) {
  .beranda h2 {
    font-size: 20px;
  }
  .beranda .card-text {
    color: var(--color-font-primary2);
    font-size: 14px;
    font-weight: 300;
  }
}

/* ----- Bagian Info Administrasi ----- */
.stats {
  position: relative;
  background-color: var(--color-secondary);
  border-radius: 20px;
  margin: 0 10px;
}
.stats .container {
  position: relative;
  z-index: 3;
}
.stats .subheading {
  text-align: center;
}
.stats .subheading h2 {
  font-style: var(--font-primary);
  font-weight: 600;
  font-size: 30px;
  color: var(--color-font-primary1);
}
.stats .subheading p {
  color: var(--color-font-primary2);
  font-weight: 600;
  font-size: 14px;
}
.stats .stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
}
.stats .stats-item span {
  font-size: 30px;
  font-weight: 600;
  color: var(--color-font-primary1);
}
.stats .stats-item p {
  text-align: center;
  margin: 0;
  font-family: var(--color-font-primary2);
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}
.section {
  margin-top: 40px;
  padding: 50px 200px;
}

@media (max-width: 768px) {
  .section {
    padding: 50px 20px;
  }
  .stats .stats-item {
    padding: 10px;
  }
  .stats .subheading h2 {
    font-size: 20px;
  }
  .stats .stats-item span {
    font-size: 24px;
  }
}

/* -------------------------------------------------------------- */
/* ------------------------- Bagian Footer ---------------------- */
/* -------------------------------------------------------------- */
footer {
  background: var(--color-primary);
  /* background: linear-gradient(to right, #018577, #38cfc0); */
  color: white;
  padding: 40px 0;
  box-sizing: border-box;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 40px;
}
.footer-brand {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 500px;
}
.logo-image-container {
  flex-shrink: 0;
  padding-right: 15px;
}
.footer-logo {
  width: 200px;
  height: auto;
  display: block;
}
.footer-brand-content {
  display: flex;
  flex-direction: column;
}
.footer-address {
  line-height: 1.7;
}
.address-text {
  margin: 0;
  font-style: normal;
}
.footer-section {
  flex: 1 1 250px;
  padding: 15px;
  box-sizing: border-box;
}
.footer-section h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}
.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--color-font-primary1);
}
.footer-section.contact p,
.footer-section.emergency p {
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-section.contact i {
  color: var(--color-font-primary1);
  min-width: 25px;
  text-align: center;
}
.footer-section.emergency p {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.footer-section.emergency strong {
  color: var(--color-font-primary1);
}
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.social-link {
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}
.social-link:hover {
  color: var(--color-font-primary1);
  transform: translateY(-3px);
}

/*--- Sytle Footer ---- */
@media (max-width: 480px) {
  .footer-logo {
    width: 180px;
  }
  .social-link {
    font-size: 1.4rem;
  }
}

@media (max-width: 1020px) {
  .container {
    gap: 20px;
    padding: 0 10px;
  }
  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    max-width: 100%;
  }
  .logo-image-container {
    padding-right: 0;
  }
  .footer-brand-content {
    align-items: center;
    text-align: center;
  }
  .address-line {
    display: block;
    margin: 5px 0;
    font-size: 0.8rem;
  }
  .footer-social {
    justify-content: center;
  }
  .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
  }
  .footer-section {
    flex-basis: 100%;
    padding: 0;
    text-align: center;
    width: 100%;
  }
  .footer-section.logo {
    flex-direction: column;
    gap: 15px;
  }
  .footer-section h4 {
    font-size: 1rem;
  }
  .footer-section h4::after {
    left: 50%;
    width: 40px;
    transform: translateX(-50%);
  }
  .footer-section.contact p,
  .footer-section.emergency p {
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 0.8rem;
    gap: 5px;
  }
  .logo-text .social-media,
  .social-media {
    justify-content: center;
  }
}

@media screen and (min-width: 1021px) and (max-width: 1154px) {
  .container {
    gap: 20px;
    padding: 0 10px;
  }
  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  .logo-image-container {
    padding-right: 0;
  }
  .footer-logo {
    width: 150px;
  }
  .footer-brand-content {
    gap: 10px;
  }
  .footer-section {
    flex: 1 1 200px;
    padding: 10px;
  }
  .footer-section.emergency {
    margin-top: -95px;
    margin-left: 529px;
  }
  .footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  .footer-section h4::after {
    width: 40px;
  }
  .footer-social {
    justify-content: center;
    gap: 10px;
  }
  .social-link {
    font-size: 1.3rem;
  }
}

/* ------ Question --------- */
.question {
  margin: 0 auto;
  padding: 60px;
}
.question h2 span {
  color: var(--color-font-primary1);
}
.accordion-wrapper {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  font-family: "Markazi Text", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.accordion-button {
  background-color: var(--color-secondary);
  font-weight: 600;
  border-radius: 14px !important;
  padding: 15px 20px;
  color: var(--color-font-primary2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}
.accordion-button:focus {
  box-shadow: none;
  outline: none;
}
.accordion-button:not(.collapsed) {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23272727' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.5 5.5l6 6 6-6L12.5 4l-4.5 4.5L3.5 4z'/%3E%3C/svg%3E");
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}
.accordion-button[aria-expanded="true"]::after {
  transform: rotate(180deg);
}
.accordion-body {
  background-color: #f9fbfd;
  padding: 20px;
  border-left: 4px solid var(--color-primary);
  margin-top: 10px;
  border-radius: 12px;
  color: var(--color-font-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.accordion-item {
  border: none;
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .question {
      margin: 0 auto;
      padding: 15px;
  }
  .question h2 {
      font-size: 25px;
      text-align: center;
  }
  .question h2 span {
      color: var(--color-font-primary1);
      font-weight: 600;
  }
  .question p {
      font-size: 14px;
      text-align: center;
      padding-inline: 0 20px;
  }
}

/* ------------------------------------------------------------------ */
/* ------------------------- Layout Berita -------------------------- */
/* ------------------------------------------------------------------ */
.carousel-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
}
.carousel-caption h5 {
  font-size: 26px;
  max-width: 80%;
  word-wrap: break-word;
  white-space: normal;
}
.carousel-caption p {
  max-width: 60%;
  word-wrap: break-word;
  white-space: normal;
}
.carousel-item img {
  max-height: 100vh; 
  width: 100%; 
  object-fit: cover; 
}
.btn-brt {
  background-color: var(--color-primary);
  color: var(--color-font-primary3);
  border-radius: 20px;
  font-size: 14px;
}
.btn-brt:hover {
  background-color: var(--color-program);
  color: var(--color-font-primary2);
}

@media (max-width: 1024px) {
  .carousel-caption h5 {
    font-size: 20px;
    max-width: 80%;
    word-wrap: break-word;
    white-space: normal;
  }
  .carousel-caption p {
    max-width: 60%;
    word-wrap: break-word;
    white-space: normal;
    font-size: 12px;
  }
  .carousel-item img {
    height: 350px; 
    object-fit: cover; 
  }
  .btn-brt {
    background-color: var(--color-primary);
    color: var(--color-font-primary3);
    border-radius: 20px;
    font-size: 10px;
  }
  .btn-brt:hover {
    background-color: var(--color-program);
    color: var(--color-font-primary2);
  }
  .carousel-indicators,
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    transform: scale(0.7); 
  }
}

/* ----- Card Berita ----- */
.card-berita h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--color-font-primary1);
}
.card-berita .text-berita {
  margin-top: 70px;
}
.news-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}
.news-card:hover {
  transform: scale(1.02);
}
.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card .card-body {
  padding: 20px;
}
.news-card .date-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: #E53935;
  color: white;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 8px;
}
.admin-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}
.card-body h5 {
  font-size: 15px;
}
.card-body p {
  font-size: 12px;
}

@media (max-width: 768px) {
  .card-berita h2 {
    font-size: 20px;
  }
  .news-card img {
    height: 200px;
  }
  .news-card .date-badge {
    font-size: 12px;
    padding: 8px;
  }
}

/* ---------------------------------------------------------------------- */
/* -------------------------  Layout Geografis ---------------------------*/
/* ---------------------------------------------------------------------- */
/* Maps Dusun */
.maps{
  border-radius: 10px;
  border: 1px solid var(--color-font-primary2);
}
.maps-dusun h2{
  font-size: 30px;
  font-weight: 600;
  color: var(--color-font-primary1);  
}
.map-wrapper {
  width: 100%;
  max-width: 900px;      
  height: auto;
  margin: 0 auto;      
  overflow: hidden;
  border-radius: 16px;   
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
}
.map-wrapper iframe {
  width: 100%;
  height: 500px;         
  border: 0;             
  border-radius: 16px;   
}

/* ------ faq Section ------ */
.contact-section {
  margin: 0 auto;
  display: block;
  max-width: 1200px; 
}
.contact-section h2{
  font-size: 30px;
  font-weight: 600;
  color: var(--color-font-primary1);
}
.contact-info-design {
  background-color: #00796b;
  color: white;
  padding: 20px;  /* Reduce padding */
  font-size: 14px;  /* Slightly larger font for better readability */
  margin: 0;
  border-radius: 10px;  /* Optional: Rounded corners for a softer look */
}
.bottom-contact-title {
  width: 60px;
  border: 2px solid var(--accent-color);
  margin: auto;
}
.info-box {
  background-color: #00897b;
  padding: 10px;  /* Reduce padding */
  margin-bottom: 15px;  
  display: flex;
  align-items: center;
  border-radius: 8px;  /* Rounded corners for info boxes */
}
.info-box div {
  margin-top: 10px;
}
.info-box h5 {
  margin: 0;
  font-size: 14px;  /* Adjust font size for better fit */
}
.info-box i {
  font-size: 22px;  /* Adjust icon size */
  margin-right: 15px;
  background-color: #cccccc76;
  padding: 10px;
  border-radius: 100px;
}
.info-box:nth-of-type(1) i {
  padding-inline: 13px;
}
.form-control, .btn {
  border-radius: 5px;  /* Slightly rounded inputs and buttons */
}
.form-input {
  padding: 30px;  /* Reduce padding */
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.12);
  border-radius: 10px;  /* Rounded corners for form area */
}
.btn-send {
  background-color: #00897b;
  color: white;
  padding: 8px 20px;  /* Reduce padding to make the button more compact */
  border-radius: 50px;
  margin: 20px auto 0;  /* Adjust margin to space the button properly */
  font-size: 14px;  /* Adjust font size */
}
.btn-send:hover {
  background-color: rgb(78, 173, 162);
  color: #fff;
}

@media (max-width: 768px){
  .maps-dusun h2{
    font-size: 20px;
    font-weight: 600;
    color: var(--color-font-primary1);  
  }
  .contact-section h2{
    font-size: 20px;
    font-weight: 600;
  }
}

/* ------ Donasi Page ------- */
.page-header {
  background-color: var(--color-primary);
  padding: 120px 0 60px;
  margin-bottom: 60px;
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,64L80,69.3C160,75,320,85,480,80C640,75,800,53,960,48C1120,43,1280,53,1360,58.7L1440,64L1440,100L1360,100C1280,100,1120,100,960,100C800,100,640,100,480,100C320,100,160,100,80,100L0,100Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}
.page-header h1 {
  color: var(--color-font-primary3);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-align: center;
  /* Ensure it doesn't stretch too wide on large screens */
  margin-left: auto;
  margin-right: auto;
}
.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}
.intro-section {
  background-color: var(--color-secondary);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.intro-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.intro-icon i {
  font-size: 36px;
  color: white;
}
.section-title {
  color: var(--color-font-primary1);
  font-family: var(--heading-font);
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
}
.tani-card {
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 15px;
}
.tani-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.tani-card .card-header {
  background-color: var(--color-primary);
  color: white;
  font-weight: 600;
  padding: 15px 20px;
  border: none;
}
.tani-card .card-body {
  padding: 25px;
}

@media (max-width: 768px) {
  .page-header {
      padding: 100px 0 50px;
  }
  .page-header h1 {
      font-size: 2rem;
  }
  .intro-section {
      padding: 30px;
      margin-bottom: 40px;
  }
  .section-spacing {
      padding: 40px 0;
  }
  .section-spacing h2{
    font-size: 23px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}
.features .nav-link {
  background-color: var(--color-secondary);
  color: var(--color-font-primary2);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}
.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}
.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.features .nav-link:hover {
  color: var(--color-hvr-program);
}
.features .nav-link.active {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.features .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .features .nav-link {
    padding: 15px;
  }
  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}
.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}
.features .tab-pane ul {
  list-style: none;
  padding: 0;
}
.features .tab-pane ul li {
  padding-bottom: 10px;
}
.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--color-hvr-program);
}
.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/* ----- Style From Pembayaran Donasi ------ */
.container-from {
  max-width: 700px;
  margin: 60px auto;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.6s ease-in-out;
  padding: 5px;
}
.header-donasi {
  background-color: var(--primary);
  color: white;
  padding: 35px 25px;
  border-radius: var(--radius) var(--radius) 0 0;
  text-align: center;
}
.header-donasi h2 {
  margin: 0 0 5px;
  font-size: 26px;
}
.header-donasi p {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
}
.form {
  padding: 30px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  font-size: 15px;
  background-color: #f6fef8;
  transition: border 0.3s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
}
.amount-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.amount-button {
  flex: 1 1 calc(50% - 12px);
  background: var(--bg);
  color: var(--primary);
  border: 2px solid transparent;
  padding: 14px;
  text-align: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}
.amount-button:hover,
.amount-button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.button-donasi {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px;
  width: 100%;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.button-donasi:hover {
  background: #026c64;
}
textarea {
  resize: vertical;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .amount-button {
      flex: 1 1 100%;
  }
}


@media (max-width: 767.98px) {
  .btn-outline-success {
    border: none !important;
    color: #198754 !important; /* biar warnanya tetap hijau */
    background-color: transparent !important;
  }
}


