* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* ================= FAQ SECTION ================= */
.faq-section {

  /* background: #ffffff; */

  background: url("../images/Rectangle\ 58.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
     padding: 50px 70px;
}
.faq-container{
  max-width: 1320px;
  margin: 0 auto;
 
}

/* .faq-title {
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  overflow: hidden;

  font-family: EB Garamond;
  font-weight: 400;
  font-style: Regular;
  font-size: 36px;
  width: 400px;

  letter-spacing: 1%;
}

.faq-title::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 6px;
  background: var(--red);
  top: -3px;
  left: 0;
} */








.faq-title {
  font-family: "EB Garamond";
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  letter-spacing: 1%;
  color: #252525;

  display: flex;
  flex-direction: column; /* stack line + text */
  align-items: flex-start;
  gap: 2px;

  margin-bottom: 35px;
  position: relative;
      margin-top: 27px;
}

/* small line above */
.faq-title::before {
  content: "";
  width: 32px;          /* very small line */
  height: 4px;
  background: #e11b22;  /* change color if needed */
  border-radius: 2px;
}



/* Shine layer */
/* .faq-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(234, 146, 146, 0.8),
    transparent
  );
  transform: skewX(-20deg);
  animation: headingShine 3.5s ease-in-out infinite;
} */

/* Shine animation */
/* @keyframes headingShine {
  0% {
    left: -120%;
  }
  40% {
    left: 120%;
  }
  100% {
    left: 120%;
  }
} */

/* ================= FAQ ITEM ================= */
.faq-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background 0.4s ease;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item {
  position: relative;
  overflow: hidden;
  transition: background 0.45s ease;
}

.faq-item:hover {
  background: radial-gradient(
    circle at left center,
    rgba(242, 189, 190, 0.45),
    rgba(242, 189, 190, 0.12),
    transparent 70%
  );
}

/* ================= LEFT ================= */
.faq-left {
  display: flex;
  gap: 40px;
  max-width: 55%;
}

.faq-number {
  font-size: 64px;
  font-weight: 700;
  color: rgba(37, 37, 37, 0.15);
  min-width: 80px;
  transition: color 0.4s ease;
}

/* ================= TEXT (SMOOTH GRID ANIMATION) ================= */
.faq-content {
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.7s ease;
}

.faq-content h3 {
  font-family: Outfit;
  font-weight: 500;
  font-style: Regular;
  font-size: 22px;
  letter-spacing: 5%;
  /* font-weight: 600; */
  color: #252525;
  transition: color 0.4s ease;
 
}

.faq-content p {
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  color: #555;

  font-family: Outfit;
  font-weight: 300;
  font-style: Regular;
  font-size: 18px;

  letter-spacing: 5%;
   line-height: 33px;
}

/* ================= IMAGES ================= */
.faq-images {
  display: flex;
  gap: 22px;
  opacity: 0;
  transform: translateX(60px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-images img {
  width: 210px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.faq-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

/* ================= ACTIVE STATE ================= */
.faq-item.active .faq-number {
  color: #ed1c24;
}

.faq-item.active .faq-content h3 {
  color: #ed1c24;
}

.faq-item.active .faq-content {
  grid-template-rows: auto 1fr;
}

.faq-item.active .faq-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.faq-item.active .faq-images {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.2s;
}

/* ================= RESPONSIVE PATCH (NO CONTENT CHANGE) ================= */

/* Large tablets / small laptops */
@media (max-width: 1200px) {
  .faq-left {
    max-width: 65%;
    gap: 30px;
  }

  .faq-images img {
    width: 190px;
    height: 140px;
  }
}

/* Tablets */
@media (max-width: 992px) {
 .faq-section {
    padding: 30px 35px;
  }

  .faq-left {
    max-width: 100%;
  }

  .faq-images {
    gap: 18px;
  }

  .faq-images img {
    width: 180px;
    height: 130px;
  }
}

/* Mobile & small tablets */
@media (max-width: 768px) {

.faq-title{
    padding-left: 25px;
}
  .faq-item {
    flex-direction: column;
    align-items: flex-start;
    /* gap: 22px; */
    padding-top: 12px;
  }

  .faq-left {
    gap: 5px;
  }

  .faq-content h3 {
    font-size: 20px;
  }

  .faq-content p {
    font-size: 16px;
     line-height: 24px;
  }

  .faq-images {
    width: 100%;
    justify-content: end;
    transform: translateY(30px);
  }

  .faq-item.active .faq-images {
    transform: translateY(0);
  }
}

/* Mobile phones */
@media (max-width: 576px) {
 .faq-section {
    padding: 30px 35px;
  }

  .faq-title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .faq-number {
    font-size: 44px;
    min-width: 60px;
  }

  .faq-content h3 {
    font-size: 18px;
  }

  .faq-content p {
    font-size: 15px;
  }

  .faq-images {
    gap: 14px;
  }

  .faq-images img {
    width: 150px;
    height: 110px;
  }
}

/* Very small devices */
@media (max-width: 420px) {
   .faq-title {
   width: 250px;
   padding-left: 25px;
  }
  .faq-content h3 {
    font-size: 15px;
    text-align: justify;
  }

  .faq-content p {
    font-size: 12px;
    text-align: justify;
  }

  .faq-number {
    font-size: 38px;
  }

  .faq-images img {
    width: 135px;
    height: 100px;
  }
}
