/* Variables */
:root {
  /* Primary colors */
  --primary-color: #6a8d73;
  --primary-dark: #4b6351;
  --primary-light: #a4c3a2;
  
  /* Secondary colors */
  --secondary-color: #f0e6d9;
  --secondary-dark: #d9c9b8;
  --secondary-light: #f7f1e9;
  
  /* Accent colors */
  --accent-color: #e07a5f;
  --accent-dark: #c25e44;
  --accent-light: #f3a18d;
  
  /* Neutral colors */
  --neutral-dark: #333333;
  --neutral-medium: #777777;
  --neutral-light: #f5f5f5;
  
  /* Font families */
  --heading-font: 'Inter', sans-serif;
  --body-font: 'IBM Plex Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Box shadow */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

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

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

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

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

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

/* Buttons */
.button {
  transition: all var(--transition-medium);
  font-weight: 500;
}

.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);
}

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

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

.button.is-rounded {
  border-radius: 2rem;
}

/* Utility Classes */
.has-shadow {
  box-shadow: var(--shadow-medium);
}

.has-radius {
  border-radius: var(--border-radius-md);
}

.text-center {
  text-align: center;
}

/* Header/Navigation */
.header {
  background-color: white;
  box-shadow: var(--shadow-light);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-medium);
}

.header.is-scrolled {
  box-shadow: var(--shadow-medium);
}

.navbar {
  height: 80px;
}

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

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

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-body {
  display: flex;
  align-items: center;
  z-index: 2;
}

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

.scroll-down-icon {
  animation: bounce 2s infinite;
  display: inline-block;
  margin-bottom: 2rem;
}

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

/* Vision Section */
#vision {
  padding: var(--spacing-xl) 0;
}

.timeline {
  position: relative;
  margin-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: var(--primary-light);
}

.timeline-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--spacing-md);
}

.timeline-marker {
  position: absolute;
  top: 8px;
  left: -8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 3px solid white;
  box-shadow: var(--shadow-light);
}

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

/* Portfolio/Services Section */
#portfolio {
  padding: var(--spacing-xl) 0;
}

.card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
}

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

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

.image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

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

.accordion-button {
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.accordion-content {
  display: none;
  padding-top: var(--spacing-sm);
}

/* Resources Section */
#resources .tile.is-child {
  padding: var(--spacing-md);
  height: 100%;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

#resources .tile.is-child:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

/* Testimonials Section */
#testimonials {
  padding: var(--spacing-xl) 0;
}

/* Gallery Section */
#gallery {
  padding: var(--spacing-xl) 0;
}

#gallery .image {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

#gallery .image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}

#gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Press Section */
#press {
  padding: var(--spacing-xl) 0;
}

#press .media-left .image {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

#press .card {
  height: 100%;
}

#press .card a {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-block;
  margin-top: var(--spacing-sm);
  transition: color var(--transition-fast);
}

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

/* Contact Section */
#contact {
  padding: var(--spacing-xl) 0;
}

#contact .info-item h3 {
  color: var(--primary-color);
}

#contact form .input,
#contact form .textarea,
#contact form .select select {
  border-color: var(--secondary-dark);
  background-color: var(--secondary-light);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#contact form .input:focus,
#contact form .textarea:focus,
#contact form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(106, 141, 115, 0.25);
}

#contact form .checkbox a {
  color: var(--primary-color);
}

#contact form .checkbox a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer h3 {
  margin-bottom: var(--spacing-md);
}

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

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

.footer .social-links a {
  display: inline-block;
  margin-right: var(--spacing-sm);
  transition: color var(--transition-fast);
}

.footer .social-links a:hover {
  color: var(--accent-color) !important;
}

/* Cookie Consent */
#cookieConsent {
  border-top: 3px solid var(--primary-color);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-content {
  text-align: center;
  padding: var(--spacing-xl);
  max-width: 600px;
}

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

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.privacy-content, .terms-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-light);
}

/* Animation Elements */
.animation-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animation-element.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .navbar {
    height: auto;
  }
  
  .timeline {
    margin-left: 15px;
  }
  
  .timeline-item {
    padding-left: 20px;
  }
  
  #contact .info-item {
    margin-bottom: var(--spacing-md);
  }
}

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

.about-hero {
  position: relative;
  padding: var(--spacing-xl) 0;
  background-color: var(--primary-light);
}

.team-member {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.team-member .image {
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--spacing-md);
  width: 200px;
  height: 200px;
}

.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member .title {
  margin-bottom: var(--spacing-xs);
}

.team-member .subtitle {
  color: var(--neutral-medium);
  margin-bottom: var(--spacing-sm);
}

/* Read More Links */
.read-more {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.read-more:after {
  content: '→';
  margin-left: 5px;
  transition: transform var(--transition-fast);
}

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

.read-more:hover:after {
  transform: translateX(3px);
}
*{
  opacity: 1 !important;
}