 
  /* FAQ Section animation support */
/* Prevent flash before animation */
.faq-section .faq-eyebrow,
.faq-section .faq-title,
.faq-section .faq-top-right,
.faq-section .faq-item {
    opacity: 0;
}

/* Smooth transitions for hover */
.faq-item {
    transition: transform 0.3s ease, background 0.3s ease;
}

.faq-arrow {
    transition: transform 0.3s ease;
}


.faq-section {
  border-radius: 20px;

  color: #d7dade;
}

 .faq-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
        background: url('assets/images/contact/faqs-background.png');
    background-repeat: no-repeat;
        background-size: contain;
    background-position: top center;
    pointer-events: none;
 }
 .faq-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    left: 0;

    top: 0;
    background: var(--primary);
    pointer-events: none;

 }
/* TOP */
.faq-top {
    position: relative;
    z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  margin-bottom: 100px;
}
.faq-top-right{
    margin-top: 40px;
}
.faq-eyebrow {
  margin-bottom: 14px;
}

/* LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  position: relative;
  height: 110px; /* total fixed height */
  padding: 0 28px;
  border-radius: 22px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s ease;

  border: 1px solid rgba(75, 90, 93, 0.5);
  max-height: var(--faq-closed-height);

}

.faq-row {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.faq-question {
  transition: color 0.3s ease;
}

/* ANSWER (NO LAYOUT SHIFT) */
.faq-answer {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

/* ARROW */
.faq-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: grid;
  place-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-arrow::before {
    margin-left: -4px;
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  transition: transform 0.35s ease, border-color 0.3s ease;
}

/* DESKTOP HOVER */
@media (hover: hover) and (pointer: fine) {
  .faq-item:hover {
      background: rgba(255,255,255,0.04);

  }

  .faq-item:hover .faq-question {
    color: var(--blue-lagoon) !important;
  }

  .faq-item:hover .faq-answer {
    opacity: 1;
    transform: translateY(0);
  }

  .faq-item:hover .faq-arrow {
    background: var(--yellow-accent);
    border-color: var(--yellow-accent);
  }

  .faq-item:hover .faq-arrow::before {
    transform: rotate(45deg);
    border-color: var(--primary);
    
  }
}

/* MOBILE ACTIVE */
.faq-item.active .faq-question {
  color: var(--blue-lagoon);
}

.faq-item.active .faq-answer {
  opacity: 1;
  transform: translateY(0);
}

.faq-item.active .faq-arrow {
  background: var(--yellow-accent);
  border-color: var(--yellow-accent);
}

.faq-item.active .faq-arrow::before {
  transform: rotate(45deg);
  border-color: var(--primary);
}

/* MOBILE TOP STACK */
@media (max-width: 900px) {
  .faq-top {
    grid-template-columns: 1fr;
  }
}
.faq-item {
  background: rgba(255,255,255,0.02);
  border-radius: 22px;
  padding: 0 37px;
  overflow: hidden;

  height: auto;
  transition:
    background 0.3s ease,
    height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question {
  transition: color 0.3s ease;
  max-width: 80%;
}

/* ANSWER */
.faq-answer {
  padding: 0 68px 20px 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

/* visible */
.faq-item.open .faq-answer {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* arrow + color */
.faq-item.open .faq-question {
  color: var(--blue-lagoon);
}

.faq-item.open .faq-arrow {
  background: var(--yellow-accent);
  border-color: var(--yellow-accent);
}

.faq-item.open .faq-arrow::before {
  transform: rotate(45deg);
  border-color: var(--primary);
  margin-left: 0;
  margin-top: -4px;
}
@media(min-width:1920px){
    .faq-section{
        background-size: cover;
    }
}
@media(max-width:768px){
     .faq-section::after {
        background: url('assets/images/contact/faqs-background-mobile.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: top center;
    }
    .faq-item{
        padding-inline: 16px;
        height: 100px;
    }
    .faq-item.open .faq-answer{
        padding-right: 0;
    }
    .faq-top-right{
        margin-top: 0;
    }
    .faq-section{
        padding-top: 50px;
        padding-bottom: 50px
    }
    .faq-top{
        margin-bottom: 50px;
    }
}

