/* ============================================
   BRIDGED — Modern Startup Website
   Color Palette:
     White:       #FFFFFF
     Cream:       #EDE0CB
     Tan/Sand:    #D2B48C
     Dark Amber:  #8B5A00
     Dark Maroon: #3B0A0A
     Near Black:  #1C1C1C
   Fonts:
     Headings:    'Bernoru' fallback to system bold sans
     Subheadings: 'Times New Roman', serif italic
     Body:        'Source Sans 3', sans-serif
   ============================================ */

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #FFFFFF;
  --cream: #EDE0CB;
  --tan: #D2B48C;
  --amber: #8B5A00;
  --maroon: #3B0A0A;
  --black: #1C1C1C;
  --red: #C0392B;
  --red-light: #E74C3C;
  --red-dark: #922B21;

  --bg-primary: var(--cream);
  --bg-secondary: var(--white);
  --bg-dark: var(--maroon);
  --bg-accent: var(--black);

  --text-primary: var(--maroon);
  --text-secondary: var(--amber);
  --text-body: var(--black);
  --text-light: var(--cream);

  --font-heading: 'Impact', 'Arial Black', 'Haettenschweiler', sans-serif;
  --font-sub: 'Times New Roman', 'Georgia', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --nav-height: 80px;
  --section-pad: 120px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

::selection {
  background: var(--maroon);
  color: var(--cream);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== CUSTOM CURSOR ==================== */
.cursor, .cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--maroon);
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background 0.2s ease;
  }

  .cursor-follower {
    display: block;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--maroon);
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.2s ease;
  }

  body:has(a:hover) .cursor,
  body:has(button:hover) .cursor {
    transform: translate(-50%, -50%) scale(2.5);
    background: var(--amber);
  }

  body:has(a:hover) .cursor-follower,
  body:has(button:hover) .cursor-follower {
    width: 50px;
    height: 50px;
    border-color: var(--amber);
  }
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(237, 224, 203, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(59, 10, 10, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  filter: sepia(0.35) hue-rotate(-5deg) brightness(0.95) contrast(1.1);
  transition: var(--transition);
}

.nav-logo-img:hover {
  filter: sepia(0.3) hue-rotate(-5deg) brightness(1.05) contrast(1.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--red);
}

.nav-btn {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cream);
  background: var(--maroon);
  padding: 10px 28px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 2px solid var(--maroon);
}

.nav-btn:hover {
  background: transparent;
  color: var(--maroon);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--maroon);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 36px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--maroon);
  color: var(--cream);
  border-color: var(--maroon);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}

.btn-outline:hover {
  background: var(--maroon);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--maroon);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--cream);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ==================== HERO ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--nav-height) 24px 60px;
  background: var(--cream);
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 0;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  background: var(--tan);
  opacity: 0.3;
  transform: rotate(45deg);
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: 5%;
  border: 3px solid var(--maroon);
  opacity: 0.12;
  transform: rotate(12deg);
}

.shape-3 {
  width: 120px;
  height: 120px;
  top: 25%;
  left: 15%;
  background: var(--amber);
  opacity: 0.08;
  border-radius: 50%;
}

.shape-4 {
  width: 60px;
  height: 60px;
  top: 40%;
  right: 20%;
  background: var(--maroon);
  opacity: 0.1;
  border-radius: 50%;
}

.shape-5 {
  width: 300px;
  height: 2px;
  bottom: 30%;
  right: -50px;
  background: var(--maroon);
  opacity: 0.08;
  transform: rotate(-20deg);
}

/* Subtle bridge shape behind hero */
.bridge-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  color: var(--maroon);
  opacity: 0.35;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--red);
  padding: 8px 20px;
  border: 1.5px solid var(--red);
  border-radius: 100px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  color: var(--maroon);
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title-line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.4s; }
.hero-title-line:nth-child(2) { animation-delay: 0.6s; }
.hero-title-line:nth-child(3) { animation-delay: 0.8s; }

.hero-title-accent {
  font-family: var(--font-sub);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--text-body);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.2s;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.4s;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--maroon);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--maroon);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--tan);
}



/* ==================== MARQUEE ==================== */
.marquee-section {
  padding: 20px 0;
  background: var(--red-dark);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
}

.marquee-content span {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream);
}

.marquee-dot {
  font-size: 0.6rem !important;
  opacity: 0.4;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==================== SECTIONS ==================== */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-tag-light {
  color: var(--tan);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--maroon);
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.section-title em {
  font-family: var(--font-sub);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--red);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 520px;
  margin: 16px auto 0;
  line-height: 1.8;
}

/* ==================== ABOUT ==================== */
.about {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 200' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 200 L0 140 Q150 40 300 100 Q450 160 600 80 Q750 0 900 100 Q1050 160 1200 60 L1200 200 Z' fill='%233B0A0A'/%3E%3Cpath d='M0 140 Q150 40 300 100 Q450 160 600 80 Q750 0 900 100 Q1050 160 1200 60' stroke='%233B0A0A' stroke-width='3' fill='none'/%3E%3Cline x1='150' y1='200' x2='150' y2='90' stroke='%233B0A0A' stroke-width='2'/%3E%3Cline x1='300' y1='200' x2='300' y2='100' stroke='%233B0A0A' stroke-width='2'/%3E%3Cline x1='450' y1='200' x2='450' y2='130' stroke='%233B0A0A' stroke-width='2'/%3E%3Cline x1='600' y1='200' x2='600' y2='80' stroke='%233B0A0A' stroke-width='2'/%3E%3Cline x1='750' y1='200' x2='750' y2='50' stroke='%233B0A0A' stroke-width='2'/%3E%3Cline x1='900' y1='200' x2='900' y2='100' stroke='%233B0A0A' stroke-width='2'/%3E%3Cline x1='1050' y1='200' x2='1050' y2='110' stroke='%233B0A0A' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.25;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-lead {
  font-family: var(--font-sub);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--maroon);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-body);
  margin-bottom: 16px;
}

.about-highlights {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--radius);
  color: var(--red);
}

.highlight h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 4px;
}

.highlight p {
  font-size: 0.9rem;
  margin-bottom: 0 !important;
  opacity: 0.8;
}

/* About Cards */
.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
}

.about-card:hover {
  transform: translateX(8px);
}

.about-card-1 {
  background: var(--cream);
}

.about-card-2 {
  background: var(--red-dark);
  color: var(--cream);
}

.about-card-2 h4 { color: var(--cream); }
.about-card-2 p { color: rgba(237, 224, 203, 0.85); }
.about-card-2 .about-card-number { color: var(--cream); opacity: 0.2; }

.about-card-3 {
  background: var(--tan);
  color: var(--maroon);
}

.about-card-3 h4 { color: var(--maroon); }
.about-card-3 p { color: var(--black); opacity: 0.8; }
.about-card-3 .about-card-number { color: var(--maroon); opacity: 0.15; }

.about-card-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  opacity: 0.15;
  position: absolute;
  top: 16px;
  right: 24px;
}

.about-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 8px;
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==================== MISSION ==================== */
.mission {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 160px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 200' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 140 Q150 40 300 100 Q450 160 600 80 Q750 0 900 100 Q1050 160 1200 60' stroke='%233B0A0A' stroke-width='4' fill='none'/%3E%3Cline x1='200' y1='200' x2='200' y2='95' stroke='%233B0A0A' stroke-width='2'/%3E%3Cline x1='400' y1='200' x2='400' y2='120' stroke='%233B0A0A' stroke-width='2'/%3E%3Cline x1='600' y1='200' x2='600' y2='80' stroke='%233B0A0A' stroke-width='2'/%3E%3Cline x1='800' y1='200' x2='800' y2='60' stroke='%233B0A0A' stroke-width='2'/%3E%3Cline x1='1000' y1='200' x2='1000' y2='115' stroke='%233B0A0A' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.22;
  pointer-events: none;
}

.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.mission-quote {
  font-family: var(--font-sub);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--maroon);
  margin-top: 32px;
  padding-left: 24px;
  border-left: 3px solid var(--red);
}

.mission-pillars {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pillar {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(59, 10, 10, 0.08);
}

.pillar-number {
  font-family: var(--font-sub);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--red);
  margin-bottom: 8px;
}

.pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 8px;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==================== COMMUNITY ==================== */
.community {
  background: var(--maroon);
  padding: var(--section-pad) 0;
}

.community-layout {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.community-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--cream);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.community-title em {
  font-family: var(--font-sub);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--red-light);
}

.community-content p {
  font-size: 1.1rem;
  color: rgba(237, 224, 203, 0.8);
  line-height: 1.8;
  margin-bottom: 40px;
}

.community-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.community-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.5px;
}

.community-feature-icon {
  color: var(--red-light);
  font-size: 0.7rem;
}

/* ==================== MENTOR CATEGORIES ==================== */
.mentor-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mentor-category {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.mentor-category:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(59, 10, 10, 0.1);
  border-color: var(--red);
}

.mentor-category-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.mentor-category h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 10px;
}

.mentor-category p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-body);
  opacity: 0.85;
}

/* ==================== VALUES BANNER ==================== */
.values-banner {
  padding: 60px 0;
  background: var(--red-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.value-item {
  position: relative;
}

.value-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--cream);
  opacity: 0.1;
  display: block;
  line-height: 1;
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: -8px;
}

/* ==================== MENTORS ==================== */
.mentors {
  background: var(--white);
}

.mentors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mentor-card {
  display: block;
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.mentor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(59, 10, 10, 0.12);
}

.mentor-image {
  height: 220px;
  background: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mentor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.mentor-info {
  padding: 16px 20px 20px;
  text-align: center;
}

.mentor-info h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0;
}

.mentor-linkedin-hint {
  font-family: var(--font-sub);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--red);
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 4px;
}

.mentor-card:hover .mentor-linkedin-hint {
  opacity: 1;
}

/* ==================== TEAM ==================== */
.team {
  background: var(--cream);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(59, 10, 10, 0.08);
}

.team-avatar {
  margin-bottom: 20px;
}

.team-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.team-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border: 3px solid var(--maroon);
}

.team-links {
  margin-top: 12px;
}

.team-links a {
  color: var(--maroon);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--maroon);
  border-radius: 50%;
}

.team-links a:hover {
  background: var(--maroon);
  color: var(--cream);
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}

.team-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-links a {
  color: var(--maroon);
  transition: var(--transition);
}

.team-links a:hover {
  color: var(--red);
}

.team-join-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ==================== APPLY ==================== */
.apply {
  background: var(--white);
  padding: 80px 0;
}

.apply-box {
  background: var(--maroon);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.apply-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.apply-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--cream);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.apply-title em {
  font-family: var(--font-sub);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--red-light);
}

.apply-content p {
  font-size: 1.05rem;
  color: rgba(237, 224, 203, 0.8);
  line-height: 1.8;
  margin-bottom: 32px;
}

.apply-decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.apply-shape {
  position: absolute;
}

.apply-shape-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: -80px;
  border: 2px solid rgba(237, 224, 203, 0.1);
  border-radius: 50%;
}

.apply-shape-2 {
  width: 180px;
  height: 180px;
  bottom: -40px;
  right: 120px;
  border: 2px solid rgba(237, 224, 203, 0.06);
  transform: rotate(45deg);
}

.apply-shape-3 {
  width: 80px;
  height: 80px;
  top: 50%;
  right: 15%;
  background: rgba(237, 224, 203, 0.04);
  border-radius: 50%;
}

/* ==================== CONTACT ==================== */
.contact {
  background: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-top: 12px;
  line-height: 1.7;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius);
  color: var(--maroon);
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: var(--text-body);
}

.contact-item a:hover {
  color: var(--red);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--tan);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--maroon);
  background: var(--white);
}

/* ==================== COMING SOON TAG ==================== */
.coming-soon-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red-light);
  background: rgba(192, 57, 43, 0.15);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--black);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(237, 224, 203, 0.1);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 6px;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  filter: sepia(0.4) hue-rotate(-5deg) brightness(1.3) contrast(1.2);
  margin-bottom: 12px;
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(237, 224, 203, 0.5);
}

.footer-links-group h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-links-group a {
  display: block;
  font-size: 0.9rem;
  color: rgba(237, 224, 203, 0.5);
  padding: 4px 0;
  transition: var(--transition);
}

.footer-links-group a:hover {
  color: var(--cream);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(237, 224, 203, 0.3);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--black);
  transform: translateY(-2px);
}

/* ==================== REVEAL ANIMATION ==================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== KEYFRAMES ==================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .about-grid,
  .mission-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mentors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mentor-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --section-pad: 64px;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    letter-spacing: 0;
  }

  .hero-stats {
    gap: 24px;
  }

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

  .mentor-categories {
    grid-template-columns: 1fr;
  }

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

  .apply-box {
    padding: 48px 28px;
  }

  .contact-form-wrap {
    padding: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

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

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

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 28, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--maroon);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--cream);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--maroon);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title em {
  font-family: var(--font-sub);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--red);
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 28px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%233B0A0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}

.form-group select:focus {
  border-color: var(--maroon);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%233B0A0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

@media (max-width: 640px) {
  .modal {
    padding: 32px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
