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

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

  /* Typography */
  --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 4 Styles */
.header-4 {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

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

.header-4 .header-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.header-4 .text-section {
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 30px;
  border: 1px solid rgba(129, 183, 26, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.header-4 .floating-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(129, 183, 26, 0.2);
  animation: float 3s ease-in-out infinite;
}

.header-4 h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.header-4 .highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.header-4 .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--tertiary-color);
  margin-bottom: 40px;
}

.header-4 .trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.header-4 .badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  border: 1px solid rgba(129, 183, 26, 0.2);
  transition: transform 0.3s ease;
}

.header-4 .badge:hover {
  transform: translateY(-5px);
}

.header-4 .badge .icon {
  font-size: 1.5rem;
}

.header-4 .badge .text {
  font-weight: 600;
  color: var(--tertiary-color);
}

.header-4 .image-section {
  position: relative;
}

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

.header-4 .image-overlay {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: var(--primary-gradient);
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

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

.header-4 .image-section:hover .image-overlay {
  opacity: 0.2;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

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

  .header-4 .header-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-4 .trust-badges {
    justify-content: center;
  }
}

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

  .header-4 .text-section {
    padding: 30px;
  }

  .header-4 .trust-badges {
    flex-direction: column;
    align-items: center;
  }

  .header-4 .badge {
    width: 100%;
    justify-content: center;
  }
}

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

  .header-4 .text-section {
    padding: 20px;
  }

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