/* ==========================================================================
   EDUCARE ACADEMY - STATS & PROOF METRIC STYLES (stats.css)
   Neat Stats Bar, Trust Strip, Why Choose Us Metric Cards & Glassmorphism Depth
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NEAT & CLEAN STATS BAR (4 METRIC BOXES BELOW HERO)
   -------------------------------------------------------------------------- */
.neat-stats-section {
  background-color: #FFFFFF !important;
  padding: 2.5rem 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
  z-index: 5;
}

.neat-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.neat-stat-item {
  position: relative;
  padding: 1.85rem 2.25rem;
  border-right: 1px solid #E2E8F0;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), background-color 300ms ease;
  border-radius: var(--radius-sm);
  cursor: default;
  background: #FFFFFF;
  box-shadow: none !important;
}

.neat-stat-item:last-child {
  border-right: none;
}

.neat-stat-item:hover {
  transform: translateY(-4px);
  background-color: #F8FAFC;
}

.neat-stat-icon {
  font-size: 2.25rem;
  color: var(--color-primary) !important;
  margin-bottom: 1.25rem;
  display: inline-block;
  transition: transform 300ms ease, color 300ms ease;
}

.neat-stat-item:hover .neat-stat-icon {
  transform: scale(1.12);
  color: var(--color-primary-accent) !important;
}

.neat-stat-number {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.neat-stat-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #64748B;
  font-weight: 500;
}

@media (max-width: 992px) {
  .neat-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .neat-stat-item {
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
    padding: 1.5rem;
  }
  .neat-stat-item:nth-child(3),
  .neat-stat-item:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .neat-stats-section {
    padding: 1.75rem 0;
  }
  .neat-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .neat-stat-item {
    border: 1px solid #F1F5F9;
    border-radius: 14px;
    padding: 1.25rem 0.85rem;
    text-align: center;
    background: #F8FAFC;
    border-bottom: 1px solid #F1F5F9;
  }
  .neat-stat-item:nth-child(3),
  .neat-stat-item:nth-child(4) {
    border-bottom: 1px solid #F1F5F9;
  }
  .neat-stat-icon {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }
  .neat-stat-number {
    font-size: 2rem;
    margin-bottom: 0.2rem;
  }
  .neat-stat-label {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}

/* --------------------------------------------------------------------------
   2. WHY CHOOSE US SECTION STYLING (PERFECT EVEN ALIGNMENT & RESPONSIVE)
   -------------------------------------------------------------------------- */
#why-educare {
  background-color: #FFFFFF !important;
  padding: 5.5rem 0;
  position: relative;
  z-index: 5;
}

.why-top-hero-row {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 48px;
  align-items: center;
  margin-bottom: 52px;
}

/* Eyebrow Pill Badge */
.why-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.35rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  color: #001B4B;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  width: fit-content;
  max-width: fit-content;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(0, 27, 75, 0.04);
  cursor: default;
  user-select: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease;
}

.why-pill-badge i {
  color: #EA580C;
  font-size: 1.15rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.why-pill-badge:hover {
  transform: translateY(-2.5px);
  border-color: #EA580C;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.16);
  background: #FFFFFF;
}

.why-pill-badge:hover i {
  transform: scale(1.2) rotate(-8deg);
  color: #C2410C;
}

/* Main Headline */
.why-main-headline {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: #06275F;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.why-main-headline .highlight-italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
}

.why-orange-accent-dash {
  width: 44px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 22px;
}

.why-main-subtext {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
  max-width: 460px;
}

/* Right Photo Column */
.why-photo-container {
  position: relative;
  width: 100%;
}

.why-accent-triangle {
  position: absolute;
  top: -20px;
  left: -8px;
  width: 85px;
  height: 85px;
  z-index: 3;
  pointer-events: none;
}

.why-accent-triangle svg,
.why-accent-triangle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.why-left-dots {
  position: absolute;
  top: 15%;
  left: -22px;
  width: 50px;
  height: 150px;
  background-image: radial-gradient(#CBD5E1 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.why-photo-frame {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(6, 39, 95, 0.08);
  background: #06275F;
}

.why-classroom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 20%;
  display: block;
}

.why-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: -14px;
  background: #0A2558;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(6, 39, 95, 0.4);
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-badge-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-badge-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.why-badge-content {
  display: flex;
  flex-direction: column;
}

.why-badge-tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: #94A3B8;
  line-height: 1.2;
}

.why-badge-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-top: 2px;
}

.why-badge-line {
  width: 28px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-top: 4px;
}

.why-photo-navy-corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 75px;
  height: 60px;
  background: #06275F;
  border-radius: 40px 0 0 0;
  z-index: 2;
  pointer-events: none;
}

/* 4 Stat Cards Grid (Identical heights, equal padding, robust flexbox child layout) */
.why-proof-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 0;
  align-items: stretch;
}

.why-proof-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 32px 22px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(6, 39, 95, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  min-height: 310px;
}

.why-proof-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(6, 39, 95, 0.08);
  border-color: #CBD5E1;
}

.why-card-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.why-proof-card:hover .why-card-icon-circle {
  transform: scale(1.08);
}

.card-orange .why-card-icon-circle {
  background: #FFF2E8;
  border: 2px solid #FFDDC8;
}

.card-navy .why-card-icon-circle {
  background: #EEF4FC;
  border: 2px solid #D6E4FA;
}

.why-card-metric {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.why-card-metric.text-orange {
  color: var(--color-primary);
}

.why-card-metric.text-navy {
  color: #06275F;
}

.why-card-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #06275F;
  line-height: 1.35;
  margin-bottom: 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card-description {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.why-card-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 24px;
  opacity: 0.7;
  pointer-events: none;
}

.dots-orange {
  background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 6px 6px;
}

.dots-navy {
  background-image: radial-gradient(#06275F 1.5px, transparent 1.5px);
  background-size: 6px 6px;
}

/* Bottom Trust Footer Banner */
.why-trust-footer-banner {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 22px 34px;
  margin-top: 20px;
  box-shadow: 0 4px 24px rgba(6, 39, 95, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.why-trust-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.why-trust-shield-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #EEF4FC;
  border: 1.5px solid #D6E4FA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #06275F;
  font-size: 22px;
}

.why-trust-text {
  display: flex;
  flex-direction: column;
}

.why-trust-headline {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #06275F;
  margin: 0 0 4px;
  line-height: 1.3;
}

.why-trust-subtext {
  font-family: var(--font-body);
  font-size: 14px;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

.why-trust-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.why-trust-quote {
  display: flex;
  flex-direction: column;
  text-align: right;
  justify-content: center;
}

.quote-navy {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
  font-size: 21px;
  color: #06275F;
  line-height: 1.25;
}

.quote-orange {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
  font-size: 21px;
  color: var(--color-primary);
  line-height: 1.25;
}

.why-trust-divider {
  width: 1.5px;
  height: 52px;
  background: #CBD5E1;
  margin: 0 24px;
}

.why-trust-gradcap {
  width: 105px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gradcap-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(6, 39, 95, 0.1));
}


/* Intermediate tablet breakpoint to prevent copy and badge overlap */
@media (max-width: 1080px) {
  .why-top-hero-row {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
  }
  .why-photo-container {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Why Choose Us Responsive Media Queries */
@media (max-width: 991px) {
  .why-top-hero-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }
  .why-proof-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .why-trust-footer-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 24px 20px;
  }
  .why-trust-left {
    flex-direction: column;
    text-align: center;
  }
  .why-trust-right {
    flex-direction: column;
    gap: 12px;
  }
  .why-trust-quote {
    text-align: center;
  }
  .why-trust-divider {
    display: none;
  }
  .why-badge-overlay {
    left: 12px;
    bottom: 12px;
  }
}

@media (max-width: 576px) {
  .why-proof-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .why-photo-frame {
    height: 280px;
  }
  .why-main-headline {
    font-size: 32px;
    line-height: 1.25;
  }
}


/* ============================================================================
   ABOUT PAGE STATS STRIP & STAT CARDS
   ============================================================================ */
.stats-strip {
  background-color: #001B4B !important;
  padding: 3rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-card {
  padding: 1rem;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: #EA580C;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.counter-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
