/* ============================================
   ExamConnect — Hero Section v2 (Light & Clean)
   Brand: #327b74 Teal | #0F4C81 Navy | #F59E0B Amber
   Backend-untouched, design-only enhancement
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

.ec-hero-v2 {
  background: linear-gradient(135deg, #f0faf9 0%, #e1f5ee 100%);
  padding: 50px 0 40px;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.ec-hero-v2::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: rgba(50, 123, 116, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.ec-hero-v2::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.ec-hero-v2 .container {
  position: relative;
  z-index: 1;
}

/* === LEFT SIDE === */
.ec-hero-v2-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #b2dbd8;
  color: #0F6E56;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 8px rgba(50, 123, 116, 0.08);
}

.ec-hero-v2-tag i {
  color: #F59E0B;
  font-size: 13px;
}

.ec-hero-v2 .slide_heade {
  font-family: 'Poppins', sans-serif !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  color: #0F4C81 !important;
  line-height: 1.2 !important;
  margin: 0 0 14px !important;
}

.ec-hero-v2 .slide_heade .ec-highlight {
  color: #327b74;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.ec-hero-v2 .slide_heade .ec-highlight::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 10px;
  background: rgba(245, 158, 11, 0.35);
  z-index: -1;
}

.ec-hero-v2 .slide_desc {
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 0 22px !important;
  max-width: 520px;
}

.ec-hero-v2 .slide_btn {
  margin-top: 0;
}

.ec-hero-v2 .slide_btn .btn-primary,
.ec-hero-v2 .slide_btn a.btn {
  background: #327b74 !important;
  color: #fff !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border: none !important;
  font-family: 'Poppins', sans-serif !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(50, 123, 116, 0.28);
  transition: all 0.2s ease;
  margin-top: 0 !important;
}

.ec-hero-v2 .slide_btn .btn-primary:hover,
.ec-hero-v2 .slide_btn a.btn:hover {
  background: #245c57 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(50, 123, 116, 0.35);
}

.ec-hero-v2 .slide_btn .btn-primary::after,
.ec-hero-v2 .slide_btn a.btn::after {
  content: '→';
  margin-left: 4px;
  font-weight: 600;
}

/* === RIGHT SIDE (Slider) === */
.ec-hero-v2 .owl-carousel#home-slider {
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(15, 76, 129, 0.12);
}

.ec-hero-v2 .owl-carousel#home-slider .item img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
}

/* Owl Carousel Dots — better style */
.ec-hero-v2 .owl-carousel#home-slider .owl-dots {
  margin-top: 14px !important;
  text-align: center;
}

.ec-hero-v2 .owl-carousel#home-slider .owl-dots .owl-dot span {
  width: 10px !important;
  height: 10px !important;
  background: #cbd5e1 !important;
  border-radius: 50% !important;
  margin: 0 4px !important;
  transition: all 0.3s ease;
}

.ec-hero-v2 .owl-carousel#home-slider .owl-dots .owl-dot.active span {
  background: #327b74 !important;
  width: 28px !important;
  border-radius: 14px !important;
}

/* Owl Nav arrows */
.ec-hero-v2 .owl-carousel#home-slider .owl-nav button {
  width: 38px !important;
  height: 38px !important;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 50% !important;
  color: #0F4C81 !important;
  font-size: 16px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.ec-hero-v2 .owl-carousel#home-slider .owl-nav button:hover {
  background: #327b74 !important;
  color: #fff !important;
  border-color: #327b74 !important;
}

/* ============================================
   STATS Section (bottom of hero)
   ============================================ */
.ec-stats-v2 {
  background: #fff;
  padding: 30px 0;
  margin-top: -1px;
  position: relative;
  z-index: 2;
  display: none;
}

.ec-stats-v2 .stats {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 16px;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-around !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin: 0 !important;
  width: 100%;
}

.ec-stats-v2 .stat-box {
  text-align: center;
  padding: 12px 18px;
  border-right: 1px solid #f1f5f9;
  flex: 1;
  min-width: 200px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

.ec-stats-v2 .stat-box:last-child {
  border-right: none;
}

.ec-stats-v2 .count-number {
  font-family: 'Poppins', sans-serif !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  margin: 0 0 6px !important;
  background: linear-gradient(135deg, #327b74 0%, #0F4C81 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.ec-stats-v2 .count-number-desc {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  color: #475569 !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.4;
}

.ec-stats-v2 .count-number-desc strong,
.ec-stats-v2 .count-number-desc b {
  color: #0F4C81;
  font-weight: 700;
  display: block;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .ec-hero-v2 {
    padding: 30px 0 24px;
  }
  
  .ec-hero-v2 .slide_heade {
    font-size: 28px !important;
  }
  
  .ec-hero-v2 .slide_desc {
    font-size: 14px !important;
  }
  
  .ec-stats-v2 .stat-box {
    min-width: 150px;
    padding: 10px 12px;
  }
  
  .ec-stats-v2 .count-number {
    font-size: 28px !important;
  }
}

@media (max-width: 767px) {
  .ec-hero-v2 {
    padding: 24px 0 20px;
    text-align: center;
  }
  
  .ec-hero-v2 .slide_heade {
    font-size: 24px !important;
    text-align: center;
  }
  
  .ec-hero-v2 .slide_desc {
    font-size: 13px !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .ec-hero-v2-tag {
    margin-bottom: 12px;
  }
  
  .ec-hero-v2 .slide_btn {
    text-align: center;
  }
  
  .ec-stats-v2 {
    padding: 20px 0;
  }
  
  .ec-stats-v2 .stats {
    padding: 16px 8px;
    flex-direction: column;
    gap: 14px;
  }
  
  .ec-stats-v2 .stat-box {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 0;
    min-width: 100%;
  }
  
  .ec-stats-v2 .stat-box:last-child {
    border-bottom: none;
  }
  
  .ec-stats-v2 .count-number {
    font-size: 30px !important;
  }
}