/* ==========================================================================
   GLOBAL & MOBILE-FIRST STYLES
   ========================================================================== */

.ch-section {
  background-color: #031E3E; 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
/*   padding: 60px;  */
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow: hidden;
  display: flex;
}

.ch-container {
  max-width: 1560px; 
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* --- Typography --- */
/* .ch-content {
  max-width: 800px; 
} */

.ch-pre-heading {
  color: #F70C7D;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.ch-pre-heading::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: #F70C7D;
  margin-right: 12px;
}

.ch-heading {
  color: white;
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  word-wrap: break-word;
  margin: 0 0 24px 0;
}

.ch-highlight {
  color: #01AEFA;
  display: inline; 
}

.ch-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75; 
  word-wrap: break-word;
  margin-bottom: 40px;
}

/* --- Buttons (Mobile/Tablet: Stacked & Stretched) --- */
.ch-cta-group {
  display: flex;
  flex-direction: column; 
  width: 100%;
  gap: 16px;
}

.ch-btn {
  width: 100%; 
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  padding: 0 30px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  word-wrap: break-word;
  box-sizing: border-box;
}

/* Hover states */
.ch-btn-primary { background: #F70C7D; color: white; }
.ch-btn-primary:hover { 
  background: #d6096a; 
  color: white !important; 
}

.ch-btn-secondary { background: transparent; color: white; border: 2px solid white; }
.ch-btn-secondary:hover {   
  background: rgba(255, 255, 255, 0.1);
  color: white !important; 
}


/* --- Base Visuals & Cards --- */
.ch-visuals {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.ch-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.ch-hero-img {
  width: 100%;
  max-width: 600px; 
  height: auto;
  object-fit: contain;
÷  display: block;
}

.ch-stat-card {
  background: white;
  border-radius: 8px;
  padding: 16px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
  box-sizing: border-box;
}

.ch-stat-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ch-stat-num { color: #031E3E; font-size: 32px; font-weight: 800; line-height: 1.2; }
.ch-stat-label { color: #F70C7D; font-size: 13px; font-weight: 700; }
.ch-stat-sub { color: rgba(21, 21, 21, 0.85); font-size: 12px; font-weight: 400; margin: 0; }

/* ==========================================================================
   MOBILE & TABLET STAT CARD LAYOUT (< 1024px)
   ========================================================================== */
@media (max-width: 1023px) {
  .ch-section{
    padding: 24px; 
  }
  .ch-visuals {
    display: none; 
  }
  
  .ch-stats-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column; /* Stacked up until desktop */
    align-items: stretch;
    gap: 12px;
    z-index: 10;
  }

  .ch-stat-card {
    position: static;
    width: 100%; 
    white-space: normal; 
  }
}

/* ==========================================================================
   DESKTOP EXCLUSIVE LAYOUT (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .ch-cta-group {
    flex-direction: row;
    width: auto;
  }
  
  .ch-btn {
    width: auto; 
  }

  .ch-container {
    grid-template-columns: 1fr 1fr; 
    gap: 140px; 
    align-items: stretch; 
    padding-inline: 90px; 
    min-height: 70vh; 
  }
  
  .ch-content {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding-bottom: 60px; 
    padding-top: 40px; 
    align-items: start;
  }
  
/*   .ch-visuals {
    align-self: flex-end; 
  } */

  /* ---> REDUCED FROM 600px TO 520px <--- */
  .ch-hero-img {
    max-width: 520px !important; 
  }

  .ch-stats-container {
    display: contents; 
  }

  .ch-stat-card {
    position: absolute;
    width: auto; 
    white-space: nowrap; 
  }

  /* DESKTOP COORDINATES */
  .ch-card-1 { top: 30%; left: 5%; } 
  .ch-card-2 { bottom: 40%; right: 0%; } 
  .ch-card-3 { bottom: 20%; left: 5%; }
}