/* ==========================================================================
   India Business Case Programme (IBCP) Microsite - Master Stylesheet
   Matching standard mockup design UI exactly
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
  --hsbc-red: #DB0011;
  --hsbc-red-hover: #B8000E;
  --hsbc-red-light: rgba(219, 0, 17, 0.08);
  --hsbc-blue: #0050A0;

  --bg-dark: #0A0C0F;
  --bg-grey: #DDDDDD;
  --bg-white: #FFFFFF;
  --bg-footer: #E0E0E0;

  --text-dark: #1E2024;
  --text-muted: #5A606A;
  --text-light: #F9FAFB;
  --text-red: #DB0011;

  --font-primary: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Lato', 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(219, 0, 17, 0.3);

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Section Container & Titles --- */
.section-container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
  position: relative;
}

.section-title sup {
  font-size: 0.5em;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* --- 1. HERO BANNER SECTION --- */
.hero-section {
  position: relative;
  min-height: 560px;
  background: url('image/herobanner1.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #FFF;
  padding: 32px 0 40px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 12, 15, 0.45) 0%,
      rgba(10, 12, 15, 0.25) 50%,
      rgba(10, 12, 15, 0.55) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top Logos Bar (Top Right) */
.hero-top-logos {
  display: flex;
  justify-content: flex-end;
  width: 50%;
  position: absolute;
  top: 20px;
  right: 0;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  color: var(--text-dark);
}

.partner-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6B7280;
}

.hsbc-brand img {
  height: 45px;
  width: auto;
}

.sattva-brand img {
  height: 45px;
  width: auto;
}

.united-brand img {
  height: 45px;
  width: auto;
}

.v-divider {
  width: 1px;
  height: 36px;
  background: #989797;
}

/* Hero Text Positioned Top Left */
.hero-header-text {
  text-align: left;
  max-width: 650px;
  margin-top: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.9rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #E5E7EB;
  /* letter-spacing: 1px; */
  text-transform: capitalize;
  margin-top: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Bottom Right Register Button */
.hero-bottom-action {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
}

.btn-register-hero {
  background: var(--hsbc-red);
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 3px;
  padding: 11px 52px;
  clip-path: polygon(18px 0%, 100% 0%, calc(100% - 18px) 100%, 0% 100%);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  border: none;

  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.btn-register-hero:hover {
  background: var(--hsbc-red-hover);
  box-shadow: 0 8px 24px rgba(219, 0, 17, 0.5);
}

/* --- 2. INTRO & OVERVIEW SECTION (SECTION 2) --- */
.intro-section {
  padding: 60px 24px;
  background: var(--bg-white);
  text-align: left;
}

.intro-content-centered {
  max-width: 97%;
  width: 100%;
  margin: 0;
  text-align: left;
}

.intro-headline {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: left;
  width: 85%;
}

/* Highlight Badges */
.highlight-badge {
  display: inline;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  color: #FFF;
  font-weight: 700;
  font-size: inherit;
  vertical-align: baseline;
  white-space: nowrap;
  margin: 0 4px;
  letter-spacing: 1px;
}

/* Helper to hide br on desktop and show on mobile */
.desktop-hide-br {
  display: none;
}

.badge-red {
  background: var(--hsbc-red);
}

.badge-blue {
  background: var(--hsbc-blue);
}

.intro-paragraphs {
  text-align: left;
  max-width: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.intro-paragraphs strong {
  color: var(--text-dark);
}

.intro-paragraphs p {
  color: #000;
  font-size: 1.2rem;
}

/* --- 2. BENEFITS SECTION ("What's in it For You?") --- */
.benefits-section {
  background: #ddd;
  padding: 70px 24px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-image-wrap {
  position: relative;
  height: 330px;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.benefit-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.card-content {
  padding: 24px 36px 24px 36px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hsbc-red);
  margin-bottom: 8px;
  line-height: 1.35;
}

.card-desc {
  font-size: 1.1rem;
  color: #0A0C0F;
  line-height: 1.6;
  width: 80%;
}

/* --- 3. ELIGIBILITY CRITERIA SECTION --- */
.eligibility-section {
  background: var(--bg-white);
  padding: 80px 24px;
}

/* 2-column grid */
.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}



.eligibility-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  transition: transform var(--transition-fast);
}

.eligibility-card:hover {
  transform: translateY(-6px);
}

/* Make 5th card full width */
.eligibility-card:nth-child(5) {
  grid-column: 1 / -1;
  width: 100%;
}

.eligibility-card--offset:nth-child(4),
.eligibility-card--offset:nth-child(5) {
  margin-left: 0;
}


.eligibility-card--offset:nth-child(5) .elig-text {
  max-width: 90%;
}



/* Blue hexagon icon container */
.elig-icon-hex {
  width: 104px;
  height: 62px;
  background: var(--hsbc-blue);
  clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-bounce);
}

.eligibility-card:hover .elig-icon-hex {
  background: #003d80;
  transform: scale(1.08);
}

.elig-svg-icon {
  width: 41px;
  height: 41px;
  object-fit: contain;
  display: block;
}

.elig-text {
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  max-width: 370px;
}

.elig-text strong {
  font-weight: 700;
  color: #000;
}

/* Responsive: stack to single column on mobile */
@media (max-width: 768px) {
  .eligibility-grid {
    flex-direction: column;
    align-items: center;
    gap: 32px 20px;
  }

  .eligibility-card,
  .eligibility-card--offset:nth-child(4),
  .eligibility-card--offset:nth-child(5) {
    width: 100%;
  }
}

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

/* --- 4. TIMELINE SECTION (Center Vertical Line & Dots) --- */
.timeline-section {
  padding: 80px 24px;
  background: #DDDDDD;
  position: relative;
}

.timeline-wrapper {
  position: relative;
  padding: 60px 0;
  max-width: 1111px;
  margin: 0 auto;
}

/* Top and Bottom SVG cap dots for the timeline vertical line */
.timeline-line-top-dot,
.timeline-line-bottom-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: auto;
  z-index: 3;
  display: block;
}

.timeline-line-top-dot {
  top: 10px;
}

.timeline-line-bottom-dot {
  bottom: 10px;
}

/* Center Pink/Red Vertical Line Track */
.timeline-line-track {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 50%;
  width: 2px;
  background: #E42816;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-line-progress {
  display: none;
}

/* Alternating Timeline Items */
.timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 50px;
  z-index: 2;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Item Left Layout — text right side, image left side, node at exact center */
.item-left {
  flex-direction: row;
}

.item-left .timeline-content {
  width: 44%;
  text-align: right;
  padding-right: 40px;
  position: relative;
}

.item-left .timeline-media {
  width: 44%;
  padding-left: 40px;
  margin-left: auto;
}

/* Item Right Layout — image left side, text right side, node at exact center */
.item-right {
  flex-direction: row;
}

.item-right .timeline-media {
  width: 44%;
  text-align: right;
  padding-right: 40px;
}

.item-right .timeline-content {
  width: 44%;
  text-align: left;
  padding-left: 40px;
  margin-left: auto;
  position: relative;
}

/* ── TIMELINE NODE & CONNECTOR ─────────────────────────────────────────────
   DOT appears at the TEXT/CONTENT edge (not at the center line).
   LINE extends from the dot toward the center vertical line.
   ─────────────────────────────────────────────────────────────────────────── */

/* Base node: horizontal connector line spanning gap from content edge → center */
.timeline-node {
  position: absolute;
  top: 9px;
  height: 2px;
  background: #A3A3A3;
  z-index: 4;
}

/* LEFT ITEM: line starts at content right edge (44%) and ends at center (50%) */
.item-left .timeline-node {
  left: 44%;
  width: 6%;
}

.item-left .timeline-node .node-dot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  display: block !important;
  z-index: 5;
}

/* RIGHT ITEM: line starts at center (50%) and ends at content left edge (~56%) */
.item-right .timeline-node {
  left: 50%;
  width: 6%;
}

.item-right .timeline-node .node-dot {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  width: 20px;
  height: 20px;
  display: block !important;
  z-index: 5;
}

/* node-dot: shown as image — positioned by parent rules above */
.node-dot {
  object-fit: contain;
}

/* Remove old content-based connector pseudo-elements — connector is now on .timeline-node */
.item-left .timeline-content::after,
.item-right .timeline-content::before {
  display: none;
}

/* Timeline Typography & Media Styling */
.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1.3;
}

.timeline-title.red-title {
  color: #E42816;
}

.timeline-title.bold-dark {
  font-weight: 900;
  color: var(--text-dark);
}

.timeline-dates {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: #41464f;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.timeline-desc strong {
  color: #000;
}

.timeline-desc {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.media-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-block;
  width: 250px;
  transition: transform var(--transition-fast);
}

.media-box img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.timeline-item:hover .media-box {
  transform: scale(1.03);
}

/* --- 4. VIDEO GLIMPSES SECTION --- */
.glimpses-section {
  background: var(--bg-white);
  padding: 80px 24px;
}

.video-preview-card {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
  cursor: pointer;
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.video-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.video-cover-img {
  width: 100%;
  height: auto;
  display: block;
}

.video-play-zone {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
}

.btn-play-trigger {
  width: 72px;
  height: 72px;
  background: #000;
  color: #FFF;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-bounce), background var(--transition-fast);
}

.video-preview-card:hover .btn-play-trigger {
  background: var(--hsbc-red);
  transform: scale(1.1);
}

/* --- 5. PROGRAMME OUTREACH SECTION --- */

/* #programme-outreach .section-container {
  max-width: 1000px !important;
  margin: 0 auto;
} */

.programme-outreach-section {
  background: #DDDDDD;
  padding: 80px 24px;
}

.outreach-headline {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 48px;
  /* text-decoration: underline; */
  text-underline-offset: 4px;
  max-width: 950px;
}

.outreach-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.outreach-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.outreach-text p {
  font-size: 1.2rem;
  color: #000;
  line-height: 1.75;
  margin: 0;
}

.outreach-text strong {
  font-weight: 700;
}

.outreach-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.outreach-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.outreach-caption {
  font-size: 1.1rem;
  color: #000;
  line-height: 1.65;
  margin: 0;
}

.outreach-email {
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
  transition: color var(--transition-fast);
}

.outreach-email:hover {
  color: var(--hsbc-red);
}

@media (max-width: 768px) {
  .outreach-body {
    grid-template-columns: 1fr;
  }

  .outreach-headline {
    font-size: 1.5rem;
  }
}

/* --- 6. FAQ SECTION (Bootstrap Accordion) --- */
.faq-section {
  background: var(--bg-white);
  padding: 80px 24px;
}

.faq-accordion-list .accordion-item.faq-item {
  border: none;
  border-bottom: 1px solid #E5E7EB;
  border-radius: 0 !important;
  background: transparent;
}

.faq-accordion-list .accordion-item.faq-item:last-child {
  border-bottom: none;
}

.faq-accordion-list .faq-question-btn {
  background: transparent;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 20px 0;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.faq-accordion-list .faq-question-btn:not(.collapsed) {
  color: var(--hsbc-red);
  background: transparent;
  box-shadow: none !important;
}

/* Hide default Bootstrap chevron arrow */
.faq-accordion-list .faq-question-btn::after {
  display: none;
}

/* Custom plus/minus icon using ::before on a span we'll add via CSS */
.faq-accordion-list .faq-question-btn {
  position: relative;
  padding-right: 36px;
}

/* Plus icon on collapsed state */
.faq-accordion-list .faq-question-btn.collapsed .faq-icon::before {
  content: '+';
}

/* Minus icon on expanded state */
.faq-accordion-list .faq-question-btn:not(.collapsed) .faq-icon::before {
  content: '\2212';
}

.faq-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hsbc-red);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.faq-accordion-list {
  width: 100%;
}

.faq-accordion-list .accordion-body.faq-answer-content {
  padding: 0 0 20px 0;
  background: transparent;
}

.faq-accordion-list .faq-answer-content p {
  font-size: 1.2rem;
  color: #000;
  line-height: 1.65;
  margin: 0;
}

.faq-list {
  padding-left: 20px;
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list li {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 4px;
}

.faq-list li::marker {
  color: var(--hsbc-red);
  font-size: 1rem;
}

.faq-subheading {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

/* --- 6. FOOTER SECTION & REGISTER BUTTON --- */
.main-footer {
  background: var(--bg-footer);
  padding: 40px 24px;
  border-top: none;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--text-dark);
  text-align: left;
  margin: 0;
}

.footer-logos-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.f-supp {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.f-divider {
  width: 1px;
  height: 40px;
  background: #999;
}

.f-partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.f-partner img {
  height: 36px;
  width: auto;
  display: block;
}

.hsbc-f {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hsbc-logo-img {
  height: 60px !important;
}

.sattva-logo-img {
  height: 60px !important;
}

.united-logo-img {
  height: 60px !important;
}

/* Custom QR Code Display */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-qr-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.footer-qr-img {
  height: 131px;
  width: auto;
  display: block;
}

/* Red Register Button in Footer */
.btn-register-footer {
  background: var(--hsbc-red);
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 2px;
  padding: 6px 52px;
  clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
  border: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  margin-top: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.btn-register-footer:hover {
  background: var(--hsbc-red-hover);
  box-shadow: 0 6px 18px rgba(219, 0, 17, 0.45);
}

.footer-bottom-bar {
  border-top: 1px solid #CBD5E1;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Bootstrap IBCP Register Modal Overrides --- */
.ibcp-modal-card {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
  font-family: var(--font-primary);
}

.ibcp-modal-header {
  padding: 28px 28px 0;
}

.modal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--hsbc-red);
  background: var(--hsbc-red-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.ibcp-modal-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.ibcp-modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.ibcp-close-btn {
  align-self: flex-start;
  margin-top: 4px;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.ibcp-close-btn:hover {
  opacity: 1;
}

.ibcp-modal-body {
  padding: 20px 28px 28px;
}

.ibcp-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.ibcp-input {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  color: var(--text-dark);
}

.ibcp-input:focus {
  border-color: var(--hsbc-red);
  box-shadow: 0 0 0 3px rgba(219, 0, 17, 0.15);
  outline: none;
}

.ibcp-submit-btn {
  background: var(--hsbc-red);
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.ibcp-submit-btn:hover {
  background: var(--hsbc-red-hover);
  transform: translateY(-1px);
  color: #FFF;
}

/* Back to top button */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--hsbc-red);
  color: #FFF;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(219, 0, 17, 0.35);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-bounce), background var(--transition-fast), box-shadow var(--transition-fast);
  font-size: 1rem;
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.08);
  background: var(--hsbc-red-hover);
  box-shadow: 0 8px 24px rgba(219, 0, 17, 0.5);
}

/* --- Scroll Reveal Animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

/* Responsive View Optimizations */
@media (max-width:992px) {


  .card-desc {
    width: 100%;
  }



  /* --- HERO BANNER MOBILE --- */
  .hero-section {
    background: url('image/mob_banner.png') center/cover no-repeat !important;
    min-height: 100vh;
    padding: 24px 0;
    display: flex;
    align-items: stretch;
  }

  .hero-container {
    padding: 0 40px 0 24px;
    min-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* 1. Title first */
  .hero-header-text {
    order: 1;
    margin-top: 24px;
    max-width: 100%;
    text-align: left;
  }

  /* 2. Logos second */
  .hero-top-logos {
    order: 2;
    position: static;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
  }

  /* 3. Register button third, pushed to bottom, shifted slightly left */
  .hero-bottom-action {
    order: 3;
    display: flex;
    justify-content: flex-end;
    padding-right: 24px;
    /* shift left from right edge */
    width: 100%;
    margin-top: auto;
    padding-bottom: 28px;
  }

  .partner-pill {
    padding: 6px 12px;
    gap: 10px;
  }

  .hsbc-brand img,
  .sattva-brand img,
  .united-brand img {
    height: 34px;
  }

  .v-divider {
    height: 20px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero-title br {
    display: none;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn-register-hero {
    font-size: 0.95rem;
    padding: 10px 32px;
  }

  /* --- INTRO SECTION MOBILE --- */
  .intro-section {
    padding: 48px 20px;
  }

  .intro-headline {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .intro-headline .highlight-badge {
    display: block;
    margin: 8px 0;
    width: fit-content;
    font-size: 1.4rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    white-space: normal !important;
  }

  .desktop-hide-br {
    display: inline !important;
  }

  /* --- BENEFITS / CARDS SECTION MOBILE --- */
  .benefits-section {
    padding: 48px 20px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .card-image-wrap {
    width: 100% !important;
    height: 180px !important;
  }

  /* --- TIMELINE SECTION MOBILE --- */
  .timeline-section {
    padding: 48px 20px;
  }

  .timeline-line-track {
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #000 !important;
    /* Black timeline line track */
    width: 2px;
  }

  .timeline-item {
    flex-direction: column !important;
    /* Stack items vertically */
    align-items: center !important;
    padding-left: 0 !important;
    margin-bottom: 48px;
    text-align: center;
  }

  .timeline-content {
    width: 100% !important;
    text-align: center !important;
    padding: 0 !important;
    margin-bottom: 12px;
  }

  .timeline-media {
    display: none !important;
    /* Hide media images in timeline on mobile */
  }

  /* Milestone hexagon shape + Vector1.png background centered in timeline */
  .timeline-node {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 60px !important;
    height: 52px !important;
    background: #DB0011 !important;
    /* Red background hexagon container */
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%) !important;
    z-index: 5;
    margin: 0 auto 16px auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .timeline-node::before {
    content: '' !important;
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    background: url('image/Vector1.png') center/contain no-repeat !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  /* Hide alternative node structures */
  .item-left .timeline-node,
  .item-right .timeline-node {
    left: 0 !important;
    right: auto !important;
    width: 60px !important;
    height: 52px !important;
    background: #DB0011 !important;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%) !important;
    margin: 0 auto 16px auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .item-left .timeline-node::before,
  .item-right .timeline-node::before {
    content: '' !important;
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    background: url('image/Vector1.png') center/contain no-repeat !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .item-left .timeline-node::after,
  .item-right .timeline-node::after,
  .item-left .timeline-content::after,
  .item-right .timeline-content::before {
    display: none !important;
  }

  /* --- GLIMPSES/VIDEO SECTION MOBILE --- */
  .glimpses-section {
    padding: 40px 16px;
  }

  .glimpses-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .video-preview-card {
    border-radius: var(--radius-md);
    max-width: 100%;
  }

  .btn-play-trigger {
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
  }

  /* --- OUTREACH SECTION MOBILE --- */
  .programme-outreach-section {
    padding: 48px 20px;
  }

  .outreach-headline {
    font-size: 1.5rem;
    margin-bottom: 28px;
  }

  .outreach-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .outreach-img {
    max-height: 240px;
    object-fit: cover;
  }

  /* --- ELIGIBILITY MOBILE --- */
  .eligibility-section {
    padding: 48px 16px;
  }

  .eligibility-grid {
    grid-template-columns: 1fr !important;
    gap: 36px 0 !important;
    max-width: 320px;
    margin: 0 auto;
  }

  .eligibility-card,
  .eligibility-card--offset:nth-child(4),
  .eligibility-card--offset:nth-child(5) {
    grid-column: 1 / -1 !important;
    align-items: center;
    text-align: center;
  }

  .elig-text {
    max-width: 100%;
    text-align: center;
  }

  /* --- FOOTER SECTION MOBILE --- */
  .main-footer {
    padding: 32px 20px;
  }

  .footer-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 32px;
  }

  .footer-logos-group {
    order: 3 !important;
    /* Partner logos are third */
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px;
  }

  .f-divider {
    display: none !important;
    /* Hide vertical dividers on mobile */
  }

  .footer-qr-card {
    order: 1 !important;
    /* QR code / scan is first */
    align-self: left !important;
  }

  .footer-cta-group {
    order: 2 !important;
    /* Tagline text / cta is second */
    align-items: flex-start !important;
    align-self: flex-start !important;
  }

  .footer-tagline {
    text-align: left !important;
  }

  .faq-accordion-list {
    width: 100%;
  }

  .intro-headline {
    width: 100%;
  }

  .eligibility-card--offset:nth-child(4) {
    margin-left: calc(0%);
  }

}

/* --- FOOTER SECTION MOBILE --- */
.main-footer-mobile {
  background: var(--bg-footer);
  padding: 40px 20px;
  color: var(--text-dark);
}

.footer-container-mobile {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.footer-mobile-qr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-qr-img-mobile {
  height: 120px;
  width: auto;
  margin-top: 8px;
}

.footer-mobile-register {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-qr-text-mobile {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  text-transform: uppercase;
}

.footer-mobile-register .btn-register-footer-mobile {
  background: var(--hsbc-red);
  color: #FFF;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 3px;
  padding: 9px 35px;
  clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
  border: none;
  margin-top: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
}

.footer-mobile-register .btn-register-footer-mobile:hover {
  background: var(--hsbc-red-hover);
  box-shadow: 0 6px 18px rgba(219, 0, 17, 0.45);
}

.footer-mobile-divider {
  width: 100%;
  height: 1px;
  background: #000;
  margin-bottom: 32px;
}

.footer-mobile-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
}

.footer-tagline-mobile {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.f-supp-mobile {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.footer-logos-group-mobile {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.f-partner-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hsbc-logo-img-mobile,
.sattva-logo-img-mobile,
.united-logo-img-mobile {
  height: 40px !important;
  width: auto;
}

.f-divider-mobile {
  width: 1px;
  height: 40px;
  background: #999;
}

/* --- TIMELINE MOBILE STYLING (MATCHING THE SCREENSHOT) --- */
.timeline-section-mobile {
  padding: 60px 20px;
  background: #DDDDDD;
}

.mob-timeline-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 30px;
}

/* Removed continuous vertical black path line background */
.mob-timeline-wrapper::before {
  display: none;
}

.mob-timeline-top-dot,
.mob-timeline-bottom-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: auto;
  z-index: 3;
}

.mob-timeline-top-dot {
  top: 0px;
}

.mob-timeline-bottom-dot {
  bottom: -10px;
  display: none;
}

.mob-timeline-item {
  position: relative;
  margin-bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mob-timeline-item:last-child {
  margin-bottom: 0;
}

/* Individual connector line */
.mob-connector-line {
  width: 2px;
  height: 40px;
  background: #000;
  margin: 0 auto;
}

/* Red hexagon background icon wrapper */
.mob-hexagon-node {
  width: 58px;
  height: 50px;
  background: #E42816;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(219, 0, 17, 0.3);
}

.mob-node-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mob-timeline-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  text-align: center;
}

.mob-timeline-title.text-red {
  color: #E42816;
}

.mob-timeline-dates {
  display: block;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-align: center;
}

.mob-timeline-desc {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
  text-align: center;
  max-width: 310px;
  margin: 0 auto;
}

.faq-accordion-list {
  width: 100%;
}

/* --- VIDEO MODAL RESPONSIVENESS --- */
.video-modal-dialog {
  max-width: 70%;
}

@media (max-width: 768px) {
  .video-modal-dialog {
    max-width: 95% !important;
    margin: 1rem auto;
  }
}