:root {
  --light-green: #dffca1;
  --dark-green: #094020;
  --light-color: #f2f2f0;
  --light-gray: #ededed;
  --white: #ffffff;
  --shadow-card: 0 4px 20px rgba(9, 64, 32, 0.08);
  --shadow-elevated: 0 10px 40px rgba(9, 64, 32, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Estedad";
  src: url("/assets/fonts/Estedad-FD.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Estedad";
  background-color: white;
  background-image: radial-gradient(
    circle,
    rgba(9, 64, 32, 0.05) 2px,
    transparent 2px
  );
  background-size: 25px 25px;
  color: var(--dark-green);
  line-height: 1.6;
  direction: rtl;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utilities */
.hidden {
  display: none !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

.scale-in {
  animation: scaleIn 0.3s ease-out;
}

/* Scroll-in viewport animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.header {
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  position: relative;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  background-color: var(--light-green);
  color: var(--dark-green);
  border: none;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle.active {
  background-color: var(--dark-green);
  color: var(--white);
}

.menu-icon,
.close-icon {
  flex-shrink: 0;
}

.nav-menu {
  width: fit-content;
  position: absolute;
  left: 0;
  padding: 0 1rem;
  z-index: 99999;
  margin-right: auto;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--light-green);
  color: var(--dark-green);
  text-decoration: none;
  border-radius: 9999px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-bullet {
  width: 15px;
  height: 15px;
  border: 2px solid var(--dark-green);
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-menu a.active .nav-bullet {
  background-color: var(--light-green);
}

.nav-menu a.active {
  background-color: var(--dark-green);
  color: var(--light-green);
}
.sections-divider {
  padding: 0 110px;
  display: flex;
  justify-content: space-between;
}
.sections-divider span {
  display: block;
  height: 47px;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    var(--light-gray),
    var(--light-gray) 4px,
    transparent 8px,
    transparent 10px
  );
}
/* Hero */
.hero {
  padding: 8rem 1rem 1rem;
  position: relative;
}

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

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  color: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-title .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-title .icon .inner {
  width: clamp(2.25rem, 4vw, 3.5rem);
  aspect-ratio: 39 / 55;
}

.hero-title .icon svg {
  width: 100%;
  height: 100%;
}

.code-icon {
  color: var(--light-green);
  flex-shrink: 0;
}

.hero-subtitle {
  font-size: clamp(2rem, 2vw, 1.25rem);
  color: var(--dark-green);
  text-align: center;
  margin-bottom: 15px;
}

/* Card */
.card {
  background: var(--light-gray);
  border-radius: 40px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  /* margin-bottom: 2rem; */
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 16px;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-green);
}

.section-label {
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.label-dot {
  width: 8px;
  height: 8px;
  background: var(--light-green);
  border-radius: 50%;
  flex-shrink: 0;
}

.slider-container {
  position: relative;
  margin-bottom: 1.5rem;
  padding: 2rem 0;
}
.tab-content {
  padding: 1.5rem 3rem;
}

.tab-content,
.slider-container,
.form-wrapper,
.range-container {
  background: var(--white);
  border-radius: 16px;
}

/* Swiper wrapper styles */
.swiper {
  width: 100%;
  padding: 2rem 0;
  overflow: visible;
}

.slider-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  width: 700px !important;
  height: 500px !important;
}

.slider-item.swiper-slide-active {
  z-index: 2;
}

.slider-item img,
.video-popup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.4),
    transparent
  );
  padding: 1.5rem;
  color: var(--white);
}

.slider-overlay h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.slider-overlay p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

.slider-icon {
  bottom: 7.5rem;
  right: 0;
  position: absolute;
  width: 67px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px 0px 0px 8px;
  padding: 6px;
  padding-right: 21px;
}

.slider-controls {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.slider-btn {
  background: var(--light-green);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark-green);
  flex-shrink: 0;
  position: relative;
  margin: 0;
}

.slider-btn:hover {
  background: var(--dark-green);
  transform: scale(1.05);
}

.slider-btn svg {
  width: 25px;
  height: 25px;
  color: var(--dark-green);
}

.slider-btn:hover svg {
  color: var(--white);
}

/* Hide default Swiper navigation */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.swiper-button-next {
  position: relative !important;
  top: 9px !important;
  width: 35px !important;
  height: 35px !important;
}
.swiper-button-prev {
  position: relative !important;
  top: 9px !important;
  width: 35px !important;
  height: 35px !important;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background-color: var(--light-green);
  border-radius: 50px;
  padding: 0 19px;
  height: 35px;
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  margin: 0;
}

.slider-dots .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--light-green);
  cursor: pointer;
  transition: var(--transition);
  padding: 6px;
  flex-shrink: 0;
  opacity: 1;
  margin: 0 !important;
}

.slider-dots .swiper-pagination-bullet-active {
  background: var(--dark-green);
  border-color: var(--dark-green);
}

@media (max-width: 820px) {
  .slider-item {
    width: 350px !important;
    height: 300px !important;
  }

  .slider-controls {
    gap: 1rem;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }
}

/* Tab Section */
.tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 3rem;
  padding: 7px 12px;
  background-color: var(--light-green);
  border-radius: 18px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.tab-buttons::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background-color: transparent;
  border: none;
  color: var(--dark-green);
  font-family: inherit;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn svg {
  flex-shrink: 0;
}

.tab-btn:hover {
  background: rgba(223, 252, 161, 0.2);
}

.tab-btn.active {
  background: var(--white);
  color: var(--dark-green);
  border-color: var(--light-green);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(9, 64, 32, 0.1);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}
.video-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .tab-buttons {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.75rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    margin-bottom: 0;
  }

  .tab-buttons::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .tab-btn {
    flex: 0 0 auto;
    min-width: calc(50% - 0.5625rem);
    white-space: nowrap;
  }

  .tab-section .card {
    border-radius: 24px;
  }

  .tab-content {
    padding: 1.25rem 1.25rem 0;
  }

  .video-content {
    gap: 6rem;
  }

  .video-container {
    margin: 0;
  }

  .video-thumbnail {
    border-width: 10px;
  }

  .play-btn {
    width: 56px;
    height: 56px;
    outline-width: 8px;
  }
}

@media (min-width: 768px) {
  .video-content {
    grid-template-columns: 1fr 1fr;
  }
}
.video-container {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  margin: 0 30px 0;
}
.video-thumbnail {
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  transition: var(--transition);
  border-width: 15px;
  border-bottom-width: unset;
  border-style: solid;
  border-image: linear-gradient(to bottom, rgb(227 227 227), transparent) 1;
  margin-bottom: -11px;
}

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

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--light-green);
  border: none;
  outline: 10px solid rgba(223, 252, 161, 0.32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(9, 64, 32, 0.2);
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-btn svg {
  color: var(--dark-green);
  width: 25px;
  height: 25px;
}

.video-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 65%;
}

.video-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.video-icon {
  width: 40px;
  height: 40px;
  background: var(--light-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(9, 63, 32, 0.05);
}

.video-icon svg {
  color: var(--dark-green);
  width: 24px;
  height: 24px;
}

.video-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-green);
}

.video-info p {
  text-align: justify;
  line-height: 1.8;
  color: var(--dark-green);
}

.info-btn {
  padding: 0.6rem 1rem;
  background: var(--dark-green);
  color: var(--white);
  border: none;
  border-radius: 15px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 173px;
  justify-content: space-between;
  margin-top: auto;
}

.info-btn svg {
  flex-shrink: 0;
}

.info-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 64, 32, 0.2);
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: #666;
}

/* Video Popup */
.video-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--white);
}

.popup-overlay {
  position: absolute;
  inset: 0;
}

.popup-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  z-index: 10;
  animation: scaleIn 0.3s ease-out;
}

.popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.popup-close {
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-green);
  transition: var(--transition);
}

.popup-close:hover {
  opacity: 0.7;
}

.popup-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-green);
}

.popup-video {
  position: relative;
  aspect-ratio: 16/9;
  background: #ccc;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.popup-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(9, 64, 32, 0.2);
}

.video-play-btn svg {
  color: var(--dark-green);
  margin-right: 4px;
}

/* Signup Form */
.form-wrapper {
  display: flex;
  flex-direction: column-reverse;
  gap: 0;
}

.form-cta {
  background: var(--light-green);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  border-radius: 16px 0 0 16px;
  width: 100%;
}

.form-cta h3 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark-green);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  text-align: left;
  align-self: self-start;
  direction: ltr;
}

.form-cta h3 .highlight {
  background: var(--white);
  padding: 0 1rem;
  border-radius: 10px;
  display: inline-block;
}

.emoji {
  width: 70px;
  height: 70px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
  position: absolute;

  bottom: -26px;
}
@media (min-width: 768px) {
  .form-wrapper {
    flex-direction: row;
  }
  .emoji {
    right: -26px;
    bottom: auto;
  }
}

.decorative-circle {
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.circle-1 {
  bottom: -80px;
  right: -80px;
}

.circle-2 {
  top: -80px;
  left: -80px;
}

.form-container {
  padding: 3rem;
  width: 100%;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--light-gray);
  border: none;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark-green);
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--light-green);
}

/* Field Error Tooltip */
.form-group.has-error input {
  background: #fef2f2;
  box-shadow: none;
  border: 1px solid #ef4444;
}

.error-tooltip {
  position: absolute;
  top: -2px;
  right: 6.25rem;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
  z-index: 5;
}

.error-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 49%;
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #ef4444 transparent transparent transparent;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-left: 50px;
}

.eye-toggle {
  display: flex;
  align-items: center;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.eye-open,
.eye-close {
  position: absolute;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.eye-open {
  opacity: 1; /* default state */
}

.eye-toggle.show .eye-open {
  opacity: 0;
}

.eye-toggle.show .eye-close {
  opacity: 1;
}

.validation-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.validation-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}

.validation-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-invalid {
  color: #dc2626;
}

.icon-valid {
  color: #16a34a;
}

.form-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  flex: 1;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--dark-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 3;
}

.btn-primary svg {
  flex-shrink: 0;
}

.btn-primary:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 64, 32, 0.2);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-outline {
  background: var(--white);
  color: #777777;
  border: 2px solid var(--light-gray);
}

.btn-outline:hover {
  background: var(--light-gray);
}

/* Result Display */
.result-display {
  background: var(--white);
  border-radius: 16px;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  animation: fadeIn 0.3s ease-out;
  width: 100%;
}

.result-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.result-icon-wrapper.success {
  background: var(--light-green);
}

.result-icon-wrapper.error {
  background: #ffd6e0;
}
.result-icon {
  display: flex;
}
.result-icon.success {
  color: var(--dark-green);
}

.result-icon.error {
  color: #8b4513;
}

.result-message {
  margin-bottom: 2rem;
}

.result-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
}

.result-subtitle {
  font-size: 0.875rem;
  color: #999;
  line-height: 1.6;
}

.btn-back {
  background: var(--white);
  color: var(--dark-green);
  border: 2px solid var(--light-gray);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 50px;
  transition: var(--transition);
  min-width: 103px;
}

.btn-back:hover {
  background: var(--light-gray);
  border-color: var(--light-gray);
}

/* Range Slider */
.range-container {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.range-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.range-selected-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  text-align: center;
}

.range-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--dark-green);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}

.range-selected-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark-green);
  font-size: 1rem;
}

.range-selected-label svg {
  color: var(--light-green);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.5s ease;
}
.range-selected-label svg:hover {
  transform: scale(1.3);
}
/* Guide tooltip (range help icon) */
.tooltip-wrapper {
  position: relative;
}

.guide-tooltip {
  position: absolute;
  bottom: 150%;
  left: 7%;
  transform: translateX(-50%) translateY(10px);
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(9, 64, 32, 0.25);
  font-size: 0.8rem;
  color: var(--dark-green);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

.guide-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 9px 0 9px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.guide-tooltip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #dffca1;
  border-radius: 12px 12px 0 0;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-green);
}

.guide-tooltip-close {
  cursor: default;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.guide-tooltip-body {
  margin: 0;
  padding: 0.25rem 0.75rem 0.75rem 0.75rem;
  text-align: justify;
  color: #4b5563;
  font-size: 0.78rem;
}

.guide-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.range-wrapper {
  background-color: var(--light-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  padding: 15px;
  border-radius: 16px;
  flex: 1;
}

.range-labels-vertical {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0 0.5rem;
}

.range-slider-container {
  position: relative;
  width: 100%;
  height: 29px;
  display: flex;
  align-items: center;
}

.range-track {
  position: absolute;
  width: 100%;
  height: 4px;
  background: var(--white);
  border-radius: 4px;
  top: 43%;
  transform: translateY(-50%);
}

.range-fill {
  position: absolute;
  height: 4px;
  background: var(--dark-green);
  border-radius: 4px;
  top: 43%;
  transform: translateY(-50%);
  transition: width 0.1s ease;
  pointer-events: none;
}
.line {
  width: 1px;
  height: 8px;
  display: block;
  background: var(--dark-green);
  margin: 0 auto 10px;
  opacity: 30%;
}

.range-input {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 10;
  cursor: pointer;
  background: transparent;
  outline: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--dark-green);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(9, 64, 32, 0.3);
  transition: var(--transition);
  margin-top: -8px;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--dark-green);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(9, 64, 32, 0.3);
  transition: var(--transition);
}

.range-input::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.range-input::-moz-range-track {
  background: transparent;
  height: 8px;
}

/* Footer */
footer {
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  height: 160px;
  overflow: hidden;
  margin-top: 5rem;
}

footer h2 {
  font-size: 6rem;
  color: #999;
  text-align: center;
  position: relative;
  z-index: 10;
  text-transform: uppercase;
  opacity: 20%;
}
.menu-text {
  display: none;
}

@media (min-width: 768px) {
  footer h2 {
    font-size: 9rem;
  }
}
@media (min-width: 768px) {
  .menu-text {
    display: block;
  }
  .menu-toggle {
    padding: 0.5rem 1.5rem;
  }
  .form-cta h3 {
    font-size: 66px;
  }
}

/* Range slider section */
.range-section .range-slider-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.range-section .slider-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.range-section .value-display {
  text-align: center;
  margin-bottom: 24px;
}

.range-section .value-label {
  color: #0d5c4b;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.range-section .value-number {
  font-size: 64px;
  font-weight: 900;
  color: #0d5c4b;
  line-height: 1;
}

.range-section .pin-icon {
  width: 24px;
  height: 24px;
  background: #0d5c4b;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
}

.range-section .slider-wrapper {
  background: #d4e7a5;
  border-radius: 16px;
  padding: 24px 32px;
  position: relative;
}

.range-section .slider-track-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.range-section .edge-label {
  color: #0d5c4b;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.range-section .slider-track {
  position: relative;
  flex: 1;
  height: 4px;
  background: #ffffff;
  border-radius: 999px;
  cursor: pointer;
}

.range-section .slider-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dark-green);
  border-radius: inherit;
  width: 0%;
  height: 100%;
  transition: width 0.15s ease, height 0.15s ease;
}

.range-section .slider-track.is-horizontal::before {
  width: var(--fill-size, 0%);
  height: 100%;
  left: auto;
  right: 0;
}

.range-section .slider-track.is-vertical::before {
  width: 100%;
  height: var(--fill-size, 0%);
  bottom: 0;
  top: auto;
}

.range-section .slider-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #0d5c4b;
  border-radius: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.1s ease;
}

.range-section .slider-thumb:hover {
  transform: translate(50%, -50%) scale(1.2);
}

.range-section .slider-thumb:active {
  transform: translate(50%, -50%) scale(1.1);
}

.range-section .tick-marks {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0 123px;
}

.range-section .tick {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #0d5c4b;
  font-size: 14px;
  font-weight: 500;
}

.range-section .tick::before {
  content: "";
  width: 2px;
  height: 8px;
  background: #0d5c4b54;
  margin-bottom: 8px;
  border-radius: 1px;
}

@media (max-width: 1023px) {
  .range-section .slider-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 24px;
    padding: 24px;
  }

  .range-section .value-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
  }

  .range-section .value-label {
    flex-direction: column;
    gap: 4px;
  }

  .range-section .value-number {
    font-size: 80px;
    margin: 16px 0;
  }

  .range-section .slider-wrapper {
    width: 120px;
    min-height: 350px;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .range-section .slider-track-container {
    flex-direction: column;
    height: 100%;
    width: 100%;
  }

  .range-section .edge-label {
    display: none;
  }

  .range-section .slider-track {
    width: 4px;
    height: 100%;
    min-height: 280px;
  }

  .range-section .slider-thumb {
    left: 50%;
    top: auto;
    transform: translate(-50%, 50%);
  }

  .range-section .slider-thumb:hover {
    transform: translate(-50%, 50%) scale(1.2);
  }

  .range-section .slider-thumb:active {
    transform: translate(-50%, 50%) scale(1.1);
  }

  .range-section .tick-marks {
    position: absolute;
    flex-direction: column;
    height: calc(100% - 48px);
    margin-top: 0;
    padding: 0;
    top: 24px;
    left: 0;
    right: 0;
    pointer-events: none;
  }

  .range-section .tick {
    position: relative;
    width: 100%;
    justify-content: center;
  }

  .range-section .tick::before {
    position: absolute;
    width: 8px;
    height: 2px;
    margin-bottom: 0;
  }

  .range-section .tick:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-start;
    padding-left: 8px;
  }

  .range-section .tick:nth-child(odd)::before {
    right: calc(50% - 12px);
    left: auto;
  }

  .range-section .tick:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding-right: 8px;
  }

  .range-section .tick:nth-child(even)::before {
    left: calc(50% - 12px);
    right: auto;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: var(--light-green);
  color: var(--dark-green);
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--dark-green);
  color: var(--white);
}
/* Responsive */
@media (max-width: 767px) {
  .hero {
    padding: 6rem 1rem 1rem;
  }
  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    gap: 0.6rem;
  }
  .hero-subtitle {
    font-size: clamp(1.4rem, 2vw, 1.25rem);
  }
  .hero-title .icon .inner {
    width: clamp(2.4rem, 9vw, 3.1rem);
  }
  .range-selected-value {
    align-items: center;
    flex-direction: column;
  }
  .guide-tooltip {
    width: 160px;
  }
  .form-actions {
    flex-direction: column;
  }
  footer {
    flex-direction: column;
    height: auto;
    margin-top: 2rem;
  }
  footer .footer-decorative svg {
    width: 100px;
    height: 100px;
  }
  .slider-container {
    margin-bottom: auto;
  }
  .range-section .range-slider-wrapper {
    margin-top: 0;
  }
  .range-number {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.9rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
  }
  .range-number::before {
    content: "";
    position: absolute;
    inset: 25px;
    background: linear-gradient(to bottom, #093f20, var(--light-green));
    filter: blur(25px);
    z-index: -1;
    border-radius: 50%;
  }
  .card {
    padding: 1.5rem;
  }

  .form-cta {
    padding: 2rem;
  }

  .form-container {
    padding: 2rem 1.5rem;
  }
}
