/* ============================================================
   ABOUT SPF â€” PAGE-SPECIFIC STYLES
   about-spf.css
   ============================================================ */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 1 â€” ONE CONVICTION / TWO PLATFORMS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.spf-platforms {
  background: #fff;
  padding: calc(62px + 64px) 60px 72px;
  text-align: center;
}

/* Main heading */
.spf-platforms-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  margin-bottom: 48px;
}

.spf-platforms-title .blue {
  color: var(--blue);
}

/* Two-card row */
.spf-platforms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* Card base */
.spf-platform-card {
  background: #F7F7F7;
  border-radius: 18px;
  border: 2px solid transparent;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

/* Left card â€” SPF (orange border) */
.spf-platform-card--spf {
  border-color: #E07B00;
}

/* Right card â€” NEC (blue border) */
.spf-platform-card--nec {
  border-color: var(--blue);
}

/* Card heading */
.spf-platform-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #000;
  line-height: 1.35;
  margin-bottom: 12px;
}

/* Card body text */
.spf-platform-card p {
  font-size: 1rem;
  color: #000;
  line-height: 1.65;
}

/* Logo area â€” bottom right */
.spf-platform-logo {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 24px;
}

.spf-platform-logo img {
  height: 110px;
  width: auto;
  object-fit: contain;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@media (max-width: 720px) {
  .spf-platforms {
    padding: 100px 24px 48px;
  }

  .spf-platforms-grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------
   SECTION 2 - WHAT IS THE STARTUP POLICY FORUM? (new cards)
   ----------------------------------------- */

.spf-what-new {
  background: #fff;
  padding: 72px 60px;
}

.spf-what-new-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.spf-what-new-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.spf-what-new-sub {
  font-size: 1.2rem;
  color: #000;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 48px;
}

.spf-what-new-cards {
  display: flex;
  align-items: stretch;
  background: #E6E6E6;
  border-radius: 16px;
  overflow: visible;
  gap: 0;
}

.spf-what-new-card {
  flex: 1;
  background: transparent;
  color: #000;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease,
              box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34,1.4,0.64,1);
  border-radius: 12px;
  margin: 6px;
  position: relative;
  z-index: 1;
}

.spf-what-new-cards .spf-what-new-card.active,
.spf-what-new-cards .spf-what-new-card:hover {
  background: #328CC5;
  color: #fff;
  transform: scale(1.06, 1.5) !important;
  box-shadow: 0 16px 36px rgba(50, 140, 197, 0.45);
  z-index: 10;
}

.spf-what-new-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: inherit;
}

.spf-what-new-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: inherit;
}

.spf-what-new-divider {
  width: 1px;
  background: rgba(0,0,0,0.15);
  align-self: stretch;
  flex-shrink: 0;
  margin: 16px 0;
}

@media (max-width: 700px) {
  .spf-what-new { padding: 48px 20px; }
  .spf-what-new-cards {
    flex-direction: column;
    border-radius: 12px;
  }
  .spf-what-new-divider {
    width: auto;
    height: 1px;
    margin: 0 16px;
  }
  .spf-what-new-card { margin: 4px; }
}

/* -----------------------------------------
   SECTION 2 - WHAT IS THE STARTUP POLICY FORUM?
   ----------------------------------------- */

.spf-what {
  background: #fff;
  padding: 72px 60px;
}

.spf-what-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.spf-what-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.spf-orange {
  color: #E07B00;
}

.spf-green {
  color: #2E7D32;
}

.spf-what-sub {
  font-size: 1.2rem;
  color: #000;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 48px;
}

.spf-what-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}

.spf-what-col+.spf-what-col {
  border-left: 2px solid #ddd;
  padding-left: 24px;
}

.spf-what-col h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 8px;
}

.spf-what-col p {
  font-size: 1.1rem;
  color: #000;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .spf-what {
    padding: 48px 24px;
  }

  .spf-what-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .spf-what-cols {
    grid-template-columns: 1fr;
  }
}



/* -----------------------------------------
   SECTION 2 - HOW WE MAKE THIS HAPPEN
   ----------------------------------------- */

.spf-how {
  background: #fff;
  padding: 80px 60px;
}

.spf-how-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.spf-how-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 56px;
  line-height: 1.2;
}

.spf-red {
  color: var(--red);
}

.spf-how-cols {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.spf-how-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 28px;
  text-align: center;
  align-items: center;
}

.spf-how-col:first-child {
  padding-left: 0;
}

.spf-how-col:last-child {
  padding-right: 0;
}

/* ── Hover: lift the whole column ── */
.spf-how-col {
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  cursor: default;
}

.spf-how-col:hover {
  transform: translateY(-6px);
}

/* ── Hover: pill scales ── */
.spf-how-pill {
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.25s ease;
}

.spf-how-col:hover .spf-how-pill {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(130, 0, 0, 0.25);
}

/* ── Hover: tags light up ── */
.spf-how-tag {
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.spf-how-col:hover .spf-how-tag {
  background: #1A56DB;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Staggered tag delay so they light up one by one ── */
.spf-how-col:hover .spf-how-tag:nth-child(2) {
  transition-delay: 0.05s;
}

.spf-how-divider {
  width: 17px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  align-self: stretch;
  opacity: 0.5;
}

.spf-how-pill {
  display: inline-block;
  background: linear-gradient(135deg, #8C0000, #560202);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
}

.spf-how-desc {
  font-size: 1rem;
  color: #000 !important;
  line-height: 1.65;
  flex: 1;
}

.spf-how-tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.spf-how-tag {
  display: inline-block;
  background: #D9D9D9;
  color: #006BA6;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

@media (max-width: 860px) {
  .spf-how {
    padding: 48px 20px;
  }

  .spf-how-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
    max-width: 520px;
    margin: 0 auto;
  }

  .spf-how-divider {
    display: none;
  }

  .spf-how-col {
    padding: 0 !important;
    align-items: center;
    text-align: center;
  }

  .spf-how-col:last-child {
    grid-column: 1 / -1;
    max-width: 240px;
    margin: 0 auto;
  }
}

/* -----------------------------------------
   SECTION 3 - SPF CENTRES (blue background)
   ----------------------------------------- */

.centres-section {
  background: var(--blue) !important;
}

.centres-section .section-title {
  color: #fff !important;
}

.centres-section .centres-intro {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Centre cards - text below white card on blue bg */
.centres-section .centre-name {
  color: #fff !important;
  font-weight: 700;
  margin-top: 14px;
  text-align: center;
}

.centres-section .centre-desc {
  color: rgba(255, 255, 255, 0.85) !important;
  text-align: center;
}

/* -----------------------------------------
   SECTION 4 - FULL-WIDTH TEAM PHOTO
   ----------------------------------------- */

.spf-team-photo {
  width: 100%;
  line-height: 0;
}

.spf-team-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------
   SECTION 5 - CEO QUOTE (new layout)
   ----------------------------------------- */

.spf-ceo-new {
  background: #F7F7F7 !important;
  padding: 0 !important;
}

.spf-ceo-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: end;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.spf-ceo-img-col {
  display: flex;
  align-items: flex-end;
}

.spf-ceo-photo {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom;
}

.spf-ceo-text-col {
  padding: 48px 0 48px 40px;
}

.spf-ceo-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
}

.spf-ceo-quote {
  font-size: 0.95rem;
  color: #000;
  line-height: 1.75;
  margin-bottom: 20px;
}

.spf-ceo-title {
  font-size: 0.85rem;
  color: #000;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .spf-ceo-inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .spf-ceo-photo {
    max-width: 220px;
  }

  .spf-ceo-text-col {
    padding: 24px 0;
  }
}

/* -----------------------------------------
   SECTION 5 - QUOTE SPOTLIGHT CARDS (Coverflow Carousel)
   ----------------------------------------- */

.spf-quote-section {
  background: #fff;
  padding: 80px 0 0;
  overflow: hidden;
}

/* Viewport — clips cards outside the visible band */
.spf-quote-row {
  position: relative;
  height: 640px;
  overflow: hidden;
}

/* All cards are absolutely positioned, centred horizontally */
.spf-quote-card {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #F7F7F7;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;

  /* Smooth slide + resize */
  transition:
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.7s ease,
    box-shadow 0.7s ease;
}

/* ── Flat carousel — all cards same size ──
   Slot offsets (from viewport centre):
     0  →    0 px  (fully visible)
    ±1  → ±560 px  (card width 540 + 20 gap)
    ±2  → ±1120 px (hidden off-screen)
*/

.spf-quote-card[data-pos="0"] {
  width: 540px;
  height: 580px;
  transform: translateX(-50%) translateY(-50%);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.18);
}

.spf-quote-card[data-pos="-1"] {
  width: 540px;
  height: 580px;
  transform: translateX(calc(-50% - 560px)) translateY(-50%);
  opacity: 0.55;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.spf-quote-card[data-pos="1"] {
  width: 540px;
  height: 580px;
  transform: translateX(calc(-50% + 560px)) translateY(-50%);
  opacity: 0.55;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.spf-quote-card[data-pos="-2"] {
  width: 540px;
  height: 580px;
  transform: translateX(calc(-50% - 1120px)) translateY(-50%);
  opacity: 0;
  z-index: 1;
  box-shadow: none;
}

.spf-quote-card[data-pos="2"] {
  width: 540px;
  height: 580px;
  transform: translateX(calc(-50% + 1120px)) translateY(-50%);
  opacity: 0;
  z-index: 1;
  box-shadow: none;
}

/* Top content area */
.spf-quote-top {
  width: 85%;
  padding: 28px 24px 16px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Large quote mark */
.spf-quote-mark {
  position: absolute;
  bottom: 99px;
  right: 23px;
  font-size: 31rem;
  color: #E0E0E0;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}


.spf-quote-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
}

.spf-quote-role {
  font-size: 0.78rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin-bottom: 14px;
}

.spf-quote-text {
  font-size: 1rem;
  color: #000;
  line-height: 1.7;
}

/* Photo — bottom right corner */
.spf-quote-photo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom right;
}

.spf-quote-photo--pragya {
  width: 38.5%;
}

.spf-quote-photo--kartik {
  width: 49.5%;
}

.spf-quote-photo--chetan {
  width: 49.5%;
}

.spf-quote-photo--harshil {
  width: 46.75%;
}

/* Company logo — bottom left */
.spf-quote-logo {
  position: absolute;
  bottom: 20px;
  left: 24px;
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

.spf-quote-logo--elevenlabs {
  height: 46px;
}

/* Dual logos (SPF + NEC) on Shweta's card — bottom left, stacked */
.spf-quote-logos {
  position: absolute;
  bottom: 16px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.spf-quote-logos img {
  height: 70px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}


/* ─────────────────────────────────────────
   QUOTE CAROUSEL — MOBILE
   All cards stack to the same full-width
   slot; only data-pos="0" is visible.
   The auto-advance JS still fires normally,
   so it cross-fades between cards.
   ───────────────────────────────────────── */
@media (max-width: 720px) {
  .spf-quote-section {
    padding: 48px 0 0;
  }

  .spf-quote-row {
    height: 640px;
  }

  /* Every card: same size, centred — only opacity differs */
  .spf-quote-card {
    width: calc(100vw - 40px) !important;
    height: 600px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-50%) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14) !important;
  }

  /* Side / far cards: invisible, sit behind */
  .spf-quote-card[data-pos="-1"],
  .spf-quote-card[data-pos="1"],
  .spf-quote-card[data-pos="-2"],
  .spf-quote-card[data-pos="2"] {
    opacity: 0 !important;
    pointer-events: none;
    z-index: 1 !important;
  }

  /* Active card: fully visible on top */
  .spf-quote-card[data-pos="0"] {
    opacity: 1 !important;
    z-index: 3 !important;
  }

  /* Scale down the decorative quote mark and float it to the top */
  .spf-quote-mark {
    font-size: 10rem;
    bottom: auto;
    top: 10px;
    right: 12px;
  }

  /* Photo: slightly smaller on narrow screens */
  .spf-quote-photo {
    width: 48%;
  }

  /* Pragya: 20% smaller than default mobile photo */
  .spf-quote-photo--pragya {
    width: 38.4%;
  }

  /* Text: full card width on mobile */
  .spf-quote-top {
    width: 100%;
  }

  /* Logo: nudge in slightly */
  .spf-quote-logo {
    left: 16px;
    bottom: 14px;
  }
}