:root {
  /* Primary Colors */
  --primary-color: #38b2ac;
  --primary-dark: #2c8c87;
  --primary-light: #4fd1cb;
  
  /* Complementary Colors */
  --complementary-color: #ac3838;
  --complementary-dark: #8c2c2c;
  --complementary-light: #d14f4f;
  
  /* Neutral Colors */
  --neutral-100: #f7fafc;
  --neutral-200: #edf2f7;
  --neutral-300: #e2e8f0;
  --neutral-400: #cbd5e0;
  --neutral-500: #a0aec0;
  --neutral-600: #718096;
  --neutral-700: #4a5568;
  --neutral-800: #2d3748;
  --neutral-900: #1a202c;
  
  /* Background Colors */
  --bg-primary: #f8f9fa;
  --bg-secondary: #e9ecef;
  --bg-dark: #343a40;
  
  /* Text Colors */
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-light: #f8f9fa;
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Eco-Minimalism Variables */
  --eco-primary: #4caf50;
  --eco-secondary: #8bc34a;
  --eco-accent: #ff9800;
  
  /* Animation Timing */
  --animation-slow: 0.5s;
  --animation-medium: 0.3s;
  --animation-fast: 0.15s;
}

/* Base Styles */
html, body {
  font-family: 'Rubik', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

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

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

/* Read More Links */
.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  margin-top: 1rem;
  position: relative;
  transition: all var(--animation-medium) ease;
}

.read-more:after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--animation-medium) ease;
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover:after {
  transform: translateX(5px);
}

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

/* Section Styles */
.eco-section {
  padding: 5rem 0;
  background-color: var(--bg-primary);
  position: relative;
}

.eco-section-alt {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
  position: relative;
}

/* Glassmorphism Card */
.glassmorphism-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  padding: 2rem;
  transition: transform var(--animation-medium) ease, box-shadow var(--animation-medium) ease;
}

.glassmorphism-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.15);
}

/* Button Styles */
.button {
  border-radius: 8px;
  font-weight: 500;
  transition: all var(--animation-medium) cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.button:active {
  transform: translateY(1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.eco-button {
  background-color: var(--eco-primary);
  border-color: var(--eco-primary);
  color: white;
  padding: 0.75rem 2rem;
}

.eco-button:hover {
  background-color: #43a047;
  border-color: #43a047;
}

.eco-button-outline {
  border: 2px solid var(--neutral-100);
  color: var(--neutral-100);
  background: transparent;
}

.eco-button-outline:hover {
  background-color: var(--neutral-100);
  color: var(--primary-color);
}

/* Header/Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all var(--animation-medium) ease;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-item {
  font-weight: 500;
  transition: color var(--animation-medium) ease;
}

.navbar-item:hover {
  color: var(--primary-color);
}

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

.hero-body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero .title, 
.hero .subtitle {
  color: white;
}

/* Services Section */
.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-image {
  overflow: hidden;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.image-container {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--animation-slow) ease;
}

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

.card-content {
  flex-grow: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

/* Switch Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--neutral-400);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch-label {
  margin-left: 60px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Statistics Section */
.chart-container {
  height: 300px;
  width: 100%;
  position: relative;
}

.progress {
  height: 8px;
  border-radius: 4px;
}

.table-container {
  overflow-x: auto;
}

/* Resources Section */
.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.resource-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Innovation Section */
.innovation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Vision Section */
#vision {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

#vision .glassmorphism-card {
  background: rgba(0, 0, 0, 0.5);
  color: white;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-right: 2rem;
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  transition: transform var(--animation-medium) ease;
}

.faq-question.active:after {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 1rem;
}

/* Community Section */
.h-100 {
  height: 100%;
}

/* Portfolio Section */
.portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--animation-medium) ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-content {
  text-align: center;
  padding: 1rem;
}

.portfolio-button {
  margin-top: 1rem;
}

/* Awards Section */
.award-list {
  list-style: none;
  padding: 0;
}

.award-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.award-icon {
  color: var(--eco-accent);
  margin-right: 1rem;
  font-size: 1.5rem;
}

/* Partners Section */
.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  padding: 1.5rem;
  transition: transform var(--animation-medium) ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Contact Section */
.contact-info {
  margin-bottom: 2rem;
}

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

.contact-item .icon {
  margin-right: 1rem;
  color: var(--primary-color);
}

.map-container {
  height: 300px;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.eco-footer {
  background-color: var(--neutral-800);
  color: var(--neutral-100);
  padding: 4rem 0 2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--neutral-300);
  transition: color var(--animation-medium) ease;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  color: var(--neutral-300);
  font-weight: 500;
  transition: color var(--animation-medium) ease;
}

.social-link:hover {
  color: white;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--bg-primary);
}

.success-icon {
  font-size: 5rem;
  color: var(--eco-primary);
  margin-bottom: 2rem;
}

/* Privacy and Terms Pages */
.privacy-content, .terms-content {
  padding-top: 100px;
}

/* Animations with AOS Integration */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .eco-section, .eco-section-alt {
    padding: 3rem 0;
  }
  
  .glassmorphism-card {
    padding: 1.5rem;
  }
  
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.25rem !important;
  }
  
  .partner-logo {
    height: 100px;
  }
}

@media screen and (max-width: 576px) {
  .hero .title {
    font-size: 1.75rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.1rem !important;
  }
  
  .buttons.is-centered {
    flex-direction: column;
  }
  
  .buttons.is-centered .button {
    width: 100%;
    margin: 0.5rem 0;
  }
}

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

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

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 0.75rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-5 {
  margin-bottom: 2rem !important;
}

.mb-6 {
  margin-bottom: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 0.75rem !important;
}

.mt-4 {
  margin-top: 1rem !important;
}

.mt-5 {
  margin-top: 2rem !important;
}

.mt-6 {
  margin-top: 3rem !important;
}

.footer .title {
  color: #fff !important;
}