/* =========================================
   ONDC SHOWCASE - STYLESHEET (MATCHING SUBWAY.CSS 1:1)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Hind:wght@400;500;600;700&family=Mukta:wght@400;600;700;800&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  letter-spacing: normal !important;
}

:root {
  --primary-bg: #ffffff;
  --text-main: #111111;
  --text-muted: #333333;
  --font-poppins: 'Poppins', sans-serif;
  --line-accent: #fbab17; /* Subway brand yellow color #fbab17 */
  --subway-yellow: #fbab17;
  --ondc-blue: #0066cc;
}

body {
  font-family: var(--font-poppins);
  color: var(--text-main);
  background-color: var(--primary-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* =========================================
   SECTION 1: HERO BANNER & LIVE TEXT OVERLAY
   ========================================= */

.hero-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.hero-overlay-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* MediaTek Hero Content Overlay (Positioned in Section 1 ONLY) */
.hero-text-overlay.mediatek-hero-content {
  position: absolute;
  top: 26.5%;
  left: 6.4%;
  transform: none;
  width: 42%;
  max-width: 720px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* 3D ONDC Title Graphic Image */
.ondc-3d-logo-img {
  width: 80%;
  height: auto;
  display: block;
  /* filter: drop-shadow(0px 14px 22px rgba(4, 30, 60, 0.22)); */
}

/* Subtitle Sky Blue Live Text (Line 1: Creative Design &, Line 2: Communications) */
.ondc-hero-subtitle-fx {
  font-family: var(--font-poppins);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 3.8rem);
  color: #1380C5; /* Exact sampled Photoshop cyan sky-blue */
  line-height: 1.15;
  margin-top: clamp(12px, 2vw, 24px);
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-section__divider {
    width: 244px;
    height: 2px;
    background-color: #1380C5;
    margin: 2rem 0px;
    padding-right: 60px;
}
.ondc-hero-subtitle-fx span {
  display: block;
}

/* Container matching subway.css section-container */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.story-brand {
  padding: 40px 0;
}


.ondc-campaign{
padding-top:50px;	
}

/* Editorial Header (Exact 1:1 from subway.css) */
.editorial-header,
.unani-campaign .editorial-header,
.story-brand .editorial-header,
.diagnostic-approach .editorial-header,
div.editorial-header.stagger-handled {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
  width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.editorial-header__tag {
  font-family: var(--font-poppins);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  color: #000;
  text-transform: capitalize;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(25px);
  will-change: opacity, transform;
}

.editorial-header__line {
  flex: 0 0 70% !important;
  max-width: 55% !important;
  height: 2px !important;
  background-color: #fbab17 !important; /* Applied #fbab17 yellow accent */
  transform: scaleX(0);
  transform-origin: left center !important;
  will-change: transform;
}

/* Scroll Active State (Works with both IntersectionObserver & GSAP) */
.editorial-header.is-visible .editorial-header__tag,
.editorial-header.stagger-handled .editorial-header__tag {
  opacity: 1;
  transform: translateY(0);
}

.editorial-header.is-visible .editorial-header__line,
.editorial-header.stagger-handled .editorial-header__line {
  transform: scaleX(1);
}

/* Smooth Staggered Scroll Entrance for Text Content Below Headers */
.story-brand__title,
.story-brand__desc,
.diagnostic-approach__subtext,
.execution-section__intro,
.execution-section__item,
.impact-metrics__intro,
.impact-metrics__desc {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

/* Staggered Delays for Natural Flow */
.story-brand__title { transition-delay: 0.05s; }
.story-brand__desc { transition-delay: 0.2s; }
.diagnostic-approach__subtext { transition-delay: 0.15s; }
.execution-section__intro { transition-delay: 0.1s; }
.execution-section__item { transition-delay: 0.25s; }

/* Active Revealed State on Scroll */
.is-revealed,
.story-brand__title.is-revealed,
.story-brand__desc.is-revealed,
.diagnostic-approach__subtext.is-revealed,
.execution-section__intro.is-revealed,
.execution-section__item.is-revealed,
.impact-metrics__intro.is-revealed,
.impact-metrics__desc.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Text Box (Exact 1:1 from subway.css) */
.challenge-text-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 22% 1% 0% !important;
}

.challenge-text-box p.bold-heading,
.challenge-text-box p strong {
  font-family: var(--font-poppins);
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  line-height: 1.35;
  display: block;
  margin-bottom: 12px;
}

.challenge-text-box p.body-text {
  font-family: var(--font-poppins);
  font-size: 1.2rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.4;
  margin-top: 0 !important;
  margin-bottom: 18px;
}

/* Third Section Image Wrapper */
.third-section-img-wrapper {
  margin: 40px 0;
}

.third-section-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Campaign Banners Section (Staggered Left & Right Alignment) */
.campaign-banners-section {
  padding: 40px 0 60px 0;
  overflow: hidden;
}

.banner-card {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: none;
}

/* Glow Up Banner: Aligned Left with right margin */
.banner-card.banner-left-fade {
  width: 68%;
  margin-right: auto;
  margin-left: 0;
  margin-bottom: 40px;
}

/* Summer Utsav Banner: Aligned Right with left margin */
.banner-card.banner-right-fade {
  width: 82%;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 40px;
}

.banner-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
  transition: transform 0.25s ease;
}

.campaign-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* UNESCO & Heritage Section (Staggered Right & Left Alignment) */
.unesco-heritage-section {
  padding: 40px 0 60px 0;
  overflow: hidden;
}

.unesco-card {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: none;
}

/* Card 1 (Artisans): Aligned Right with left margin */
.unesco-card.unesco-right-fade {
  width: 68%;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 40px;
}

/* Card 2 (Heritage): Aligned Left with right margin */
.unesco-card.unesco-left-fade {
  width: 68%;
  margin-right: auto;
  margin-left: 0;
  margin-bottom: 40px;
}

.unesco-card:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}

.unesco-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* =========================================
   APP LAUNCHES SECTION (BHASHINI)
   ========================================= */

.app-launches-section {
  padding: 40px 0 30px 0;
}

.app-launches-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.app-launches-container .editorial-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px !important;
}

.app-launches-container .challenge-text-box {
  max-width: 100%;
  margin: 0;
  padding: 10px 0 1% 0 !important;
}

.app-launches-container .challenge-text-box p.bold-heading {
  font-family: var(--font-poppins);
  font-size: 1.25rem;
  font-weight: 600;
  color: #000000;
  line-height: 1.35;
  margin-bottom: 12px;
}

.app-launches-container .challenge-text-box p.body-text {
  font-family: var(--font-poppins);
  font-size: 1.2rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.45;
  margin-bottom: 24px;
  max-width: 900px;
}

.app-cards-wrapper {
  margin-top: 30px;
  width: 100%;
}

/* App Launch Blocks & Headers */
.app-launch-block {
  width: 100%;
}

.app-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  margin-top: 10px;
  width: 100%;
  padding-left: 0;
}

.app-logo-badge {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.app-brand-title {
  font-family: var(--font-poppins);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}

.app-brand-title.bhashini-title {
  color: #fbab17; /* Exact brand orange/yellow color #fbab17 */
}

.app-card {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: none;
}

.app-card:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}

.app-card-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* =========================================
   DEDICATED YATRI SATHI SECTION (INDEPENDENT WIDE CSS)
   ========================================= */

.yatri-sathi-section {
  padding: 30px 0 60px 0;
  width: 100%;
}

.yatri-sathi-container {
  max-width: 1320px; /* Custom expanded wider container specifically for Yatri Sathi */
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.yatri-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  width: 100%;
  padding-left: 0;
}

.yatri-logo-badge {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.yatri-sathi-title {
  font-family: var(--font-poppins);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #fbab17; /* Exact dark navy slate color for Yatri Sathi */
}

.yatri-sathi-card {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: none;
}

.yatri-sathi-card:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}

.yatri-sathi-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Metrics Counter Grid Section (Narrow Compact Centered Container) */
.metrics-section {
  padding: 60px 0 80px 0;
}

.metrics-container {
  max-width: 880px; /* Decreased width for metrics section */
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.metrics-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  gap: 30px;
  flex-wrap: wrap;
}

.metric-item {
  flex: 1;
  min-width: 220px;
}

.metric-num {
  font-family: var(--font-poppins);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fbab17;
  line-height: 1;
  margin-bottom: 10px;
}

.metric-label {
  font-family: var(--font-poppins);
  font-size: 1.2rem;
  font-weight: 500;
  color: #555555;
  line-height: 1.4;
  max-width: 260px;
  margin: 0 auto;
}

/* ===================================================
   COMPREHENSIVE RESPONSIVE BREAKPOINTS
   =================================================== */

@media (min-width: 1200px) {
  .section-container,
  .app-launches-container {
    max-width: 1200px;
    padding: 0 24px;
  }

  .yatri-sathi-container {
    max-width: 1200px;
    padding: 0 24px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-text-overlay.mediatek-hero-content {
    left: 4%;
    width: 44%;
  }

  .section-container,
  .app-launches-container,
  .yatri-sathi-container {
    max-width: 980px;
    padding: 0 24px;
  }

  .editorial-header__tag {
    font-size: 1.35rem;
  }

  .challenge-text-box p.bold-heading {
    font-size: 1.2rem;
  }

  .challenge-text-box p.body-text {
    font-size: 1.12rem;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .hero-text-overlay.mediatek-hero-content {
    left: 4%;
    width: 48%;
  }

  .section-container,
  .app-launches-container,
  .yatri-sathi-container {
    padding: 0 24px;
  }

  .editorial-header__line {
    flex: 0 0 60% !important;
    max-width: 60% !important;
  }

  .challenge-text-box {
    padding: 10px 10% 1% 0% !important;
  }

  .editorial-header__tag {
    font-size: 1.3rem;
  }

  .challenge-text-box p.bold-heading {
    font-size: 1.15rem;
  }

  .challenge-text-box p.body-text {
    font-size: 1.05rem;
  }
}

@media (min-width: 576px) and (max-width: 768px) {
  .hero-text-overlay.mediatek-hero-content {
    top: 26.5%;
    left: 6.4%;
    width: 44%;
  }
	
	    .ondc-campaign {
        padding-top: 50px;
    }
	
	.story-brand {
    padding: 15px 0;
}
	
	.story-brand .editorial-header{
		margin-bottom: 0px !important;
	}
	


  .ondc-hero-subtitle-fx {
    font-size: clamp(0.9rem, 3.2vw, 1.6rem);
    margin-top: 6px;
  }

  .section-container,
  .app-launches-container,
  .yatri-sathi-container {
    padding: 0 20px;
  }

  .editorial-header__line {
    flex: 0 0 90% !important;
    max-width: 75% !important;
  }
	.campaign-banners-section,.unesco-heritage-section {
    padding: 0px 0 0px 0;
    overflow: hidden;
}

.app-cards-wrapper {
    margin-top: 0px;
	}
	
	.yatri-sathi-section {
		padding: 30px 0 0px 0;
	}
	
	

  .challenge-text-box {
    padding: 10px 0% 1% 0% !important;
  }

  .editorial-header__tag {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.4;
  }

  .challenge-text-box p.bold-heading {
    font-size: 1.1rem;
  }

  .challenge-text-box p.body-text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
  }

  .banner-card.banner-left-fade,
  .banner-card.banner-right-fade,
  .unesco-card.unesco-left-fade,
  .unesco-card.unesco-right-fade,
  .app-card,
  .yatri-sathi-card {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 24px !important;
    border-radius: 12px;
  }
}

@media (max-width: 575px) {
  .hero-text-overlay.mediatek-hero-content {
    top: 24%;
    left: 6%;
    width: 44%;
  }
	.hero-section__divider{
		width: 140px;
        margin: .5rem 0px;
        padding-right: 0px;
	}
		.story-brand .editorial-header{
		margin-bottom: 10px !important;
			    gap: 10px !important;

	}

  .ondc-hero-subtitle-fx {
    font-size: clamp(0.68rem, 3vw, 1.2rem);
    margin-top: 4px;
  }
	
	
	.campaign-banners-section,.unesco-heritage-section {
		padding: 0px 0 0px 0;
	}
	
	.metrics-section {
    padding: 0px 0 50px 0;
}
	
	.metrics-container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
}
	.metrics-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 30px;
		flex-wrap:nowrap;
}
	
	.metric-item {
     flex: 1; 
    min-width: 102px;
}
.app-brand-title,.yatri-sathi-title {
    font-family: var(--font-poppins);
    font-size: 2rem;
	}
	
	.matric-padd{
		margin-bottom:40px;
}
	.matric-padd-two{
	margin-bottom:20px;	
		
	}
	.ondc-campaign {
    padding-top: 50px;
}
	
	.app-logo-badge,.yatri-logo-badge {
    width: 50px;
		height: 50px;
	}
	
	

  .section-container,
  .app-launches-container,
  .yatri-sathi-container {
    padding: 0 16px;
  }

  .story-brand,
  .app-launches-section,
  .yatri-sathi-section {
    padding: 20px 0;
  }
	
	.app-cards-wrapper {
		margin-top: 0px;
	}

  .editorial-header {
    gap: 12px;
  }

  .editorial-header__tag {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.4;
  }

  .editorial-header__line {
    flex: 0 0 65% !important;
    max-width: 58% !important;
    height: 1.5px !important;
  }

  .challenge-text-box {
    padding: 0px 0 !important;
  }

  .challenge-text-box p.bold-heading {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .challenge-text-box p.body-text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
  }

  .banner-card.banner-left-fade,
  .banner-card.banner-right-fade,
  .unesco-card.unesco-left-fade,
  .unesco-card.unesco-right-fade,
  .app-card,
  .yatri-sathi-card {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 20px !important;
    border-radius: 10px;
  }

  .third-section-img-wrapper {
    margin: 24px 0;
  }

  .metric-num {
    font-size: 2.5rem;
  }

  .metric-label {
    font-size: 0.875rem;
  }
}
