/* ============================
   WHY PARAGUAY SECTION STYLES
============================ */

.py-intro {
  position: relative;
  background-image: url('images/Asuncion.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 100px 20px;
  font-family: 'Times New Roman', serif;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1; /* important */
}

.py-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* 🔥 adjust darkness here */
  z-index: 0;
}

.py-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;  /* ensures content stays above overlay */
  z-index: 2;
}

.py-textholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.py-text {
  font-size: 24px;
  font-weight: normal;
}

.py-title {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
}

.py-subtitle {
  font-size: 18px;
  opacity: 0.95;
  line-height: 1.4;
}

.py-buttonholder {
  gap: 20px;
}



.why-section {
  background-color: #0c1624;
  color: #ffffff;
  padding: 100px 20px;
  font-family: 'Orbitron', sans-serif;
}

.why-container {
  max-width: 1000px;
  margin: 0 auto;
}

.why-title {
  font-size: 42px;
  color: #Efc900;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}

.why-block {
  margin-bottom: 60px;
}

.why-subtitle {
  font-size: 24px;
  color: #Efc900;
  margin-bottom: 15px;
  font-weight: 600;
}

.why-text {
  font-size: 17px;
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 10px;
  font-family: 'Times New Roman', serif;
}

/* faqpy section */
.faqpy-section {
  background-color: #0c1624;
  padding: 120px 20px;
  /* overflow: visible; */
  margin-top: -50px;
}

.faqpycontainer {
  max-width: 1200px;
  margin: 0 auto;
  /* position: relative;
  z-index: 1; */
}

.faqpy-title {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: bold;
  font-size: 40px;
  max-width: 1000px;
  text-align: center;       /* ✅ centers multiline text */
  margin: 0 auto 40px auto; /* ✅ center block and add bottom space */
}

.faqpy-holder {
  align-items: left;
  flex-direction: column;
}

.faqpy-item {
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.faqpy-question {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  font-family: 'Manrope', sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between; /* left text + right arrow */
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  gap: 12px;
  transition: color 0.3s ease;
}

.faqpy-arrow {
  transition: transform 0.3s ease;
  font-size: 30px;
  margin-left: auto;
}

.faqpy-question:hover {
  color: #Efc900;
}

.faqpy-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.faqpy-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 16px;
  color: #bbb;
  font-family: 'Manrope', sans-serif;
  padding-left: 42px;
}

.faqpy-answer.open {
  max-height: 500px; /* large enough to show content */
  padding-top: 8px;
}

.faqpy-question.open .faqpy-arrow {
  transform: rotate(180deg); /* arrow points up */
}

/* Optional responsiveness */
@media screen and (max-width: 768px) {
  .why-title {
    font-size: 32px;
  }

  .why-subtitle {
    font-size: 20px;
  }

  .why-text {
    font-size: 16px;
  }
}

/*Faq*/
@media screen and (max-width: 1080px) and (min-width: 769px) {
  .faqpy-title {
    font-size: 22px;
    padding: 0 20px;
  }

  .faqpy-question {
    font-size: 20px;
    gap: 10px;
  }

  .faqpy-icon {
    width: 28px;
    height: 28px;
  }

  .faqpy-arrow {
    font-size: 26px;
  }

  .faqpy-answer {
    font-size: 15px;
    padding-left: 36px;
  }
}

@media (max-width: 768px) {
  .faqpy-title {
    font-size: 20px;
    padding: 0 10px;
  }

  .faqpy-question {
    font-size: 18px;
    flex-direction: row;
    gap: 10px;
  }

  .faqpy-icon {
    width: 24px;
    height: 24px;
  }

  .faqpy-arrow {
    font-size: 24px;
  }

  .faqpy-answer {
    font-size: 15px;
    padding-left: 32px;
  }
}

@media (max-width: 410px) {
  .faqpy-title {
    font-size: 18px;
  }

  .faqpy-question {
    font-size: 16px;
    gap: 8px;
  }

  .faqpy-icon {
    width: 20px;
    height: 20px;
  }

  .faqpy-arrow {
    font-size: 20px;
  }

  .faqpy-answer {
    font-size: 14px;
    padding-left: 28px;
  }
}

/*PY*/
@media screen and (max-width: 1080px) and (min-width: 769px) {
    .py-text {
    font-size: 22px;
  }

  .py-title {
    font-size: 38px;
    line-height: 1.2;
  }

  .py-subtitle {
    font-size: 16px;
  }

  .py-intro {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .py-text {
    font-size: 20px;
  }

  .py-title {
    font-size: 36px;
    line-height: 1.2;
  }

  .py-subtitle {
    font-size: 16px;
  }

  .py-intro {
    padding: 0 15px;
  }
}

@media (max-width: 410px) {
  .py-text {
    font-size: 18px;
  }

  .py-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .py-subtitle {
    font-size: 14px;
  }

  .py-intro {
    padding: 0 12px;
  }

  .py-buttonholder {
    flex-direction: column;
    gap: 12px;
  }
}
