/* ====================================
   Root Variables and Base Styles
   ==================================== */
/* Root Variables */
:root {
  --primary-color: #81b71a;
  --secondary-color: #4ebbf7;
  --tertiary-color: #6d6d6d;
  --text-color: #000000;
  --background-light: #ffffff;

  --primary-gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );

  --heading-font: Helvetica, Arial, sans-serif;
  --body-font: Arial, sans-serif;
}

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

body {
  font-family: var(--body-font);
  line-height: 1.8;
  background: #fafafa;
  color: var(--text-color);
}

.container {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  overflow: hidden;
}

/* Header 2 Styles */
.header-2 {
  padding: 120px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Background Effect */
.header-2::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(129, 183, 26, 0.1),
    transparent 60%
  );
  pointer-events: none;
}

.header-2 .hero-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-2 h1 {
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
}

.header-2 h1 em {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  color: transparent;
  font-style: normal;
  position: relative;
  display: inline-block;
}

.header-2 h1 em::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
  transform: scaleX(0.8);
  transition: transform 0.3s ease;
}

.header-2 h1 em:hover::after {
  transform: scaleX(1);
}

.header-2 .hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  opacity: 0.8;
  margin-bottom: 60px;
  font-weight: 500;
}

.header-2 .hero-image {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
  padding: 20px;
}

.header-2 .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.header-2 .hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--primary-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.header-2 .hero-image:hover img {
  transform: translateY(-10px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .header-2 .hero-content {
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .header-2 {
    padding: 80px 0;
  }

  .header-2 h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
}

@media (max-width: 768px) {
  .header-2 {
    padding: 60px 0;
  }

  .header-2 .hero-content {
    padding: 0 20px;
  }

  .header-2 .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }

  .header-2 .hero-image {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .header-2 {
    padding: 40px 0;
  }

  .header-2 h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .header-2 .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}

/* Additional Accessibility Improvements */
* {
  letter-spacing: 0.5px;
}

/* Increase contrast for better readability */
.header-1 .subtitle,
.header-2 .hero-subtitle,
.header-4 .feature-text {
  color: var(--tertiary-color);
}

/* Increase touch targets for interactive elements */
.tag,
.cta-button,
.feature-item,
.benefit-tags li {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Update container styles */
.container {
  width: 100%;
}

/* Update the template titles to be centered and have padding */
.container > h1 {
  text-align: center;
  padding: 40px 0;
  margin: 0;
  background: white;
  color: var(--tertiary-color);
}
