/* --- VARIABLES --- */
:root {
  /* Palette: Airy Pastel + Soft Shadows */
  --color-bg: #fdfbf7; /* Soft cream/paper white */
  --color-text: #2d3142; /* Dark Slate */
  --color-text-light: #7e8497;

  --color-primary: #7c83fd; /* Soft Violet */
  --color-primary-hover: #656af3;

  --color-secondary: #96e6b3; /* Pastel Mint */
  --color-accent: #ffb7b2; /* Soft Coral/Peach for accents */

  --color-white: #ffffff;

  /* Geometry: Hyper-rounded */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 50px;

  /* Shadows */
  --shadow-soft: 0 10px 40px -10px rgba(124, 131, 253, 0.15);
  --shadow-hover: 0 15px 50px -10px rgba(124, 131, 253, 0.25);

  /* Layout */
  --container-width: 1240px;
  --header-height: 80px;

  /* Fonts */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: --font-body;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

/* Glassmorphic floating header */
.header__container {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-text);
}

.header__logo-img {
  height: 36px;
  width: auto;
}

.header__nav {
  display: none;
}

.header__menu {
  display: flex;
  gap: 30px;
}

.header__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.header__link:hover {
  color: var(--color-primary);
}

.header__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__btn {
  display: none;
}

.header__burger {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  z-index: 2000;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu__close {
  position: absolute;
  top: 35px;
  right: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text);
}

.mobile-menu__link--cta {
  color: var(--color-primary);
}

/* --- FOOTER --- */
.footer {
  background: var(--color-white);
  padding: 80px 0 30px;
  margin-top: 100px; /* Space from main content */
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer__desc {
  color: var(--color-text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer__note {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(124, 131, 253, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  display: inline-block;
}

.footer__title {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--color-text);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.footer__link:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.footer__icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.footer__bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Tablet & Desktop */
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .header__nav,
  .header__btn {
    display: block;
  }
  .header__burger {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

/* --- HERO SECTION --- */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  min-height: 90vh; /* Full screen feel */
  display: flex;
  align-items: center;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

/* Text Content Styles */
.hero__content {
  max-width: 600px;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 131, 253, 0.1); /* Primary transparent */
  color: var(--color-primary);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
  /* Animation Start State */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero__title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-text);
  /* Animation Start State */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 480px;
  /* Animation Start State */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  /* Animation Start State */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero__btn-main i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.hero__btn-main:hover i {
  transform: translateX(5px);
}

.hero__info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.hero__info i {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
}

/* Visual & Floating Elements */
.hero__visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Animation Start State */
  opacity: 0;
  transform: scale(0.95);
  animation: zoomIn 1s ease forwards 0.5s;
}

.hero__img-wrapper {
  width: 100%;
  max-width: 450px;
  height: 100%;
  max-height: 550px;
  border-radius: 200px 200px 40px 40px; /* Creative shape */
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-soft);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Cards */
.hero__float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  max-width: 240px;
  transition: transform 0.1s linear; /* Smooth mouse follow */
}

.hero__float-card--1 {
  top: 10%;
  right: 0;
}

.hero__float-card--2 {
  bottom: 15%;
  left: -20px;
}

.float-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.bg-green {
  background: var(--color-secondary);
}
.bg-purple {
  background: var(--color-primary);
}

.float-text {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.float-text strong {
  color: var(--color-text);
}
.float-text span {
  color: var(--color-text-light);
  font-size: 0.8rem;
}

/* Decorative Background Elements */
.hero__blur-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  opacity: 0.15;
  filter: blur(80px);
  border-radius: 50%;
  z-index: 0;
}

.hero__blur-circle--1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Media Queries */
@media (min-width: 768px) {
  .hero__title {
    font-size: 4rem;
  }
  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
  }
  .hero__float-card--1 {
    right: -40px;
  }
}

/* --- METHODOLOGY SECTION --- */
.methodology {
  padding: 100px 0;
  background-color: var(--color-white);
  position: relative;
  border-radius: var(--radius-xl); /* Smooth transition from Hero */
  margin: 20px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-text);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.highlight {
  color: var(--color-primary);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--color-secondary);
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.step-card {
  background: var(--color-bg); /* Slight contrast from section bg */
  padding: 40px;
  border-radius: 40px; /* Hyper-rounded */
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid transparent;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(124, 131, 253, 0.2);
  background: #fff;
}

.step-card__number {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: rgba(0, 0, 0, 0.03);
  line-height: 1;
  pointer-events: none;
}

.step-card__icon-box {
  width: 70px;
  height: 70px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--color-white);
  font-size: 1.5rem;
}

.step-card__icon-box i {
  width: 32px;
  height: 32px;
}

/* Icon Background Colors */
.bg-mint {
  background: linear-gradient(135deg, #96e6b3 0%, #68d391 100%);
  box-shadow: 0 10px 20px rgba(150, 230, 179, 0.4);
}
.bg-violet {
  background: linear-gradient(135deg, #7c83fd 0%, #656af3 100%);
  box-shadow: 0 10px 20px rgba(124, 131, 253, 0.4);
}
.bg-peach {
  background: linear-gradient(135deg, #ffb7b2 0%, #ff9e99 100%);
  box-shadow: 0 10px 20px rgba(255, 183, 178, 0.4);
}

.step-card__title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.step-card__text {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Tablet & Desktop */
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Connecting line for desktop (optional decorative element) */
  .steps-grid {
    position: relative;
  }
}

/* --- FEATURES (Bento Grid) --- */
.features {
  padding: 80px 0;
  background-color: var(--color-bg);
}

.features__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

/* Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Card Base Styles */
.bento-card {
  border-radius: 30px; /* Hyper-rounded */
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

/* Content Styling */
.bento-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-text);
}

.bento-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.bento-text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.bento-link i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.bento-link:hover i {
  transform: translate(3px, -3px);
}

/* Card Variants (Colors) */
.bg-soft-blue {
  background: #e3f2fd;
}
.bg-soft-pink {
  background: #fce4ec;
}
.bg-soft-yellow {
  background: #fff9c4;
}
.bg-white {
  background: #ffffff;
}

/* Special Border for White Card */
.border-gradient {
  position: relative;
  z-index: 1;
}
.border-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(
    45deg,
    var(--color-primary),
    var(--color-secondary)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Flex layout for Wide Card */
.flex-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Decorative Background Elements */
.bento-deco {
  position: absolute;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.bento-deco--chart {
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(124, 131, 253, 0.4) 0%,
    transparent 70%
  );
}

.bento-deco--circle {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border: 30px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

/* DESKTOP GRID (Magic happens here) */
@media (min-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px); /* Fixed height rows */
    gap: 30px;
  }

  /* Assign Areas */
  .bento-card--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-card--tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .bento-card--medium {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-card--wide {
    grid-column: span 3;
    grid-row: span 1;
  }

  .flex-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --- REVIEWS SECTION --- */
.reviews {
  padding: 100px 0;
  position: relative;
  overflow: hidden; /* Hide overflow of the background blob */
}

/* Background Decoration for Glass Effect */
.reviews__bg-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  height: 400px;
  background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 50%, #e0c3fc 100%);
  filter: blur(80px);
  opacity: 0.3;
  z-index: -1;
  border-radius: 50%;
}

.reviews__header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

/* Horizontal Scroller */
.reviews-scroller {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 20px 40px; /* Bottom padding for shadow visibility */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  /* Hide scrollbar but allow functionality */
  scrollbar-width: none; /* Firefox */
}

.reviews-scroller::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Glassmorphism Card */
.review-card {
  min-width: 300px;
  max-width: 350px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px; /* Hyper-rounded */
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.8);
}

/* Card Header */
.review-card__head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-card__info {
  flex-grow: 1;
}

.review-card__name {
  font-size: 1.1rem;
  margin-bottom: 2px;
  color: var(--color-text);
}

.review-card__role {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.review-card__rating {
  display: flex;
  gap: 2px;
}

.review-card__rating i {
  width: 14px;
  height: 14px;
  color: #ffd166; /* Star color */
}

.fill-star {
  fill: #ffd166;
}

/* Card Body */
.review-card__body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
}

.review-card__body strong {
  color: var(--color-primary);
  font-weight: 600;
  font-style: normal;
}

/* Desktop Tweaks */
@media (min-width: 1024px) {
  .reviews-scroller {
    justify-content: center; /* Center cards if they fit */
    flex-wrap: wrap; /* Grid layout on large screens */
    overflow: visible;
  }

  .review-card {
    scroll-snap-align: unset;
    min-width: 300px;
    width: calc(33.333% - 20px);
  }
}

/* --- FAQ SECTION --- */
.faq {
  padding: 80px 0;
  background-color: var(--color-bg);
}

.faq__container {
  max-width: 800px; /* Narrower container for better readability */
  margin: 0 auto;
  padding: 0 20px;
}

.faq__header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--color-white);
  border-radius: 30px; /* Hyper-rounded capsules */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.faq-item.active {
  box-shadow: var(--shadow-soft);
  border-color: rgba(124, 131, 253, 0.3);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.faq-icon {
  width: 36px;
  height: 36px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;
  color: var(--color-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--color-primary);
  color: var(--color-white);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-inner {
  padding: 0 30px 30px 30px;
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.faq-inner p {
  margin: 0;
}

.faq-trigger:hover .faq-question {
  color: var(--color-primary);
  transition: color 0.3s ease;
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, #f0f4f8 100%);
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

/* Left Info */
.contact__header {
  margin-bottom: 40px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact__icon-box {
  width: 60px;
  height: 60px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact__item h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact__item p,
.contact__item a {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.contact__item a:hover {
  color: var(--color-primary);
}

.contact__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(150, 230, 179, 0.2); /* Soft green bg */
  border-radius: 20px;
  color: #2d6a4f;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Right Form Card */
.contact__form-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: 40px; /* Hyper-rounded */
  box-shadow: 0 20px 60px rgba(124, 131, 253, 0.1);
  position: relative;
  overflow: hidden;
}

.form__title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-left: 15px;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--color-text-light);
}

.form__input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border: 2px solid #f0f0f0;
  border-radius: 30px; /* Capsule inputs */
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fafafa;
}

.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(124, 131, 253, 0.1);
}

/* Custom Captcha Styling */
.custom-captcha {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.custom-captcha:hover {
  background: #f0f0f0;
}

.captcha-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #c0c0c0;
  border-radius: 4px;
  background: white;
  position: relative;
}

/* Checked state for Captcha */
.custom-captcha.checked .captcha-checkbox {
  border-color: var(--color-secondary);
  background: var(--color-secondary);
}

.custom-captcha.checked .captcha-checkbox::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.captcha-label {
  font-size: 0.9rem;
  color: #555;
}

.captcha-logo {
  margin-left: auto;
  color: #c0c0c0;
}

/* Privacy Checkbox */
.form__group--checkbox {
  margin-top: 10px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.checkbox-label input {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.form__btn {
  width: 100%;
  margin-top: 20px;
  padding: 18px;
  font-size: 1.1rem;
}

.form__btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Success Message */
.success-message {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  animation: fadeIn 0.5s ease;
}

.success-message.active {
  display: flex;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--color-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.success-icon i {
  width: 40px;
  height: 40px;
}

@media (min-width: 992px) {
  .contact__wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(150%); /* Hidden initially */
  width: calc(100% - 40px);
  max-width: 500px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-popup.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cookie-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
}

.cookie-text a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-btn {
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .cookie-popup {
    flex-direction: row;
    align-items: center;
    bottom: 30px;
    right: 30px;
    left: auto;
    transform: translateY(150%);
  }

  .cookie-popup.show {
    transform: translateY(0);
  }

  .cookie-btn {
    width: auto;
    white-space: nowrap;
  }
}

/* --- POLICY PAGES STYLES (privacy.html etc) --- */
.pages {
  padding: 140px 0 80px; /* More top padding for fixed header */
  background-color: var(--color-bg);
  min-height: 80vh;
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-text) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pages h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--color-text);
}

.pages p {
  margin-bottom: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 1rem;
}

.pages ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.pages li {
  margin-bottom: 10px;
}

.pages a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* --- FORM VALIDATION ERROR STYLES --- */
.form__input.error {
  border-color: #ef476f;
  background-color: #fff0f3;
}

.error-msg {
  color: #ef476f;
  font-size: 0.8rem;
  margin-top: 5px;
  margin-left: 15px;
  display: block;
}
