/* ========================= */
/* GLASS FAQ SECTION CARD */
/* ========================= */

.faq-section {
  padding: 120px 16px;
  background: #f5f5f5;
  border:1px solid #ccc;
}

.faq-card {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 64px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 2px solid #ccc;
  box-shadow:
    0 40px 90px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

/* GRID */
.faq-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

/* ========================= */
/* LEFT SIDE */
/* ========================= */

.faq-left h2 {
  font-size: clamp(44px, 4vw, 68px);
  line-height: 1.05;
  font-weight: 900;
  color: #111;
  margin-bottom: 24px;
}

.faq-left p {
  max-width: 420px;
  font-size: 17px;
  line-height: 1.65;
  color: #444;
}

/* ========================= */
/* RIGHT SIDE */
/* ========================= */

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FAQ ITEM (GLASS CARDS) */
.faq-item {
  border-radius: 20px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.7);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.18);
}

/* ========================= */
/* QUESTION */
/* ========================= */

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 26px;
  font-size: 17px;
  font-weight: 700;
  color: #111;

  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;

  background: rgba(0,0,0,0.05);
  font-size: 20px;
  transition: transform 0.35s ease, background 0.35s ease;
}

/* ========================= */
/* ANSWER */
/* ========================= */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(.22,1,.36,1);
}

.faq-answer p {
  padding: 0 26px 26px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  max-height: 260px;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #ef4444, #f87171);
  color: #fff;
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 768px) {
  .faq-card {
    padding: 48px 24px;
    border-radius: 24px;
  }

  .faq-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-left {
    text-align: center;
  }

  .faq-left p {
    margin: 0 auto;
  }
}
