/**
 * Tobacco Free Youth Campaign 3.0 (TFYC) - Micro-Website Stylesheet
 * Conforming to MY Bharat 3.0 Government Design System, GIGW & WCAG 2.0 AA Guidelines
 * Reference Authority: https://mybharat.gov.in/mega_events/tobacco-free-youth-campaign-30
 */

:root {
  /* MY Bharat 3.0 & Government Brand Colors */
  --ntcp-primary: #000627;
  --ntcp-primary-light: #1A5DB4;
  --ntcp-saffron: #FF671F;
  --ntcp-accent: #F15B43;
  --ntcp-accent-hover: #DB3700;
  --ntcp-blue: #008FDA;
  --ntcp-blue-hover: #1A5DB4;
  --ntcp-stat-bg: #FFD9C4;
  --ntcp-stat-soft: #FFEDE7;
  --ntcp-border-blue: rgba(39, 88, 157, 0.2);
  --ntcp-danger: #de350b;
  --ntcp-warning: #FAA72A;
  --ntcp-success: #00875a;
  --ntcp-bg: #fcfcfd;
  --ntcp-card-bg: #ffffff;
  --ntcp-text-main: #222222;
  --ntcp-text-muted: #6B6B6B;
  --ntcp-border: #dfe1e6;
  --ntcp-shadow: 0px 4px 22px 0px rgba(0, 0, 0, 0.08);
  --ntcp-shadow-lg: 0px 10px 30px rgba(0, 0, 0, 0.12);
  --ntcp-radius: 8px;
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.microsite-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: var(--ntcp-text-main);
  background-color: var(--ntcp-bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--ntcp-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  text-decoration: underline;
}

/* Top Accessibility Bar (GIGW Compliant) */
.gov-top-bar {
  background: #000627;
  color: #c1c7d0;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.gov-top-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gov-flag-text {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gov-tricolor-flag {
  display: inline-block;
  width: 14px;
  height: 9px;
  background: linear-gradient(to bottom, #ff9933 33%, #fff 33%, #fff 66%, #128807 66%);
  border: 1px solid #ccc;
  border-radius: 1px;
}
.accessibility-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.access-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
}
.access-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Main Navigation Header (MY Bharat 3.0 Theme) */
.microsite-header {
  background: #ffffff;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #f0f0f0;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-group {
  display: flex;
  align-items: center;
}
.brand-emblem-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #000627 0%, #008FDA 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 143, 218, 0.25);
}
.brand-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 3px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8ecf1;
}
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.brand-titles {
  display: flex;
  flex-direction: column;
}
.brand-super-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ntcp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.mybharat-pill {
  background: var(--ntcp-stat-soft);
  color: var(--ntcp-accent-hover);
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #ffd4c6;
}
.brand-titles h1 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ntcp-primary);
  margin: 1px 0;
  line-height: 1.25;
}
.brand-titles p {
  font-size: 11.5px;
  color: var(--ntcp-text-muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link-btn {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #8A8A8A;
  transition: all 0.2s;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
}
.nav-link-btn:hover {
  color: var(--ntcp-blue);
}
.nav-link-btn.active {
  color: var(--ntcp-blue) !important;
  border-bottom: 2px solid var(--ntcp-blue);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}
.nav-link-btn.btn-cta {
  background: var(--ntcp-accent);
  color: #ffffff !important;
  border-radius: 6px;
  padding: 8px 16px;
  border-bottom: none;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(241, 91, 67, 0.3);
}
.nav-link-btn.btn-cta:hover {
  background: var(--ntcp-accent-hover);
  transform: translateY(-1px);
}
.nav-link-external {
  color: #515151;
}

/* Mega Event Hero Banner (Direct MY Bharat 3.0 Design) */
.mega-event-hero {
  background: #ffffff;
  border-bottom: 1px solid #eef0f3;
  padding-bottom: 25px;
}
.mega-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 0;
}
.mega-banner-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eef0f3;
  box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.08);
  display: block;
  line-height: 0;
}
.mega-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2172 / 724;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.banner-fallback {
  background: linear-gradient(135deg, #000627 0%, #008FDA 50%, #FF671F 100%);
}
.banner-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 6, 39, 0.85) 0%, rgba(0, 6, 39, 0.25) 50%, transparent 100%);
}
.banner-caption-box {
  position: absolute;
  bottom: 24px;
  left: 28px;
  right: 28px;
  color: #fff;
  z-index: 2;
}
.badge-mega-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(17, 3, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.banner-caption-box h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.banner-caption-box p {
  font-size: 14px;
  color: #e2e8f0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Toolbar & Verified Button matching MY Bharat 3.0 */
.mega-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid #f0f0f0;
}
.toolbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.back-link-btn {
  font-size: 15px;
  font-weight: 600;
  color: #515151;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}
.back-link-btn:hover {
  color: var(--ntcp-primary);
}
.back-link-btn i {
  font-size: 22px;
  line-height: 1;
}
.verified-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #515151;
  font-size: 14px;
  font-weight: 600;
}
.verified-button i {
  font-size: 20px;
  color: var(--ntcp-saffron);
}
.toolbar-center {
  display: flex;
  align-items: center;
  gap: 16px;
}
.toolbar-campaign-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ntcp-primary);
  margin: 0;
}
.social-share-wrap {
  position: relative;
}
.btn-share-toggle {
  background: var(--ntcp-stat-soft);
  border: 1px solid #ffd4c6;
  color: var(--ntcp-accent-hover);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-share-toggle:hover {
  background: #ffd9c4;
}
.social-share-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid #dfe1e6;
  padding: 12px;
  width: 280px;
  z-index: 100;
  display: none;
}
.social-share-dropdown.show {
  display: block;
}
.share-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #8A8A8A;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
}
.share-icons-grid {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.share-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #515151;
  text-decoration: none !important;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.2s;
}
.share-btn:hover {
  background: #f4f6fa;
}
.share-btn i {
  font-size: 18px;
}
.share-btn.twitter-btn i { color: #1da1f2; }
.share-btn.fb-btn i { color: #1877f2; }
.share-btn.linkedin-btn i { color: #0a66c2; }
.share-btn.whatsapp-btn i { color: #25d366; }
.share-btn.copy-btn i { color: #515151; }

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-danger-upload {
  background: var(--ntcp-accent);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(241, 91, 67, 0.3);
  transition: all 0.2s;
}
.btn-danger-upload:hover {
  background: var(--ntcp-accent-hover);
  transform: translateY(-1px);
}
.btn-survey-cta {
  background: var(--ntcp-blue);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 143, 218, 0.3);
  transition: all 0.2s;
}
.btn-survey-cta:hover {
  background: var(--ntcp-blue-hover);
  transform: translateY(-1px);
}

/* Event Key Timeline Strip (MY Bharat .start_dt) */
.event-timeline-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fcfcfd;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #edf0f5;
}
.timeline-icon {
  width: 38px;
  height: 38px;
  background: #eef7fc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ntcp-blue);
  font-size: 17px;
  flex-shrink: 0;
}
.timeline-item h5 {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ntcp-text-muted);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.3px;
}
.timeline-item p {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ntcp-text-main);
  margin: 1px 0 0;
}

/* Total Stat Cards (Direct MY Bharat 3.0 .total_event Peach Cards) */
.total-counts-section {
  padding-top: 14px;
}
.total-counts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.total_event {
  background: var(--ntcp-stat-bg) !important;
  border-radius: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(241, 91, 67, 0.15);
  box-shadow: 0px 2px 8px rgba(241, 91, 67, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.total_event:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 14px rgba(241, 91, 67, 0.16);
}
.total_event h3 {
  font-size: 21px;
  margin: 0;
  font-weight: 800;
  color: #110300;
  line-height: 1.1;
}
.total_event p {
  font-size: 13px;
  margin: 4px 0 0 0;
  font-weight: 600;
  color: #495059;
  line-height: 1.25;
}
.notic_updated {
  padding: 10px 0 0 0;
}
.notic_updated p {
  font-size: 12.5px;
  color: #6B6B6B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Official Video Showcase Section */
.video-showcase-section {
  margin: 25px 0 35px;
}
.video-showcase-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--ntcp-shadow);
  border: 1px solid var(--ntcp-border);
  overflow: hidden;
  padding: 24px;
}
.video-showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}
.responsive-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.responsive-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-label-badge {
  background: var(--ntcp-stat-soft);
  color: var(--ntcp-accent-hover);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.video-info-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ntcp-primary);
  margin-bottom: 8px;
}
.video-info-box p {
  font-size: 13.5px;
  color: #515151;
  margin-bottom: 14px;
  line-height: 1.5;
}
.video-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.video-meta-tags span {
  background: #f1f3f7;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  color: #515151;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-watch-youtube {
  background: #de350b;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(222, 53, 11, 0.25);
  transition: all 0.2s;
}
.btn-watch-youtube:hover {
  background: #bf2600;
  transform: translateY(-1px);
}
.btn-survey-accent {
  background: var(--ntcp-primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s;
}
.btn-survey-accent:hover {
  background: var(--ntcp-primary-light);
  transform: translateY(-1px);
}

/* Container & Section Headings */
.microsite-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}
.section-heading {
  margin-bottom: 20px;
}
.header-vent {
  font-size: 22px;
  font-weight: 800;
  color: #000627;
  margin-bottom: 4px;
}
.section-heading p {
  font-size: 14px;
  color: #6B6B6B;
}

/* Multi-Dimensional Tabs Navigation Panel */
.tabs-navigation-panel {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: var(--ntcp-shadow);
  border: 1px solid var(--ntcp-border);
  margin-bottom: 28px;
}
.tab-filter-row {
  margin-bottom: 12px;
}
.tab-filter-row:last-child {
  margin-bottom: 0;
}
.tabs-category-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #515151;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-pills-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-tab {
  background: #f7f9fa;
  border: 1px solid #dfe1e6;
  color: #515151;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pill-tab:hover {
  background: #edf2f7;
  color: var(--ntcp-primary);
}
.pill-tab.active {
  background: var(--ntcp-primary);
  color: #ffffff;
  border-color: var(--ntcp-primary);
  box-shadow: 0 2px 6px rgba(0, 6, 39, 0.2);
}
.pill-tab.pill-tab-women {
  border-color: #f8bbd0;
  color: #880e4f;
  background: #fdf2f7;
}
.pill-tab.pill-tab-women:hover {
  background: #fce4ec;
}
.pill-tab.active-women {
  background: #880e4f !important;
  color: #ffffff !important;
  border-color: #880e4f !important;
}
.pill-tab.pill-tab-youth {
  border-color: #ffd4c6;
  color: var(--ntcp-accent-hover);
  background: var(--ntcp-stat-soft);
}
.pill-tab.pill-tab-youth:hover {
  background: #ffd9c4;
}
.pill-tab.active-youth {
  background: var(--ntcp-accent) !important;
  color: #ffffff !important;
  border-color: var(--ntcp-accent) !important;
}

/* Materials Cards Grid (MY Bharat Style) */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 35px;
}
.material-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--ntcp-shadow);
  border: 1px solid var(--ntcp-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.material-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ntcp-shadow-lg);
  border-color: #008FDA;
}
.material-thumbnail {
  position: relative;
  height: 180px;
  background: #eef2f7;
  overflow: hidden;
}
.material-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.material-card:hover .material-thumbnail img {
  transform: scale(1.03);
}
.media-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 6, 39, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-video { background: #de350b; }
.badge-infographic { background: #00875a; }
.badge-banner { background: #008FDA; }
.badge-pdf { background: #D32F2F; }

.material-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.material-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.sub-tag {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  background: #edf0f5;
  color: #515151;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.sub-tag.women { background: #fce4ec; color: #880e4f; }
.sub-tag.youth { background: var(--ntcp-stat-soft); color: var(--ntcp-accent-hover); }

.material-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ntcp-primary);
  margin-bottom: 6px;
  line-height: 1.35;
}
.material-desc {
  font-size: 12.5px;
  color: var(--ntcp-text-muted);
  margin-bottom: 14px;
  flex: 1;
  line-height: 1.45;
}
.material-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #f0f2f5;
}
.download-counter {
  font-size: 11.5px;
  color: #8A8A8A;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-card-action {
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  background: var(--ntcp-primary);
  color: #fff !important;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}
.btn-card-action:hover {
  background: var(--ntcp-primary-light);
}
.btn-card-video {
  background: #de350b;
}
.btn-card-video:hover {
  background: #bf2600;
}
.btn-card-pdf {
  background: #D32F2F;
}
.btn-card-pdf:hover {
  background: #B71C1C;
}

/* Call to Action Grid */
.cta-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 15px;
}
.cta-feature-card {
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--ntcp-shadow);
}
.survey-cta-card {
  background: linear-gradient(135deg, #000627 0%, #1A5DB4 100%);
  color: #ffffff;
}
.survey-cta-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.survey-cta-card p {
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 16px;
  line-height: 1.5;
}
.btn-cta-white {
  background: #ffffff;
  color: #000627 !important;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s;
}
.btn-cta-white:hover {
  background: #f0f4f8;
  transform: translateY(-1px);
}
.btn-cta-blue {
  background: var(--ntcp-blue);
  color: #ffffff;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-cta-blue:hover {
  background: var(--ntcp-blue-hover);
  transform: translateY(-1px);
}
.cta-card-icon {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--ntcp-saffron);
}

/* Materials Page Specific Filter Box */
.materials-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.materials-filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.filter-col {
  display: flex;
  flex-direction: column;
}
.filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #515151;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.custom-select-picker {
  border-bottom: 2px solid #008FDA !important;
  border-top: 1px solid #dfe1e6;
  border-left: 1px solid #dfe1e6;
  border-right: 1px solid #dfe1e6;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  background: #fff;
  color: #222;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s;
}
.custom-select-picker:focus {
  border-color: #008FDA;
  box-shadow: 0 0 0 3px rgba(0, 143, 218, 0.15);
}

/* Survey Page Styles */
.survey-section-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--ntcp-shadow);
  border: 1px solid var(--ntcp-border);
  margin-bottom: 40px;
}
.survey-header {
  border-bottom: 2px solid #f4f6fa;
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.survey-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.badge-stat-soft {
  background: #edf2f7;
  color: #515151;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.survey-header h2 {
  font-size: 23px;
  color: var(--ntcp-primary);
  font-weight: 800;
  margin: 0;
}
.survey-progress-bar {
  width: 100%;
  height: 6px;
  background: #edf0f5;
  border-radius: 3px;
  margin-top: 14px;
  overflow: hidden;
}
.survey-progress-fill {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #FF671F 0%, #008FDA 100%);
  transition: width 0.3s ease;
}

.form-step-group {
  margin-bottom: 24px;
}
.form-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ntcp-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.choice-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fbfcfd;
  border: 1px solid var(--ntcp-border);
  padding: 9px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13.5px;
  transition: all 0.2s;
}
.choice-label:hover {
  background: #f1f3f7;
  border-color: #008FDA;
}
.choice-label input[type="radio"] {
  accent-color: var(--ntcp-saffron);
}
.choice-label.checked {
  background: var(--ntcp-stat-soft);
  border-color: #ffd4c6;
  color: var(--ntcp-accent-hover);
  font-weight: 600;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #515151;
  margin-bottom: 5px;
}
.form-control-custom {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--ntcp-border);
  border-radius: 6px;
  font-size: 13.5px;
  background: #fff;
  transition: border-color 0.2s;
}
.form-control-custom:focus {
  outline: none;
  border-color: var(--ntcp-blue);
  box-shadow: 0 0 0 3px rgba(0, 143, 218, 0.15);
}

.btn-survey-submit {
  background: var(--ntcp-accent);
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  box-shadow: 0 3px 10px rgba(241, 91, 67, 0.35);
}
.btn-survey-submit:hover {
  background: var(--ntcp-accent-hover);
  transform: translateY(-1px);
}

/* Digital Pledge Certificate Display (MY Bharat 3.0 Theme) */
.pledge-certificate-card {
  background: #fffdfa;
  border: 3px double #d69e2e;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  margin-top: 25px;
  display: none;
  box-shadow: 0px 6px 20px rgba(214, 158, 46, 0.15);
}
.pledge-certificate-card.show {
  display: block;
}
.cert-gold-badge {
  margin-bottom: 8px;
}
.cert-govt-title {
  font-size: 18px;
  font-weight: 800;
  color: #000627;
  letter-spacing: 0.5px;
}
.cert-sub-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #c05621;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cert-tagline {
  font-size: 12px;
  color: #718096;
  margin-bottom: 14px;
}
.cert-body-text {
  font-size: 14.5px;
  color: #4a5568;
  max-width: 650px;
  margin: 0 auto 16px;
  line-height: 1.6;
}
.cert-name {
  font-size: 24px;
  font-weight: 800;
  color: #9c4221;
  text-decoration: underline;
  margin: 10px 0;
}
.cert-footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  font-size: 12px;
  color: #718096;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-print-cert {
  background: var(--ntcp-primary);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Toll-Free Helpline Quick Strip (MY Bharat Theme) */
.helpline-strip {
  background: linear-gradient(90deg, #000627 0%, #1A5DB4 50%, #FF671F 100%);
  color: #ffffff;
  padding: 16px 20px;
}
.helpline-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.helpline-strip-text {
  font-weight: 700;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.helpline-pulse-icon {
  font-size: 20px;
  color: #ffcc80;
  animation: pulseRotate 2s infinite ease-in-out;
}
@keyframes pulseRotate {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.btn-helpline-call {
  background: #ffffff;
  color: #000627 !important;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none !important;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}
.btn-helpline-call:hover {
  background: #f0f4f8;
  transform: translateY(-1px);
}

/* Footer (MY Bharat Government Scheme) */
.microsite-footer {
  background: #000627;
  color: #c1c7d0;
  padding: 38px 20px 20px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.footer-brand-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: #cbd5e1;
}
.footer-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: #ffcc80;
  font-weight: 600;
}
.footer-col-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-links-list {
  list-style: none;
  font-size: 13px;
  line-height: 2.1;
}
.footer-links-list a {
  color: #cbd5e1 !important;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links-list a:hover {
  color: var(--ntcp-saffron) !important;
}
.footer-bottom {
  max-width: 1200px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 12px;
  color: #8993a4;
}

/* MoHFW Weekly Report Table Styles */
.report-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--ntcp-shadow);
  border: 1px solid var(--ntcp-border);
  margin-bottom: 25px;
}
.report-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef0f3;
  flex-wrap: wrap;
  gap: 12px;
}
.table-mohfw-report {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table-mohfw-report th {
  background: var(--ntcp-primary);
  color: #ffffff;
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  border: 1px solid #1A5DB4;
}
.table-mohfw-report td {
  padding: 9px 12px;
  border: 1px solid #eef0f3;
}
.table-mohfw-report tr:nth-child(even) td {
  background: #fcfcfd;
}
.table-mohfw-report tr.row-total td {
  background: var(--ntcp-stat-bg);
  font-weight: 800;
  color: #110300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .main-nav {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
  }
  .mega-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .video-showcase-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .materials-filter-form {
    grid-template-columns: 1fr;
  }
}

/* Bottom QR Scan Card (Replaces Survey Nav Card) */
.bottom-qr-card {
  background: linear-gradient(135deg, #001f3f 0%, #000627 100%) !important;
  color: #ffffff !important;
  padding: 24px !important;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 6, 39, 0.2);
  border: 1px solid rgba(255, 103, 31, 0.4);
}
.bottom-qr-layout {
  display: flex;
  align-items: center;
  gap: 24px;
}
.bottom-qr-img-box {
  background: #ffffff;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid #FF671F;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}
.bottom-qr-img-box:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(255, 103, 31, 0.5);
}
.bottom-qr-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
}
.qr-zoom-tag {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #D95305;
  display: flex;
  align-items: center;
  gap: 4px;
}
.bottom-qr-content {
  flex: 1;
}
.qr-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 103, 31, 0.2);
  color: #FFA048;
  border: 1px solid rgba(255, 103, 31, 0.5);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.bottom-qr-content h4 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.bottom-qr-content p {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.bottom-qr-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff !important;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  text-decoration: none !important;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .bottom-qr-layout {
    flex-direction: column;
    text-align: center;
  }
  .bottom-qr-actions {
    justify-content: center;
  }
}

/* Accessible Pledge QR Code Modal */
.modal-backdrop-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 6, 39, 0.78);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-dialog-custom {
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-content-custom {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #FF671F;
}
.btn-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-modal-close:hover {
  background: rgba(255, 103, 31, 0.8);
  transform: rotate(90deg);
}
/* ==========================================================================
   Campaign 4.0 redesign (Campaign and Media & IEC Gallery pages)
   Shared header, footer and helpline strip are used by every microsite page.
   ========================================================================== */
/* Same typography as the NTCP website: Open Sans 16px text, Poppins headings */
body.microsite-body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 24px;
  background-color: #ffffff;
  color: #0f172a;
}
body.microsite-body h1,
body.microsite-body h2,
body.microsite-body h3,
body.microsite-body h4,
.tf-brand-title,
.tf-fact-value,
.tf-media-bar-title {
  font-family: "Poppins", sans-serif;
}

.tf-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.tf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tf-skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10000;
  background: #0b1736;
  color: #ffffff !important;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
}
.tf-skip-link:focus {
  top: 12px;
}

#main-content:focus {
  outline: none;
}

/* Header: logo row matches the NTCP website header */
.tf-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.tf-brand-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.tf-brand-mohfw {
  justify-self: start;
}
.tf-brand-mohfw img {
  display: block;
  width: 192px;
  height: auto;
}
.tf-brand-title {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 25px;
  font-weight: 700;
  line-height: 35px;
  color: #118a95;
}
.tf-brand-partners {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tf-brand-partners img {
  display: block;
  height: auto;
}
@media (min-width: 1367px) {
  .tf-brand-title {
    font-size: 22px;
  }
}
.tf-tabs-inner {
  display: flex;
  gap: 36px;
}
.tf-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 2px 14px;
  border-bottom: 3px solid transparent;
  color: #64748b !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  margin-bottom: -1px;
}
.tf-tab .fa {
  font-size: 18px;
}
.tf-tab:hover {
  color: #0b1b3f !important;
}
.tf-tab.is-active {
  color: #1d6fe0 !important;
  border-bottom-color: #1d6fe0;
}

/* Page body */
.tf-page {
  padding-top: 30px;
  padding-bottom: 56px;
}

.tf-hero {
  margin-bottom: 30px;
}
.tf-hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.tf-facts {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tf-fact {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
}
.tf-fact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #e8f1fd;
  color: #1d6fe0;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tf-fact-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.tf-fact-value {
  display: block;
  font-size: 19px;
  font-weight: 600;
  color: #0f172a;
}

.tf-eyebrow {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f7a87;
}
.tf-strategy {
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
  counter-reset: tf-strategy;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 16px;
}
.tf-strategy li {
  counter-increment: tf-strategy;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #e8f2f4;
  border-left: 4px solid #f2a65a;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #1e293b;
}
.tf-strategy li::before {
  content: counter(tf-strategy);
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1f4e5a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* "Watch Infographics, Reels, and Podcasts" bar */
.tf-media-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 50px;
  padding: 22px 28px;
  border-radius: 14px;
  background: linear-gradient(90deg, #f05a28 0%, #e84a6f 50%, #7c3aed 100%);
  box-shadow: 0 12px 28px rgba(232, 74, 111, 0.28);
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tf-media-bar:hover,
.tf-media-bar:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(232, 74, 111, 0.36);
}
.tf-media-bar-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  padding-left: 2px;
}
.tf-media-bar-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}
.tf-media-bar-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tf-media-bar-tags span {
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 600;
}
.tf-media-bar-arrow {
  font-size: 20px;
  transition: transform 0.2s ease;
}
.tf-media-bar:hover .tf-media-bar-arrow {
  transform: translateX(4px);
}

/* Pledge QR card + Assistant card */
.tf-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.tf-qr-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 38px 30px;
  border-radius: 16px;
  background: #0b1736;
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(11, 23, 54, 0.28);
}
.tf-qr-thumb {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 10px;
  border: 4px solid #f26b3a;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
}
.tf-qr-thumb img {
  display: block;
  width: 148px;
  height: 148px;
}
.tf-qr-thumb-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5532d;
}
.tf-qr-body .tf-qr-kicker {
  margin: 0;
  color: #ff8a5c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tf-qr-body h2 {
  margin: 4px 0 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}
.tf-qr-body p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.65;
  color: #cbd5e1;
}
.tf-qr-body .tf-qr-steps {
  margin-top: -12px;
  color: #7fd3da;
  font-weight: 600;
}
.tf-qr-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* Pledge QR code pop-up: QR image and close button only */
.tf-qr-modal-box {
  position: relative;
  padding: 20px;
  border: 4px solid #f26b3a;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.tf-qr-modal-img {
  display: block;
  width: min(420px, 75vw, 70vh);
  height: auto;
}
.tf-qr-modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  background: #0b1736;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.tf-qr-modal-close:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

/* Launch video slot: placeholder until the video file is supplied */
.tf-video-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
}
.tf-video-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}
.tf-video-placeholder {
  flex: 1 0 auto;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 12px;
  background: linear-gradient(140deg, #13224f 0%, #1d3c8c 100%);
  color: #ffffff;
  text-align: center;
}
.tf-video-play {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  font-size: 24px;
}
.tf-video-placeholder p {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

/* No Tobacco Pledge pop-up: styled like the NTCP home page modal */
.tf-pledge-modal .modal-content-custom {
  border: 0;
  border-radius: 6px;
}
.tf-pledge-modal .modal-dialog-custom {
  border-radius: 6px;
}
.tf-pledge-modal-head {
  padding: 15px 20px;
  background: #008000;
  text-align: center;
}
.tf-pledge-modal-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  color: #ffffff;
}
.tf-pledge-modal-body {
  padding: 10px 40px 20px;
}
.tf-pledge-modal-body > p {
  margin: 30px 0 0;
  text-align: justify;
  color: #000000;
}
.tf-pledge-modal-cta {
  margin-top: 30px;
  text-align: center;
}
.tf-btn-pledge {
  background: #337ab7;
  border: 1px solid #2e6da4;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 14px;
}
.tf-btn-pledge:hover {
  background: #286090;
}
.tf-pledge-hits {
  margin: 10px 0 0;
  color: #008000;
}
.tf-pledge-modal-foot {
  padding: 15px 20px;
  border-top: 1px solid #e5e5e5;
  text-align: right;
}

/* Buttons */
.tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tf-btn:focus-visible,
.tf-tab:focus-visible,
.tf-brand-mohfw:focus-visible,
.tf-media-bar:focus-visible,
.tf-qr-thumb:focus-visible,
.tf-pager-btn:focus-visible,
.tf-helpline-btn:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}
.tf-btn-light {
  background: #ffffff;
  color: #0b1736 !important;
}
.tf-btn-light:hover {
  background: #e2e8f0;
}
.tf-btn-outline-light {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff !important;
}
.tf-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}
.tf-btn-dark {
  background: #0b1736;
  color: #ffffff !important;
  font-size: 15px;
  padding: 11px 20px;
  box-shadow: 0 6px 16px rgba(11, 23, 54, 0.25);
}
.tf-btn-dark:hover {
  background: #1e2b52;
}
.tf-btn-sm {
  padding: 7px 14px;
  border-width: 1px;
  font-size: 14px;
}
.tf-btn-play {
  background: #f05a28;
  color: #ffffff !important;
}
.tf-btn-play:hover {
  background: #d5461a;
}
.tf-btn-ghost {
  background: #ffffff;
  border-color: #d1d5db;
  color: #0f172a !important;
}
.tf-btn-ghost:hover {
  background: #f1f5f9;
}

/* Helpline strip + footer */
.tf-helpline {
  background: linear-gradient(90deg, #1a3a8f 0%, #2147a8 55%, #e8733a 100%);
  color: #ffffff;
}
.tf-helpline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.tf-helpline-text {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 18px;
}
.tf-helpline-text .fa {
  color: #f59e6b;
  font-size: 20px;
}
.tf-helpline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1736 !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
}
.tf-helpline-btn:hover {
  background: #e2e8f0;
}
.tf-footer {
  background: #0b1530;
  color: #cbd5e1;
  text-align: center;
}
.tf-footer p {
  margin: 0;
  padding: 34px 0 40px;
  font-size: 15px;
}

/* Gallery */
.tf-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.tf-gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #334155 !important;
  font-weight: 600;
  text-decoration: none !important;
}
.tf-gallery-tab:hover {
  background: #f1f5f9;
}
.tf-gallery-tab.is-active {
  background: #118a95;
  border-color: #118a95;
  color: #ffffff !important;
}
.tf-gallery-tab:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}
.tf-feature-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 24px;
  border-radius: 16px;
  background: var(--tf-bg);
  color: #ffffff;
  text-align: center;
}
.tf-feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.tf-feature-panel h2 {
  margin: 6px 0 0;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}
.tf-feature-panel p {
  margin: 0 0 8px;
  font-size: 17px;
}
.tf-feature-panel .tf-feature-soon {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 600;
}
.tf-gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 22px;
}
.tf-gallery-count {
  margin: 0;
  font-size: 15px;
  color: #64748b;
}
.tf-gallery-count strong {
  color: #0f172a;
}
.tf-gallery-grid {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tf-media-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
.tf-media-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #f1f5f9;
}

/* Infographic image card: square thumbnail, whole image visible */
.tf-info-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  background: #f1f5f9;
}
.tf-info-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tf-info-thumb:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: -3px;
}
.tf-soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  background: #fff4e5;
  color: #9a4a00;
  font-size: 14px;
  font-weight: 600;
}

/* Tile artwork: layout (poster / reel / podcast / info / doc) x tone */
.tf-tone--red     { --tf-bg: linear-gradient(160deg, #e8552a 0%, #c41d1d 100%); --tf-accent: #d9481f; }
.tf-tone--orange  { --tf-bg: radial-gradient(circle at 50% 30%, #f9a83a 0%, #ef6a1a 55%, #b8400c 100%); --tf-accent: #e05a1a; }
.tf-tone--navy    { --tf-bg: linear-gradient(140deg, #13224f 0%, #1d3c8c 100%); --tf-accent: #c81e1e; }
.tf-tone--green   { --tf-bg: linear-gradient(160deg, #0b6a4e 0%, #053a2b 100%); --tf-accent: #0b7a4d; }
.tf-tone--magenta { --tf-bg: linear-gradient(160deg, #b2185d 0%, #8a0f45 100%); --tf-accent: #b2185d; }
.tf-tone--blue    { --tf-bg: linear-gradient(160deg, #2156c6 0%, #0f2c74 100%); --tf-accent: #1d4fb8; }

.tf-art {
  position: relative;
  aspect-ratio: 6 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 24px;
  overflow: hidden;
  background: var(--tf-bg);
  color: #ffffff;
  text-align: center;
}
.tf-art-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}
.tf-art-caption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.tf-art-icon {
  font-size: 88px;
  line-height: 1;
  margin-bottom: 6px;
}
.tf-art--poster .tf-art-title {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tf-art--poster .tf-art-caption {
  text-transform: uppercase;
}
.tf-art--reel .tf-art-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.tf-art-play {
  margin-top: 10px;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
}
.tf-art--podcast {
  align-items: flex-start;
  text-align: left;
  background: var(--tf-bg, linear-gradient(135deg, #4c1d95 0%, #86198f 100%));
}
.tf-art--podcast::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border: 30px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}
.tf-art-episode {
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tf-art-wave {
  width: 100%;
  height: 34px;
  margin-top: 8px;
  background: repeating-linear-gradient(90deg, #f5a524 0 4px, transparent 4px 9px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0 20%, #000 20% 80%, transparent 80%);
  mask-image: linear-gradient(180deg, transparent 0 20%, #000 20% 80%, transparent 80%);
}
.tf-art--info {
  align-items: flex-start;
  text-align: left;
  background: #fdf5e8;
  color: #7c2d12;
}
.tf-art--info .tf-art-title {
  color: var(--tf-accent);
  -webkit-line-clamp: 3;
}
.tf-art--info .tf-art-caption {
  letter-spacing: 0;
  font-size: 13px;
  opacity: 1;
}
.tf-art-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}
.tf-art-checklist span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tf-art-checklist span::before {
  content: "\f00c";
  font-family: FontAwesome;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tf-art-checklist span::after {
  content: "";
  height: 8px;
  border-radius: 4px;
  background: #fbd5a5;
  width: 70%;
}
.tf-art-checklist span:nth-child(2)::after { width: 56%; }
.tf-art-checklist span:nth-child(3)::after { width: 64%; }
.tf-art-checklist span:nth-child(4)::after { width: 48%; }
.tf-art--doc {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}
.tf-art-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 82%;
  padding: 22px 18px;
  border: 4px solid var(--tf-accent);
  border-radius: 8px;
  background: #ffffff;
  color: var(--tf-accent);
}
.tf-art-doc .tf-art-title {
  font-size: 18px;
  -webkit-line-clamp: 4;
}
.tf-art-doc-tag {
  padding: 4px 14px;
  border-radius: 4px;
  background: var(--tf-accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.tf-art-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.tf-empty {
  padding: 56px 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  text-align: center;
  color: #64748b;
}
.tf-empty .fa {
  font-size: 32px;
  margin-bottom: 8px;
}

/* Pagination */
.tf-pager-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.tf-pager-status {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}
.tf-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tf-pager-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #ffffff;
  color: #0f172a !important;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}
a.tf-pager-btn:hover {
  background: #f1f5f9;
}
.tf-pager-btn.is-current {
  background: #1d6fe0;
  border-color: #1d6fe0;
  color: #ffffff !important;
}
.tf-pager-btn.is-disabled {
  color: #94a3b8 !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .tf-cta-grid {
    grid-template-columns: 1fr;
  }
  .tf-gallery-grid,
  .tf-strategy {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .tf-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .tf-brand-row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }
  .tf-brand-mohfw,
  .tf-brand-partners {
    justify-self: center;
  }
  .tf-brand-mohfw img {
    width: 160px;
  }
  .tf-brand-title {
    font-size: 18px;
    line-height: 26px;
  }
  .tf-brand-partners img {
    max-height: 44px;
    width: auto;
  }
  .tf-tabs-inner {
    gap: 22px;
  }
  .tf-tab {
    font-size: 15px;
  }
  .tf-page {
    padding-top: 20px;
  }
  .tf-hero-img {
    border-radius: 10px;
  }
  .tf-facts {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }
  .tf-strategy {
    grid-template-columns: 1fr;
  }
  .tf-strategy li {
    font-size: 16px;
  }
  .tf-media-bar {
    padding: 18px 20px;
  }
  .tf-media-bar-title {
    font-size: 19px;
  }
  .tf-qr-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }
  .tf-qr-thumb {
    align-self: center;
  }
  .tf-video-card {
    padding: 22px;
  }
  .tf-qr-body h2,
  .tf-video-card h2 {
    font-size: 22px;
  }
  .tf-pledge-modal-body {
    padding: 0 20px 16px;
  }
  .tf-pledge-modal-head h2 {
    font-size: 20px;
  }
  .tf-gallery-grid {
    grid-template-columns: 1fr;
  }
  .tf-helpline-text {
    font-size: 16px;
  }
  .tf-helpline-btn {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tf-media-bar,
  .tf-media-bar-arrow,
  .tf-btn {
    transition: none;
  }
  .tf-media-bar:hover,
  .tf-media-bar:hover .tf-media-bar-arrow {
    transform: none;
  }
}
