/* Base styles */
:root {
  --go-green: #006442;
  --go-lime: #98c93c;
  --go-cream: #faf7f0;
  --go-char: #222;
  --rhythm: 1.5rem;
  --radius: 0.5rem;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--go-cream);
  color: var(--go-char);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* Container and layout */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility classes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background-color: var(--go-green);
  color: white;
}

.btn--primary:hover {
  background-color: rgba(0, 100, 66, 0.9);
}

.btn--outline {
  border: 2px solid var(--go-green);
  color: var(--go-green);
}

.btn--outline:hover {
  background-color: var(--go-green);
  color: white;
}

.btn--light {
  background-color: white;
  color: var(--go-green);
}

.btn--light:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.btn--outline-light {
  border: 2px solid white;
  color: white;
}

.btn--outline-light:hover {
  background-color: white;
  color: var(--go-green);
}

.btn--lime {
  background-color: var(--go-lime);
  color: white;
}

.btn--lime:hover {
  background-color: rgba(152, 201, 60, 0.9);
}

.btn i {
  margin-right: 0.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--go-char);
  margin-bottom: 1rem;
}

.section-header__line {
  width: 4rem;
  height: 0.25rem;
  background-color: var(--go-lime);
  margin: 0 auto 1.5rem;
}

.section-header p {
  max-width: 48rem;
  margin: 0 auto;
  color: rgba(34, 34, 34, 0.8);
}

/* Navbar */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
}

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

.logo {
  display: block;
}

.logo img {
  width: 160px;
  transition: width var(--transition);
}

.desktop-nav {
  display: none;
}

.desktop-nav a {
  color: var(--go-char);
  margin-left: 2rem;
  font-weight: 500;
}

.desktop-nav a:hover {
  color: var(--go-green);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--go-char);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background-color: white;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem 0;
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--go-char);
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--go-green);
}

.mobile-menu .btn {
  margin-top: 0.5rem;
  display: block;
  text-align: center;
}

.navbar-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bg-white\/80 {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bg-white\/80 .logo img {
  width: 120px;
}

/* Hero section */
.hero {
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: linear-gradient(to bottom, var(--go-cream), white);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--go-char);
}

.hero__typewriter {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.typewriter {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--go-green);
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--go-green);
  animation: typing 3s steps(30, end) infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--go-green) }
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(34, 34, 34, 0.8);
  max-width: 32rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__graphic {
  position: relative;
}

.hero__card {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: linear-gradient(to bottom right, rgba(0, 100, 66, 0.9), rgba(152, 201, 60, 0.9));
  border-radius: 0.75rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero__card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero__card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.hero__icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.hero__icons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__icons i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero__icons p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.wave-animation {
  width: 100%;
  margin-top: 4rem;
  animation: wave 8s ease-in-out infinite alternate;
}

@keyframes wave {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* About section */
.about {
  padding: 4rem 0;
  background-color: white;
}

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

.about h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--go-char);
}

.about__content p {
  margin-bottom: 1.5rem;
  color: rgba(34, 34, 34, 0.8);
}

.about__heritage {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(34, 34, 34, 0.6);
}

.about__heritage a {
  text-decoration: underline;
}

.about__heritage a:hover {
  color: var(--go-green);
}

.about__values {
  background: linear-gradient(to bottom right, var(--go-green), var(--go-lime));
  border-radius: 0.75rem;
  padding: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.shape-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: var(--go-cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.about__values h3 {
  color: white;
  margin-bottom: 2rem;
}

.about__values-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__value-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.about__value-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.about__value-item h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.about__value-item p {
  color: rgba(255, 255, 255, 0.9);
}

/* Products section */
.products {
  padding: 4rem 0;
  background-color: var(--go-cream);
}

.carousel-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color var(--transition);
}

.carousel-nav:hover {
  background-color: white;
}

.carousel-nav--prev {
  left: -0.75rem;
}

.carousel-nav--next {
  right: -0.75rem;
}

.carousel {
  overflow-x: auto;
  padding-bottom: 1rem;
  display: flex;
  gap: 1rem;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.scroll-snap-x {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-snap-x > * {
  scroll-snap-align: start;
}

.product-card {
  width: 280px;
  flex-shrink: 0;
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-card__image {
  height: 10rem;
  background: linear-gradient(to right, rgba(0, 100, 66, 0.1), rgba(152, 201, 60, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-card__image i {
  font-size: 3rem;
  color: var(--go-green);
}

.product-card__content {
  padding: 1.25rem;
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.875rem;
  color: rgba(34, 34, 34, 0.7);
  margin-bottom: 0.75rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-badge {
  font-size: 0.75rem;
  background-color: rgba(152, 201, 60, 0.2);
  color: var(--go-green);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.product-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--go-green);
}

.product-link:hover {
  text-decoration: underline;
}

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

.products__view-more a {
  display: inline-flex;
  align-items: center;
  color: var(--go-green);
  font-weight: 500;
  transition: color var(--transition);
}

.products__view-more a:hover {
  color: var(--go-lime);
}

.products__view-more i {
  margin-left: 0.5rem;
}

/* Logistics section */
.logistics {
  padding: 4rem 0;
  background-color: white;
}

.logistics__map-container {
  position: relative;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.canada-map {
  width: 100%;
  height: auto;
}

.map-dot {
  cursor: pointer;
  transition: transform var(--transition);
}

.map-dot:hover {
  transform: scale(1.2);
}

.pulse-dot {
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--go-lime);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.tooltip {
  position: absolute;
  background: white;
  padding: 0.75rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: none;
  z-index: 10;
  font-size: 0.875rem;
  width: 180px;
}

.tooltip strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--go-green);
}

.tooltip p {
  margin: 0;
  color: rgba(34, 34, 34, 0.8);
}

.tooltip-vancouver {
  top: 320px;
  left: 160px;
}

.tooltip-calgary {
  top: 270px;
  left: 310px;
}

.tooltip-toronto {
  top: 370px;
  left: 710px;
}

.map-dot:hover + .tooltip {
  display: block;
}

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

.logistics__feature {
  background-color: var(--go-cream);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.logistics__feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(0, 100, 66, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.logistics__feature-icon i {
  color: var(--go-green);
  font-size: 1.25rem;
}

.logistics__feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.logistics__feature p {
  color: rgba(34, 34, 34, 0.8);
}

/* Stats section */
.stats {
  padding: 4rem 0;
  background-color: var(--go-green);
  color: white;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.stats__number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stats__item p {
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials section */
.testimonials {
  padding: 4rem 0;
  background-color: var(--go-cream);
}

.testimonial-slider {
  margin-bottom: 2rem;
  overflow: hidden;
}

.testimonial-slider__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.testimonial-slider__track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  width: 350px;
  flex-shrink: 0;
  background-color: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
}

.testimonial-card__stars {
  color: var(--go-lime);
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  margin-bottom: 1.5rem;
}

.testimonial-card blockquote p {
  font-style: italic;
  color: rgba(34, 34, 34, 0.8);
}

.testimonial-card__name {
  font-weight: 600;
}

.testimonial-card__title {
  font-size: 0.875rem;
  color: rgba(34, 34, 34, 0.6);
}

/* FAQ section */
.faq {
  padding: 4rem 0;
  background-color: white;
}

.faq__accordion {
  max-width: 48rem;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.accordion-button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--go-char);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-icon {
  color: var(--go-green);
}

.accordion-button[aria-expanded="true"] .fa-plus {
  display: none;
}

.accordion-button[aria-expanded="true"] .fa-minus {
  display: inline-block;
}

.accordion-button[aria-expanded="false"] .fa-plus {
  display: inline-block;
}

.accordion-button[aria-expanded="false"] .fa-minus {
  display: none;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  margin-top: 0.5rem;
}

.accordion-content p {
  color: rgba(34, 34, 34, 0.8);
  padding-bottom: 1rem;
}

.accordion-button[aria-expanded="true"] + .accordion-content {
  max-height: 500px;
}

/* CTA section */
.cta {
  padding: 4rem 0;
  background: linear-gradient(to right, var(--go-green), var(--go-lime));
  color: white;
}

.cta__content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.footer {
  padding: 3rem 0;
  background-color: var(--go-char);
  color: white;
}

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

.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 1rem 0 1.5rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  color: white;
  transition: color var(--transition);
}

.footer__social a:hover {
  color: var(--go-lime);
}

.footer h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: white;
}

.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
}

.footer__contact i {
  color: var(--go-lime);
  margin-right: 0.5rem;
  width: 1.25rem;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer__contact a:hover {
  color: white;
}

.footer__contact span {
  color: rgba(255, 255, 255, 0.7);
}

.footer__newsletter p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__form input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: white;
  outline: none;
}

.footer__form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer__form input:focus {
  outline: 2px solid rgba(152, 201, 60, 0.5);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: white;
}

/* Animations */
.animate-slide-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Fixed/Utility Classes */
.fixed {
  position: fixed;
}

.w-full {
  width: 100%;
}

.z-50 {
  z-index: 50;
}

.transition-all {
  transition: all var(--transition);
}

.duration-300 {
  transition-duration: 300ms;
}

/* Responsive styles */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .typewriter {
    font-size: 1.5rem;
  }
  
  .cta__buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .logistics__features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .about__grid {
    grid-template-columns: 6fr 5fr;
  }
  
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 3fr 2fr 2fr 3fr;
  }
}

/* Reduced motion media query */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-slide-in,
  .animate-fade-in {
    transition: none !important;
    opacity: 1;
    transform: translateY(0);
  }
  
  .pulse-dot::after {
    animation: none !important;
  }
  
  .wave-animation {
    animation: none !important;
  }
}