* {
  font-family: 'Nunito', sans-serif !important;
}

/* Make headings extra rounded and friendly */
h1, h2, h3, h4, h5, h6, .font-black {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
}

/* Body text with softer weight */
p, div, a, button {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
}

/* Span elements with font-black should maintain their boldness */
span {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
}

/* Override for font-black spans specifically */
.font-black span, span.font-black, .font-black {
  font-weight: 900 !important;
}

/* Menu items */
.menu__item {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 700 !important;
}

/* Logo styling */
.text-green, .text-beige, .text-light-green {
  font-family: 'Nunito', sans-serif !important;
}

/* Motorcycle animation */
@keyframes motorcycleMove {
  0% {
    transform: translateX(-15px);
  }
  50% {
    transform: translateX(15px);
  }
  100% {
    transform: translateX(-15px);
  }
}

.motorcycle-animate {
  animation: motorcycleMove 3s ease-in-out infinite;
}

.motorcycle-animate.paused {
  animation-play-state: paused;
}

/* Store buttons */
.store-buttons a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border: 1px solid #076442;
  border-radius: 2rem;
  background: #f9f7e7;
  color: #076442;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.store-buttons a:hover {
  background: #076442;
  color: #f9f7e7;
}

.store-buttons svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* Ensure all buttons align content and arrow inline */
a.button.button, .button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.button__arrows-wrapper {
  margin-left: 0.75rem !important;
  margin-right: 0 !important;
  width: 2.25rem;
  height: 2.25rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .header .relative.flex-1 {
    min-width: 0;
  }

  .header__button {
    margin-left: auto;
  }

  .header__button .button {
    white-space: nowrap;
  }

  .header__button .button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1;
  }

  .header__button .button__arrows-wrapper {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    align-self: center !important;
    margin: 0 0 0 0.75rem !important;
    width: 2.25rem !important;
    height: 2.25rem !important;
    overflow: visible !important;
  }

  /* Keep only the centered arrow visible */
  .header__button .button__arrows-wrapper > div:nth-child(2) {
    display: none !important;
  }

  /* Neutralize absolute positioning inside to avoid unexpected overflow */
  .header__button .button__arrows-wrapper > div {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
  }

  /* Ensure wrapper is inside the button and clips overflow */
  .header__button .button__arrows-wrapper {
    position: relative !important;
    overflow: hidden !important;
  }

  /* Force the centered arrow back to absolute center */
  .header__button .button__arrows-wrapper > div:first-child {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: block !important;
  }

  /* Hide the sliding arrow that can leak outside */
  .header__button .button__arrows-wrapper > div:nth-child(2) {
    display: none !important;
  }

  /* Fallback: hide problematic wrapper and render inline arrow via pseudo-element */
  .header__button .button__arrows-wrapper {
    display: none !important;
  }

  .header__button .button::after {
    content: '';
    display: inline-block;
    margin-left: 0.75rem;
    width: 0.9rem;
    height: 0.9rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
  }
} 

.cta-button {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Team section */
.team-section {
  position: relative;
  background: #f1efe6;
  padding: 6rem 0;
}
.team-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
}
.team-heading {
  color: #053725;
  text-transform: uppercase;
  text-align: left;
  margin: 0 0 3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.team-card {
  position: relative;
  background: #eee5d6;
  border-radius: 10px;
  padding: 3rem 3rem 3rem 3rem;
  margin: 5rem 0;
  min-height: 22rem;
}
.team-card.card-left { /* image on left overlapping */ }
.team-card.card-right { /* image on right overlapping */ }

/* Decorative corners to mimic reference layout */
.corner {
  position: absolute;
  width: 28%;
  height: 42%;
  background: #4b5b4f; /* muted green shape */
  z-index: 1;
}
.corner-top-left {
  left: -6%;
  top: -12%;
}
.corner-bottom-right {
  right: -6%;
  bottom: -12%;
}

.photo-wrap {
  width: 180px;
  height: 180px;
  border-radius: 9999px;
  overflow: hidden;
  position: absolute;
  z-index: 2;
  box-shadow: 0 10px 24px rgba(5,55,37,0.18);
}
.card-left .photo-wrap {
  left: 6%;
  top: -60px;
}
.card-right .photo-wrap {
  right: 6%;
  bottom: -60px;
}
.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-text {
  position: relative;
  z-index: 3;
  color: #4a5a4e;
  max-width: 56ch;
}
.card-left .team-text {
  margin-left: 220px;
}
.card-right .team-text {
  margin-right: 220px;
  text-align: left;
}
.member-name {
  color: #6b7c72;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.member-role {
  color: #718477;
  line-height: 1.8;
  max-width: 60ch;
}

/* Removed LinkedIn visual badge */

@media (max-width: 1024px) {
  .team-card {
    padding: 2.25rem;
  }
  .photo-wrap {
    width: 140px;
    height: 140px;
  }
  .card-left .team-text { margin-left: 180px; }
  .card-right .team-text { margin-right: 180px; }

  /* Hide sliding arrow wrappers on mobile to avoid overflow artifacts */
  .button__arrows-wrapper { display: none !important; }
}

@media (max-width: 640px) {
  .corner { display: none; }
  .team-card { margin: 4rem 0 6rem; }
  .card-left .photo-wrap,
  .card-right .photo-wrap {
    position: static;
    margin: -90px auto 1.25rem;
    display: block;
  }
  .card-left .team-text,
  .card-right .team-text {
    margin: 0;
    text-align: center;
    max-width: none;
  }
} 