@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&display=swap");

@keyframes tf2FadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tf2FadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tf2 {
  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 162, 76, 0.1), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(30, 58, 95, 0.1), transparent 45%),
    linear-gradient(150deg, #eef4ff 0%, #e6edfb 45%, #f3ecdf 100%);
  padding: 72px 48px;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  overflow: hidden;
}

.tf2__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.tf2__glow--one {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -110px;
  background: radial-gradient(circle, rgba(212, 162, 76, 0.24), transparent 70%);
}

.tf2__glow--two {
  width: 440px;
  height: 440px;
  bottom: -150px;
  right: -120px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.2), transparent 70%);
}

.tf2__inner {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tf2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.tf2__col {
  min-width: 0;
  opacity: 0;
  animation-play-state: paused;
}

.tf2.tf2--visible .tf2__col {
  animation: tf2FadeInUp 0.8s ease both;
  animation-play-state: running;
}

.tf2.tf2--visible .tf2__col:nth-child(2) {
  animation-delay: 0.1s;
}

.tf2__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.tf2__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(145deg, #f0c37a, #d4a24c);
  color: #1e3a5f;
  border-radius: 6px;
  flex-shrink: 0;
}

.tf2__badge-text {
  color: #1e3a5f;
  font-size: clamp(11px, 1.2vw, 12.5px);
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  padding-left: 10px;
  border-left: 2px solid #d4a24c;
}

.tf2__heading {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  color: #1e3a5f;
  margin: 0 0 12px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.tf2__heading--accent {
  color: #d4a24c;
}

.tf2__underline {
  display: block;
  width: 50px;
  height: 3px;
  border-radius: 2px;
  background: #d4a24c;
  margin-bottom: 30px;
}

.tf2__testimonialCard {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(237, 243, 255, 0.6));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 162, 76, 0.25);
  border-top: 3px solid #d4a24c;
  border-radius: 20px;
  padding: 40px 36px 32px;
  box-shadow: 0 16px 40px rgba(30, 58, 95, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  animation: tf2FadeIn 0.5s ease both;
}

.tf2__quoteIcon {
  color: #d4a24c;
  opacity: 0.35;
  margin-bottom: 10px;
  display: block;
}

.tf2__quote {
  font-size: 17px;
  line-height: 1.75;
  color: #3d4759;
  margin: 0 0 28px 0;
  min-height: 132px;
}

.tf2__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.tf2__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d4a24c;
  flex-shrink: 0;
}

.tf2__authorText h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 2px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.tf2__authorText span {
  font-size: 13.5px;
  color: #d4a24c;
  font-weight: 600;
}

.tf2__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tf2__dot {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: #d7deec;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tf2__dot--active {
  width: 34px;
  background: #d4a24c;
}

.tf2__faqList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tf2__faqItem {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(237, 243, 255, 0.6));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 162, 76, 0.2);
  border-left: 3px solid #d4a24c;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.tf2__faqItem--open {
  border-color: rgba(212, 162, 76, 0.5);
  box-shadow: 0 10px 26px rgba(30, 58, 95, 0.1);
}

.tf2__faqQuestion {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  color: #1e3a5f;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.tf2__faqToggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(212, 162, 76, 0.12);
  color: #1e3a5f;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.tf2__faqItem--open .tf2__faqToggle {
  transform: rotate(135deg);
  color: #ffffff;
  background: #d4a24c;
}

.tf2__faqAnswerWrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.tf2__faqItem--open .tf2__faqAnswerWrap {
  max-height: 200px;
}

.tf2__faqAnswer {
  font-size: 14px;
  line-height: 1.65;
  color: #5b6472;
  margin: 0;
  padding: 0 22px 20px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1300px) {
  .tf2 {
    padding: 60px 36px;
  }

  .tf2__grid {
    gap: 40px;
  }
}

@media (max-width: 1100px) {
  .tf2 {
    padding: 60px 28px;
  }

  .tf2__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .tf2 {
    padding: 52px 20px;
  }

  .tf2__badge-text {
    font-size: 12.5px;
  }

  .tf2__heading {
    font-size: 22px;
  }

  .tf2__testimonialCard {
    padding: 32px 24px 26px;
  }

  .tf2__quote {
    font-size: 16px;
    min-height: 0;
  }

  .tf2__faqQuestion {
    font-size: 14.5px;
    padding: 16px 18px;
  }

  .tf2__faqAnswer {
    font-size: 13.5px;
    padding: 0 18px 18px;
  }
}

@media (max-width: 640px) {
  .tf2 {
    padding: 44px 16px;
  }

  .tf2__heading {
    font-size: 20px;
  }

  .tf2__testimonialCard {
    padding: 28px 20px 22px;
  }

  .tf2__quote {
    font-size: 15px;
  }

  .tf2__author {
    gap: 12px;
  }

  .tf2__avatar {
    width: 48px;
    height: 48px;
  }

  .tf2__faqQuestion {
    font-size: 14px;
    padding: 14px 16px;
  }

  .tf2__faqAnswer {
    font-size: 13px;
    padding: 0 16px 16px;
  }
}

@media (max-width: 400px) {
  .tf2 {
    padding: 36px 12px;
  }

  .tf2__heading {
    font-size: 18px;
  }

  .tf2__quote {
    font-size: 14px;
    line-height: 1.65;
  }

  .tf2__authorText h5 {
    font-size: 14.5px;
  }

  .tf2__authorText span {
    font-size: 12.5px;
  }

  .tf2__faqQuestion {
    font-size: 13px;
    padding: 12px 14px;
    gap: 10px;
  }

  .tf2__faqAnswer {
    font-size: 12.5px;
    padding: 0 14px 14px;
  }
}