/* ====================================
   Root Variables and Base Styles
   ==================================== */
/* Root Variables */
:root {
  --primary-color: #81b71a;
  --secondary-color: #4ebbf7;
  --tertiary-color: #6d6d6d;
  --body-font: Arial, sans-serif;
  --title-font: Helvetica, Arial, sans-serif;
}

/* Base Typography */
body {
  font-family: var(--body-font);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font);
}

p,
span,
a,
li,
button {
  font-family: var(--body-font);
}

/* ====================================
     Common Components
     ==================================== */
.highlight {
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.3;
}

.feature-item {
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.tag {
  transition: background-color 0.2s ease;
}

.tag:hover {
  background-color: var(--secondary-color);
}

.cta-button {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
/* Header Template 4: Clean Modern Design */
.header-4 {
  width: 100%;
  background: var(--primary-color);
  padding: 140px 0;
  color: white;
}

.header-4 .header-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 100px;
  align-items: center;
}

.header-4 .text-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.header-4 h1 {
  font-size: 64px;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.5px;
}

.header-4 .highlight {
  color: var(--secondary-color);
  border-bottom: 4px solid var(--secondary-color);
  padding-bottom: 4px;
}

.header-4 .subtitle {
  font-size: 28px;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 540px;
}

.header-4 .image-section {
  position: relative;
  max-width: 700px;
}

.header-4 .image-section img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

/* Update media queries for Header 4 */
@media (max-width: 968px) {
  .header-4 .header-content {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 60px;
  }

  .header-4 .image-section {
    order: -1;
  }
}

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

  .header-4 h1 {
    font-size: 42px;
  }

  .header-4 .subtitle {
    font-size: 22px;
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .header-4 .header-content {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .header-4 h1 {
    font-size: 42px;
  }

  .header-4 .feature-text {
    font-size: 20px;
  }

  .header-4 {
    padding: 60px 20px;
  }
}

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

/* Increase contrast for better readability */

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