/* Base Styles */
:root {
  --primary-color: #3a9679; /* Main green */
  --primary-light: #4fb58b;
  --primary-dark: #297d62;
  --secondary-color: #3a7d96; /* Teal blue */
  --secondary-light: #4a96b3;
  --secondary-dark: #2a6478;
  --tertiary-color: #5a967d; /* Green-teal blend */
  --accent-color: #f8c630; /* Yellow accent */
  --accent-dark: #e0a718;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --background-light: #f8f9fa;
  --background-dark: #2c3e50;
  --background-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
  --card-spacing: 24px;
  --content-max-width: 1200px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  color: var(--text-dark);
  margin-top: 0;
  line-height: 1.2;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 16px auto 0;
}

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

/* Button Styles */
.button,
.button.is-primary,
.button.is-secondary,
.button.is-light {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed);
  border: none;
  font-size: 1rem;
  line-height: 1.5;
}

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

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

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

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

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

.button.is-light {
  background-color: var(--text-light);
  color: var(--text-dark);
  border: 1px solid #ddd;
}

.button.is-light:hover {
  background-color: #f5f5f5;
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid currentColor;
}

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

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

.button.is-large {
  font-size: 1.25rem;
  padding: 14px 32px;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.navbar-item {
  padding: 0.5rem 1rem;
  display: inline-block;
  position: relative;
  color: var(--text-dark);
  transition: color var(--transition-speed);
}

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

.navbar-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all var(--transition-speed);
}

.navbar-item:hover::after {
  width: 100%;
  left: 0;
}

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

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

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
}

.navbar-burger span {
  background-color: var(--text-dark);
  display: block;
  height: 2px;
  left: calc(50% - 8px);
  position: absolute;
  transform-origin: center;
  transition: all var(--transition-speed);
  width: 16px;
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 6px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50%);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 6px);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

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

.hero-body {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 80px 0;
}

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

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-foot {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
}

.scroll-down-icon {
  display: inline-block;
  color: var(--text-light);
  font-size: 2rem;
  opacity: 0.8;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.scroll-down-icon:hover {
  opacity: 1;
  transform: translateY(5px);
}

/* Mission Section */
.mission-image {
  text-align: center;
  margin: 40px auto;
}

.mission-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
  max-width: 100%;
}

.mission-image img:hover {
  transform: scale(1.02);
}

/* Features Section */
.card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

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

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

.card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s;
}

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

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

.card-content h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

/* Statistics Section */
.stat-box {
  background-color: white;
  padding: 32px 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform var(--transition-speed);
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-box .icon {
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 16px 0 8px;
  line-height: 1;
}

.stat-description {
  color: var(--text-dark);
  font-size: 1rem;
}

.statistics-image {
  text-align: center;
  margin-top: 48px;
}

.statistics-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Resources Section */
.image-container {
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

/* Pricing Section */
.price-tag {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 16px 0;
}

/* Testimonials Section */
.testimonial-carousel {
  position: relative;
}

.stars {
  color: var(--accent-color);
  margin-top: 16px;
}

.media {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.media-left {
  margin-right: 16px;
}

.media-left .image {
  width: 64px;
  height: 64px;
  overflow: hidden;
}

.is-rounded {
  border-radius: 50%;
}

.media-content .title {
  margin-bottom: 4px;
}

.media-content .subtitle {
  color: var(--text-muted);
}

/* Projects Section */
.project-card img {
  height: 250px;
  object-fit: cover;
}

/* Workshops Section */
.event-date {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 16px;
}

/* Partners Section */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 32px;
  align-items: center;
}

.partner-logo {
  text-align: center;
  transition: opacity var(--transition-speed);
}

.partner-logo:hover {
  opacity: 0.8;
}

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

/* Contact Section */
.contact-info {
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-item .icon {
  margin-right: 16px;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-map {
  margin-top: 24px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.contact-form-wrapper {
  background-color: white;
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.field {
  margin-bottom: 24px;
}

.label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.control {
  position: relative;
}

.input, .textarea, .select select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: all var(--transition-speed);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(58, 150, 121, 0.1);
  outline: none;
}

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

.select select {
  appearance: none;
  padding-right: 36px;
}

.select::after {
  content: '\25BC';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.is-fullwidth {
  width: 100%;
}

/* Social Links */
.social-links {
  margin-top: 16px;
}

.social-links a {
  margin-right: 12px;
  color: var(--text-light);
  opacity: 0.8;
  transition: opacity var(--transition-speed);
}

.social-links a:hover {
  opacity: 1;
}

/* Footer */
.footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 64px 0;
}

.footer .title {
  color: var(--text-light);
  margin-bottom: 24px;
}

.footer p {
  opacity: 0.8;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-light);
  opacity: 0.8;
  transition: opacity var(--transition-speed);
}

.footer-links a:hover {
  opacity: 1;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.is-active {
  display: flex;
}

.modal-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 20px;
  z-index: 1001;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1002;
}

.box {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Columns */
.columns {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.column {
  flex: 0 0 100%;
  padding: 0 12px;
  margin-bottom: 24px;
}

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

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

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

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

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

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

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

/* Team Section */
.team-member {
  text-align: center;
}

.team-member img {
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  height: 300px;
  width: 100%;
  object-fit: cover;
}

.team-member h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.team-member .subtitle {
  color: var(--primary-color);
  margin-bottom: 16px;
}

/* Success Page */
.success-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 0;
}

.success-icon {
  color: var(--primary-color);
  margin-bottom: 32px;
}

/* About & History Page */
.about-image, 
.mission-image {
  text-align: center;
  margin: 40px 0;
}

.about-image img, 
.mission-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Privacy & Terms Pages */
.privacy-content,
.terms-content {
  background-color: white;
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-top: 100px;
}

.last-updated {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* FAQ */
.faq-item {
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 24px;
}

.faq-question {
  cursor: pointer;
  position: relative;
  padding-right: 32px;
}

.faq-question::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-speed);
}

.faq-question.is-active::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  margin-top: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

/* Animations */
[data-aos] {
  opacity: 0;
  transition: opacity 0.8s, transform 0.8s;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Helpers */
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 24px; }
.mt-6 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 24px; }
.mb-6 { margin-bottom: 32px; }

.has-text-centered { text-align: center; }
.has-text-white { color: var(--text-light); }
.has-text-primary { color: var(--primary-color); }

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

.is-size-4 { font-size: 1.5rem; }
.is-size-5 { font-size: 1.25rem; }

/* Responsive Styles */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
  }
  
  .navbar-menu.is-active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-menu.is-active .navbar-end {
    flex-direction: column;
    padding: 16px 0;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .column.is-one-third,
  .column.is-half,
  .column.is-two-thirds {
    flex: 0 0 100%;
  }
  
  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .column.is-one-third {
    flex: 0 0 50%;
  }
}

@media screen and (min-width: 1024px) {
  .navbar-burger {
    display: none;
  }
}