/* Container de Ministérios */
.parallax {
  height: 100vh;
  background: url(../images/only_bg.webp) center / cover no-repeat fixed;
  will-change: transform;
  position: fixed;
  transform: translateZ(0);
  width: 100%;
  z-index: -1;
  top: 0;
}

/* Fallback para dispositivos móveis */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }

  .card-ministerio .ministerio-img {
    height: 10rem;
  }

  .info-culto p {
    text-align: left;
  }

  button {
    border-radius: unset;
  }

  h3 {
    font-size: 1.2rem;
  }
}

.ministerio-container {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  margin-top: 7rem;
}

.titulo-secao {
  text-align: center;
  font-size: 2.5rem;
  color: #ef6a01;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.intro-texto {
  text-align: center;
  max-width: 35rem;
  margin: auto;
  font-size: 1.5rem;
  color: #f3f3f3;
  margin: 1.5rem 0;
  font-family: var(--secondary-font-bkp);
  line-height: 2.5rem;
}

/* Card dos Ministérios */
.card-ministerio {
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  transition: transform 0.3s;
  height: 100%;
}

.card-ministerio:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
}

.card-ministerio .ministerio-img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.8rem;
  color: #ef6a01;
  margin-bottom: 15px;
  text-align: center;
  border-bottom: 2px solid #ffffff33;
  padding-bottom: 5px;
  font-family: var(--primary-font);
}

.card-text {
  color: #f3f3f3;
  font-size: 1rem;
  text-align: center;
}

.form-label {
  font-weight: 600;
  color: #ef6a01;
}

.form-control {
  background-color: #333;
  color: #f3f3f3;
  border: 1px solid #ef6a01;
  border-radius: 5px;
  font-size: 1rem;
}

.form-control:focus {
  border-color: #d05c00;
  box-shadow: 0 0 5px rgba(239, 106, 1, 0.3);
}

.btn-submit {
  background-color: #ef6a01;
  color: #ffffff;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background-color: var(--primary-color-hover);
  transform: scale(1.05);
}

/* Geral */
.container {
  max-width: 90%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Responsividade dos Cards */
@media (max-width: 768px) {
  .card-title {
    font-size: 1.5rem;
  }

  .intro-texto {
    font-size: 1.3rem;
  }

  .card-ministerio {
    margin-bottom: 2rem;
  }
}

.veja-mais {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  background: #ededed1a;
  padding: 2rem 0;
  border-radius: 15px;
}

.veja-mais div {
  font-family: var(--secondary-font-bkp);
  text-transform: uppercase;
  font-weight: 700;
  color: #f3f3f3;
  font-size: 1.5rem;
}

.form-title {
  font-size: 1.5rem;
  color: #333333;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Estilo dos campos */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.5rem 0;
  border: none;
  border-bottom: 2px solid #cccccc;
  background: transparent;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  border-bottom: 2px solid #ef6a01;
}

.form-label {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #cccccc;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-select:focus + .form-label,
.form-select:not([value=""]) + .form-label {
  top: -0.5rem;
  font-size: 0.85rem;
  color: #ef6a01;
}

/* Seta para o select */
.select-wrapper {
  position: relative;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  pointer-events: none;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #cccccc;
}

.form-select:focus + .form-label + .select-arrow {
  border-top-color: #ef6a01;
}

/* Botão */
.btn-submit {
  background-color: #ef6a01;
  color: #ffffff;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #d05c00;
}

.outros-ministerios-container {
  width: 100%;
}

.accordion {
  background-color: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.accordion-button {
  background-color: #1a1a1a;
  color: #ef6a01;
  font-weight: bold;
  border: none;
  border-radius: 0;
  padding: 1rem;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: #2d2d2f;
  color: #f3f3f3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.accordion-button:hover {
  background-color: #ef6a01;
  color: #ffffff;
}

.accordion-header {
  margin: 0;
  border-bottom: 1px solid #333;
}

.accordion-body {
  background-color: #2d2d2f;
  color: #f3f3f3;
  padding: 1.5rem;
  border-top: 1px solid #333;
  font-family: var(--secondary-font-bkp);
  font-size: 1.3rem;
  color: #d4d4d4;
  text-align: left;
}



.outros-ministerios-container button:hover {
  background-color: var(--primary-color-hover);
  transform: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  filter: invert(1);
}

#ministerioAccordion {
  border: 2px solid #ededed1a;
  width: 100%;
  max-width: 60rem;
}

.accordion-button {
  font-family: var(--primary-font);
  letter-spacing: 0.5px;
  font-size: 1.2rem;
}

.flex-content {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 2rem;
}

.form-container {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  position: relative;
}

.sub-title {
  color: #32323296;
  font-family: var(--secondary-font-bkp);
  text-transform: uppercase;
  font-size: 1.2rem;
  z-index: 2;
}

.flex-content .form-title {
  font-size: 2.5rem;
  z-index: 2;
}

.footer-card {
  display: flex;
  justify-content: center;
}

.img-abs img {
  width: 20rem;
  position: absolute;
  top: -2rem;
  right: -1rem;
  transform: rotate(80deg);
  z-index: 1;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .accordion-button {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .accordion-body {
    font-size: 0.9rem;
    padding: 1rem;
  }
  .outros-ministerios-container .form-container {
    width: 100% !important;
    margin-top: 3rem !important;
  }

  .img-abs img {
    width: 12rem;
    position: absolute;
    top: -2rem;
    right: -1rem;
    transform: rotate(40deg);
    z-index: 1;

  }
}