/* Hero Background Image */
.hero {
  background: url("../images/faq-hero.jpg") no-repeat center center/cover;
  min-height: 60vh;
  --r: 20px; /* radius */
  --s: 35px; /* inner curve size */
  --x: 120px; /* horizontal offset */
  --y: 20px; /* vertical offset */

  border-radius: var(--r);
  --_m:/calc(2*var(--r)) calc(2*var(--r)) radial-gradient(#000 70%,#0000 72%);
  --_g:conic-gradient(at calc(100% - var(--r)) var(--r),#0000 25%,#000 0);
  --_d:(var(--s) + var(--r));
  mask:
    calc(100% - var(--_d) - var(--x)) 0 var(--_m),
    100% calc(var(--_d) + var(--y)) var(--_m),
    radial-gradient(var(--s) at 100% 0,#0000 99%,#000 calc(100% + 1px))
     calc(-1*var(--r) - var(--x)) calc(var(--r) + var(--y)),
    var(--_g) calc(-1*var(--_d) - var(--x)) 0,
    var(--_g) 0 calc(var(--_d) + var(--y));
  mask-repeat: no-repeat;
}

.hero-content {
  text-align: left;
  top: 50px;
  right: 220px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: #ddd;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 5px;
  color: #ccc;
}

/* Content on top */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 600px;
  margin-right: 400px;
  margin-bottom: -10px;
  
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
}












.faq-section {
  padding: 60px 20px;
  background: #f6f7f1;
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-header {
  margin-bottom: 20px;
}

.faq-tag {
  background: #e7ece2;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 14px;
  margin-bottom: 10px;
  display: inline-block;
  color: #333;
}

.faq-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.faq-item {
  margin-bottom: 14px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
  color: #000;
  border: 0.5px solid #ddd;
}


.faq-question:hover {
  background: #ececec;
}

/* ✅ Active state (open question) */
.faq-item.active .faq-question {
  background: #0073e6;   /* blue background */
  color: #fff;           /* white text */
  border-color: #0073e6; /* optional: match border */
}

/* ensure clickable and arrow rotates smoothly */
.faq-question { position: relative; z-index: 2; cursor: pointer; }
.faq-answer   { position: relative; z-index: 1; }

.arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.28s ease;
  display: inline-block;
  transform: rotate(0deg);
  pointer-events: none; /* clicks go to the button, not the image */
}

/* ✅ Arrow in active state turns white */
.faq-item.active .arrow-icon {
  filter: invert(1); /* makes black arrow turn white */
  transform: rotate(180deg);
}

.faq-item.active .arrow-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 10px 15px;
  color: #333;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer ol {
  margin: 8px 0 0 20px; /* space from text + slight left shift */
  padding-left: 20px;   /* align numbers nicely */
  color: #333;
}

.faq-answer ol li {
  margin-bottom: 6px;   /* space between items */
  line-height: 1.6;     /* improve readability */
}












.faq-single {
  padding: 60px 20px;
  background: #f6f7f1;
  max-width: 900px;
  margin: 0 auto;
}

.faq-single .faq-header {
  margin-bottom: 30px;
  text-align: left;
}

.faq-single .faq-tag {
  background: #e7ece2;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 14px;
  margin-bottom: 10px;
  display: inline-block;
  color: #333;
}

.faq-single h2 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
}

.faq-single .faq-item {
  margin-bottom: 14px;
}

.faq-single .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  border-radius: 10px;
  background: #f8f8f8;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.faq-single .faq-question:hover {
  background: #ececec;
}

.faq-single .faq-item.active .faq-question {
  background: #0a66c2; /* blue */
  color: #fff;
}

.faq-single .arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.faq-single .faq-item.active .arrow-icon {
  transform: rotate(180deg);
  filter: invert(1); /* makes arrow white */
}

.faq-single .faq-answer {
  display: none;
  padding: 15px 20px;
  color: #333;
}

.faq-single .faq-item.active .faq-answer {
  display: block;
  background: #fff;
  border-radius: 0 0 10px 10px;
}

























