/* ==== Base Styles & CSS Variables ==== */
:root {
  /* Primary Colors */
  --primary-color: #27ae60;
  --primary-dark: #219653;
  --primary-light: #6fcf97;
  
  /* Secondary Colors */
  --secondary-color: #2d9cdb;
  --secondary-dark: #2a80b9;
  --secondary-light: #56ccf2;
  
  /* Accent Colors */
  --accent-color: #f2994a;
  --accent-dark: #e67e22;
  --accent-light: #f8b76b;
  
  /* Neutral Colors */
  --dark-color: #333333;
  --dark-medium: #4f4f4f;
  --medium-color: #828282;
  --light-medium: #bdbdbd;
  --light-color: #e0e0e0;
  --white-color: #ffffff;
  
  /* Gradient Backgrounds */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Box Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

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

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

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

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

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

.has-text-primary {
  color: var(--primary-color);
}

.mt-5 {
  margin-top: 3rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

/* ==== Buttons ==== */
.button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-sm);
}

.button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white-color);
  text-decoration: none;
}

.button:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-sm);
}

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

.button.is-primary.is-outlined {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

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

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

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

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

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

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

.button.is-fullwidth {
  width: 100%;
  display: block;
}

.button.is-large {
  font-size: 1.25rem;
  padding: 0.75rem 2rem;
}

.button.is-medium {
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
}

.button.is-small {
  font-size: 0.875rem;
  padding: 0.375rem 1rem;
}

/* ==== Layout ==== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-lg) 0;
  position: relative;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: -1rem;
}

.column {
  flex: 1 1 0;
  padding: 1rem;
}

.column.is-one-third {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.column.is-half {
  flex: 0 0 50%;
  max-width: 50%;
}

.column.is-two-thirds {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.column.is-full {
  flex: 0 0 100%;
  max-width: 100%;
}

.is-vcentered {
  align-items: center;
}

.is-centered {
  justify-content: center;
}

.is-multiline {
  flex-wrap: wrap;
}

/* ==== Header & Navigation ==== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand h1 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.navbar-menu {
  display: flex;
}

.navbar-end {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.navbar-item {
  margin: 0 var(--spacing-sm);
  color: var(--dark-color);
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--transition-fast);
}

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

.navbar-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin-bottom: 5px;
  transition: all var(--transition-fast);
}

.navbar-burger span:last-child {
  margin-bottom: 0;
}

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

.hero.is-fullheight {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  transition: transform 0.5s ease-out;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
}

.hero-body {
  width: 100%;
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 2;
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--white-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--white-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
  max-width: 700px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero .buttons {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

/* ==== Mission Section ==== */
.mission-content {
  background-color: var(--white-color);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

.mission-text {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.stat-widgets {
  margin-top: var(--spacing-lg);
}

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

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 1.25rem;
  color: var(--dark-color);
  font-weight: 600;
}

/* ==== Workshops Section ==== */
.card {
  background-color: var(--white-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  overflow: hidden;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform var(--transition-medium);
  margin: 0 auto;
}

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

.card-content {
  padding: var(--spacing-md);
  flex: 1;
  width: 100%;
}

.card .title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

/* ==== Success Stories Section ==== */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg) 0;
}

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

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

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

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

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

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

.timeline-content {
  padding: 20px 30px;
  position: relative;
  border-radius: var(--border-radius-md);
}

.timeline-content .card {
  box-shadow: var(--shadow-md);
}

/* ==== Customer Stories Section ==== */
.testimonial-card {
  text-align: center;
}

.testimonial-card .card-image {
  margin-bottom: var(--spacing-sm);
}

.testimonial-card .card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--dark-medium);
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 700;
  color: var(--dark-color);
}

/* ==== External Resources Section ==== */
.resource-card {
  height: 100%;
}

.resource-card .card-image img {
  height: 250px;
}

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

.resource-links li {
  margin-bottom: var(--spacing-sm);
}

.resource-links a {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.resource-links a:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* ==== Sustainability Section ==== */
.sustainability-content {
  background-color: var(--white-color);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* ==== Blog Section ==== */
.blog-card {
  height: 100%;
}

.blog-card .card-image img {
  height: 250px;
}

.post-date {
  font-size: 0.875rem;
  color: var(--medium-color);
  margin-bottom: var(--spacing-xs);
}

/* ==== Pricing Section ==== */
.pricing-card {
  text-align: center;
  height: 100%;
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-color);
  z-index: 2;
}

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

.price .currency {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: top;
  position: relative;
  top: 0.5rem;
}

.price .amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price .period {
  font-size: 1rem;
  color: var(--medium-color);
  margin-left: 0.25rem;
}

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

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

.features li {
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--light-color);
}

.features li:last-child {
  border-bottom: none;
}

/* ==== FAQ Section ==== */
.faq-item {
  margin-bottom: var(--spacing-md);
  background-color: var(--white-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faq-question {
  background-color: var(--light-color);
  padding: var(--spacing-md);
  margin: 0;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  transition: background-color var(--transition-fast);
}

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

.faq-answer {
  padding: var(--spacing-md);
  border-top: 1px solid var(--light-medium);
}

/* ==== Media Section ==== */
.media-card {
  height: 100%;
}

.media-card .card-image img {
  height: 250px;
}

.media-date {
  font-size: 0.875rem;
  color: var(--medium-color);
  margin-bottom: var(--spacing-xs);
}

/* ==== Contact Section ==== */
.contact-info {
  margin-bottom: var(--spacing-md);
}

.contact-details {
  margin-top: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
}

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

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

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

.label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.control {
  position: relative;
}

.input, .textarea, .select select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-medium);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.25);
}

.select {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select::after {
  content: '▼';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.75rem;
}

.select.is-fullwidth {
  width: 100%;
}

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

.footer .title {
  color: var(--white-color);
}

.footer p {
  color: var(--light-color);
}

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

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

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

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

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

.social-links a {
  display: inline-block;
  margin-right: var(--spacing-md);
  color: var(--light-color);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.social-links a:hover {
  color: var(--white-color);
}

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

.newsletter-form .field.has-addons {
  display: flex;
}

.newsletter-form .control.is-expanded {
  flex: 1;
}

.newsletter-form .button {
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.newsletter-form .input {
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
}

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

.copyright p {
  color: var(--light-medium);
  font-size: 0.875rem;
}

/* ==== Parallax Effect ==== */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  opacity: 0.1;
}

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

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

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

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

.privacy-content, .terms-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

/* ==== Media Queries ==== */
@media (max-width: 1200px) {
  .container {
    width: 100%;
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .column.is-one-third, 
  .column.is-half, 
  .column.is-two-thirds {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-marker {
    left: 20px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-marker {
    left: 20px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
    display: none;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-item {
    margin: var(--spacing-xs) 0;
    display: block;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .column.is-one-third, 
  .column.is-half, 
  .column.is-two-thirds {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .stat-widget {
    margin-bottom: var(--spacing-md);
  }
  
  .timeline-content {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .hero .buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .button.is-large {
    width: 100%;
  }
  
  .contact-form-container {
    padding: var(--spacing-sm);
  }
}

/* Animation keyframes for parallax effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation: fadeInUp 1s ease-out;
}

/* JavaScript-triggered classes */
.is-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  padding: 0.5rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}