/* ============================================================
   FAQ Section CSS - Modern & Responsive
   ============================================================ */

/* ========================================
   FAQ Section Container
   ======================================== */
.faq-section {
  background-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

@media (max-width: 991px) {
  .faq-section {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .faq-section {
    padding: 40px 0;
  }
}

/* ========================================
   FAQ Heading Styles
   ======================================== */
.faq_heading {
  text-align: center;
  margin-bottom: 50px;
}

.faq_heading .faq-main-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: #1a1a1a !important;
  margin-bottom: 16px !important;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.faq_heading .faq-sub-title {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #666666;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FAQ Items Layout
   ======================================== */
.faq_items {
  margin-bottom: 30px;
}

.faq_items .container {
  padding: 0;
}

/* ========================================
   Accordion Styles - Modern & Clean
   ======================================== */
.custom-accordion-style-1 {
  border-radius: 12px;
  overflow: hidden;
}

.custom-accordion-style-1 > .card {
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  margin-bottom: 16px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  overflow: hidden;
}

.custom-accordion-style-1 > .card:hover {
  border-color: #0a1a6f !important;
  box-shadow: 0 4px 20px rgba(10, 26, 111, 0.1);
  transform: translateY(-2px);
}

.custom-accordion-style-1 > .card .card-header {
  padding: 0;
  border: none;
  background: transparent;
}

.custom-accordion-style-1 > .card .card-header a {
  position: relative;
  padding: 20px 24px;
  padding-right: 60px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  color: #1a1a1a;
  font-weight: 600;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.5;
  display: block;
  width: 100%;
  text-decoration: none !important;
}

.custom-accordion-style-1 > .card .card-header a:hover {
  color: #0a1a6f;
}

/* Plus/Minus Icon */
.custom-accordion-style-1 > .card .card-header a:after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 300;
  color: #0a1a6f;
  background: rgba(10, 26, 111, 0.08);
  border-radius: 50%;
  transform: translate3d(0, -50%, 0) rotate(0deg);
  transform-origin: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-accordion-style-1 > .card .card-header a.collapsed:after {
  content: "+";
}

.custom-accordion-style-1 > .card .card-header a:not(.collapsed):after {
  content: "−";
  background: #0a1a6f;
  color: #ffffff;
  transform: translate3d(0, -50%, 0) rotate(180deg);
}

/* Active State */
.custom-accordion-style-1 > .card .card-header a:not(.collapsed) {
  background-color: #0a1a6f !important;
  color: #ffffff !important;
}

.custom-accordion-style-1 > .card .card-header a:not(.collapsed):hover {
  background-color: #001a52 !important;
}

/* Collapse Body */
.custom-accordion-style-1 > .card .card-header + .collapse.show,
.custom-accordion-style-1 > .card .card-header + .collapsing {
  border: none;
}

.custom-accordion-style-1 > .card .card-body {
  padding: 20px 24px;
  background: #f8f9fa;
  border-top: 1px solid #e5e7eb;
}

.custom-accordion-style-1 > .card .card-body p {
  margin: 0;
  color: #4a5568;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.7;
}

.custom-accordion-style-1 > .card .card-body b {
  color: #0a1a6f;
  font-weight: 700;
}

/* ========================================
   Still Have Questions / Contact Section
   ======================================== */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0a1a6f, #F5C518, #0a1a6f);
}

.contact-section .container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-section h2 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.contact-section > .container > p {
  font-size: clamp(16px, 2.5vw, 19px);
  color: #4a5568;
  margin-bottom: 35px;
  line-height: 1.6;
}

.contact-section .demo-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: inline-block;
  transition: all 0.3s ease;
}

.contact-section .demo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.contact-section .demo-card p {
  font-size: clamp(17px, 2.5vw, 20px);
  color: #1a1a1a;
  margin-bottom: 25px;
  line-height: 1.5;
  font-weight: 500;
}

.contact-section .demo-card a {
  display: inline-block;
  background: linear-gradient(135deg, #0a1a6f 0%, #002370 100%);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(10, 26, 111, 0.3);
}

.contact-section .demo-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 26, 111, 0.4);
  background: linear-gradient(135deg, #002370 0%, #001a52 100%);
  text-decoration: none !important;
}

/* ========================================
   Custom Button Style
   ======================================== */
.cutomize_button {
  padding: 14px 32px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
}

/* ========================================
   Responsive Design - Tablet
   ======================================== */
@media (max-width: 991px) {
  .faq_items {
    margin-bottom: 20px;
  }

  .custom-accordion-style-1 > .card .card-header a {
    padding: 18px 20px;
    padding-right: 55px;
    font-size: 16px;
  }

  .custom-accordion-style-1 > .card .card-header a:after {
    right: 20px;
    width: 26px;
    height: 26px;
    font-size: 22px;
  }

  .custom-accordion-style-1 > .card .card-body {
    padding: 18px 20px;
  }

  .contact-section {
    padding: 60px 15px;
  }

  .contact-section .demo-card {
    padding: 35px 25px;
  }
}

/* ========================================
   Responsive Design - Mobile
   ======================================== */
@media (max-width: 767px) {
  .faq_heading {
    margin-bottom: 35px;
    padding: 0 15px;
  }

  .faq_heading .faq-main-title {
    font-size: 26px !important;
    margin-bottom: 12px !important;
  }

  .faq_heading .faq-sub-title {
    font-size: 15px !important;
    margin-bottom: 0 !important;
  }

  .faq_items {
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .custom-accordion-style-1 > .card {
    margin-bottom: 12px !important;
  }

  .custom-accordion-style-1 > .card .card-header a {
    padding: 16px 18px;
    padding-right: 50px;
    font-size: 15px;
  }

  .custom-accordion-style-1 > .card .card-header a:after {
    right: 18px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .custom-accordion-style-1 > .card .card-body {
    padding: 16px 18px;
  }

  .custom-accordion-style-1 > .card .card-body p {
    font-size: 14px;
  }

  .contact-section {
    padding: 50px 15px;
  }

  .contact-section h2 {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .contact-section > .container > p {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .contact-section .demo-card {
    padding: 30px 20px;
    margin: 0 10px;
  }

  .contact-section .demo-card p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .contact-section .demo-card a {
    padding: 12px 28px;
    font-size: 15px;
  }

  .cutomize_button {
    padding: 12px 28px !important;
    font-size: 15px !important;
  }
}

/* ========================================
   Responsive Design - Small Mobile
   ======================================== */
@media (max-width: 480px) {
  .faq-section {
    padding: 30px 0;
  }

  .faq_heading .faq-main-title {
    font-size: 22px !important;
  }

  .faq_heading .faq-sub-title {
    font-size: 14px !important;
  }

  .custom-accordion-style-1 > .card .card-header a {
    padding: 14px 16px;
    padding-right: 45px;
    font-size: 14px;
  }

  .custom-accordion-style-1 > .card .card-header a:after {
    right: 16px;
    width: 22px;
    height: 22px;
    font-size: 18px;
  }

  .custom-accordion-style-1 > .card .card-body {
    padding: 14px 16px;
  }

  .contact-section .demo-card {
    padding: 25px 18px;
  }
}

/* ========================================
   Accessibility & Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .custom-accordion-style-1 > .card,
  .custom-accordion-style-1 > .card .card-header a,
  .custom-accordion-style-1 > .card .card-header a:after,
  .contact-section .demo-card,
  .contact-section .demo-card a {
    transition: none !important;
  }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
  .faq-section {
    padding: 20px 0;
  }

  .contact-section {
    background: white;
    padding: 20px 0;
  }

  .contact-section .demo-card a {
    box-shadow: none;
    border: 1px solid #0a1a6f;
  }
}
