/* ============================================================
   ENHANCED HOME PAGE PREMIUM STYLING
   ============================================================ */

/* HERO SECTION IMPROVEMENTS */
.hero-split {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.hero-left, .hero-right {
  display: flex;
  align-items: center;
  position: relative;
}

.hero-left {
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafb 100%);
  padding: 60px 40px;
  z-index: 2;
}

.hero-right {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #4ADE80 100%);
  overflow: hidden;
}

.hero-left-inner {
  max-width: 550px;
  position: relative;
  z-index: 3;
}

.hero-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-50);
  border: 1.5px solid var(--primary-200);
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: 25px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-head {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-head-sub {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--primary);
  margin-top: 10px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--dark-2);
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-hero-main,
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border: none;
  cursor: pointer;
}

.btn-hero-main {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 12px 30px rgba(22,163,74,.3);
}

.btn-hero-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(22,163,74,.45);
}

.btn-hero-ghost {
  background: white;
  color: var(--primary);
  border: 2.5px solid var(--primary);
  box-shadow: 0 4px 15px rgba(22,163,74,.15);
}

.btn-hero-ghost:hover {
  background: var(--primary-50);
  color: var(--primary) !important;
  transform: translateY(-4px);
}

.hero-quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.hqs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(22,163,74,.08);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: all 0.3s ease;
}

.hqs-item:hover {
  border-color: rgba(22,163,74,.15);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.hqs-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hqs-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.hqs-label {
  font-size: .75rem;
  color: var(--dark-2);
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-top: 4px;
  font-weight: 600;
}

.service-strip-premium {
  background: #f8fafb;
  margin: -60px 0 60px 0;
  padding: 40px 0;
  position: relative;
  z-index: 5;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -15px 40px rgba(0,0,0,0.06);
}

.service-strip-card {
  background: white !important;
  border: 1px solid rgba(22,163,74,0.12);
  border-radius: 16px;
  padding: 24px 20px !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  height: 100%;
}

.service-strip-card:hover {
  border-color: var(--primary);
  box-shadow: 0 15px 45px rgba(22,163,74,0.18);
  transform: translateY(-8px);
}

.service-strip-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-50), #DCFCE7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-strip-card:hover .service-strip-icon-wrap {
  background: var(--primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.service-strip-card h6 {
  font-weight: 800;
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 5px;
}

.service-strip-card p {
  font-size: .85rem;
  color: var(--gray);
  margin: 0;
  font-weight: 500;
}

/* About Image Fix */
.home-about-section .row {
  display: flex;
  align-items: stretch;
}

.about-premium-media {
  height: 100%;
  min-height: 400px;
}

.about-main-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* STAT SECTION PREMIUM */
.stats-section {
  background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
  padding: 80px 0;
}

.stat-card {
  background: white;
  border-radius: 16px;
  border: 1.5px solid rgba(22,163,74,.08);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  border-color: rgba(22,163,74,.2);
  box-shadow: 0 20px 50px rgba(22,163,74,.1);
  transform: translateY(-10px) scale(1.02);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-50), #f0fdf4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: .85rem;
  color: var(--dark-2);
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 700;
  margin: 0;
}

/* RESPONSIVE IMPROVEMENTS FOR HOME */
@media (max-width: 991px) {
  .hero-split {
    min-height: auto;
  }

  .hero-left {
    padding: 50px 28px;
    min-height: 60vh;
  }

  .hero-right {
    min-height: 50vh;
  }

  .hero-head {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn-hero-main,
  .btn-hero-ghost {
    width: 100%;
    justify-content: center;
  }

  .service-strip-premium {
    margin: -40px 0 40px 0;
    padding: 30px 0;
  }

  .stats-section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .hero-left {
    padding: 40px 16px;
    min-height: 50vh;
  }

  .hero-head {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: .95rem;
    margin-bottom: 20px;
  }

  .hero-quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hqs-item {
    padding: 12px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .hqs-icon {
    margin: 0 auto;
  }

  .hqs-num {
    font-size: 1.1rem;
  }

  .hqs-label {
    font-size: .65rem;
  }

  .service-strip-premium {
    border-radius: 16px 16px 0 0;
  }

  .service-strip-card {
    padding: 15px 10px !important;
  }

  .service-strip-card h6 {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .stat-card {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 1.4rem;
  }
}

@media (max-width: 400px) {
  .hero-quick-stats {
    grid-template-columns: 1fr;
  }
}

/* IMPACT METRICS FIX */
.impact-metric-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.impact-metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.imp-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.imp-num {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

.imp-lbl {
  font-size: 0.8rem;
  color: #64748b;
  margin: 5px 0 0;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .impact-metric-card {
    padding: 15px;
    gap: 10px;
  }
  .imp-num {
    font-size: 1.1rem;
  }
  .imp-lbl {
    font-size: 0.7rem;
  }
}
