

/* Hero section */
.hero-section {
padding: 120px 0 20px 0;
  text-align: center;
}
.hero-image-wrapper {
  position: relative;  /* anchor for the icon */
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.explore-icon {
  position: absolute;
  bottom: 13px;   /* just below the image */
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  stroke-width: 10px;
  stroke: var(--primary-color);
  animation: bounce 1.5s infinite;
}





/*  Titles & Subtitles  */
.faq-heading {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  font-size: 50px;
  font-weight: bold;
  text-align: center;
}

.faq-title {
  display: flex;
  justify-content: center;
  margin-top: -40px;
  font-size: 45px;
  font-weight: bold;
  text-align: center;
}

.faq-subtitle {
  text-align: center;
  font-size: 21px;
  margin-top: 15px;
  margin-bottom: 25px;
  color: #444;
  font-family: quincy, sans-serif;
}

/* FAQ container */
.faq-wrap {
  max-width: 920px;
  padding: 32px 20px 72px;
  margin: 1rem auto 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 35px;
}

/* FAQ css goes under */
details.faq-item {
  background: #f6f8fb;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  overflow: clip;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


/* question css goes under */
summary.faq-q {
    font-size: 20px;
    font-weight: 700;
    color: #0b1320;
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: left;
}
summary.faq-q::-webkit-details-marker {
  display: none;
}

.toggle-icon {
    flex-shrink: 0;
}

.question-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 87, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.question-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--qutbee-blue);
}
.toggle-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--qutbee-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon svg {
    transform: rotate(45deg);
}

/* Answer  */
.faq-a {
  padding: 0 18px 18px;
  color: #0b1320;
  transition: max-height 0.3s ease;
  font-size:20px;
}

.faq-a p {
  margin: 0 0 12px;
  line-height: 1.6;
}

/* Quick note */
.quick {
  font-style: italic;
  color: #5b6573;
  font-size: 14px;
  margin-top: 8px;
}

/* Contact block */
.contact-block {
  display: grid;
  gap: 6px;
  padding: 14px 18px 20px;
  border-top: 1px dashed #e3e8f0;
  color: #5b6573;
  font-size: 19px;
}

/* Small helper tag */
.kb {
  background: #eef6ff;
  color: #0a2668;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid #cfe2ff;
}

/* Accessible focus */
summary.faq-q:focus-visible {
  outline: 3px solid rgba(26, 166, 183, 0.4);
  border-radius: 12px;
}

/* bottom section css goes under */
.bottom-section {
  text-align: center;
  margin: 2px 0 76px;
  padding: 5px 0;
}

.bottom-section h2 {
  font-size: 35px;
}

/* CTA Button */
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #1aa6b7, #0a2668);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-contact:hover {
  background: linear-gradient(135deg, #148996, #081c4f);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-contact svg {
  stroke: #fff;
  transition: transform 0.3s ease;
}
.btn-contact:hover svg {
  transform: translateX(4px);
}







/* responsive design */

@media (max-width: 1024px) {
  .faq-wrap {
    padding: 32px 15px 60px;
  }
  .explore-icon {
    bottom: 11px;
    width: 30px;
  }
  .faq-heading,
  .faq-title {
    font-size: 38px;
  }

    summary.faq-q {
    font-size: 23px;
  }
  .bottom-section h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .faq-heading,
  .faq-title {
    font-size: 30px;
    margin-top: 70px;
  }
  .explore-icon {
    bottom: 4px;
    width: 26px;
  }
   .faq-wrap{
    margin-top: -100px;
  }

  .faq-subtitle {
    font-size:25px;
    margin-bottom: 20px;
  }

  summary.faq-q {
    font-size: 22px;
    padding: 14px;
  }

  .faq-a {
    font-size:20px;
    padding: 0 14px 14px;
  }

  .bottom-section h2 {
    font-size: 35px;
  }

  .btn-contact {
    padding: 12px 22px;
    font-size: px;
  }

  .faq-section img {
    margin: 3rem auto 1.5rem; /* reduce spacing on tablets */
  }
}

@media (max-width: 480px) {
  .faq-heading,
  .faq-title {
    font-size: 30px;
    margin-top: 50px;
  }
  .explore-icon {
    bottom: 1px;
    width: 22px;
  }
   .hero-section img {
    width: 100%; 
  }

  .faq-wrap{
    margin-top: -100px;
  }
  .faq-subtitle {
    font-size:  22px;
  }

  summary.faq-q {
    font-size: 17px;
    gap: 20px;
  }

  .faq-a {
    font-size:17px;
    padding: 0 10px 12px;
  }

  .bottom-section h2 {
    font-size: 32px;
  }

  .btn-contact {
    padding: 10px 18px;
    font-size: 20px;
  }

  .faq-section img {
    margin: 2.5rem auto 1.2rem; /* tighter spacing on small phones */
  }
}
