:root {
  --primary: #c8a14a;
  --dark: #0e0e0e;
  --light: #f9f9f9;
  --gray: #777;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(
  circle at top center,
  #FFFFFF 0%,
  #FFF5F7 30%,
  #FDF2F4 55%,
  #F2DEE4 100%
);
  color: var(--dark);
}


.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--dark);
}

/* HERO */
/* FAQ HERO */
.faq-hero {
  padding: 120px 20px;
  background: linear-gradient(135deg, #FFFCDC, #D9A7C7);
  text-align: center;
  color: #2e2e2e;
}

.faq-hero h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  margin-bottom: 12px;
  color: #2e2e2e;

  /* Initial state for page load animation */
  opacity: 0;
  transform: translateY(40px);

  /* Animate upward on page load */
  animation: faqHeroReveal 1.5s ease-out forwards;

  /* Hover transition */
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.35s ease;
}

.faq-hero h1:hover {
  transform: translateY(-4px);
  color: #B58B9A;
}

/* Keyframes for page load animation */
@keyframes faqHeroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.faq-hero p {
  margin-top: 10px;
  font-size: 18px;
  max-width: 620px;
  margin-inline: auto;
  color: #555;
}

/* FAQ SECTION */
.faq-section {
  padding: 50px 20px;
  max-width: 900px;
  margin: auto;
}

/* FAQ ITEM */
.faq-item {
  background: #ffffff;
  border-radius: 22px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.faq-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(181, 139, 154, 0.25);
}

/* QUESTION */
.faq-question {
  width: 100%;
  padding: 26px 32px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--dark);
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
  color: #B58B9A;
}

/* ICON */
.faq-question span {
  font-size: 26px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* .faq-item.active .faq-question span {
  transform: rotate(45deg);
} */

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 32px;
  transition:
    max-height 0.5s ease,
    padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 220px;
  padding-bottom: 26px;
}

.faq-answer p {
  padding-top: 7px;
  padding-bottom: 15px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
}

/* CTA */
.faq-cta {
  background: linear-gradient(45deg, #ffc3a0, #FFAFBD);
  color: white;
  text-align: center;
  padding: 90px 20px;
}

.faq-cta h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  transition: transform 0.35s ease;
}

.faq-cta h2:hover {
  transform: translateY(-3px);
}

.faq-cta p {
  margin: 15px 0 30px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7582, #725a7a);
  color: white;
  padding: 14px 36px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  outline: 2px solid #975aab;
  outline-offset: 0px;
  transition: transform 0.25s ease, outline-color 0.25s ease;
}
.btn-primary:hover {
  background:linear-gradient(135deg,#f54ea2, #ff7676);
  color:#FFFFFF;
  transform: translateY(-2px);
  outline-color: #975aab;
}

/* FOOTER */
.footer {
   background: linear-gradient(to right, #282825, #332219);
  color: #aaa;
  text-align: center;
  padding: 25px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .faq-hero h1 {
    font-size: 40px;
  }

  .faq-question {
    font-size: 16px;
  }
}
