/* index.html has a dark hero image so nav links start white */
.nav-desktop a:not(.btn-contact) {
  color: white;
}

/*hero */

.hero {
  height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(31, 127, 149, 0.9),
      rgba(92, 95, 48, 0.75),
      rgba(69, 122, 0, 0.9));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 800px;
  padding: 1rem;
}

.hero .subtitle {
  color: var(--remedy-lime);
  font-size: 1.5rem;
  margin: 1rem 0;
}

.hero p:not(.subtitle) {
  color: white;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  opacity: 0.8;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.description {
  padding: 6rem 1rem;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.description img {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.description img:hover {
  transform: scale(1.02);
}

.description .fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.description .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  display: inline-block;
  margin-top: 2rem;
  background: var(--remedy-teal);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(31, 127, 149, 0.4);
}

/* geometric shapes for features */
.shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  opacity: 0.2;
}

.shapes .shape-results-1 {
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-color: #f1b066;
}

.shapes .shape-results-2 {
  bottom: 20%;
  left: -60px;
  width: 200px;
  height: 200px;
  border-color: #83c7ce;
}

.circle {
  border-radius: 50%;
  border: 2px solid;
  animation: float 20s ease-in-out infinite;
}

.square {
  border: 2px solid;
  animation: rotateSlow 18s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-40px) scale(1.15);
  }
}

@keyframes rotateSlow {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(45deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-scale {
  opacity: 0;
  animation: fadeInScale 0.6s ease forwards;
}

/* features*/
#features {
  padding: 6rem 1rem;
  background: linear-gradient(135deg, rgba(131, 199, 206, 0.2), rgba(110, 169, 248, 0.15));
  text-align: center;
}

#features h2 {
  font-family: 'Inter', sans-serif;
  color: #101828;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10), 0px 10px 15px -3px rgba(0, 0, 0, 0.10);
  transform: translateY(30px);
  opacity: 0;
  transition: .6s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 1.5rem;
}

.feature-card:nth-child(1) {
  transition-delay: 0s;
}

.feature-card:nth-child(2) {
  transition-delay: 0.15s;
}

.feature-card:nth-child(3) {
  transition-delay: 0.3s;
}

.feature-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.feature-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(179, 207, 109, 0.20);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon img {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  color: #101828;
  font-size: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.07px;
}

.feature-card p {
  color: #4A5565;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 26px;
}

.btn-features {
  display: inline-block;
  margin-top: 3rem;
  background: #457A00;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-features:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(69, 122, 0, 0.3);
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

/* results */
#results {
  padding: 6rem 1rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.results-title {
  text-align: center;
  color: #101828;
  font-size: 48px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: 0.35px;
  margin-bottom: 1rem;
}

.results-subtitle {
  text-align: center;
  color: #4A5565;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  max-width: 761px;
  margin: 0 auto 4rem;
}

.stats {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat {
  background: #fff;
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.10), 0 10px 15px -3px rgba(0, 0, 0, 0.10);
  outline: 1px #F3F4F6 solid;
  transform: scale(.85);
  opacity: 0;
  transition: .6s ease, box-shadow 0.3s ease;
}

.stat:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 15px 20px -3px rgba(0, 0, 0, 0.1);
}

.stat.visible {
  transform: scale(1);
  opacity: 1;
}

.stat-value {
  font-size: 60px;
  font-weight: 400;
  line-height: 60px;
  letter-spacing: 0.26px;
  margin-bottom: 0.5rem;
}

.stat-value--green {
  color: #457A00;
}

.stat-value--teal {
  color: #1F7F95;
}

.stat-value--blue {
  color: #6EA9F8;
}

.stat-value--orange {
  color: #F1B066;
}

.stat-label {
  font-size: 18px;
  font-weight: 500;
  line-height: 24.75px;
}

.stat-label--green {
  color: #457A00;
}

.stat-label--teal {
  color: #1F7F95;
}

.stat-label--blue {
  color: #6EA9F8;
}

.stat-label--orange {
  color: #F1B066;
}

@media (max-width: 1024px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* shared menu style */
.menu {
  position: relative;
  display: inline-block;
}

.menu-button {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
}

.menu-button:hover {
  background: #f1f5f9;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
  display: none;
  z-index: 100;
}

.menu-panel.open {
  display: block;
}

.menu-item {
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
}

.menu-item:hover {
  background: #f8fafc;
}

/* navigation */
.navbar {
  padding: 20px 40px;
  border-bottom: 1px solid #e2e8f0;
}

.nav {
  display: flex;
  gap: 16px;
}

/*dropdown */
.dropdown {
  margin: 80px 40px;
}

/* context menu */
.context-area {
  margin: 40px;
  width: 320px;
  height: 160px;
  border: 2px dashed #cbd5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  user-select: none;
}

.context-menu {
  position: fixed;
}

/* services*/

.services-wrapper {
  position: relative;
  width: 100%;
  padding: 96px 70px;
}

@media (max-width: 1024px) {
  .services-wrapper {
    padding: 60px 32px;
  }
}

@media (max-width: 600px) {
  .services-wrapper {
    padding: 48px 16px;
  }
}

.services-title {
  text-align: center;
  color: #101828;
  font-size: 48px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: 0.35px;
  margin-bottom: 64px;
}

/* container */
.services-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-card {
  flex: 1 1 340px;
  min-width: 280px;
  max-width: 100%;
  min-height: 400px;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10);
  background: white;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:nth-child(1) {
  transition-delay: 0s;
}

.service-card:nth-child(2) {
  transition-delay: 0.15s;
}

.service-card:nth-child(3) {
  transition-delay: 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* image */
.card-image {
  position: relative;
  height: 256px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
      rgba(16, 24, 40, 0.8) 0%,
      rgba(0, 0, 0, 0) 100%);
}

.icon-box {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 48px;
  height: 48px;
  background: #F1B066;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.card-content {
  padding: 24px;
}

.card-title {
  color: #101828;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.07px;
  margin-bottom: 12px;
}

.card-text {
  color: #4A5565;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.learn-more-btn {
  display: block;
  margin: 48px auto 0;
  width: 174px;
  height: 56px;
  background: #F1B066;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.10);
  border-radius: 999px;
}

/*  geometric shapes  */
.geometric-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* ---- Top right circle ---- */
.circle-orange {
  top: -80px;
  right: -80px;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  border: 2px solid rgba(241, 176, 102, .2);
  animation: circleSpin 20s ease-in-out infinite;
}

@keyframes circleSpin {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.2) rotate(90deg);
  }
}

/* ---- Triangle ---- */
.triangle-teal {
  top: 160px;
  left: -40px;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 173px solid rgba(31, 127, 149, .15);
  animation: triangleMove 25s ease-in-out infinite;
}

@keyframes triangleMove {

  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }

  50% {
    transform: rotate(360deg) translateY(30px);
  }
}

/* ---- Hexagon ---- */
.hexagon-blue {
  top: 33%;
  right: -64px;
  animation: hexagonMove 30s ease-in-out infinite;
}

.hexagon-blue polygon {
  fill: none;
  stroke: #6ea9f8;
  stroke-width: 2;
  opacity: .2;
}

@keyframes hexagonMove {

  0%,
  100% {
    transform: rotate(0deg) translateX(0);
  }

  50% {
    transform: rotate(240deg) translateX(-20px);
  }
}

/* ---- Square ---- */
.square-cyan {
  bottom: 160px;
  left: -64px;
  width: 192px;
  height: 192px;
  border-radius: 12px;
  border: 2px solid rgba(131, 199, 206, .2);
  animation: squareFloat 18s ease-in-out infinite;
}

@keyframes squareFloat {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(45deg) scale(1.1);
  }
}

/* ---- Center circle ---- */
.circle-tan {
  top: 50%;
  left: 25%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(191, 146, 112, .1);
  border: 1px solid rgba(191, 146, 112, .3);
  animation: centerFloat 15s ease-in-out infinite;
}

@keyframes centerFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(20px, -40px) scale(1.15);
  }
}

/* ---- Octagon ---- */
.octagon-olive {
  bottom: 80px;
  right: 25%;
  animation: octagonSpin 35s ease-in-out infinite;
}

.octagon-olive polygon {
  fill: none;
  stroke: #5c5f30;
  stroke-width: 2;
  opacity: .15;
}

@keyframes octagonSpin {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(-360deg) scale(1.2);
  }
}

/* ---- Diamond ---- */
.diamond-green {
  top: 80px;
  left: 50%;
  width: 96px;
  height: 96px;
  border: 2px solid rgba(69, 122, 0, .2);
  transform: rotate(45deg);
  animation: diamondFloat 22s ease-in-out infinite;
}

@keyframes diamondFloat {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(90deg) translateY(25px);
  }
}

/* Pentagon */
.pentagon-lime {
  top: 66%;
  right: 80px;
  animation: pentagonSpin 28s ease-in-out infinite;
}

.pentagon-lime polygon {
  fill: none;
  stroke: #b3cf6d;
  stroke-width: 2;
  opacity: .2;
}

@keyframes pentagonSpin {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(360deg) scale(1.1);
  }
}

/*Small circles */
.small-circle-blue {
  top: 25%;
  right: 33%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(110, 169, 248, .25);
  animation: smallFloat 12s ease-in-out infinite;
}

.small-circle-orange {
  bottom: 33%;
  left: 33%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(241, 176, 102, .05);
  border: 1px solid rgba(241, 176, 102, .2);
  animation: smallScale 16s ease-in-out infinite;
}

@keyframes smallFloat {

  0%,
  100% {
    transform: translateY(0);
    opacity: .3;
  }

  50% {
    transform: translateY(-30px);
    opacity: .6;
  }
}

@keyframes smallScale {

  0%,
  100% {
    transform: translateX(0) scale(1);
  }

  50% {
    transform: translateX(40px) scale(1.3);
  }
}

/* Lines */
.line-cyan {
  top: 33%;
  left: 40px;
  width: 160px;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(131, 199, 206, .3), transparent);
  animation: linePulse 14s ease-in-out infinite;
}

.line-tan {
  bottom: 25%;
  right: 40px;
  width: 128px;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(191, 146, 112, .4), transparent);
  transform: rotate(-45deg);
  animation: linePulse 11s ease-in-out infinite;
}

@keyframes linePulse {

  0%,
  100% {
    transform: scaleX(1);
    opacity: .3;
  }

  50% {
    transform: scaleX(1.5);
    opacity: .6;
  }
}

/*team*/
.team-section {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 20px;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

/* title */
.team-title {
  text-align: center;
  color: #101828;
  font-size: 48px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: 0.35px;
  margin-bottom: 64px;
}

/* cards */
.team-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-card {
  position: relative;
  width: 246px;
  padding: 25px;
  border-radius: 16px;
  box-shadow:
    0px 4px 6px -4px rgba(0, 0, 0, 0.10),
    0px 10px 15px -3px rgba(0, 0, 0, 0.10);
  outline: 1px rgba(229, 231, 235, 0.5) solid;
  background: transparent;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
  opacity: 0;
  transform: translateY(30px);
}

.team-card:nth-child(1) {
  transition-delay: 0s;
}

.team-card:nth-child(2) {
  transition-delay: 0.15s;
}

.team-card:nth-child(3) {
  transition-delay: 0.3s;
}

.team-card:nth-child(4) {
  transition-delay: 0.45s;
}

.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 20px -3px rgba(0, 0, 0, 0.1);
}

/* profile pic */
.avatar {
  width: 96px;
  height: 96px;
  min-width: 96px;
  min-height: 96px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: 0.4px;
  font-weight: 400;
  border-radius: 50% !important;
  box-sizing: border-box;
}

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

.crop-top {
  object-position: top;
}

.crop-upper {
  object-position: 30% 20%;
}

.avatar-teal {
  background: rgba(31, 127, 149, 0.13);
  color: #1F7F95;
}

.avatar-blue {
  background: rgba(110, 169, 248, 0.13);
  color: #6EA9F8;
}

.avatar-green {
  background: rgba(69, 122, 0, 0.13);
  color: #457A00;
}

.avatar-cyan {
  background: rgba(131, 199, 206, 0.13);
  color: #83C7CE;
}

/* team text */
.member-name {
  color: #101828;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 4px;
}

.member-role {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 12px;
}

.role-teal {
  color: #1F7F95;
}

.role-blue {
  color: #6EA9F8;
}

.role-green {
  color: #457A00;
}

.role-cyan {
  color: #83C7CE;
}

.member-bio {
  color: #4A5565;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
}

/* team button */
.team-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  margin: 64px auto 0;
  padding: 0 24px;
  background: #83C7CE;
  box-shadow:
    0px 4px 6px -4px rgba(0, 0, 0, 0.10),
    0px 10px 15px -3px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  border: none;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px -4px rgba(131, 199, 206, 0.4);
}

.team-btn .btn-text {
  color: white;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

.team-btn svg {
  width: 18px;
  height: 18px;
}