/* =========================
   FAQ MODERN SECTION
========================= */
.faq-modern-section{
  padding: 20px 0 40px;
  margin-top: 0;
  background: #f8fafc;
}
.faq-modern-head{
  text-align: center;
  margin-bottom: 24px;
}
.faq-modern-head h2{
  margin: 0;
  font-size: 55px;
  line-height: 1.1;
  font-weight: 800;
  color: #0b1f3a;
  position: relative;
  display: inline-block;
}
.faq-modern-head h2::after{
  content: "";
  width: 88px;
  height: 4px;
  background: #fe4d29;
  border-radius: 999px;
  display: block;
  margin: 14px auto 0;
}

.faq-modern-subtitle{
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.75;
  color: #d76335;
  font-weight: bold;
}
.faq-modern-toolbar{
  margin: 0 auto 26px;
  max-width: 980px;
}

.faq-modern-search{
  position: relative;
  margin-bottom: 18px;
}

.faq-modern-search i{
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fe4d29;
  font-size: 18px;
}

.faq-modern-search input{
  width: 100%;
  height: 58px;
  border: 1px solid #e7edf3;
  border-radius: 16px;
  background: #fff;
  color: #0b1f3a;
  font-size: 16px;
  padding: 0 52px 0 50px;
  outline: none;
  box-shadow: 0 10px 24px rgba(11,31,58,0.05);
  transition: all 0.25s ease;
}

.faq-modern-search input:focus{
  border-color: #fe4d29;
  box-shadow: 0 0 0 4px rgba(254,77,41,0.10);
}

.faq-search-clear{
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #8b95a3;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: none;
}
.faq-search-clear.show{
  display: block;
}
.faq-modern-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.faq-tab-btn{
  border: 1px solid #e6ecf2;
  background: #fff;
  color: #0b1f3a;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
}
.faq-tab-btn:hover,
.faq-tab-btn.active{
  background: #0b1f3a;
  border-color: #0b1f3a;
  color: #fff;
}
.faq-modern-grid{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.faq-modern-item{
  background: #fff;
  border: 1px solid #e9eef4;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(11,31,58,0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-modern-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11,31,58,0.08);
  border-color: rgba(254,77,41,0.25);
}
.faq-modern-question{
  width: 100%;
  border: none;
  background: transparent;
  padding: 20px 22px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #0b1f3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}
.faq-modern-question i{
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(254,77,41,0.08);
  color: #fe4d29;
  font-size: 15px;
  transition: all 0.25s ease;
}
.faq-modern-item.active .faq-modern-question i{
  transform: rotate(45deg);
  background: #fe4d29;
  color: #fff;
}
.faq-modern-answer{
  display: none;
  padding: 0 22px 20px;
}
.faq-modern-answer p{
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #5f6b7a;
}
.faq-modern-item.active .faq-modern-answer{
  display: block;
  animation: faqFade 0.3s ease;
}
@keyframes faqFade{
  from{
    opacity: 0;
    transform: translateY(-6px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
.faq-modern-empty{
  max-width: 980px;
  margin: 16px auto 0;
  text-align: center;
  color: #6d7785;
  font-size: 15px;
  font-weight: 600;
}
.faq-modern-cta{
  max-width: 980px;
  margin: 28px auto 0;
  text-align: center;
  /* padding: 26px 20px 0; */
}
.faq-modern-cta p{
  margin: 20px 0 14px;
  font-size: 25px;
  line-height: 1.5;
  color: #2c2a29;
  font-weight: 700;
}
.faq-modern-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 52px;
  padding: 12px 24px;
  background: #fe4d29;
  color: #fff !important;
  border-radius: 14px;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(254,77,41,0.22);
  transition: all 0.25s ease;
}
.faq-modern-btn:hover{
  background: #0451b7;
  box-shadow: 0 16px 34px rgba(4, 81, 183, 0.3);
  color: #fff !important;
  transform: translateY(-2px);
}
/* tablet */
@media (max-width: 991px){
  .faq-modern-section{
    padding: 16px 0 32px;
  }
  .faq-modern-head h2{
    font-size: 36px;
  }
  .faq-modern-subtitle{
    font-size: 15px;
  }
  .faq-modern-question{
    font-size: 19px;
  }
}
/* mobile */
@media (max-width: 767px){
  .faq-modern-section{
    padding: 12px 0 28px;
  }
  .faq-modern-head{
    margin-bottom: 18px;
  }
  .faq-modern-head h2{
    font-size: 30px;
  }
  .faq-modern-head h2::after{
    width: 72px;
    height: 3px;
    margin-top: 12px;
  }
  .faq-modern-subtitle{
    font-size: 14px;
    line-height: 1.65;
    margin-top: 14px;
    padding: 0 8px;
  }
  .faq-modern-toolbar{
    margin-bottom: 20px;
  }
  .faq-modern-search input{
    height: 52px;
    font-size: 14px;
    border-radius: 12px;
    padding: 0 46px 0 44px;
  }
  .faq-modern-search i{
    left: 16px;
    font-size: 16px;
  }
  .faq-modern-tabs{
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .faq-tab-btn{
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 13px;
  }
  .faq-modern-question{
    padding: 16px 16px;
    font-size: 16px;
    gap: 12px;
  }
  .faq-modern-answer{
    padding: 0 16px 16px;
  }
  .faq-modern-answer p{
    font-size: 14px;
    line-height: 1.75;
  }
  .faq-modern-btn{
    min-width: 160px;
    min-height: 48px;
    font-size: 15px;
    border-radius: 12px;
  }
}