.faq-hero {
  position: relative;
  height: 55vh;
  background: url("../../images/FAQbg.png") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 51, 102, 0.4); light blue overlay */
  z-index: 1;

}

.faq-hero .container {
  position: relative;
  z-index: 2;
}

  body {
      background: #f9faff;
      font-family: "Poppins", sans-serif;
    }

  /* ---------- Navbar Tabs ---------- */
.nav-tabs {
  justify-content: center;
  background-color: #002b5b;
  border: none;
  border-radius: 12px;
  padding: 15px 10px;
  margin-bottom: 30px;
}

/* All Tab Buttons */
.nav-tabs .nav-link {
  color: #ffffff;
  border: none;
  background: transparent;
  margin: 0 15px;
  border-radius: 25px;
  transition: all 0.3s ease;
  padding: 8px 25px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* On Hover (non-active tabs) */
.nav-tabs .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Active Tab Style */
.nav-tabs .nav-link.active {
  background-color: #ffffff;
  color: #002b5b;
  font-weight: 600;
  box-shadow: 0px 2px 10px rgba(0, 43, 91, 0.2);
}

.nav-tabs .nav-link:hover {
  transform: scale(1.05);
}


    /* ---------- FAQ Section ---------- */
    .faq-container {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 20px;
      max-width: 1000px;
      margin: 0 auto;
      padding: 30px;
background: linear-gradient(135deg, #f0f2ff, #dce3ff);
      border-radius: 15px;
    }

.faq-left {
  flex: 1 1 55%;
  max-height: 500px; 
  overflow-y: scroll;
  padding-right: 10px;
  scrollbar-width: none; 
  -ms-overflow-style: none; 
}

.faq-left::-webkit-scrollbar {
  display: none;
}

  .faq-right {
  flex: 1 1 35%;
  text-align: center;
}

.faq-right .question-box {
  width: 250px;
  height: 250px;
  margin: 25px auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-right .question-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq-right h5 {
  margin-top: 30px;
  color: #333;
  font-weight: 600;
}

/* --- Contact Button --- */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #002b5b;
  color: #fff;
  border-radius: 50px;
  padding: 8px 25px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  gap: 15px;
  transition: 0.3s ease;
}

/* White circular background for icon */
.contact-btn .icon-circle {
  background-color: #fff;
  color: #002b5b;
  width: 40px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
}

.contact-btn:hover {
  background-color: #01336f;
  transform: translateY(-2px);
}

    /* ---------- FAQ Hover Boxes ---------- */
    .faq-item {
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      margin-bottom: 10px;
      padding: 20px 20px;
      cursor: pointer;
      position: relative;
      transition: all 0.3s ease;
    }

    .faq-item:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      transform: translateY(-2px);
    }

    .faq-question {
      display: flex;
      align-items: center;
      font-weight: 500;
      color: #222;
      font-size: 15px;
    }

 .faq-question i {
  color: #002b5b;
  font-size: 22px;
  margin-right: 40px;
  -webkit-text-stroke: 0.5px #002b5b; /* border stroke */
}



    /* .faq-item:hover .faq-question i {
      transform: rotate(45deg); + turns to x on hover
    }  */

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, opacity 0.3s ease;
      opacity: 0;
      color: #555;
      font-size: 15px;
      padding-left: 30px;
      padding-right: 5px;
    }

    .faq-item:hover .faq-answer,
    .faq-item:focus-within .faq-answer {
      max-height: 200px;
      opacity: 1;
      margin-top: 6px;
    }
h2.faq-heading {
  width: 100%;
  text-align: center;
  margin: 15px auto 40px auto;
  font-weight: 600;
  color: #2b2b2b;
  font-size: 26px;
  display: block;
}


/* FAQ scroll container settings */
#faqList {
  max-height: 410px; 
  overflow-y: auto; 
  padding-right: 10px; 
}

/* Scrollbar hide (invisible scroll) */
#faqList::-webkit-scrollbar {
  width: 0; 
}

#faqList {
  -ms-overflow-style: none;  
  scrollbar-width: none;     
}
.hero-title {
    color: #1a237e;
}



    @media (max-width: 768px) {
      .faq-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      .faq-right {
        margin-top: 20px;
      }
    }