/* ===============================
   GLOBAL RESET
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #eef3ff, #f8faff);
  color: #222;
  line-height: 1.7;
}

/* ===============================
   HERO HEADER
================================= */
.faq-header {
  width: 100%;
  background: linear-gradient(135deg, #003f8a, #0077ff);
  color: #ffffff;
  padding: 120px 20px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-header::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -250px;
  left: -250px;
}

.faq-header::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  bottom: -200px;
  right: -150px;
}

.faq-header-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.faq-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.faq-header h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ffffff;
  margin: 18px auto 0;
  border-radius: 3px;
}

.faq-header p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}
/* ===============================
   BACK TO HOME BUTTON
================================= */
.back-home {
  position: absolute;
  top: 25px;
  left: 30px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  transition: all 0.3s ease;
  z-index: 3;
}

.back-home:hover {
  background: #ffffff;
  color: #003f8a;
}

/* Mobile adjustment */
@media (max-width: 600px) {
  .back-home {
    top: 15px;
    left: 15px;
    font-size: 13px;
    padding: 5px 10px;
  }
}
/* ===============================
   FAQ SECTION WRAPPER
================================= */
.faq-section {
  padding: 60px 20px 0; /* Added top spacing */
}

/* ===============================
   MAIN FAQ CONTAINER (DISJOINED)
================================= */
.faq-container {
  max-width: 850px;
  margin: 0 auto 100px;  /* Removed negative margin */
  padding: 50px 40px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 60, 150, 0.08);
}

/* ===============================
   SECTION TITLES
================================= */
.section-header h2 {
  font-size: 28px;
  color: #003f8a;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.section-header h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #0077ff;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 3px;
}

/* ===============================
   FAQ ITEMS
================================= */
details {
  border: 1px solid #e4e9ff;
  border-radius: 12px;
  margin-bottom: 18px;
  padding: 18px 22px;
  background: #f9fbff;
  transition: all 0.3s ease;
}

details:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 70, 180, 0.08);
}

details[open] {
  background: #ffffff;
  border-color: #d5deff;
  box-shadow: 0 12px 30px rgba(0, 70, 180, 0.12);
}

summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: #004a9f;
  position: relative;
  padding-right: 30px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 20px;
  color: #0077ff;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-top: 15px;
  font-size: 15.5px;
  color: #444;
  line-height: 1.8;
}

details a {
  color: #0077ff;
  text-decoration: none;
  font-weight: 500;
}

details a:hover {
  text-decoration: underline;
}

/* ===============================
   FOOTER
================================= */
footer {
  background: linear-gradient(90deg, #003f8a, #0077ff);
  color: #fff;
  text-align: center;
  padding: 22px;
  font-size: 14px;
  letter-spacing: 0.4px;
}

/* ===============================
   RESPONSIVE DESIGN
================================= */
@media (max-width: 992px) {
  .faq-header {
    padding: 100px 20px 80px;
  }

  .faq-header h1 {
    font-size: 38px;
  }

  .faq-container {
    padding: 40px 30px;
  }
}

@media (max-width: 600px) {
  .faq-header {
    padding: 80px 15px 60px;
  }

  .faq-header h1 {
    font-size: 28px;
  }

  .faq-header p {
    font-size: 15px;
  }

  .faq-section {
    padding: 40px 15px 0;
  }

  .faq-container {
    padding: 30px 20px;
    border-radius: 12px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  summary {
    font-size: 15.5px;
  }

  details p {
    font-size: 14.5px;
  }
}