/* Introduction Section */
.introduction-section {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary-bg);
  padding: 20px;
}

.introduction-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.introduction-content {
  position: relative;
  z-index: 2;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 30px 15px;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  text-align: center;
  max-width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.introduction-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.introduction-content h1 {
  font-family: 'Neon-Heavy', sans-serif;
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.3;
}

.introduction-content .subheadline {
  font-family: 'Neon-Regular', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-style: italic;
  opacity: 0.9;
  line-height: 1.5;
}

.scroll-down-arrow {
  position: absolute;
  bottom: 20px;
  z-index: 2;
  color: var(--text-primary);
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.scroll-down-arrow:hover {
  color: var(--primary-green);
  transform: translateY(5px);
}

.scroll-down-arrow i {
  transition: transform 0.3s ease;
}

.scroll-down-arrow:hover i {
  transform: scale(1.1);
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
  .introduction-section {
    min-height: 100vh;
    padding: 40px;
  }

  .introduction-content {
    padding: 50px 30px;
    max-width: 70%;
  }

  .introduction-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  .introduction-content .subheadline {
    font-size: 1.3rem;
    margin-bottom: 25px;
  }

  .scroll-down-arrow {
    font-size: 2rem;
    bottom: 30px;
  }
}

/* Small screens (480px and below) */
@media (max-width: 480px) {
  .introduction-section {
    min-height: 70vh;
    padding: 15px;
  }

  .introduction-content {
    padding: 20px 10px;
    max-width: 95%;
  }

  .introduction-content h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .introduction-content .subheadline {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .scroll-down-arrow {
    font-size: 1.2rem;
    bottom: 15px;
  }
}

/* Why Matters Section */
.why-matters-section {
  padding: 40px 20px;
  background: var(--secondary-bg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.why-matters-section h2 {
  font-family: 'Neon-Heavy', sans-serif;
  font-size: 2rem;
  color: var(--logo-green);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  animation: fadeIn 0.8s ease-out;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.benefit-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-text h3 {
  font-family: 'Neon-Heavy', sans-serif;
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.benefit-text p {
  font-family: 'Neon-Regular', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  opacity: 0.95;
}

/* Animation for fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
  .why-matters-section {
    padding: 60px 40px;
  }

  .why-matters-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .benefits-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .benefit-item {
    padding: 30px;
  }

  .benefit-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .benefit-text p {
    font-size: 1.1rem;
  }

  .benefit-icon {
    font-size: 3rem;
  }
}

/* Small screens (480px and below) */
@media (max-width: 480px) {
  .why-matters-section {
    padding: 30px 15px;
  }

  .why-matters-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .benefits-layout {
    gap: 20px;
  }

  .benefit-item {
    padding: 15px;
  }

  .benefit-text h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .benefit-text p {
    font-size: 0.95rem;
  }

  .benefit-icon {
    font-size: 2rem;
  }
}

/* Services Section */
.services-section {
  padding: 40px 20px;
  background: var(--primary-bg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-section h2 {
  font-family: 'Neon-Heavy', sans-serif;
  font-size: 2rem;
  color: var(--logo-green);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  animation: fadeIn 0.8s ease-out;
}

.services-section .subheadline {
  font-family: 'Neon-Regular', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

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

.service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.service-card-content {
  padding: 20px;
  text-align: left;
}

.service-card-content h3 {
  font-family: 'Neon-Heavy', sans-serif;
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card-content p {
  font-family: 'Neon-Regular', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.95;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  font-family: 'Neon-Regular', sans-serif;
  font-size: 0.95rem;
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.learn-more i {
  font-size: 1rem;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.learn-more:hover {
  color: var(--logo-green);
}

.learn-more:hover i {
  transform: translateX(5px);
}

/* Animation for fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
  .services-section {
    padding: 60px 40px;
  }

  .services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
  }

  .services-section .subheadline {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .service-card-content {
    padding: 30px;
  }

  .service-card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .service-card-content p {
    font-size: 1.1rem;
  }

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

  .learn-more {
    font-size: 1rem;
  }

  .learn-more i {
    font-size: 1.1rem;
  }
}

/* Small screens (480px and below) */
@media (max-width: 480px) {
  .services-section {
    padding: 30px 15px;
  }

  .services-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .services-section .subheadline {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .services-grid {
    gap: 20px;
  }

  .service-card-content {
    padding: 15px;
  }

  .service-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .service-card-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .service-card-image {
    height: 150px;
  }

  .learn-more {
    font-size: 0.9rem;
  }

  .learn-more i {
    font-size: 0.9rem;
  }
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 40px 20px;
  background: linear-gradient(180deg, #2ecc71 0%, #27ae60 100%); /* Fallback colors */
  background: linear-gradient(180deg, var(--primary-green, #2ecc71) 0%, var(--logo-green, #27ae60) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 50vh;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for better text contrast */
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1); /* Fallback glassmorphism */
  background: var(--glass-bg, rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* For Safari compatibility */
  padding: 30px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Fallback shadow */
  box-shadow: var(--shadow-light, 0 4px 15px rgba(0, 0, 0, 0.2));
  text-align: center;
  max-width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.5s ease;
}

.cta-content:hover {
  transform: translateY(-3px);
}

.cta-content h2 {
  font-family: 'Neon-Heavy', sans-serif;
  font-size: 2rem;
  color: #ffffff; /* Fallback for text visibility */
  color: var(--text-light, #ffffff);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Enhance text visibility */
}

.cta-content p {
  font-family: 'Neon-Regular', sans-serif;
  font-size: 1rem;
  color: #f5f5f5; /* Fallback for text visibility */
  color: var(--text-light, #f5f5f5);
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 1; /* Ensure full opacity for readability */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button {
  display: inline-block;
  padding: 12px 25px;
  font-family: 'Neon-Heavy', sans-serif;
  font-size: 1rem;
  color: #2ecc71; /* Fallback for button text */
  color: var(--logo-green, #2ecc71);
  background: #f1c40f; /* Fallback for button background */
  background: var(--accent-yellow, #f1c40f);
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); /* Fallback shadow */
  box-shadow: var(--shadow-light, 0 3px 10px rgba(0, 0, 0, 0.3));
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 3; /* Ensure button is above other elements */
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background: #e1b400; /* Slightly darker yellow fallback */
  background: var(--accent-yellow, #e1b400);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4); /* Fallback hover shadow */
  box-shadow: var(--shadow-hover, 0 5px 15px rgba(0, 0, 0, 0.4));
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.cta-button:hover::before {
  left: 100%;
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
  .cta-section {
    padding: 60px 40px;
    min-height: 60vh;
  }

  .cta-content {
    padding: 50px 30px;
    max-width: 70%;
  }

  .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
  }

  .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }

  .cta-button {
    padding: 15px 35px;
    font-size: 1.1rem;
  }
}

/* Small screens (480px and below) */
@media (max-width: 480px) {
  .cta-section {
    padding: 30px 15px;
    min-height: 40vh;
  }

  .cta-content {
    padding: 20px 10px;
    max-width: 95%;
  }

  .cta-content h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }

  .cta-content p {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}