@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

p{
  font-family: "DM Sans", sans-serif;
}

.faq-section {
  padding: 80px 20px;
  text-align: center;
}

.faq-section h2 {
  font-size: 34px;
  margin-bottom: 35px;
  font-weight: 400; /* remove double-bold effect */
  color: #444;
  font-family: "DM Serif Display", serif;
}

/*          .faq-section .nav-pills .nav-link {
  border-radius: 50px;
  margin: 10px;
  padding: 10px 20px;
  border: 1px solid #415a7b;
  font-family: 'Poppins';
  font-size: 16px;
  font-weight: 400;
  color: #415a7b;
  box-shadow: 3px 3px 0px #415a7b;
} */

.faq-section .nav-pills .nav-link {
  background-image: none;
  background-image: none!important;
  background: #ffffff00;
  border: 2px solid #444444 !important;
  border-radius: 7px;
  -moz-box-sizing: border-box!important;
  -webkit-box-sizing: border-box!important;
  box-sizing: border-box!important;
  color: #444444;
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0em;
  margin-left: 20px!important;
  max-width: 100%;
  min-width: 150px;
  outline: none!important;
  padding: 23px 25px;
  text-align: center!important;
  text-decoration: none;
  text-decoration: none!important;
  text-transform: uppercase;
  transition: color .3s ease-in-out,background .3s ease-in-out,border .3s ease-in-out;
  width: auto;
}

.faq-section .nav-pills .nav-link.active {
  background-color: #415a7b;
  color: #ffffff;
  box-shadow: 3px 3px 0px #415a7b00;
  border: 2px solid #415a7b !important;
}

.faq-section .faq-content {
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-family: "DM Sans", sans-serif;
}

/* Questions (H5) — bold + tighter spacing */
.faq-section .faq-content h5 {
  margin-top: 35px; /* was 30px (reduces space between questions roughly by half) */
  font-size: 18px;
  font-weight: 700; /* make questions bold without <b> */
  margin-bottom: 15px;
  font-family: "DM Sans", sans-serif;
}

/* Answer text spacing */
.faq-section .faq-content p {
  margin-top: 15px;
  margin-bottom: 20px;
  font-size: 18px;
}

.faq-section .nav-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgb(13 110 253 / 0%);
}

.faq-section .nav-pills .nav-link:hover {
  background: #444444;
  box-shadow: 3px 3px 0px #415a7b00;
  color: #fff;
  border: 2px solid #444444 !important;
}

width: 46%;
display: inline-block;
margin-bottom: 0px;
}

.main_faq_cnt {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

p.subheading_top {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.375em;
  text-transform: uppercase;
  color: #415a7b;
  font-family: "DM Sans", sans-serif;
}

.main_faq_cnt_in {
  width: 100%;
  display: inline-block;
  margin-bottom: 0px;
}

@media only screen and (max-width: 767px) {
  .faq-section .nav-pills .nav-link {
    margin: 10px;
  }

  .main_faq_cnt_in {
    width: 100%;
  }

  p.subheading_top {
    font-size: 12px;
    letter-spacing: 1px;
  }
}

ul#faqTabs {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

.tab-content .tab-pane { display: none; }
.tab-content .tab-pane.active { display: block; }