/* CSS Variables - Analogous Color Scheme with Retro & Eco-Minimalism */
:root {
  /* Primary Colors - Analogous Scheme */
  --primary-color: #2d5a27;
  --primary-light: #4a7c59;
  --primary-dark: #1a3d1a;
  --secondary-color: #5a7c2d;
  --secondary-light: #7c9959;
  --secondary-dark: #3d5a1a;
  --accent-color: #7c5a2d;
  --accent-light: #9c7a4d;
  --accent-dark: #5a3d1a;
  
  /* Neutral Colors */
  --text-primary: #2c3e50;
  --text-secondary: #5d6d7e;
  --text-light: #85929e;
  --text-white: #ffffff;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --background-dark: #2c3e50;
  
  /* Retro Colors */
  --retro-orange: #e67e22;
  --retro-brown: #8b4513;
  --retro-cream: #f5f5dc;
  --retro-mustard: #d4a574;
  
  /* Eco Colors */
  --eco-green: #27ae60;
  --eco-mint: #48c9b0;
  --eco-sage: #a8cc8c;
  --eco-forest: #1e8449;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--retro-orange));
  --gradient-eco: linear-gradient(135deg, var(--eco-green), var(--eco-mint));
  --gradient-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
  
  /* Typography */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
  --font-size-xl: 3.5rem;
  --font-size-lg: 2.5rem;
  --font-size-md: 1.8rem;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --line-height-base: 1.6;
  --line-height-heading: 1.2;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  --shadow-retro: 4px 4px 0px var(--accent-color);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  background-color: var(--background-light);
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--line-height-heading);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

h1 {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

h2 {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

h3 {
  font-size: var(--font-size-md);
  font-weight: 500;
}

p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  font-size: var(--font-size-lg);
  color: var(--text-primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  margin: var(--space-sm) auto 0;
  border-radius: var(--radius-sm);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition-base);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-retro);
}

.btn-primary:hover {
  background: var(--gradient-eco);
  color: var(--text-white);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--primary-color);
  text-decoration: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

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

.logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  margin: 0;
}

.nav-list a {
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

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

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

.burger-menu span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition-base);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-xl);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: var(--font-size-md);
  color: var(--text-white);
  margin-bottom: var(--space-md);
  font-weight: 300;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

/* Vision Section */
.vision {
  padding: var(--space-xxl) 0;
  background: var(--background-white);
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.vision-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
}

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

.vision-text h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

/* Projects Section */
.projects {
  padding: var(--space-xxl) 0;
  background: var(--background-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

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

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

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

.card-content {
  padding: var(--space-lg);
  text-align: center;
  flex: 1;
}

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

.project-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.stat {
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

/* Customer Stories Section */
.customer-stories {
  padding: var(--space-xxl) 0;
  background: var(--background-white);
}

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

.story-card {
  display: none;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl);
  background: var(--background-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.story-card.active {
  display: grid;
  animation: fadeIn 0.5s ease;
}

.story-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-image img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.story-content blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.story-content cite {
  color: var(--primary-color);
  font-weight: 600;
}

.story-switcher {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.switch-btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  font-weight: 600;
}

.switch-btn.active,
.switch-btn:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

/* Webinars Section */
.webinars {
  padding: var(--space-xxl) 0;
  background: var(--background-light);
}

.webinar-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

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

.webinar-card {
  background: var(--background-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  text-align: center;
  border-left: 4px solid var(--eco-green);
}

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

.webinar-date {
  background: var(--gradient-accent);
  color: var(--text-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.webinar-info {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.duration,
.level {
  background: var(--eco-sage);
  color: var(--text-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
}

/* Events Section */
.events {
  padding: var(--space-xxl) 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.events-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(45, 90, 39, 0.9), rgba(90, 124, 45, 0.8));
}

.events .section-title {
  color: var(--text-white);
  position: relative;
  z-index: 2;
}

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

.event-item {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-date {
  flex-shrink: 0;
  text-align: center;
  background: var(--gradient-accent);
  color: var(--text-white);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  min-width: 80px;
}

.event-date .day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.event-date .month {
  display: block;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
}

.event-content h3 {
  color: var(--text-white);
  margin-bottom: var(--space-sm);
}

.event-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-sm);
}

.event-location {
  color: var(--retro-mustard);
  font-weight: 500;
}

/* External Resources Section */
.external-resources {
  padding: var(--space-xxl) 0;
  background: var(--background-white);
}

.resources-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  font-size: 1.1rem;
}

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

.resource-card {
  background: var(--background-light);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-base);
  border-top: 4px solid var(--primary-color);
}

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

.resource-link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--primary-color);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.resource-link:hover {
  background: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
}

/* FAQ Section */
.faq {
  padding: var(--space-xxl) 0;
  background: var(--background-light);
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--background-white);
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  cursor: pointer;
  background: var(--background-white);
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--background-light);
}

.faq-question h3 {
  margin: 0;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition-fast);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-lg);
  margin: 0;
}

/* Contact Section */
.contact {
  padding: var(--space-xxl) 0;
  background: var(--background-white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {
  background: var(--background-light);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  height: fit-content;
}

.contact-item {
  margin-bottom: var(--space-lg);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
}

.contact-item a {
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-form-container {
  background: var(--background-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: grid;
  gap: var(--space-lg);
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-md) var(--space-sm);
  border: 2px solid var(--background-light);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  transition: var(--transition-fast);
  background: var(--background-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.form-group label {
  position: absolute;
  top: var(--space-md);
  left: var(--space-sm);
  color: var(--text-light);
  transition: var(--transition-fast);
  pointer-events: none;
  background: var(--background-white);
  padding: 0 var(--space-xs);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: var(--font-size-sm);
  color: var(--primary-color);
}

/* Footer */
.footer {
  background: var(--background-dark);
  color: var(--text-white);
  padding: var(--space-xxl) 0 var(--space-lg);
}

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

.footer-section h3,
.footer-section h4 {
  color: var(--text-white);
  margin-bottom: var(--space-md);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-xs);
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--text-white);
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--text-white);
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Parallax Effect */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.text-white {
  color: var(--text-white) !important;
}

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

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

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-lg {
  margin-top: var(--space-lg);
}

/* Additional Pages Styles */
.page-content {
  padding-top: 100px;
  padding-bottom: var(--space-xxl);
  min-height: calc(100vh - 200px);
}

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--text-white);
  text-align: center;
}

.success-content {
  max-width: 600px;
  padding: var(--space-xl);
}

.success-content h1 {
  color: var(--text-white);
  margin-bottom: var(--space-lg);
}

.success-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-list {
    display: none;
  }
  
  .burger-menu {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .vision-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .story-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .event-item {
    flex-direction: column;
    text-align: center;
  }
  
  .webinars-grid {
    grid-template-columns: 1fr;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .hero-content {
    padding: var(--space-lg);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .card-content,
  .contact-form-container,
  .contact-info {
    padding: var(--space-lg);
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn,
  .burger-menu {
    display: none;
  }
  
  .page-content {
    padding-top: 0;
  }
  
  * {
    background: white !important;
    color: black !important;
  }
}