/* ==========================================================================
   DEMO 1: TrueHelp Template Style (Based on Figma Theme-1)
   Fonts: Geologica, Manrope
   Palette: Teal Cyan (#01bfbd), Deep Navy (#0f0e38), Warm Amber (#f5a623)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --primary: #01bfbd;
  --primary-dark: #009d9b;
  --secondary: #0f0e38;
  --accent: #f5a623;
  --bg-main: #ffffff;
  --bg-alt: #f4f8fa;
  --text-main: #1f2937;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Geologica', sans-serif;
  color: var(--secondary);
  font-weight: 700;
}

/* Demo Top Switcher Bar */
.demo-switcher-top {
  background: #0f0e38;
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.demo-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.demo-pill {
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  transition: all 0.2s ease;
}

.demo-pill:hover, .demo-pill.active {
  background: #01bfbd;
  color: #0f0e38;
  font-weight: 700;
}

/* Header */
.truehelp-header {
  background: #ffffff;
  border-bottom: 2px solid #e1e9ee;
  position: sticky;
  top: 41px;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1240px;
  margin: 0 auto;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-wrap img {
  height: 48px;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f0e38;
  line-height: 1.1;
  margin: 0;
}

.brand-sub {
  font-size: 0.72rem;
  color: #01bfbd;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.truehelp-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-item {
  color: #0f0e38;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 6px 4px;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-item:hover {
  color: #01bfbd;
}

.btn-teal {
  background: #01bfbd;
  color: #0f0e38;
  padding: 9px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-teal:hover {
  background: #009d9b;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: #0f0e38;
  border: 2px solid #0f0e38;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-outline-navy:hover {
  background: #0f0e38;
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero Slider */
.hero-slider-wrap {
  position: relative;
  height: 580px;
  background: #0f0e38;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 14, 56, 0.92) 0%, rgba(15, 14, 56, 0.75) 60%, rgba(15, 14, 56, 0.4) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 680px;
  padding: 0 40px;
}

.badge-tag {
  background: rgba(1, 191, 189, 0.2);
  color: #01bfbd;
  border: 1px solid #01bfbd;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-slide-content h1 {
  font-size: 3rem;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 16px 0;
}

.hero-slide-content p {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 24px;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  right: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.slider-btn:hover {
  background: #01bfbd;
  color: #0f0e38;
}

.slider-dots {
  position: absolute;
  bottom: 36px;
  left: 40px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.slider-dot.active {
  background: #01bfbd;
  width: 28px;
  border-radius: 10px;
}

/* Floating Feature Boxes overlapping hero */
.floating-boxes-row {
  max-width: 1200px;
  margin: -60px auto 40px auto;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 20px;
}

.feature-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 15px 35px rgba(15, 14, 56, 0.1);
  border-top: 4px solid #01bfbd;
  transition: transform 0.25s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  border-top-color: #f5a623;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(1, 191, 189, 0.12);
  color: #01bfbd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-box h3 {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
}

.feature-box p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Common Section */
.sec-wrap {
  padding: 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.sec-title-wrap {
  text-align: center;
  margin-bottom: 46px;
}

.sec-title-wrap h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.sec-title-wrap p {
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .mobile-toggle {
    display: block;
  }
  .truehelp-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-bottom: 3px solid #01bfbd;
    align-items: stretch;
    box-sizing: border-box;
  }
  .truehelp-nav.active {
    display: flex;
  }
  .floating-boxes-row {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .hero-slide-content h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 720px) {
  .impact-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 420px) {
  .impact-stats-grid {
    grid-template-columns: 1fr !important;
  }

  .impact-stats-grid h3 {
    overflow-wrap: anywhere;
  }
}
