﻿body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: #f7f9fc;
  color: #1e1e1e;
}

/* HERO */
.faq-hero {
  width: 100%;
  height: 90vh;
  background: url('your-hero-image.jpg') center/cover no-repeat;
  position: relative;
}

.faq-hero .overlay {
  background: rgba(0,0,0,0.5);
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.faq-hero h1 {
  font-size: 2rem;
}

/* TITLE */
.faq-title {
  text-align: center;
  padding: 30px 20px;
  font-size: 1.4rem;
  font-weight: 600;

  background: linear-gradient(90deg, #0b2e8a, #ff6a00, #00c2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



/* FAQ */
.faq-container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

.faq-item {
  background: white;
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}

/* QUESTION */
.faq-question {
  width: 100%;
  padding: 18px;
  text-align: left;
  background: #ffffff;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
color: #1e3a8a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, color 0.3s ease;
}

/* ICON */
.icon {
  transition: transform 0.3s ease;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  background: #f1f5ff;
  transition: all 0.3s ease;
  font-size: 1rem;
transition: max-height 0.3s ease, padding 0.3s ease, color 0.3s ease;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 18px;
 color: #ffffff;
background: #0b2e8a;
  transform: scale(1.01);
  
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.faq-item.active .icon {
  transform: rotate(180deg);
   color: #ffffff;
}

.faq-item.active .faq-question {
  background: #eef3ff;
 color: #ffffff;
background: #0b2e8a;
  transform: scale(1.01);
  
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}