/* ==========================================================================
   CSS Variables & Typography
   ========================================================================== */
:root {
  /* Colors */
  --primary: #174227;       /* Deep amazon green */
  --primary-light: #256b3e; /* Medium green */
  --secondary: #8dc63f;     /* Vibrant plant-based green */
  --secondary-glow: rgba(141, 198, 63, 0.4);
  --dark: #09130d;          /* Very dark green-grey */
  --dark-alt: #1e293b;
  --light: #f4f9f5;         /* Off-white light green tint */
  --white: #ffffff;
  
  --text-main: #334155;
  --text-light: #64748b;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing */
  --section-padding: 6rem 0;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Resets and Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

.section-padding {
  padding: var(--section-padding);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-gradient {
  background: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-dark { color: var(--dark); }
.text-white { color: var(--white); }
.text-light-opacity { color: rgba(255,255,255,0.8); }

.bg-light { background-color: var(--light); }

.font-heading { font-family: var(--font-heading); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-4xl { font-size: 2.5rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.max-w-2xl { max-width: 42rem; }

.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.position-relative { position: relative; }
.z-10 { z-index: 10; }

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(37, 107, 62, 0.1);
  color: var(--primary-light);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-badge.center {
  margin-left: auto;
  margin-right: auto;
  display: table;
}

.btn-primary-outline {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.navbar.scrolled .btn-primary-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.navbar.scrolled .btn-primary-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all 0.4s ease;
  color: var(--white);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  color: var(--dark);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span {
  font-weight: 300;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-bg.png'); /* Placeholder, uses asset generated */
  background-size: cover;
  background-position: center;
  background-color: #0d2818; /* Fallback */
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    rgba(9, 19, 13, 0.85) 0%,
    rgba(9, 19, 13, 0.7) 40%,
    rgba(23, 66, 39, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: var(--white);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-cards {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.detail-card.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  min-width: 250px;
}
.detail-card.glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: rgba(141, 198, 63, 0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(141, 198, 63, 0.2);
  color: var(--secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
}

.detail-text {
  display: flex;
  flex-direction: column;
}
.detail-text strong {
  font-size: 1.1rem;
  font-family: var(--font-heading);
}
.detail-text span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.875rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

.lead-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.international-box {
  background: var(--light);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  border-left: 4px solid var(--secondary);
}
.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(37, 107, 62, 0.1);
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
  height: 100%;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote-card {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(23, 66, 39, 0.2);
  z-index: 2;
  max-width: 400px;
}

.quote-icon {
  font-size: 2rem;
  color: var(--secondary);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

.quote-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.quote-bg-leaf {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-size: 12rem;
  color: rgba(255, 255, 255, 0.05);
  transform: rotate(-15deg);
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
}
.shape-1 {
  width: 200px;
  height: 200px;
  background: rgba(141, 198, 63, 0.3);
  top: 10%;
  left: 0;
}
.shape-2 {
  width: 250px;
  height: 250px;
  background: rgba(37, 107, 62, 0.2);
  bottom: 0;
  right: 10%;
}

/* ==========================================================================
   Benefits / Instruments array
   ========================================================================== */
.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 800px;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.benefit-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(141, 198, 63, 0.1);
  color: var(--primary-light);
  font-size: 1.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.benefit-card:hover .card-icon {
  background: var(--primary-light);
  color: var(--white);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.benefit-card p {
  color: var(--text-light);
}

.benefit-card-large {
  background: var(--primary);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  color: var(--white);
  box-shadow: 0 20px 40px rgba(23, 66, 39, 0.15);
  position: relative;
  overflow: hidden;
}
.benefit-card-large::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.2) 0%, rgba(255,255,255,0) 70%);
  transform: translateX(30%);
}

.large-card-icon {
  font-size: 3.5rem;
  color: var(--secondary);
  flex-shrink: 0;
}
.large-card-content h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.large-card-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
}

@media (max-width: 768px) {
  .benefit-card-large {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   Schedule / Timeline Section
   ========================================================================== */
.schedule {
  background-color: var(--white);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 200px;
  width: 2px;
  background-color: rgba(37, 107, 62, 0.2);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
}

.timeline-item {
  display: flex;
  margin-bottom: 2.5rem;
  position: relative;
  width: 100%;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-time {
  width: 200px;
  padding-right: 3rem;
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  padding-top: 1.5rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
  }
  .timeline-time {
    width: 100%;
    text-align: left;
    padding-left: 0;
    padding-bottom: 1.5rem;
    padding-top: 0;
  }
}

.timeline-content {
  flex-grow: 1;
  background: var(--light);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: var(--transition);
}
.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.timeline-content.border-accent {
  border-left: 4px solid var(--primary);
}

.timeline-content.highlight-card {
  background: rgba(141, 198, 63, 0.1);
  border: 1px solid rgba(141, 198, 63, 0.3);
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--secondary);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.8);
}
.end-dot {
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 0;
  }
  .timeline-dot {
    left: 20px;
    transform: translateX(-50%);
    top: 3.5rem;
  }
  .timeline-content {
    margin-left: 45px;
    margin-top: 0;
    padding: 1.5rem;
  }
  .timeline-item .timeline-content .timeline-dot {
      top: -10px;
      left: -28px;
  }
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.timeline-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.timeline-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-main);
  font-size: 0.95rem;
}
.timeline-list li i {
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.badge-small {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
.bg-primary-light { background-color: var(--primary-light); }


/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-bg {
  background: url('../images/hero-bg.png') center/cover;
  position: relative;
}
.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  opacity: 0.95;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 30px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-title {
  color: var(--secondary);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.logo-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.logo-item {
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  transition: var(--transition);
  padding-left: 0.5rem;
  border-left: 2px solid transparent;
}
.logo-item:hover {
  color: var(--white);
  border-left-color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}
.footer-brand span { font-weight: 300; }

.copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

@media (max-width: 600px) {
  .flex-between {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: var(--transition-slow); }
.fade-in { opacity: 0; transition: var(--transition-slow); }
.reveal-up { opacity: 0; transform: translateY(40px); transition: var(--transition-slow); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: var(--transition-slow); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: var(--transition-slow); }

.active.fade-up, .active.reveal-up, .active.reveal-left, .active.reveal-right {
  opacity: 1; transform: translate(0);
}
.active.fade-in { opacity: 1; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
