/* Root Variables - Eco-Minimalism with Split-Complementary Color Scheme */
:root {
  /* Primary Colors */
  --primary-color: #2e7d32; /* Forest Green */
  --primary-light: #4caf50; /* Light Green */
  --primary-dark: #1b5e20; /* Dark Green */
  
  /* Split-Complementary Colors */
  --accent-1: #7b1fa2; /* Purple */
  --accent-2: #d32f2f; /* Red */
  --accent-1-light: #9c27b0; /* Light Purple */
  --accent-2-light: #f44336; /* Light Red */
  
  /* Neutral Colors */
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #eeeeee;
  --neutral-300: #e0e0e0;
  --neutral-400: #bdbdbd;
  --neutral-500: #9e9e9e;
  --neutral-600: #757575;
  --neutral-700: #616161;
  --neutral-800: #424242;
  --neutral-900: #212121;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --glass-backdrop: blur(12px);
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Borders */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --transition-fast: 200ms ease-out;
  --transition-normal: 300ms ease-out;
  --transition-slow: 500ms ease-out;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background-color: var(--neutral-50);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* Section Styles */
.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section .title {
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.section .title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: var(--spacing-xs) 0 var(--spacing-md);
  /* left: 50%;
  transform: translateX(-50%); */
  margin: 14px auto 0;
}

.section .has-text-centered .title::after {
  margin: var(--spacing-xs) auto var(--spacing-md);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-body {
  position: relative;
  z-index: 1;
}

.hero .title,
.hero .subtitle,
.hero-description {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  max-width: 700px;
}

/* Navigation */
.navbar {
  transition: background-color var(--transition-normal);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  z-index: 30;
}

.navbar.is-transparent {
  background-color: transparent;
}

.navbar.is-scrolled {
  background-color: var(--glass-bg);
  box-shadow: 0 2px 10px var(--glass-shadow);
  border-bottom: 1px solid var(--glass-border);
}

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

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

/* Button Styles */
.button {
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}

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

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

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

.button.is-light.is-outlined {
  border-color: white;
  color: white;
}

.button.is-light.is-outlined:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Card Styles - Glassmorphism */
.card {
  background: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.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: transform var(--transition-slow);
}

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

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

/* Services Section */
.services-section {
  background-color: var(--neutral-100);
}

.service-card {
  height: 100%;
}

.service-card .title {
  color: var(--primary-dark);
}

/* Pricing Section */
.pricing-section {
  background: linear-gradient(135deg, var(--neutral-50), var(--neutral-200));
  position: relative;
}

.pricing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../image/pattern.jpg');
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.pricing-card {
  position: relative;
  z-index: 1;
  padding: var(--spacing-md);
  text-align: center;
  height: 100%;
}

.pricing-card.featured-card {
  transform: scale(1.05);
  border: 2px solid var(--primary-light);
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
}

.pricing-card .price {
  margin: var(--spacing-md) 0;
}

.pricing-card .currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 5px;
}

.pricing-card .amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-card .period {
  font-size: 1rem;
  color: var(--neutral-600);
}

.pricing-card .features {
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.pricing-card .feature-item {
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--neutral-200);
}

.pricing-card .feature-item:last-child {
  border-bottom: none;
}

/* Projects Section */
.projects-section {
  background-color: white;
}

.project-card {
  margin-bottom: var(--spacing-lg);
}

.project-card .card-image {
  height: 400px;
}

.project-metrics {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--neutral-200);
}

.metric {
  text-align: center;
  flex: 1;
}

.metric-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--neutral-700);
}

/* Timeline */
.timeline {
  margin-top: var(--spacing-xl);
  position: relative;
}
/* 
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--primary-light);
  transform: translateX(-50%);
} */

.timeline-item {
  padding: var(--spacing-md) 0;
  position: relative;
}

/* .timeline-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 0 4px white, 0 0 0 6px var(--primary-light);
} */

.timeline-content {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

/* Behind the Scenes Section */
.behind-scenes-section {
  background-color: var(--neutral-50);
}

.scene-card .card-image {
  height: 300px;
}

/* Resources Section */
.resources-section {
  background-color: white;
}

.resource-card {
  text-align: center;
  height: 100%;
}

/* Sustainability Section */
.sustainability-section {
  background: linear-gradient(to right, var(--neutral-50), var(--neutral-100));
}

.sustainability-metric {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
}

.metric-icon {
  flex: 0 0 80px;
  margin-right: var(--spacing-md);
}

.metric-icon img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary-light);
}

.metric-content {
  flex: 1;
}

.sustainability-report {
  background-color: white;
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

/* Partners Section */
.partners-section {
  background-color: var(--neutral-100);
}

.partner-logo {
  text-align: center;
  padding: var(--spacing-md);
  transition: transform var(--transition-normal);
}

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

.partner-logo img {
  max-width: 150px;
  height: auto;
  margin: 0 auto var(--spacing-sm);
  filter: grayscale(100%);
  transition: filter var(--transition-normal);
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

.partner-name {
  font-size: 1rem;
  color: var(--neutral-700);
  margin-top: var(--spacing-xs);
}

/* Gallery Section */
.gallery-section {
  background-color: white;
}

.gallery-card .card-image {
  height: 250px;
}

.gallery-card .card-content {
  text-align: center;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../image/pattern-light.jpg');
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.testimonials-section .title,
.testimonials-section .subtitle {
  color: white;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--neutral-800);
}

.testimonial-card .card-content {
  display: flex;
  padding: var(--spacing-lg);
}

.testimonial-image {
  flex: 0 0 100px;
  margin-right: var(--spacing-md);
}

.testimonial-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
}

.testimonial-text {
  flex: 1;
}

.testimonial-text p {
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.testimonial-author {
  margin-top: var(--spacing-md);
}

.author-name {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0;
}

.author-title {
  font-size: 0.9rem;
  color: var(--neutral-600);
}

.carousel-controls {
  margin-top: var(--spacing-md);
}

.carousel-controls .button {
  margin: 0 var(--spacing-xs);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.carousel-controls .button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Success Stories Section */
.success-stories-section {
  background-color: var(--neutral-100);
}

.success-card .card-image {
  height: 350px;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(to right, var(--neutral-50), white);
  position: relative;
}

.contact-info {
  padding: var(--spacing-md);
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
}

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

.contact-details,
.hours-list {
  list-style: none;
  margin: var(--spacing-sm) 0;
  padding: 0;
}

.contact-details li,
.hours-list li {
  margin-bottom: var(--spacing-xs);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-link {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background-color: var(--primary-light);
  color: white;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-dark);
  color: white;
}

.contact-form-container {
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
}

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

.contact-form .button {
  margin-top: var(--spacing-sm);
}

/* Footer */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer .title {
  color: white;
}

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

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a,
.footer .social-links a {
  color: var(--neutral-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer .social-links {
  margin-top: var(--spacing-sm);
}

.footer .social-links li {
  margin-bottom: var(--spacing-xs);
}

.footer .social-links a {
  display: inline-block;
}

.newsletter-form {
  margin-top: var(--spacing-sm);
}

.copyright {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--neutral-700);
  color: var(--neutral-500);
  font-size: 0.9rem;
}

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

.success-container {
  max-width: 600px;
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  color: white;
  font-size: 2rem;
}

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

.content-container {
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

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

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes morphing {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  /* .timeline::before {
    left: 20px;
  } */
  
  .timeline-marker {
    left: 20px;
  }
  
  .timeline-content {
    width: 100%;
    padding-left: 50px;
  }
  
  .testimonial-card .card-content {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-image {
    margin: 0 auto var(--spacing-md);
  }
  
  .sustainability-metric {
    flex-direction: column;
    text-align: center;
  }
  
  .metric-icon {
    margin: 0 auto var(--spacing-md);
  }
}

@media screen and (max-width: 768px) {
  :root {
    --spacing-xl: 3rem;
  }
  
  .project-metrics {
    flex-direction: column;
  }
  
  .metric {
    margin-bottom: var(--spacing-md);
  }
  
  .pricing-card.featured-card {
    transform: none;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
  }
  
  .contact-info,
  .contact-form-container {
    margin-bottom: var(--spacing-md);
  }
}

/* Utility Classes */
.bg-glass {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  /* border: 1px solid var(--glass-border); */
  /* box-shadow: 0 8px 32px var(--glass-shadow); */
}

.text-gradient {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.parallax {
  background-attachment: fixed;
}

.morphing-shape {
  animation: morphing 8s infinite;
}

.fadeInUp {
  animation: slideUp 0.6s ease-out forwards;
}

.bg-pattern {
  background-image: url('../image/pattern.jpg');
  background-size: 200px;
  background-repeat: repeat;
  opacity: 0.05;
}

.footer strong {
  color: var(--neutral-300);
}