/* Root variables for the theme */
:root {
  /* Brutalist Eco-Minimalism with Triad color scheme */
  --primary-color: #2e7d32; /* Dark green */
  --secondary-color: #d32f2f; /* Red */
  --tertiary-color: #1976d2; /* Blue */
  
  /* Shades and variants */
  --primary-dark: #1b5e20;
  --primary-light: #4caf50;
  --secondary-dark: #b71c1c;
  --secondary-light: #ef5350;
  --tertiary-dark: #0d47a1;
  --tertiary-light: #42a5f5;
  
  /* Neutrals */
  --dark: #212121;
  --light: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  --gray: #757575;
  --light-gray: #e0e0e0;
  
  /* UI Elements */
  --border-radius: 4px;
  --border-radius-large: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  --line-height: 1.6;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Container widths */
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--spacing-sm);
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Section styles */
section {
  padding: var(--spacing-lg) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
}

/* Button styles - GLOBAL */
.btn,
button,
input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--primary-color);
  color: var(--white);
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  color: #fff;
  background-color: var(--primary-dark);
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-3px);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

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

.btn-tertiary:hover {
  background-color: var(--tertiary-dark);
}

/* Header/Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--spacing-md);
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--dark);
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin-left: var(--spacing-md);
}

.main-nav a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  margin: 2px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 120px;
  padding-bottom: var(--spacing-xl);
  text-align: center;
  color: var(--white);
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: var(--spacing-xl);
}

.hero-content h1 {
  margin-bottom: var(--spacing-md);
  font-size: 3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Vision Section */
.vision {
  background-color: var(--light);
}

.vision-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.vision-text {
  flex: 1;
  min-width: 300px;
}

.vision-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.vision-image img {
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  margin: 0 auto;
  object-fit: cover;
}

.progress-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.progress-item {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.progress-bar {
  height: 10px;
  background-color: var(--light-gray);
  border-radius: 5px;
  margin: 10px 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 5px;
  transition: width 1s ease;
}

/* Features Section */
.features {
  background-color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--white);
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-md);
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-content h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--primary-dark);
}

/* Research and Analysis */
.research {
  background-color: var(--light);
}

.research-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.research-text {
  flex: 2;
  min-width: 300px;
}

.stats-container {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-sm);
}

.stat-widget {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.stat-widget:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.stat-widget h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 5px;
}

.accordion-container {
  margin-top: var(--spacing-lg);
}

.accordion-item {
  margin-bottom: var(--spacing-sm);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-header {
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--white);
  color: var(--dark);
  cursor: pointer;
  position: relative;
  font-weight: 500;
  margin-bottom: 0;
  transition: var(--transition);
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.accordion-header.active::after {
  content: '-';
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
  padding: var(--spacing-md);
  height: 100% !important;
  max-height: 500px !important;
  background-color: var(--white);
}

/* History Timeline */
.history {
  background-color: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-date {
  font-weight: bold;
  color: var(--primary-color);
}

.timeline-content {
  padding: 20px;
  background-color: var(--light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border: 4px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:nth-child(odd)::after {
  right: -10px;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

/* Why Us Section */
.why-us {
  background-color: var(--light);
}

.why-us-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-lg);
}

.why-us-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.why-us-image img {
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  margin: 0 auto;
  object-fit: cover;
}

.why-us-text {
  flex: 1;
  min-width: 300px;
}

/* External Resources */
.external-resources {
  background-color: var(--white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

/* Success Stories */
.success-stories {
  background-color: var(--light);
}

.stories-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--white);
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

/* Testimonials */
.testimonials {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-card {
  background-color: var(--light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
}

.quote {
  font-style: italic;
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--spacing-md);
}

.quote::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--primary-color);
  position: absolute;
  left: -15px;
  top: -20px;
}

.author {
  display: flex;
  align-items: center;
}

.author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: var(--spacing-sm);
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

/* Events Section */
.events {
  background-color: var(--light);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-date {
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-xs);
}

/* Sustainability Section */
.sustainability {
  background-color: var(--white);
}

.sustainability-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.sustainability-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.sustainability-image img {
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  margin: 0 auto;
  object-fit: cover;
}

.sustainability-text {
  flex: 1;
  min-width: 300px;
}

.eco-stats {
  margin-top: var(--spacing-lg);
}

/* FAQ Section */
.faq {
  background-color: var(--light);
}

/* News Section */
.news {
  background-color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.news-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-date {
  font-weight: bold;
  color: var(--tertiary-color);
  margin-bottom: var(--spacing-xs);
}

/* Contact Section */
.contact {
  background-color: var(--light);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.contact-info {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.info-item {
  margin-bottom: var(--spacing-md);
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
}

.map-container {
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: var(--light);
  padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-about h3,
.footer-links h3,
.footer-social h3,
.footer-newsletter h3 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.footer-links ul,
.footer-social ul {
  list-style: none;
}

.footer-links li,
.footer-social li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-social a {
  color: var(--light);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.footer-social a {
  display: flex;
  align-items: center;
}

.footer-social a::before {
  content: '→';
  margin-right: 5px;
  color: var(--primary-light);
}

.footer-newsletter form {
  display: flex;
  gap: 10px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: var(--border-radius);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-md);
}

.success-content {
  max-width: 600px;
  padding: var(--spacing-lg);
  background-color: var(--light);
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  color: var(--primary-color);
}

/* Privacy & Terms Pages */
.privacy-content,
.terms-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2,
.terms-content h2 {
  margin-top: var(--spacing-lg);
}

/* About Page */
.about-content {
  padding-top: 100px;
}

.team-section {
  margin-top: var(--spacing-xl);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--spacing-sm);
  border: 4px solid var(--primary-color);
}

/* Animations */
.parallax {
  transition: transform 0.3s ease;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive styles */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    left: 20px;
  }
}

@media screen and (max-width: 768px) {
  .burger-menu {
    display: flex;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .main-nav.active {
    max-height: 300px;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: var(--spacing-md);
  }
  
  .main-nav li {
    margin: 0 0 var(--spacing-sm) 0;
  }
  
  .vision-content,
  .why-us-content,
  .sustainability-content {
    flex-direction: column;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .footer-newsletter form {
    flex-direction: column;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .btn,
  button,
  input[type="submit"] {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.hidden {
  display: none;
}

.visible {
  display: block;
}