/* ==========================================================================
   ICH APPS FOUNDATION – BILINGUAL STARTUP & SOCIAL IMPACT ECOSYSTEM STYLES
   Brand Palette (Strict Compliance):
   - Deep Navy Blue: #12345A
   - Teal Green:     #159B85
   - Royal Purple:   #5B2C83 (from ICH Apps logo hand/banner)
   - Vibrant Orange: #F5A623
   - Social Green:   #1E9E5A
   - Clean White:    #FFFFFF
   - Soft Surface:   #F8FAFC
   ========================================================================== */

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

:root {
  --ich-purple: #5B2C83;
  --ich-purple-light: #F3ECF9;
  --ich-green-social: #1E9E5A;
  --ich-green-light: #E8F8EF;
}

/* Telugu Typography Optimization (Zero Clipping) */
html[lang="te"] body.ich-redesign-body,
body.ich-lang-te {
  font-family: 'Noto Sans Telugu', 'Inter', sans-serif !important;
  line-height: 1.78 !important;
}

html[lang="te"] body.ich-redesign-body h1,
html[lang="te"] body.ich-redesign-body h2,
html[lang="te"] body.ich-redesign-body h3,
html[lang="te"] body.ich-redesign-body h4,
html[lang="te"] body.ich-redesign-body h5,
html[lang="te"] body.ich-redesign-body h6,
body.ich-lang-te h1,
body.ich-lang-te h2,
body.ich-lang-te h3,
body.ich-lang-te h4 {
  font-family: 'Noto Sans Telugu', 'Plus Jakarta Sans', sans-serif !important;
  line-height: 1.48 !important;
  letter-spacing: 0 !important;
}

/* ==========================================================================
   1. COMPACT SINGLE-LINE HEADER OPTIMIZATION
   ========================================================================== */
.ich-topbar {
  padding: 6px 0 !important;
  font-size: 12px !important;
}

.ich-navbar-wrap {
  padding: 4px 0 !important;
  background: #ffffff;
  border-bottom: 1px solid var(--ich-border);
}

.ich-navbar-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  min-height: 56px !important;
}

.ich-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  margin: 0 6px 0 0 !important;
  padding: 2px 0 !important;
  max-width: 200px !important;
  min-width: 150px !important;
  position: relative !important;
  z-index: 100 !important;
  background: #ffffff !important;
  text-decoration: none !important;
}

.ich-brand-logo img {
  max-height: 50px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
  display: block;
}

@media (min-width: 992px) {
  #menuzord-right {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    min-width: 0 !important;
    margin: 0 4px !important;
    position: relative !important;
    z-index: 20 !important;
  }

  .menuzord-menu#ichMainNavMenu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .menuzord-menu#ichMainNavMenu > li > a {
    padding: 8px 5px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--ich-navy) !important;
    white-space: nowrap !important;
    border-radius: 6px;
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
  }

  .menuzord-menu#ichMainNavMenu > li > a:hover,
  .menuzord-menu#ichMainNavMenu > li.active > a {
    color: var(--ich-teal) !important;
    background: var(--ich-teal-light) !important;
  }
}

/* Multilingual Telugu & Hindi Tight Fit Rules to Prevent Menu Collisions */
body.ich-lang-te,
body.ich-lang-hi {
  .ich-brand-logo {
    max-width: 155px !important;
    min-width: 135px !important;
    margin-right: 4px !important;
  }
  .ich-brand-logo img {
    max-height: 42px !important;
  }
  .menuzord-menu#ichMainNavMenu > li > a {
    font-size: 11.5px !important;
    padding: 8px 3.5px !important;
    letter-spacing: -0.015em !important;
    line-height: 1.25 !important;
  }
  .menuzord-menu#ichMainNavMenu li .indicator {
    font-size: 9px !important;
    margin-left: 2px !important;
  }
  .ich-header-actions {
    gap: 4px !important;
  }
  .ich-lang-switcher {
    padding: 1.5px !important;
    gap: 1px !important;
  }
  .ich-lang-btn {
    padding: 2px 4px !important;
    font-size: 10px !important;
  }
  .ich-btn-enquire-nav {
    padding: 5px 8px !important;
    font-size: 11px !important;
  }
  .ich-btn-donate-nav {
    padding: 5px 10px !important;
    font-size: 11.5px !important;
  }
  .ich-btn-login {
    padding: 5px 8px !important;
    font-size: 11px !important;
  }
}

/* Module Bar (Ribbon) - Strictly Single Line */
.ich-module-bar {
  background: var(--ich-navy, #12345A) !important;
  padding: 6px 0 !important;
  border-bottom: 2px solid var(--ich-cyan, #00A8E8) !important;
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}
.ich-module-bar::-webkit-scrollbar {
  display: none !important;
}
.ich-module-bar .container,
.ich-module-bar .container-fluid,
.ich-module-bar .ich-module-container {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  white-space: nowrap !important;
  width: 100% !important;
  max-width: 1440px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
.ich-module-bar .container::-webkit-scrollbar,
.ich-module-bar .container-fluid::-webkit-scrollbar,
.ich-module-bar .ich-module-container::-webkit-scrollbar {
  display: none !important;
}
.ich-module-bar .ich-mb-label {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-right: 4px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}
.ich-module-bar a {
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}
.ich-module-bar a:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}
.ich-module-bar a.active {
  background: var(--ich-orange, #F58220) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(245, 130, 32, 0.35) !important;
}

.ich-header-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

/* Bilingual Language Switcher (EN | Telugu | Hindi) */
.ich-lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  padding: 2px;
  flex-shrink: 0;
}

.ich-lang-btn {
  border: none;
  background: transparent;
  color: var(--ich-navy);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
  white-space: nowrap;
}

.ich-lang-btn.active {
  background: var(--ich-navy);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(18, 52, 90, 0.2);
}

.ich-lang-btn:hover:not(.active) {
  background: rgba(21, 155, 133, 0.12);
  color: var(--ich-teal);
}

.ich-btn-login,
.ich-btn-donate-nav,
.ich-btn-enquire-nav {
  white-space: nowrap !important;
  padding: 7px 11px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.ich-btn-enquire-nav {
  background: var(--ich-teal);
  color: #fff !important;
  border: 1px solid var(--ich-teal);
}

.ich-btn-enquire-nav:hover {
  background: var(--ich-navy);
  border-color: var(--ich-navy);
  color: #fff !important;
}

/* ==========================================================================
   2. HERO SLIDER / BANNER OPTIMIZATION (40% HEIGHT REDUCTION)
   ========================================================================== */
.ich-hero {
  padding: 36px 0 42px !important;
  min-height: 410px !important;
  position: relative;
  overflow: hidden;
}

.ich-hero-title {
  font-size: 32px !important;
  line-height: 1.22 !important;
  margin-bottom: 12px !important;
}

.ich-hero-subtitle-te {
  font-family: 'Noto Sans Telugu', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  color: #FFE082;
  margin-bottom: 12px;
  line-height: 1.5;
}

.ich-hero-desc {
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  margin-bottom: 18px !important;
  max-width: 650px;
}

.ich-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px !important;
  margin-bottom: 20px !important;
}

.ich-hero-btns .ich-btn {
  padding: 10px 16px !important;
  font-size: 13px !important;
}

.ich-hero-img-main img {
  height: 215px !important;
  object-fit: cover;
}

.ich-hero-img-sub img {
  height: 102px !important;
  object-fit: cover;
}

.ich-hero-trust {
  padding-top: 14px !important;
  gap: 22px !important;
}

.ich-hero-stat-num {
  font-size: 20px !important;
}

/* ==========================================================================
   3. TWO MAJOR DIVISIONS RIBBON & CARDS
   ========================================================================== */
.ich-division-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--ich-border);
  box-shadow: var(--ich-shadow-md);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: var(--ich-transition);
}

.ich-division-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ich-shadow-lg);
}

.ich-division-card.div-business {
  border-top: 5px solid var(--ich-navy);
}

.ich-division-card.div-social {
  border-top: 5px solid var(--ich-teal);
}

.ich-division-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ==========================================================================
   4. PART 3: WHO WE SUPPORT (12 INTERACTIVE CARDS)
   ========================================================================== */
.ich-scroll-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 16px !important;
  padding: 8px 4px 18px 4px !important;
  scrollbar-width: thin;
  width: 100%;
}
.ich-scroll-track::-webkit-scrollbar {
  height: 6px;
}
.ich-scroll-track::-webkit-scrollbar-thumb {
  background: #00A8E8;
  border-radius: 4px;
}
.ich-scroll-track.is-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 18px !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  flex-wrap: wrap !important;
}
.ich-scroll-track.is-grid .ich-track-item {
  flex: 1 1 auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  scroll-snap-align: none !important;
}
.ich-scroll-track .ich-track-item {
  flex: 0 0 300px !important;
  max-width: 300px !important;
  min-width: 300px !important;
  scroll-snap-align: start !important;
  display: flex;
}
@media (max-width: 767px) {
  .ich-scroll-track .ich-track-item {
    flex: 0 0 270px !important;
    max-width: 270px !important;
    min-width: 270px !important;
  }
}

.ich-support-stage-card {
  background: #ffffff;
  border: 1px solid var(--ich-border);
  border-radius: 16px;
  padding: 22px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--ich-transition);
  position: relative;
}

.ich-support-stage-card:hover {
  border-color: var(--ich-teal);
  box-shadow: var(--ich-shadow-md);
  transform: translateY(-4px);
}

.ich-support-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 22px;
  font-weight: 800;
  color: rgba(18, 52, 90, 0.12);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.ich-support-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ich-teal-light);
  color: var(--ich-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

/* ==========================================================================
   5. PART 4: 10-STAGE STARTUP JOURNEY TIMELINE
   ========================================================================== */
.ich-journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.ich-stage-card {
  background: #ffffff;
  border: 1px solid var(--ich-border);
  border-radius: 16px;
  padding: 22px;
  position: relative;
  transition: var(--ich-transition);
  border-left: 4px solid var(--ich-navy);
}

.ich-stage-card:nth-child(even) {
  border-left-color: var(--ich-teal);
}

.ich-stage-card:hover {
  box-shadow: var(--ich-shadow-md);
  transform: translateY(-3px);
}

.ich-stage-pill {
  display: inline-block;
  background: var(--ich-navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.ich-stage-card:nth-child(even) .ich-stage-pill {
  background: var(--ich-teal);
}

.ich-stage-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.ich-stage-list li {
  font-size: 13.5px;
  color: var(--ich-text);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ich-stage-list li i {
  color: var(--ich-teal);
  font-size: 12px;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ==========================================================================
   6. PART 6: SELECTABLE BUSINESS CHALLENGES
   ========================================================================== */
.ich-challenge-chip {
  background: #ffffff;
  border: 2px solid var(--ich-border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  margin-bottom: 14px;
}

.ich-challenge-chip:hover,
.ich-challenge-chip.selected {
  border-color: var(--ich-orange);
  background: var(--ich-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 166, 35, 0.15);
}

.ich-challenge-chip i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(18, 52, 90, 0.08);
  color: var(--ich-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ich-challenge-chip.selected i {
  background: var(--ich-orange);
  color: #ffffff;
}

/* ==========================================================================
   7. PART 8: BEFORE-AND-AFTER TRANSFORMATION CARDS (Reference Image Style)
   ========================================================================== */
.ich-transform-card {
  border-radius: 22px;
  padding: 28px;
  height: 100%;
  box-shadow: var(--ich-shadow-md);
  border: 1px solid rgba(18, 52, 90, 0.08);
}

.ich-transform-card.mint-bg {
  background: linear-gradient(145deg, #E8F8F3 0%, #F2FBF8 100%);
}

.ich-transform-card.rose-bg {
  background: linear-gradient(145deg, #FDF0F3 0%, #FFF7F9 100%);
}

.ich-transform-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.ich-transform-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.mint-bg .ich-transform-icon-circle {
  background: #A7E9D7;
  color: #0B3B2E;
}

.rose-bg .ich-transform-icon-circle {
  background: #F9C6CF;
  color: #5E1924;
}

.ich-ba-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ich-ba-box {
  flex: 1;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid #E2E8F0;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.ich-ba-box.after-navy {
  background: linear-gradient(145deg, #092545 0%, #123B68 100%);
  color: #ffffff;
  border-color: #092545;
}

.ich-ba-arrow {
  font-size: 22px;
  color: #1D4ED8;
  flex-shrink: 0;
}

.ich-ba-label {
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--ich-navy);
  margin-top: 12px;
}

/* ==========================================================================
   8. PART 14: 6 EDITABLE SERVICE PACKAGES
   ========================================================================== */
.ich-pkg-card {
  background: #ffffff;
  border: 1px solid var(--ich-border);
  border-radius: 18px;
  padding: 26px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--ich-transition);
  position: relative;
}

.ich-pkg-card.featured {
  border: 2px solid var(--ich-teal);
  box-shadow: var(--ich-shadow-lg);
}

.ich-pkg-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ich-shadow-lg);
}

/* ==========================================================================
   9. PART 5: 30 INDUSTRIES DIRECTORY CARDS
   ========================================================================== */
.ich-industry-card {
  background: #ffffff;
  border: 1px solid var(--ich-border);
  border-radius: 14px;
  padding: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--ich-transition);
}

.ich-industry-card:hover {
  border-color: var(--ich-navy);
  box-shadow: var(--ich-shadow-md);
  transform: translateY(-3px);
}

/* Responsive Mobile Tweaks */
@media (max-width: 991px) {
  .ich-hero {
    padding: 28px 0 32px !important;
    min-height: auto !important;
  }
  .ich-hero-title {
    font-size: 25px !important;
  }
  .ich-ba-grid {
    flex-direction: column;
  }
  .ich-ba-arrow {
    transform: rotate(90deg);
  }
}
