/* --- SOFT MINIMAL / WARM PAPER THEME --- */
:root {
  --bg-color: #f9f8f4; /* Eggshell */
  --surface-color: #ffffff; /* Pure White for cards */
  --text-main: #2c2825; /* Soft Charcoal (not black) */
  --text-muted: #6b6661; /* Warm Grey */
  --accent-color: #e05d40; /* Soft Terracotta */
  --accent-hover: #c94e32;
  --line-color: #ebe8e0; /* Very subtle separators */

  --font-main: "Manrope", sans-serif;
  --font-details: "Space Mono", monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  --header-height: 80px;

  --shadow-soft: 0 10px 40px -10px rgba(44, 40, 37, 0.05);
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill); /* PILL SHAPE */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
}

.btn--primary {
  background-color: var(--text-main);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 93, 64, 0.25);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(249, 248, 244, 0.9); /* Translucent */
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.header.is-scrolled {
  border-bottom: 1px solid var(--line-color);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

.logo-icon-bg {
  width: 36px;
  height: 36px;
  background-color: var(--text-main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__list {
  display: flex;
  gap: 2rem;
  background-color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.header__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.header__mobile-actions {
  display: none;
}

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: row;
  gap: 4px;
  padding: 10px;
}

.burger-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-main);
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* MAIN PLACEHOLDER STYLES */
section {
  padding: 6rem 0;
}

/* FOOTER */
.footer {
  padding-top: 5rem;
  padding-bottom: 2rem;
  background-color: #fff;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 4rem; /* Visual separation from content */
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
  margin-bottom: 1rem;
}

.footer__mission {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-details);
  font-size: 0.7rem;
  color: var(--accent-color);
  background: rgba(224, 93, 64, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

.footer__title {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__links a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-details);
  font-size: 0.85rem;
  color: var(--text-main);
  padding: 8px 12px;
  background-color: var(--bg-color);
  border-radius: 12px;
  width: fit-content;
  transition: all 0.3s ease;
}

.contact-pill:hover {
  background-color: var(--accent-color);
  color: #fff;
}

.contact-pill i {
  width: 16px;
  height: 16px;
}

.contact-text {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line-color);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .header__list {
    display: none;
  }

  .header__cta-desktop {
    display: none;
  }

  .header__burger {
    display: flex;
    z-index: 1002;
  }

  /* Mobile Nav */
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
  }

  .header__nav.is-active {
    right: 0;
  }

  .header__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: none;
    box-shadow: none;
    margin-bottom: 2rem;
  }

  .header__link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
  }

  .header__mobile-actions {
    display: block;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer {
    border-radius: 24px 24px 0 0;
  }
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh; /* Full screen */
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

/* Background Soft Blob */
.hero__bg-blob {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(224, 93, 64, 0.08) 0%,
    rgba(249, 248, 244, 0) 70%
  );
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* Left Column */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-details);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive giant text */
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.text-accent {
  color: var(--accent-color);
  font-style: italic; /* Mild emphasis */
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn--lg {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  width: fit-content;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-details);
}

.hero__note i {
  width: 14px;
  height: 14px;
  color: var(--accent-color);
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-details);
  margin-top: 5px;
}

.stat-separator {
  width: 1px;
  height: 40px;
  background-color: var(--line-color);
}

/* Right Column - Visual Parallax */
.hero__visual-col {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px; /* For 3D effect */
}

.visual-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Floating Cards Base */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  z-index: 2;
  transition: transform 0.1s linear; /* Smooth mouse follow */
}

/* Card 1: Code */
.card-code {
  top: 10%;
  right: 10%;
  width: 220px;
  height: 140px;
  transform: rotate(5deg);
}

.card-header {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

.code-lines .line {
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 8px;
}
.w-80 {
  width: 80%;
}
.w-60 {
  width: 60%;
}
.w-90 {
  width: 90%;
}
.w-40 {
  width: 40%;
}

/* Card 2: Success */
.card-success {
  bottom: 20%;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  transform: rotate(-3deg);
  z-index: 3;
}

.success-icon {
  width: 40px;
  height: 40px;
  background: #e5f9ee;
  color: #27c93f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Card 3: User */
.card-user {
  top: 40%;
  left: 20%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 50px; /* Pill shape */
  padding-right: 20px;
  transform: translateZ(20px);
  z-index: 1;
  opacity: 0.9;
  filter: blur(0.5px); /* Depth effect */
}

.user-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  line-height: 1.2;
}

/* Decorative Circle */
.visual-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border: 1px solid rgba(224, 93, 64, 0.2);
  border-radius: 50%;
  z-index: 0;
}

/* Animations */
.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero {
    padding-top: 140px;
    height: auto;
    min-height: auto;
  }

  .hero__badge {
    margin: 0 auto 1.5rem;
  }

  .hero__subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero__actions {
    align-items: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual-col {
    height: 400px;
    /* Disable parallax on mobile for performance */
    pointer-events: none;
  }
}

/* SECTION COMMON */
.section {
  padding: 6rem 0;
}

.section--alt-bg {
  background-color: #fff; /* White section on Eggshell body */
  border-radius: 40px;
  margin: 2rem 1rem; /* Inset effect */
}

.section-header {
  max-width: 600px;
  margin: 0 auto 4rem;
}

.text-center {
  text-align: center;
}

.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  background-color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-details);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.mt-2 {
  margin-top: 2rem;
}

/* METHODOLOGY GRID */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.method-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.method-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.method-icon-box {
  width: 50px;
  height: 50px;
  background-color: rgba(224, 93, 64, 0.1); /* Soft accent bg */
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.method-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.method-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* PROGRAM SECTION (Split layout) */
.program-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.program-info {
  position: sticky;
  top: 120px; /* Sticks when scrolling */
}

.program-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-color);
}

.p-stat {
  display: flex;
  flex-direction: column;
}

.p-stat strong {
  font-size: 2rem;
  color: var(--accent-color);
  line-height: 1;
}

.p-stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-details);
  margin-top: 5px;
}

/* ACCORDION (Soft Style) */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion__item {
  background-color: var(--bg-color); /* Eggshell contrast on white section */
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.accordion__header:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.acc-num {
  font-family: var(--font-details);
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-right: 1.5rem;
  opacity: 0.8;
}

.acc-title {
  flex-grow: 1;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.acc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

/* Active State */
.accordion__item.is-open {
  background-color: #fff;
  box-shadow: var(--shadow-soft);
}

.accordion__item.is-open .acc-icon {
  transform: rotate(45deg);
  color: var(--accent-color);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.acc-content-inner {
  padding: 0 2rem 2rem 4.5rem; /* Indented to align with title */
  color: var(--text-muted);
}

.acc-list {
  margin-top: 1rem;
  list-style: disc;
  padding-left: 1.2rem;
}

.acc-list li {
  margin-bottom: 0.5rem;
}

/* Responsive Program */
@media (max-width: 900px) {
  .program-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .program-info {
    position: static;
    text-align: center;
  }

  .program-stats {
    justify-content: center;
  }

  .section--alt-bg {
    margin: 2rem 0;
    border-radius: 0;
  }

  .acc-content-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .accordion__header {
    padding: 1.25rem 1.5rem;
  }

  .acc-num {
    margin-right: 1rem;
  }
}

/* MENTORS */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.mentor-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.3s ease;
  text-align: center;
}

.mentor-card:hover {
  transform: translateY(-10px);
}

.mentor-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.mentor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mentor-card:hover .mentor-img {
  transform: scale(1.05);
}

/* Socials overlay on hover */
.mentor-socials {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: all 0.3s ease;
}

.mentor-card:hover .mentor-socials {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mentor-socials a {
  color: var(--text-main);
}

.mentor-socials a:hover {
  color: var(--accent-color);
}

.mentor-name {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.mentor-role {
  font-family: var(--font-details);
  font-size: 0.8rem;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.mentor-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* REVIEWS SLIDER */
.reviews-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.review-slide {
  min-width: 100%;
  padding: 1rem;
}

.review-card {
  background-color: var(--bg-color); /* Eggshell contrast */
  padding: 3rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
}

.quote-icon {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  opacity: 0.3;
}

.quote-icon svg {
  width: 40px;
  height: 40px;
}

.review-text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 1rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-details);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.slider-btn {
  background: none;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-main);
}

.slider-btn:hover {
  background-color: var(--text-main);
  border-color: var(--text-main);
  color: #fff;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  background-color: var(--line-color);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
  background-color: var(--accent-color);
}

/* CONTACT SECTION */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.c-icon {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  box-shadow: var(--shadow-soft);
}

.c-label {
  display: block;
  font-family: var(--font-details);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.c-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

/* FORM STYLES (Soft Minimal) */
.contact-form-wrapper {
  background-color: #fff;
  padding: 3rem;
  border-radius: 40px; /* Soft Pill shape for container */
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.soft-form input[type="text"],
.soft-form input[type="email"],
.soft-form input[type="tel"] {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid transparent;
  background-color: var(--bg-color);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.soft-form input:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(224, 93, 64, 0.1);
}

.error-msg {
  display: block;
  font-size: 0.75rem;
  color: #d32f2f;
  margin-top: 5px;
  min-height: 18px;
}

.custom-captcha {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem;
  background-color: var(--bg-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.3s ease;
}

.hidden-cb {
  display: none;
}

.captcha-box {
  width: 24px;
  height: 24px;
  border: 2px solid var(--text-muted);
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
}

.custom-captcha.is-checked .captcha-box {
  background-color: #27c93f;
  border-color: #27c93f;
}

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

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

.custom-checkbox-label input {
  display: none;
}

.checkmark {
  min-width: 20px;
  height: 20px;
  border: 2px solid var(--line-color);
  border-radius: 6px;
  display: inline-block;
  position: relative;
}

.custom-checkbox-label input:checked ~ .checkmark {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

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

.consent-text a {
  color: var(--text-main);
  text-decoration: underline;
}

.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.75rem;
  text-align: center;
  margin-top: 1rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.success-message {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 10;
}

.success-message.is-visible {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.success-icon-lg {
  color: #27c93f;
  margin-bottom: 1.5rem;
}
.success-icon-lg svg {
  width: 64px;
  height: 64px;
}

.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background-color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--line-color);
}

.cookie-popup.show {
  bottom: 20px;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cookie-content a {
  color: var(--accent-color);
  text-decoration: underline;
}

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* LEGAL PAGES STYLING (Fixed structure support) */
.pages {
  padding: 120px 0 60px;
  min-height: 80vh;
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.pages h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.pages p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.pages ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

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

/* Responsive Contact */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .cookie-popup {
    border-radius: var(--radius-lg);
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
