/* ==============================
   FAQ SECTION LAYOUT
============================== */
.faq-section {
  display: block;
  width: 100%;
/*   padding: 50px 20px; */
  box-sizing: border-box;
  padding:20px;
}

/* ---- TOP: Badge + Heading ---- */
.faq-top {
  max-width: 1400px;
  margin: 0 auto 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
/*   align-items: center; */
  gap: 20px;
}

/* ---- MAIN CONTAINER ---- */
.faq-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  gap: 100px; /* ✨ more breathing room between FAQ & CTA */
  flex-wrap: wrap;
}

/* ==============================
   LEFT SIDE (FAQ)
============================== */
.faq-left {
  flex: 1 1 640px;
  min-width: 340px;
/*   max-width: 780px; */
  box-sizing: border-box;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 28px;
/*   font-weight: 600; */
  font-size: 13px;
  background-color: #fff;
  color: #171717;
  border: 1px solid #3384FF;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
  width:fit-content;
}

.faq-badge img {
  width: 20px;
  height: 20px;
}

.faq-heading {
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  color:#3C3C3C;
}

.faq-heading span {
  display: block;
  background: linear-gradient(90deg, #3384FF, #1E40AF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
/*   margin-top: 20px; */
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .4);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-inner {
  display: flex;
  align-items: flex-start;
}

.faq-gradient {
  width: 0;
  background: linear-gradient(180deg, #2459ff, #7c3aed);
  transition: width 0.3s ease;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.faq-item.active .faq-gradient {
  width: 4px;
}

.faq-content {
  flex: 1;
  padding: 0;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  text-align: left;
}

.icon-circle {
  display: inline-flex;
/*   align-items: center; */
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #3384FF;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  transition: 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 18px;
}

.show-more {
  margin: 25px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, #3384ff, #1e40af);
  border-image-slice: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  background-image: linear-gradient(90deg, #3384ff, #1e40af);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.show-more img {
  width: 20px;
  height: 20px;
}
.show-more:hover{
transform:scale(1.05);
}

.hidden-faq {
  display: none;
}

/* ==============================
   RIGHT SIDE (CTA)
============================== */
.faq-right {
  flex: 1 1 500px;       /* ✨ Wider CTA space */
/*   min-width: 400px; */
/*   max-width: 580px;      /* allows card to grow comfortably */ */
  display: flex;
  justify-content: center;
/*   align-items: center; */
}

.cta-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 60px 50px;    /* ✨ Spacious inner padding */
  text-align: center;
  width: 100%;
  box-shadow: 0 6px 20px rgba(51, 132, 255, 0.25);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #4e4e4e;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-badge img {
  width: 20px;
  height: 20px;
}

.cta-heading {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 18px;
}

.cta-heading span {
  color: #2459ff;
}

.cta-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 16px;
  padding: 0 10px;
}

.cta-buttons-last {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.primaryy {
  background: linear-gradient(90deg, #00BB5C, #008D60);
  color: #fff;
  box-shadow: 0 4px 10px rgba(36, 89, 255, 0.25);
  border-radius: 6px;
  padding: 12px 26px;
  border:none;
  text-decoration:none;
}

.primaryy:hover {
  opacity: 0.9;
  transform:scale(1.05);
  transition: all 0.3s ease;
}

.primaryy img {
  width: 20px;
  height: 20px;
}

.btn.secondary {
  background: #fff;
  border: 2px dashed #00954D;
  color: #111;
  box-shadow: 0 4px 10px rgba(36, 89, 255, 0.25);
  border-radius: 6px;
  width: fit-content;
  text-decoration:none;
}

.btn.secondary:hover {
  background: #f3f4f6;
  transform:scale(1.05);
}

/* ==============================
   RESPONSIVE DESIGN
============================== */
@media (max-width: 1100px) {
  .faq-container {
    gap: 60px;
  }
  .faq-right {
    flex: 1 1 620px;
    max-width: 520px;
  }
}

@media (max-width: 992px) {
  .faq-container {
    flex-direction: column;
    align-items: stretch; /* 🔥 allow full width */
    gap: 40px;
  }

  .faq-left,
  .faq-right {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }

  .faq-right {
    order: 2;
  }

  .faq-left {
    order: 1;
  }

  .cta-card {
    width: 100%;
    padding: 40px 30px;
  }
}

/* @media (max-width: 600px) {
  .faq-heading {
    font-size: 28px;
  }

  .cta-heading {
    font-size: 24px;
  }

  .cta-text {
    font-size: 15px;
  }

  .cta-buttons-last {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
  .btn-secondary{
   width:fit-content;
  
  }
} */
@media (max-width: 600px) {
  .faq-section {
    padding: 16px;
  }

  .faq-heading {
    font-size: 26px;
  }

  .cta-heading {
    font-size: 22px;
  }

  .cta-text {
    font-size: 14px;
    padding: 0;
  }

  .cta-buttons-last {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons-last a,
  .cta-buttons-last button {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
}

