/* ============================================
   HERO SECTION (Standard 47vh Height Alignment)
   ============================================ */
.hero-section {
  position: relative;
  min-height: 47vh; 
  padding: 40px 0 20px 0; /* Vertical breathing space */
  display: flex;
  align-items: center; /* Tenders page ki tarah vertical alignment */
  background: url('../../../assets/images/1.png') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(47, 125, 50, 0.2);
  backdrop-filter: blur(12px);
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(47, 125, 50, 0.3);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-badge i {
  color: #66bb6a;
  font-size: 1rem;
}

/* Hero Title */
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.75rem;
}

.hero-title .highlight {
  position: relative;
  color: #66bb6a;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #66bb6a, #f9a825);
  border-radius: 2px;
}

/* Hero Description */
.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Hero Floating Shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: #66bb6a;
  top: -100px;
  right: -100px;
  animation: floatShape 25s ease-in-out infinite;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: #f9a825;
  bottom: -50px;
  left: -50px;
  animation: floatShape 20s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: #43a047;
  top: 50%;
  right: 20%;
  animation: floatShape 18s ease-in-out infinite 2s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(30px, -40px) scale(1.1) rotate(90deg); }
  50% { transform: translate(-20px, 20px) scale(0.9) rotate(180deg); }
  75% { transform: translate(40px, 30px) scale(1.05) rotate(270deg); }
}

/* ============================================
   RESPONSIVE GLASSMORPHISM HERO STATS
   ============================================ */
.hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  width: 100%;
  margin-top: 1rem;
}

.hero-stat-col {
  flex: 1 1 100%;
  min-width: 0;
}

.hero-stat-col-lg {
  flex: 1 1 100%;
}

/* Mobile Devices (< 576px) */
@media (max-width: 575.98px) {
  .hero-stats-row {
    gap: 10px;
  }

  .stat-card-combined {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
  }

  .stat-card-inner {
    width: 100%;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }
}

/* Tablets (576px to 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-stat-col {
    flex: 1 1 calc(50% - 12px);
  }

  .hero-stat-col-lg {
    flex: 1 1 100%;
  }
}

/* Laptops & Desktop (>= 992px) */
@media (min-width: 992px) {
  .hero-stats-row {
    flex-wrap: nowrap;
  }

  .hero-stat-col {
    flex: 1 1 0%;
  }

  .hero-stat-col-lg {
    flex: 2.2 1 0%;
  }
}

/* Card Styling */
.stat-card, 
.stat-card-combined {
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  width: 100%;
}

.stat-card:hover, 
.stat-card-combined:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-card-combined {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
}

.stat-card-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* Text Formatting */
.stat-info {
  min-width: 0;
  flex: 1;
}

.stat-info h3 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-info p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
}

/* Stat Icons */
.stat-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.stat-icon.blue {
  background: rgba(33, 150, 243, 0.25);
  color: #64b5f6;
  border: 1px solid rgba(100, 181, 246, 0.4);
}

.stat-icon.orange {
  background: rgba(255, 152, 0, 0.25);
  color: #ffb74d;
  border: 1px solid rgba(255, 183, 77, 0.4);
}

.stat-icon.green {
  background: rgba(76, 175, 80, 0.25);
  color: #81c784;
  border: 1px solid rgba(129, 199, 132, 0.4);
}