/* =============================================================
   SECTION 2.5: FAQ SECTION STYLING (faq.css)
   ============================================================= */
.faq-section {
  position: relative;
  min-height: calc(80vh - 60px);
  width: 96%;
  max-width: 1400px;
  margin: 30px auto;
  border-radius: 24px;
  background-image: url('https://yadvhvt9zjohl7ms.public.blob.vercel-storage.com/Gradient%20assets/14%20comprsd.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #0b192c; /* Deep slate charcoal text */
  padding: 100px 8% 100px 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid rgba(11, 25, 44, 0.08);
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  width: 100%;
  max-width: 1200px;
  align-items: start;
  position: relative;
  z-index: 10;
}

/* Left Column: Heading and Tagline */
.faq-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 120px;
}

.faq-tag {
  font-family: 'Inter', sans-serif; /* Inter for Labels */
  font-size: 0.75rem;
  font-weight: 500; /* Inter 500 (Medium) */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b192c; /* Deep slate charcoal */
}

.faq-heading {
  font-family: 'Inter', sans-serif; /* Inter for Section Headings */
  font-size: 2.8rem; /* ~45px (Section Title 42-52px range) */
  font-weight: 600; /* Inter 600 (SemiBold) */
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0b192c; /* Deep slate charcoal */
}

.faq-description {
  font-family: 'Inter', sans-serif; /* Inter for Reading */
  font-size: 1.15rem; /* ~18px (Body 18-20px range) */
  font-weight: 400; /* Inter 400 (Regular) */
  line-height: 1.6;
  color: rgba(11, 25, 44, 0.8); /* Dark body text */
  max-width: 380px;
}

/* Right Column: Accordion List */
.faq-accordion {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid rgba(11, 25, 44, 0.15);
  padding: 16px 0;
  transition: border-color 0.3s ease;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:hover {
  border-color: rgba(11, 25, 44, 0.45);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 12px 0;
  cursor: pointer;
  color: #0b192c; /* Deep slate charcoal */
  font-family: 'Inter', sans-serif; /* Inter for Interactive headings */
  font-size: 1.15rem; /* ~18px (Card/Question Title range) */
  font-weight: 500; /* Inter 500 (Medium) */
  gap: 20px;
  transition: color 0.3s ease;
}

.faq-question-btn:focus {
  outline: none;
}

.faq-item:hover .faq-question-btn {
  color: #b14c33; /* Dark terracotta brand accent */
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1);
  color: rgba(11, 25, 44, 0.6);
}

.faq-item:hover .faq-toggle-icon {
  color: #b14c33;
}

.faq-toggle-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Accordion Expand/Collapse sliding transition container */
.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 
    max-height 0.4s cubic-bezier(0.2, 1, 0.2, 1),
    opacity 0.4s cubic-bezier(0.2, 1, 0.2, 1);
}

.faq-answer {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(11, 25, 44, 0.8); /* Dark body text */
  padding: 8px 0 16px 0;
}

/* Active State Styles */
.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: #b14c33; /* Dark terracotta brand accent */
}

.faq-item.active .faq-question-btn {
  color: #b14c33;
}

.faq-item.active .faq-answer-wrapper {
  opacity: 1;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .faq-container {
    gap: 40px;
  }
  
  .faq-heading {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .faq-section {
    width: 96%;
    margin: 16px auto;
    border-radius: 16px;
    padding: 60px 5% 60px 5%;
    min-height: auto;
  }

  .faq-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .faq-info {
    position: relative;
    top: 0;
    text-align: center;
    align-items: center;
  }
  
  .faq-heading {
    font-size: 2rem;
  }
  
  .faq-description {
    max-width: 100%;
    font-size: 1rem;
  }

  .faq-question-btn {
    font-size: 1rem;
    padding: 10px 0;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 50px 4% 50px 4%;
  }
  .faq-heading {
    font-size: 1.75rem;
  }
  .faq-question-btn {
    font-size: 0.95rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }
}
