/* ═══════════════════════════════════════════════════
   INDDN Gap & Hope Strategy — Premium Light Theme
   Fonts: Cormorant Garamond (display) + DM Sans (body)
═══════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --white:        #FFFFFF;
  --cream:        #FAF8F5;
  --cream-2:      #F2EFE9;
  --cream-3:      #EAE6DE;

  --navy:         #1B3A6B;
  --navy-mid:     #2A5298;
  --navy-light:   #EBF0FA;
  --navy-xlight:  #F3F6FD;

  --saffron:      #D4600A;
  --saffron-mid:  #E8710A;
  --saffron-lt:   #FEF0E3;
  --saffron-xlt:  #FFF7F0;

  --teal:         #0B6E6E;
  --teal-lt:      #E0F5F5;

  --green:        #1A7040;
  --green-lt:     #E4F4EC;

  --amber:        #A0620A;
  --amber-lt:     #FEF5E3;

  --rose:         #8B2252;
  --rose-lt:      #FCE8F2;

  --red-deep:     #7A1F1F;
  --red-lt:       #FBECEC;

  --text-1:       #1A1A2E;
  --text-2:       #484868;
  --text-3:       #8888AA;
  --border:       rgba(26, 26, 46, 0.08);
  --border-mid:   rgba(26, 26, 46, 0.14);

  --font-disp:    'Cormorant Garamond', Georgia, serif;
  --font-body:    'Lato', sans-serif;

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;

  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:    0.3s;

  --shadow-xs: 0 1px 4px rgba(26,26,46,0.05);
  --shadow-sm: 0 2px 12px rgba(26,26,46,0.07);
  --shadow-md: 0 6px 28px rgba(26,26,46,0.10);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.05s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }


/* ══════════════════════════════════════════════════
   GOOGLE-STYLE HERO
══════════════════════════════════════════════════ */

/* Paper-texture background using SVG noise filter */
.page-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);

  background-color: #ffffff;
  background-image: none;
}

/* ── Top nav bar (Google-style) ── */
.gn-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  gap: 4px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.gn-bar-left {
  display: flex;
  align-items: center;
  gap: 4px;
}
.gn-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.gn-link {
  font-size: 0.82rem;
  color: var(--text-2);
  padding: 5px 10px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.gn-link:hover { color: var(--text-1); background: rgba(0,0,0,0.045); }
.gn-apps-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 1.05rem;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  margin: 0 2px;
}
.gn-apps-btn:hover  { background: rgba(0,0,0,0.06); color: var(--text-1); }
.gn-apps-btn.active { background: rgba(0,0,0,0.09); color: var(--text-1); }
.gn-signin-btn {
  padding: 9px 22px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gn-signin-btn:hover {
  background: var(--navy-mid);
  box-shadow: 0 2px 10px rgba(27,58,107,0.28);
}

/* Logged-in avatar state */
.gn-signin-btn.is-user {
  background: transparent;
  border: 2px solid var(--border-mid);
  color: var(--text-1);
  padding: 4px 12px 4px 4px;
  border-radius: 50px;
}
.gn-signin-btn.is-user:hover {
  background: var(--cream-2);
  box-shadow: var(--shadow-sm);
}
.gn-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}
.gn-user-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-1);
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Apps wrap + panel ── */
.gn-apps-wrap {
  position: relative;
}

.apps-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.08);
  z-index: 9999;
  overflow: hidden;

  /* hidden state */
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.apps-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.apps-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 10px;
}
.apps-panel-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #202124;
  letter-spacing: 0.01em;
}
.apps-panel-edit {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f3f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6368;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.apps-panel-edit:hover { background: #e0e0e0; }

/* 3-column apps grid */
.apps-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 6px 10px 10px;
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 6px 10px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.app-item:hover { background: #f1f3f4; }

.app-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.app-item:hover .app-icon-wrap {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.app-item span {
  font-size: 0.72rem;
  color: #444;
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 76px;
}

/* Footer promo strip */
.apps-panel-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(0,0,0,0.07);
  background: #f8f9fa;
}
.apps-footer-icon { font-size: 1.3rem; flex-shrink: 0; }
.apps-panel-footer span {
  font-size: 0.76rem;
  color: #5f6368;
  line-height: 1.45;
}
.apps-panel-footer strong { color: #202124; }

/* ── Google center block ── */
.goog-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 48px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ── INDDN Logo Image ── */
.inddn-logo-img {
  height: clamp(90px, 16vw, 160px);
  width: auto;
  max-width: 90vw;
  display: block;
  margin-bottom: 10px;
  object-fit: contain;
}

/* ── Acronym expansion: Indian Developing Network ── */
.inddn-fullname {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 6px;
}
.fn-i { color: #EA4335; font-weight: 700; }
.fn-d { color: #F47C00; font-weight: 700; }
.fn-n { color: #228822; font-weight: 700; }

/* ── 5 Pillars row ── */
.inddn-pillars {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  margin: 28px 0 16px;
  flex-wrap: wrap;
}
.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.pillar-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2.5px solid #d1d5db;
  color: #b0b8c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: #fff;
  transition: border-color 0.25s ease, color 0.25s ease,
              transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.pillar-item:hover .pillar-circle {
  border-color: var(--pillar-color);
  color: var(--pillar-color);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  background: #fff;
}
.pillar-item span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #b0b8c4;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.pillar-item:hover span {
  color: var(--pillar-color);
}

/* ── Search Opportunity divider label ── */
.search-motto {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 500px;
  margin-bottom: 12px;
}
.sm-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(to right, transparent, #b0b0c0);
}
.sm-line:last-child {
  background: linear-gradient(to left, transparent, #b0b0c0);
}
.sm-text {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888899;
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ── Subheading (formerly the hero title) ── */
.goog-sub {
  font-family: var(--font-disp);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.goog-sub em { font-style: italic; color: var(--navy); }

/* ── Search Engine Picker ── */
.sep-wrap {
  position: relative;
  flex-shrink: 0;
}

.sep-trigger {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px 4px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #9aa0a6;
  border-right: 1.5px solid #e8e8e8;
  margin-right: 12px;
  transition: color 0.15s;
}
.sep-trigger:hover,
.sep-trigger.open { color: #4285F4; }
.sep-trigger i:first-child { font-size: 1rem; }
.sep-chevron {
  font-size: 0.45rem;
  margin-top: 1px;
  transition: transform 0.22s ease;
}
.sep-trigger.open .sep-chevron { transform: rotate(180deg); }

/* ── Panel ── */
.sep-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  width: 258px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 12px 40px rgba(0,0,0,0.13);
  border: 1px solid rgba(0,0,0,0.07);
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.sep-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* India tricolor top stripe */
.sep-panel::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(to right, #FF9933 33%, #fff 33% 66%, #138808 66%);
}

/* Header */
.sep-panel-head {
  padding: 13px 16px 11px;
  border-bottom: 1px solid #f1f1f1;
}
.sep-panel-head span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #202124;
  letter-spacing: 0.01em;
}

/* Clean vertical list */
.sep-list {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

.sep-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.13s;
  position: relative;
}
.sep-item:hover { background: #f0f4ff; }

/* Arrow on hover */
.sep-item::after {
  content: '›';
  position: absolute;
  right: 16px;
  font-size: 1.1rem;
  color: #4285F4;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s;
}
.sep-item:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Icon */
.sep-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--font-body);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* Name + domain */
.sep-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sep-info strong {
  font-size: 0.84rem;
  font-weight: 600;
  color: #202124;
  line-height: 1.2;
}
.sep-info span {
  font-size: 0.7rem;
  color: #80868b;
}

/* Divider before footer */
.sep-divider {
  height: 1px;
  background: #f1f1f1;
  margin: 4px 0;
}

/* Footer */
.sep-panel-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px 11px;
  font-size: 0.67rem;
  color: #9aa0a6;
  background: #fafafa;
}

/* ── Search bar ── */
.goog-search-wrap {
  width: 100%;
  max-width: 584px;
  margin-bottom: 26px;
}
.goog-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.goog-search-bar:hover,
.goog-search-bar:focus-within {
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  border-color: transparent;
}
.goog-search-icon { color: #9aa0a6; font-size: 1rem; flex-shrink: 0; }
.goog-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-1);
  background: transparent;
  min-width: 0;
}
.goog-search-input::placeholder { color: #9aa0a6; }
.goog-search-right { display: flex; align-items: center; }
.goog-mic-btn {
  color: var(--saffron);
  font-size: 1rem;
  padding: 4px 6px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.goog-mic-btn:hover { background: rgba(212,96,10,0.08); }

/* ── Action buttons ── */
.goog-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.goog-btn {
  padding: 11px 22px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-1);
  font-family: var(--font-body);
  font-weight: 400;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.goog-btn:hover {
  background: var(--cream-3);
  border-color: var(--border-mid);
  box-shadow: 0 2px 10px rgba(0,0,0,0.09);
}

/* ── "Jump to" category links ── */
.goog-offered {
  font-size: 0.82rem;
  color: var(--text-2);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  line-height: 1.6;
}
.goof-label { color: var(--text-3); }
.goof-dot   { color: var(--border-mid); }
.goof-link {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(27,58,107,0.35);
  transition: color 0.15s, text-decoration-color 0.15s;
}
.goof-link:hover {
  color: var(--navy-mid);
  text-decoration-color: var(--navy-mid);
}

/* ── Stats bar ── */
.goog-stats-bar {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  background: #ffffff;
}
.goog-stats-bar .hero-stats {
  justify-content: center;
}

/* ── Inner footer bar (Google's bottom-of-page links) ── */
.goog-footer-bar {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-2);
  flex-shrink: 0;
}
.goof-country {
  display: flex;
  align-items: center;
  gap: 4px;
}
.goog-footer-left,
.goog-footer-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.goog-footer-bar a {
  color: var(--text-2);
  transition: color 0.15s;
}
.goog-footer-bar a:hover { color: var(--navy); }
.goof-pipe { color: var(--border-mid); }

/* ── Stats (used in stats bar) ── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; }
.hstat strong {
  font-family: var(--font-disp);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hstat span { font-size: 0.72rem; color: var(--text-3); margin-top: 3px; letter-spacing: 0.04em; }
.hstat-sep { width: 1px; height: 40px; background: var(--border-mid); }

/* keep eyebrow-dot for hope section */
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saffron);
  animation: blink 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
.eyebrow-dot.saffron { background: var(--saffron); }
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.35;transform:scale(0.8)} }


/* ── MAIN SECTION ── */
.main-section { padding: 56px 0 64px; }


/* ── FILTER BAR ── */
.filter-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.filter-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.pill {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-mid);
  background: var(--white);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform 0.15s;
}
.pill:hover { background: var(--cream-2); color: var(--navy); border-color: var(--border-mid); }
.pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pill:active { transform: scale(0.96); }

.filter-count {
  font-size: 0.75rem;
  color: var(--text-3);
  white-space: nowrap;
  margin-left: auto;
}
.filter-count span { color: var(--navy); font-weight: 500; }


/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 16px;
}


/* ── CATEGORY CARD ── */
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur);
  animation: cardReveal 0.45s var(--ease) both;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Card Header */
.card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px 12px;
  border-bottom: 1px solid var(--border);
}
.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.card-icon.navy-icon  { background: var(--navy-light);  color: var(--navy); }
.card-icon.teal-icon  { background: var(--teal-lt);     color: var(--teal); }
.card-icon.amber-icon { background: var(--amber-lt);    color: var(--amber); }
.card-icon.green-icon { background: var(--green-lt);    color: var(--green); }

.card-head-text { flex: 1; min-width: 0; }
.card-title { font-size: 13px; font-weight: 500; color: var(--text-1); line-height: 1.3; }
.card-subtitle { font-size: 11px; color: var(--text-3); margin-top: 1px; }

.card-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.badge-red    { background: var(--red-lt);    color: var(--red-deep); }
.badge-amber  { background: var(--amber-lt);  color: var(--amber); }
.badge-teal   { background: var(--teal-lt);   color: var(--teal); }
.badge-navy   { background: var(--navy-light); color: var(--navy); }

/* Brand Rows */
.brand-list {
  padding: 10px 16px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand-row {
  display: grid;
  grid-template-columns: 22px 56px 1fr;
  align-items: center;
  gap: 7px;
}
.b-flag { font-size: 14px; line-height: 1; }
.b-country { font-size: 11px; color: var(--text-3); }
.b-name { font-size: 12px; color: var(--text-1); }
.brand-row.india-row .b-name { color: var(--navy); font-weight: 500; }
.brand-row.india-row .b-name.nil { color: var(--red-deep); font-style: italic; font-weight: 400; }

/* Opportunity Box */
/* ── INDIA'S OPENING TOGGLE BUTTON ──────────────── */
.opp-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 14px 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  width: calc(100% - 28px);
}
.opp-toggle-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 5px;
}
.opp-chevron {
  transition: transform 0.22s ease;
}
.opp-toggle.active .opp-chevron {
  transform: rotate(180deg);
}
.opp-icon-wrap {
  width: 20px;
  height: 20px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.opp-icon-wrap i { font-size: 8px; color: #fff; }

/* ── INDIA'S OPENING EXPANDABLE BOX ─────────────── */
.opp-box {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0 14px;
  background: var(--navy-xlight);
  border: 1px solid transparent;
  border-radius: 10px;
  transition: max-height 0.28s ease,
              opacity 0.22s ease,
              padding 0.22s ease,
              margin 0.22s ease,
              border-color 0.22s ease;
}
.opp-box.open {
  max-height: 200px;
  opacity: 1;
  padding: 9px 11px;
  border-color: rgba(27, 58, 107, 0.12);
  margin: 6px 14px 14px;
}
.opp-text {
  font-size: 11px;
  color: #1B3A6B;
  line-height: 1.6;
}


/* ── HOPE SECTION ── */
.hope-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 80px 0 72px;
}

.hope-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 60px;
}
.hope-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 12px;
}
.hope-title {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.hope-sub { font-size: 0.95rem; color: var(--text-2); font-weight: 300; }

/* India flag badge */
.hope-header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.india-flag-badge {
  width: 72px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-mid);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.flag-stripe { flex: 1; display: flex; align-items: center; justify-content: center; }
.flag-stripe.orange { background: #FF9933; }
.flag-stripe.white  { background: #ffffff; }
.flag-stripe.green  { background: #138808; }
.ashoka-wheel {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #000080;
  position: relative;
}
.ashoka-wheel::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 0.5px solid rgba(0,0,128,0.4);
}
.flag-text {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}


/* PIPELINE */
.pipeline { margin-bottom: 72px; }
.pipeline-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.pipe-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.pipe-node { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pipe-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid rgba(27,58,107,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  transition: background var(--dur), border-color var(--dur), transform var(--dur);
}
.pipe-step:hover .pipe-icon {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: scale(1.06);
}
.pipe-icon.saffron-icon {
  background: var(--saffron-lt);
  border-color: rgba(212,96,10,0.25);
  color: var(--saffron);
}
.pipe-step:hover .saffron-icon {
  background: var(--saffron);
  color: #fff;
  border-color: var(--saffron);
}
.pipe-num {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-3);
}
.pipe-content { max-width: 180px; }
.pipe-content h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 6px;
}
.pipe-content p { font-size: 0.8rem; color: var(--text-2); line-height: 1.65; }

.pipe-connector {
  display: flex;
  align-items: center;
  padding: 0 6px;
  margin-top: 28px;
  flex-shrink: 0;
}
.connector-line {
  height: 2px;
  width: 48px;
  background: var(--cream-3);
  position: relative;
}
.connector-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--navy-mid), var(--saffron-mid));
  border-radius: 2px;
  transition: width 1s var(--ease);
}
.connector-line.animated::after { width: 100%; }
.connector-arrow {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--cream-3);
  transition: border-left-color var(--dur);
}


/* ROLES */
.roles-section { margin-bottom: 56px; }
.roles-title {
  font-family: var(--font-disp);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.roles-sub { font-size: 0.88rem; color: var(--text-2); margin-bottom: 28px; }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.role-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--border-mid); }
.role-card.featured-role {
  background: var(--navy-xlight);
  border-color: rgba(27,58,107,0.18);
}
.role-card.featured-role:hover { box-shadow: 0 6px 28px rgba(27,58,107,0.12); }

.role-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 14px;
}
.navy-bg   { background: var(--navy-light); color: var(--navy); }
.teal-bg   { background: var(--teal-lt);    color: var(--teal); }
.saffron-bg { background: var(--saffron-lt); color: var(--saffron); }
.green-bg  { background: var(--green-lt);   color: var(--green); }
.rose-bg   { background: var(--rose-lt);    color: var(--rose); }
.amber-bg  { background: var(--amber-lt);   color: var(--amber); }

.role-card h5 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 6px;
}
.role-card p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 14px;
}
.role-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--border-mid);
  color: var(--text-3);
}
.featured-tag { background: var(--navy); color: #fff; border-color: var(--navy); }


/* MISSION STRIP */
.mission-strip {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.mission-text {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}
.mission-heart { color: rgba(255,255,255,0.4); font-size: 1rem; }
.mission-text span { line-height: 1.5; }
.mission-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.mission-words {
  font-family: var(--font-disp);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
.mission-words em { color: var(--saffron-mid); font-style: normal; }

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--saffron-mid);
  color: #fff;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
}
.cta-button:hover {
  background: var(--saffron);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,96,10,0.35);
}
.cta-button i { font-size: 0.7rem; transition: transform var(--dur); }
.cta-button:hover i { transform: translateX(3px); }


/* ── FOOTER ── */
.page-footer {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.1em;
}
.footer-sep { color: var(--text-3); font-size: 0.8rem; }
.footer-tagline { font-size: 0.8rem; color: var(--text-3); }
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-2);
  transition: color var(--dur);
}
.footer-links a:hover { color: var(--navy); }


/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .pipeline-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-left: 32px;
    border-left: 2px solid var(--cream-3);
  }
  .pipe-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding: 20px 0;
  }
  .pipe-node { flex-direction: row; align-items: center; }
  .pipe-content { max-width: 100%; }
  .pipe-connector {
    display: none;
  }
  .pipe-icon { margin-left: -50px; }
  .hope-header { flex-direction: column; }
}

@media (max-width: 768px) {
  .hero-stats { gap: 18px; }
  .hstat-sep { display: none; }
  .filter-wrap { flex-direction: column; align-items: flex-start; }
  .filter-count { margin-left: 0; }
  .mission-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mission-cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* Google hero responsive */
  .gn-bar { padding: 10px 16px; }
  .gn-link { display: none; }
  .goog-footer-bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 16px; }
  .goog-footer-right { flex-wrap: wrap; gap: 10px; }
  .goof-pipe { display: none; }
  .goog-stats-bar .hero-stats { justify-content: flex-start; padding: 0 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .mission-strip { padding: 22px 20px; }

  /* Google hero responsive */
  .goog-center { padding: 10px 16px 36px; }
  .goog-btns { flex-direction: column; align-items: center; }
  .goog-btn { width: 100%; max-width: 280px; justify-content: center; }
  .goog-offered { gap: 6px; }
  .gn-signin-btn { padding: 8px 14px; font-size: 0.78rem; }
  .inddn-pillars { gap: 16px; }
  .pillar-circle { width: 52px; height: 52px; font-size: 1.1rem; }
  .pillar-item span { font-size: 0.55rem; }
}

/* ── SCROLL ANIMATION CLASSES ── */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-aos].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── NIL ROW JOIN BUTTON ── */
/* ── NIL CARD (India opportunity row) ─────────────── */
.nil-card {
  background: linear-gradient(135deg, rgba(27,58,107,0.04) 0%, rgba(212,96,10,0.04) 100%);
  border: 1px solid rgba(27,58,107,0.1);
  border-radius: 10px;
  margin: 4px 0 6px;
  overflow: hidden;
}

/* top row: flag · country · None yet · +Join */
.nil-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}
.nil-card-top .b-flag    { font-size: 1rem; flex-shrink: 0; }
.nil-card-top .b-country { font-size: 0.72rem; font-weight: 600; color: var(--navy); min-width: 46px; }
.nil-card-top .b-name    { font-size: 0.72rem; color: var(--red-deep); font-style: italic; flex: 1; }
.nil-card-top .nil-join-btn { margin-left: auto; }

/* bottom action bar */
.nil-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.6);
  border-top: 1px dashed rgba(27,58,107,0.12);
  flex-wrap: wrap;
}
.nil-actions-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  margin-right: 2px;
}

.nil-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: background var(--dur) var(--ease), transform 0.15s, box-shadow var(--dur);
  white-space: nowrap;
  flex-shrink: 0;
}
.nil-join-btn:hover {
  background: var(--saffron-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212,96,10,0.3);
}
.nil-join-btn i { font-size: 0.6rem; }

/* Post Project / Ongoing buttons */
.nil-project-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-style: dashed;
  transition: opacity 0.15s, text-decoration-color 0.15s;
}
.nil-project-btn i { font-size: 0.58rem; }
.nil-project-btn.saffron-btn {
  color: var(--saffron);
  text-decoration-color: rgba(212,96,10,0.4);
}
.nil-project-btn.saffron-btn:hover {
  opacity: 0.75;
  text-decoration-style: solid;
  text-decoration-color: var(--saffron);
}
.nil-project-btn.purple-btn {
  color: #5b3db5;
  text-decoration-color: rgba(91,61,181,0.35);
}
.nil-project-btn.purple-btn:hover {
  opacity: 0.75;
  text-decoration-style: solid;
  text-decoration-color: #5b3db5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91,61,181,0.3);
}

/* adjust brand-row grid */
.brand-row {
  grid-template-columns: 22px 56px 1fr auto;
}

/* ── ROLE PICKER (always visible) ───────────────── */
.role-picker {
  padding: 8px 6px 8px;
  background: #f9f7ff;
  border: 1px solid #e0d9f5;
  border-radius: 8px;
  margin: 2px 0 6px;
}
.rp-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.rp-label {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.75;
  white-space: nowrap;
  flex-shrink: 0;
}
.rp-tagline {
  font-size: 0.67rem;
  color: var(--red-deep);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
}
.rp-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.rp-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: #fff;
  color: var(--navy);
  border: 1.5px solid currentColor;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--dur) var(--ease),
              color var(--dur),
              transform 0.12s,
              box-shadow 0.15s;
  white-space: nowrap;
}
.rp-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.rp-btn i { font-size: 0.6rem; }

/* ── per-role colours ──────────────────────────── */

/* Strategic Partner — Amber / Gold */
.rp-btn[data-role="strategic_partner"] {
  color: var(--amber);
  background: var(--amber-lt);
}
.rp-btn[data-role="strategic_partner"]:hover {
  background: var(--amber);
  color: #fff;
}

/* Investor — Green */
.rp-btn[data-role="investor"] {
  color: var(--green);
  background: var(--green-lt);
}
.rp-btn[data-role="investor"]:hover {
  background: var(--green);
  color: #fff;
}

/* Project Manager — Navy */
.rp-btn[data-role="project_manager"] {
  color: var(--navy-mid);
  background: var(--navy-light);
}
.rp-btn[data-role="project_manager"]:hover {
  background: var(--navy-mid);
  color: #fff;
}

/* Participator — Teal */
.rp-btn[data-role="developer"] {
  color: var(--teal);
  background: var(--teal-lt);
}
.rp-btn[data-role="developer"]:hover {
  background: var(--teal);
  color: #fff;
}

/* Supporter — Rose */
.rp-btn[data-role="supporter"] {
  color: var(--rose);
  background: var(--rose-lt);
}
.rp-btn[data-role="supporter"]:hover {
  background: var(--rose);
  color: #fff;
}

/* Post Existing Project — Saffron */
.rp-btn[data-role="existing_project"] {
  color: var(--saffron);
  background: var(--saffron-lt);
}
.rp-btn[data-role="existing_project"]:hover {
  background: var(--saffron);
  color: #fff;
}

/* Ongoing Project — Deep Navy */
.rp-btn[data-role="ongoing_project"] {
  color: #5b3db5;
  background: #f0ecff;
}
.rp-btn[data-role="ongoing_project"]:hover {
  background: #5b3db5;
  color: #fff;
}

/* ── count badge ───────────────────────────────── */
.rp-count {
  display: none; /* shown by JS only when count > 0 */
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 20px;
  font-size: 0.58rem;
  font-weight: 700;
  margin-left: 2px;
  line-height: 1;
  color: #fff;
}
.rp-btn[data-role="strategic_partner"] .rp-count { background: var(--amber); }
.rp-btn[data-role="investor"]          .rp-count { background: var(--green); }
.rp-btn[data-role="project_manager"]   .rp-count { background: var(--navy-mid); }
.rp-btn[data-role="developer"]         .rp-count { background: var(--teal); }
.rp-btn[data-role="supporter"]         .rp-count { background: var(--rose); }
.rp-btn[data-role="existing_project"]  .rp-count { background: var(--saffron); }
.rp-btn[data-role="ongoing_project"]   .rp-count { background: #5b3db5; }
.rp-btn:hover .rp-count {
  background: rgba(255,255,255,0.28);
}


/* ══════════════════════════════════════════════════
   QUESTIONNAIRE MODAL
══════════════════════════════════════════════════ */
.qmodal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 38, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.qmodal-overlay.open { opacity: 1; }

.qmodal-box {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(10,18,38,0.22);
  transform: translateY(20px);
  transition: transform 0.28s cubic-bezier(0.25,0.46,0.45,0.94);
}
.qmodal-overlay.open .qmodal-box { transform: translateY(0); }

.qmodal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.qmodal-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.qmodal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.qmodal-project {
  font-weight: 400;
  color: var(--text-2);
  font-size: 0.88rem;
}
.qmodal-close {
  background: var(--cream-2);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.qmodal-close:hover { background: var(--red-lt); color: var(--red-deep); }

.qmodal-body {
  overflow-y: auto;
  padding: 20px 24px 24px;
  flex: 1;
}
.qmodal-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* form fields */
.qf-group { margin-bottom: 14px; }
.qf-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 5px;
}
.qf-req { color: var(--saffron); }
.qf-opt { font-weight: 400; color: var(--text-3); font-size: 0.72rem; }
.qf-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border-mid);
  border-radius: 8px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  color: var(--text-1);
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}
.qf-input:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(42,82,152,0.1);
}
.qf-input.qf-error { border-color: var(--red-deep); }
.qf-ta { resize: vertical; min-height: 72px; }
.qf-err { font-size: 0.7rem; color: var(--red-deep); margin-top: 3px; display: block; }

/* submit */
.qmodal-server-err {
  font-size: 0.78rem;
  color: var(--red-deep);
  background: var(--red-lt);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
  display: none;
}
.qmodal-server-err:not(:empty) { display: block; }
.qmodal-submit {
  width: 100%;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.18s, transform 0.12s;
  margin-top: 6px;
}
.qmodal-submit:hover:not(:disabled) { background: var(--navy-mid); transform: translateY(-1px); }
.qmodal-submit:disabled { opacity: 0.65; cursor: not-allowed; }

/* success state */
.qmodal-success {
  text-align: center;
  padding: 32px 16px 16px;
}
.qs-icon {
  font-size: 2.8rem;
  color: var(--green);
  margin-bottom: 14px;
}
.qmodal-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.qmodal-success p {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.qmodal-dash-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 0.15s;
}
.qmodal-dash-link:hover { background: var(--navy-mid); }

/* ── TEAM MEMBER ROWS (questionnaire) ────────────── */
.tm-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.tm-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}
.tm-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-lt);
  color: var(--red-deep);
  border: none;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.tm-remove:hover { background: #f5c0c0; }
.tm-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--navy-light);
  color: var(--navy);
  border: 1.5px dashed rgba(27,58,107,0.3);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.tm-add-btn:hover { background: #dce6f8; border-color: var(--navy-mid); }
