/* Fonts */
@font-face {
  font-family: poppinsRegular;
  src: url("../fonts/Poppins/Poppins-Regular.woff2") format("woff2"),
    url("../fonts/Poppins/Poppins-Regular.woff") format("woff"),
    url("../fonts/Poppins/Poppins-Regular.ttf") format("ttf");
}

@font-face {
  font-family: poppinsSemiBold;
  src: url("../fonts/Poppins/Poppins-SemiBold.woff2") format("woff2"),
    url("../fonts/Poppins/Poppins-SemiBold.woff") format("woff"),
    url("../fonts/Poppins/Poppins-SemiBold.ttf") format("ttf");
}

@font-face {
  font-family: montserrat;
  src: url("../fonts/Montserrat/Montserrat-Regular.woff2") format("woff2"),
    url("../fonts/Montserrat/Montserrat-Regular.woff") format("woff"),
    url("../fonts/Montserrat/Montserrat-Regular.ttf") format("ttf");
}

html,
header {
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: #136012;
}
body {
  font-family: poppinsRegular;
  margin: 0;
  padding: 0;
  border: 0;
}

.header {
  background-color: #801a1a;
  color: #fffaec;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  justify-content: space-between;
  align-items: center;
  height: auto;
}

/* Logo */
.logo {
  font-family: poppinsSemiBold;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  height: 60px;
  justify-content: center;
  align-items: center;
}

.logo a {
  text-decoration: none;
  color: #fffaec;
}

/* Navigation */
nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

.nav-device {
  display: none;
}

.header input {
  display: none;
}

.icon-toggle {
  display: none;
}

.menu {
  font-family: poppinsRegular;
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 10px 10px;
  justify-content: center;
  align-items: start;
  text-decoration: none;
  color: #fffaec;
  transition: background-color 0.5s;
}

.menu:hover {
  background-color: #578e7e;
}

.menu p {
  margin: 0px;
}

#profil {
  margin: 0;
  cursor: pointer;
}

.toggle-menu {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-around;
  top: 100%;
  background-color: #3d3d3d;
  width: 200px;
  max-height: 0px;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s, opacity 0.5s;
}

.toggle-menu .menu-sub {
  width: 200px;
}

.jumbotron-overlay {
  background-color: rgba(0, 0, 0, 0.6); /* overlay gelap */
  width: 100%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  border-radius: 0 0 30px 30px;
}

.jumbotron-content {
  text-align: center;
  max-width: 800px;
}

.jumbotron h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
}

.jumbotron p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #ffffff;
  color: #1a801a;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #f2f2f2;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.profile-card {
  background-color: #f9f9f9;
  border: 2px solid #1a801a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.card-header {
  background-color: #1a801a;
  color: white;
  padding: 16px;
  text-align: center;
}

.card-header h3 {
  margin: 0;
  font-size: 18px;
  color: white;
}

.card-header p {
  margin: 4px 0 0;
  font-size: 14px;
}

.profile-card img {
  width: 100%;
  height: auto;
}

.card-body {
  padding: 12px;
  color: #333;
  font-size: 14px;
}

.card-body .quote {
  color: #801a1a;
  font-weight: bold;
  font-size: 13px;
  margin-top: 10px;
  text-align: right;
}

.faq-container {
  max-width: 800px;
  margin: auto;
}

.accordion {
  background-color: #801a1a;
  color: white;
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  text-align: left;
  outline: none;
  border: none;
  transition: background-color 0.3s;
  margin-top: 8px;
  border-radius: 5px;
}

.accordion:hover,
.accordion.active {
  background-color: #1a801a;
}

.panel {
  padding: 0 1rem;
  display: none;
  background-color: #f8f8f8;
  overflow: hidden;
  border-left: 4px solid #801a1a;
  margin-bottom: 1rem;
  border-radius: 0 0 5px 5px;
}

.panel ul {
  padding-left: 20px;
}

.menu-sub {
  position: relative;
}

.menu-sub:hover .toggle-menu {
  display: flex;
  max-height: 320px;
  opacity: 1;
  overflow: unset;
}

.menu-sub:hover .toggle-menu .menu-sub .toggle-menu {
  display: flex;
  left: 200px;
  top: -1px;
  max-height: 0px;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s, opacity 0.5s;
}

.menu-sub:hover .toggle-menu .menu-sub:hover .toggle-menu {
  display: flex;
  left: 200px;
  top: -1px;
  max-height: 320px;
  opacity: 1;
}

.toggle-menu a {
  width: 90%;
}

.toggle-menu .hide a .menu {
  opacity: 0;
  height: 0;
  padding: 0;
}

.hide {
  display: none;
  overflow: hidden;
  opacity: 0;
  height: 0;
  padding: 0;
}

.kegiatan-box {
  background-color: #f3f3f3;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center; /* Ini bikin seluruh isi jadi center */
}

.kegiatan-teks {
  font-size: 18px;
  color: #666;
  font-style: italic;
  margin-bottom: 16px;
}

.kegiatan-doa {
  font-weight: 500;
  color: #1a801a;
  font-size: 16px;
}

/* Footer */
footer {
  display: flex;
  flex-direction: column;
}

footer .top {
  display: flex;
  flex-direction: row;
  column-gap: 50px;
  row-gap: 10px;
  flex-wrap: wrap;
  max-height: 250px;
  padding: 15px 30px;
  background-color: #474747;
  color: #fffaec;
  font-family: monospace;
  justify-content: start;
  align-items: normal;
}

.top .row {
  max-width: 500px;
}

.row p {
  margin: 5px 0px;
}

.row .row-child {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 180px;
}

footer .bottom {
  display: flex;
  height: 30px;
  padding: 0px 10px;
  background-color: #3d3d3d;
  color: #fffaec;
  font-family: monospace;
  justify-content: end;
  align-items: center;
}

footer span {
  font-family: serif;
  font-size: medium;
}

/* Content */
.content {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #ffffff;
  text-align: justify;
  width: 100%;
}

p {
  text-indent: 2em; /* atau misalnya 30px */
}
.content .main {
  font-family: montserrat;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Device 600px and down*/
@media only screen and (max-width: 806px) {
  /* Header */

  .header {
    flex-direction: row;
  }

  .header input {
    display: block;
  }

  /* Navigation */

  nav {
    display: none;
  }

  .nav-device {
    display: block;
    width: 240px;
    height: 100vh;
    background-color: #3d3d3d;
    position: fixed;
    top: 0;
    left: -240px;
    overflow-y: scroll;
    transition: all 0.25s;
    z-index: 100;
  }

  .nav-device.show {
    font-size: 1rem;
    left: 0;
  }

  .menu {
    display: flex;
    width: 220px;
    align-items: start;
    padding-left: 10px;
    cursor: pointer;
  }

  .menu a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fffaec;
  }

  .icon-toggle {
    display: flex;
    margin: 7px 10px 7px 7px;
    padding: 5px;
    position: relative;
  }

  .icon-toggle input {
    position: absolute;
    width: 25px;
    height: 25px;
    left: -5px;
    top: 0.5px;
    opacity: 0;
    cursor: pointer;
  }

  .toggle-device {
    background-color: #474747;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .toggle-device.show {
    opacity: 1;
    max-height: 500px;
    padding-left: 10px;
  }

  .toggle-device.show .menu {
    width: 210px;
  }

  .toggle-device.show .toggle-device.show .menu {
    width: 200px;
  }
}
