@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');


/* ═══════════════════════════════════════
   THEME VARIABLES
═══════════════════════════════════════ */
[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="light"] .logo-dark {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

[data-theme="light"] .logo-light {
  display: block;
}

[data-theme="dark"] {
  --bg: #0f0f0f;
  --bg2: #1a1a1a;
  --surface: #1e1e1e;
  --surface2: #262626;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0ece4;
  --muted: #8a8680;
  --red: #c8102e;
  --red-d: #9b0e23;
  --gold: #c9a227;
  --silver: #aab8c2;
  --green-c: #2e9e5b;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.65);
  --nav-bg: rgba(12, 12, 12, 0.97);
  --footer-bg: #080808;
  --input-bg: #1e1e1e;
}

[data-theme="light"] {
  --bg: #f5f3ef;
  --bg2: #edeae4;
  --surface: #ffffff;
  --surface2: #f0ece6;
  --border: rgba(0, 0, 0, 0.09);
  --text: #1a1a1a;
  --muted: #666260;
  --red: #c8102e;
  --red-d: #9b0e23;
  --gold: #9a6f0c;
  --silver: #607080;
  --green-c: #1e7a44;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  --nav-bg: rgba(245, 243, 239, 0.97);
  --footer-bg: #111111;
  --input-bg: #ffffff;
}

/* ═══════════════════════════════════════
   BASE
═══════════════════════════════════════ */


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  transition: background .35s, color .35s;
  min-height: 100vh;
}

a {
  color: inherit;
}

/* ═══════════════════════════════════════
   PAGE SWITCH
═══════════════════════════════════════ */
.page {
  display: none;
}

.page.active {
  display: block;
  animation: pageIn .4s ease both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
#mainNav {
  background: var(--nav-bg) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .35s;
}

.nav-pill {
  color: var(--muted) !important;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: 999px !important;
  padding: .35rem .8rem !important;
  transition: all .2s;
}

.nav-pill:hover {
  color: var(--text) !important;
  background: var(--border) !important;
}

.nav-pill.active {
  color: #fff !important;
  background: var(--red) !important;
}

.navbar-toggler {
  border-color: var(--border) !important;
}

.navbar-toggler-icon {
  filter: invert(.7);
}

.btn-theme {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .3rem .7rem;
  font-size: .95rem;
  cursor: pointer;
  line-height: 1;
  transition: background .2s;
}

[data-theme="dark"] .icon-light {
  display: none;
}

[data-theme="light"] .icon-dark {
  display: none;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(200, 16, 46, .22) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23c8102e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}



.hero-logo {
  max-width: 480px;
  filter: drop-shadow(0 8px 40px rgba(200, 16, 46, .45));
  animation: fadeDown .7s ease both;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-family: 'Outfit', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--red);
  letter-spacing: .05em;
}

.hero-sub {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.stats-bar {
  background: var(--red);
  padding: .6rem 0;
}

.stat-cell {
  padding: .6rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-n {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.stat-l {
  display: block;
  font-size: .65rem;
  color: rgba(255, 255, 255, .75);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ═══════════════════════════════════════
   SECTION TITLES
═══════════════════════════════════════ */
.section-title {
  font-family: 'Outfit', serif;
  font-size: 1.75rem;
  font-weight: 700;
  padding-bottom: .6rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}

.gold-title {
  color: var(--gold);
  border-color: var(--gold);
}

.silver-title {
  color: var(--silver);
  border-color: var(--silver);
}

.green-title {
  color: var(--green-c);
  border-color: var(--green-c);
}

.section-desc {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════
   INNER HERO (sub-pages)
═══════════════════════════════════════ */
.inner-hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-d) 100%);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.inner-title {
  font-family: 'Outfit', serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  position: relative;
  z-index: 1;
  margin: 0;
}

.inner-title span {
  font-style: italic;
  opacity: .9;
}

/* ═══════════════════════════════════════
   HONOR CARDS (Crorepati / Gold etc.)
═══════════════════════════════════════ */
.honor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}

.honor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
}

.honor-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  display: block;
}

.honor-card .hc-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  padding: .55rem .4rem .1rem;
  line-height: 1.3;
}

.honor-card .hc-sub {
  font-size: .68rem;
  color: var(--muted);
  padding: 0 .4rem .55rem;
}

/* ═══════════════════════════════════════
   MEMBER CARDS  — BIG portrait style
═══════════════════════════════════════ */
.member-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}

.member-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  border-color: rgba(200, 16, 46, .5);
}

.mc-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg2);
  flex-shrink: 0;
}

.mc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s;
}

.member-card:hover .mc-photo img {
  transform: scale(1.06);
}

/* Red gradient overlay at bottom of photo */
.mc-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 100%);
  pointer-events: none;
}

.mc-biz-logo {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, .25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .5);
  z-index: 2;
}

.mc-biz-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.mc-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}

.mc-name {
  font-family: 'Outfit', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.mc-role {
  font-size: .74rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.mc-company {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 500;
}

.mc-divider {
  height: 1px;
  background: var(--border);
  margin: .4rem 0;
}

.mc-contacts {
  display: flex;
  flex-direction: column;
  gap: .38rem;
  margin-top: auto;
}

.mc-contacts a {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
  transition: color .2s;
}

.mc-contacts a:hover {
  color: var(--text);
}

.mc-contacts .ico {
  font-size: .85rem;
  opacity: .7;
  flex-shrink: 0;
}

.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .8rem;
  background: var(--red);
  color: #fff !important;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
}

.mc-btn:hover {
  background: var(--red-d) !important;
  transform: translateY(-1px);
}

.no-results {
  text-align: center;
  padding: 4rem;
  color: var(--muted);
  font-size: 1.1rem;
  width: 100%;
}

/* ═══════════════════════════════════════
   SEARCH BAR — Hercules original style
═══════════════════════════════════════ */
.search-bar-wrap {
  max-width: 720px;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 2px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .2);
  transition: border-color .25s, box-shadow .25s;
}

.search-bar-wrap:focus-within {
  border-color: var(--red);
  box-shadow: 0 6px 30px rgba(200, 16, 46, .2);
}

.search-icon {
  padding: 0 .6rem 0 1.4rem;
  font-size: 1.1rem;
  opacity: .5;
  flex-shrink: 0;
  pointer-events: none;
  line-height: 1;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem .5rem 1rem 0;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  outline: none;
}

.search-input::placeholder {
  color: var(--muted);
}

.search-clear {
  display: none;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 .5rem;
  line-height: 1;
}

.search-clear.visible {
  display: block;
}

.search-btn {
  background: var(--red);
  border: none;
  color: #fff;
  padding: 1.5rem 1.6rem;
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}

.search-btn:hover {
  background: var(--red-d);
}

.search-count {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin-top: .6rem;
}

/* ═══════════════════════════════════════
   FOUNDER / DIRECTOR CARDS
═══════════════════════════════════════ */
.msg-photo-card,
.msg-text-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  color: var(--text) !important;
  box-shadow: var(--shadow);
}

.msg-photo-card .card-img-top {
  object-fit: cover;
  object-position: top;
  aspect-ratio: 3/4;
  border-radius: 16px 16px 0 0;
}

.founder-name {
  font-family: 'Outfit', Georgia, serif;
  font-size: 1.1rem;
  color: var(--red);
  margin: .5rem 0 .2rem;
}

.founder-role {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}

.msg-text-card .card-body p {
  font-size: .92rem;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: .85rem;
}

.text-red {
  color: var(--red) !important;
  font-family: 'Outfit', Georgia, serif;
}

/* Director entries */
.director-entry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  transition: transform .25s;
}

.director-entry:hover {
  transform: translateY(-3px);
}

.dir-photo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--red);
}

.dir-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.dir-name {
  font-family: 'Outfit', Georgia, serif;
  font-size: 1.3rem;
  color: var(--red);
  margin-bottom: .2rem;
}

.dir-role {
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6rem;
}

.dir-msg {
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text);
}

/* ═══════════════════════════════════════
   LT XIV
═══════════════════════════════════════ */
.lt-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  color: var(--text) !important;
  box-shadow: var(--shadow);
}

.lt-card img {
  border: 3px solid var(--red);
  object-fit: cover;
  object-position: top;
}

.lt-featured {
  border-color: var(--red) !important;
  transform: scale(1.04);
}

.lt-name {
  font-family: 'Outfit', Georgia, serif;
  font-size: 1rem;
  color: var(--text);
}

.lt-pos {
  color: var(--muted);
  font-size: .75rem;
}

.lt-blockquote {
  font-family: 'Outfit', Georgia, serif;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  font-style: italic;
  color: var(--red);
  border-left: 4px solid var(--red);
  background: var(--surface);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  line-height: 1.45;
}

/* ═══════════════════════════════════════
   LEADERSHIP TABLE
═══════════════════════════════════════ */
.lt-table {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border);
  width: 100%;
}

.lt-table thead tr {
  background-color: var(--red) !important;
  border: 1px solid var(--border) !important;
}

.lt-table thead th {
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .85rem 1.25rem;
  border-color: transparent !important;
}

.lt-table tbody tr {
  border-color: var(--border);
  transition: background .2s;
  border: 1px solid var(--border) !important;
}

.lt-table tbody tr:hover {
  background: var(--bg2);
}

.lt-table tbody td {
  padding: .7rem 1.25rem;
  font-size: .88rem;
  color: var(--text);
  border-color: var(--border);
}

.lt-table tbody td:first-child {
  font-weight: 600;
  color: var(--muted);
}

/* ═══════════════════════════════════════
   MENTOR CARDS
═══════════════════════════════════════ */
.mentor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s;
}

.mentor-card:hover {
  transform: translateY(-5px);
}

.mentor-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--red);
  margin-bottom: .75rem;
}

.mentor-card h5 {
  font-family: 'Outfit', Georgia, serif;
  font-size: 1.05rem;
  color: var(--text);
}

.mentor-card p {
  font-size: .78rem;
  color: var(--muted);
  margin: .2rem 0 0;
}

/* ═══════════════════════════════════════
   ABOUT / STATS CARDS
═══════════════════════════════════════ */
.about-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  border-left: 4px solid var(--red);
  padding-left: 1.2rem;
}

.stat-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow);
  color: var(--text) !important;
}

.stat-card-title {
  font-family: 'Outfit', Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.stat-card-title.red {
  color: var(--red);
}

.stat-card-title.orange {
  color: #e07020;
}

.stat-card-title.green {
  color: var(--green-c);
}

.stats-list {
  list-style: none;
  padding: 0;
}

.stats-list li {
  font-size: .88rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.stats-list li:last-child {
  border-bottom: none;
}

/* Traffic Light */
.tl-card {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow);
  color: var(--text) !important;
}

.tl-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.tl-green .tl-dot {
  box-shadow: 0 0 20px rgba(46, 158, 91, .55);
}

.tl-amber .tl-dot {
  box-shadow: 0 0 20px rgba(224, 160, 32, .55);
}

.tl-red .tl-dot {
  box-shadow: 0 0 20px rgba(200, 16, 46, .55);
}

/* Mantra list */
.mantra-list {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem !important;
}

.mantra-list li {
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text);
}

.mantra-list li:last-child {
  border-bottom: none;
}

/* ═══════════════════════════════════════
   SPONSORS
═══════════════════════════════════════ */
.sponsor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s, border-color .25s;
}

.sponsor-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
}

.sponsor-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: .8rem;
}

.sponsor-card h5 {
  font-family: 'Outfit', Georgia, serif;
  font-size: 1.1rem;
  color: var(--text);
}

.sponsor-card .s-type {
  font-size: .78rem;
  color: var(--muted);
}

.sponsor-card .s-tagline {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .3rem;
  font-style: italic;
}

.s-badge {
  display: inline-block;
  margin-top: .6rem;
  background: rgba(200, 16, 46, .12);
  color: var(--red);
  font-size: .68rem;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  transition: background .35s;
}

.footer-brand {
  font-family: 'Outfit', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red);
}

.footer-tag {
  color: var(--red) !important;
  font-family: 'Outfit', Georgia, serif;
  font-style: italic;
  font-size: .9rem;
}

/* ═══════════════════════════════════════
   RESPONSIVE TWEAKS
═══════════════════════════════════════ */
@media (max-width: 767px) {
  .director-entry {
    flex-direction: column;
  }

  .dir-photo {
    width: 80px;
    height: 80px;
  }

  .mc-photo {
    aspect-ratio: 4/5;
  }

  .stats-bar .stat-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
  }

  .stats-bar .stat-cell:last-child {
    border-bottom: none;
  }

  .lt-featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 85%;
  }
}