/* ==========================================================================
   EMBEDX Components Design System (components.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVIGATION & HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(11, 42, 111, 0.1);
  border-bottom-color: rgba(11, 42, 111, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  transition: height var(--transition-smooth);
}

.site-header.scrolled .nav-container {
  height: var(--header-compact-height);
}

/* Dual Branding: College + EMBEDX Club */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
}

.brand-college-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-divider {
  width: 1.5px;
  height: 38px;
  background: linear-gradient(to bottom, transparent, rgba(11, 42, 111, 0.25), transparent);
}

.brand-club {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-club-emblem {
  height: 46px;
  width: 46px;
  object-fit: contain;
  transition: transform var(--transition-bounce);
}

.brand-lockup:hover .brand-club-emblem {
  transform: rotate(15deg) scale(1.05);
}

.brand-club-text {
  display: flex;
  flex-direction: column;
}

.brand-club-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-navy);
  letter-spacing: 0.02em;
}

.brand-club-title span {
  color: var(--engineering-green);
}

.brand-club-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: var(--accent-blue);
  border-radius: var(--radius-full);
  transition: width var(--transition-smooth), left var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-navy);
}

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

.nav-link.active::after {
  background: var(--engineering-green);
}

/* Header Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--primary-navy);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

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

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -10px 0 30px rgba(11, 42, 111, 0.15);
  padding: 5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 999;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1.15rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-navy);
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link.active {
  color: var(--engineering-green);
  border-bottom-color: var(--engineering-green);
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 16, 44, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

/* --------------------------------------------------------------------------
   2. BUTTONS & CALL TO ACTIONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Primary Navy Button */
.btn-primary {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 14px rgba(11, 42, 111, 0.25);
}

.btn-primary:hover {
  background: var(--secondary-blue);
  border-color: var(--secondary-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 42, 111, 0.35);
}

/* Engineering Green Button */
.btn-green {
  background: var(--engineering-green);
  color: #FFFFFF;
  border-color: var(--engineering-green);
  box-shadow: 0 4px 14px rgba(20, 107, 58, 0.25);
}

.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 107, 58, 0.35);
}

/* Accent Orange Button */
.btn-orange {
  background: var(--accent-orange);
  color: #FFFFFF;
  border-color: var(--accent-orange);
  box-shadow: 0 4px 14px rgba(244, 123, 32, 0.3);
}

.btn-orange:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-orange);
}

/* Outline Buttons */
.btn-outline {
  background: transparent;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn-outline:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary-navy);
  border-color: #FFFFFF;
}

/* Glow Button with subtle pulse */
.btn-glow {
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
  color: #FFFFFF;
  box-shadow: var(--shadow-glow-blue);
}

.btn-glow:hover {
  color: #FFFFFF;
  box-shadow: 0 0 30px rgba(45, 114, 217, 0.5);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-secondary) 100%);
  overflow: hidden;
}

.hero-circuit-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-college-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary-navy);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.hero-college-badge img {
  height: 22px;
  width: auto;
}

.hero-club-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.hero-club-title span {
  color: var(--engineering-green);
}

.hero-club-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 600;
  color: var(--secondary-blue);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 1.5rem;
}

.hero-slogan-wrapper {
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Quick Hero Highlights Bar */
.hero-highlights {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.hero-highlight-item {
  display: flex;
  flex-direction: column;
}

.hero-highlight-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.1;
}

.hero-highlight-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Hero Visual Composition */
.hero-visual-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 248, 252, 0.95));
  border: 1.5px solid rgba(11, 42, 111, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(8px);
  text-align: center;
}

.hero-visual-poster {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth);
}

.hero-visual-poster:hover {
  transform: scale(1.02);
}

.hero-floating-chip {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  animation: float 4s ease-in-out infinite;
}

.hero-chip-top-left {
  top: -15px;
  left: -20px;
  animation-delay: 0s;
}

.hero-chip-bottom-right {
  bottom: -15px;
  right: -20px;
  animation-delay: 2s;
}

/* --------------------------------------------------------------------------
   4. CARDS DESIGN SYSTEM
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

/* 4 Pillars Feature Cards */
.pillar-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: left;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-navy), var(--accent-blue));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(45, 114, 217, 0.4);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(11, 42, 111, 0.06);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--primary-navy);
  color: #FFFFFF;
  transform: scale(1.08);
}

.pillar-card.pillar-green:hover .pillar-icon-box {
  background: var(--engineering-green);
}

.pillar-card.pillar-orange:hover .pillar-icon-box {
  background: var(--accent-orange);
}

.pillar-card.pillar-blue:hover .pillar-icon-box {
  background: var(--accent-blue);
}

/* Domain Cards */
.domain-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.domain-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue);
}

.domain-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.domain-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(20, 107, 58, 0.08);
  color: var(--engineering-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.domain-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(11, 42, 111, 0.06);
  color: var(--primary-navy);
}

.domain-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.domain-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.tech-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--secondary-blue);
  background: rgba(18, 63, 140, 0.06);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18, 63, 140, 0.1);
}

/* Project Cards */
.project-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(45, 114, 217, 0.4);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: #0B2A6F;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-img {
  transform: scale(1.06);
}

.project-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 42, 111, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(20, 107, 58, 0.9);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.project-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.project-highlight-bar {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--engineering-green);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.project-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Achievers Cards */
.achiever-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
}

.achiever-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-orange);
}

.achiever-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--accent-orange);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* EmbedNova Flagship Event Card */
.embednova-feature-banner {
  background: linear-gradient(135deg, #071C4B 0%, #0B2A6F 60%, #0E4E2A 100%);
  border: 2px solid rgba(45, 114, 217, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.embednova-feature-banner::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(244, 123, 32, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.embednova-track-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
}

.embednova-track-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
}

.track-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

/* Team Profile Cards */
.team-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue);
}

.team-avatar-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: rgba(11, 42, 111, 0.05);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-name {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--engineering-green);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   5. MODAL & LIGHTBOX
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 16, 44, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.92);
  transition: transform var(--transition-smooth);
  position: relative;
  padding: 2.5rem;
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(11, 42, 111, 0.08);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary-navy);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-orange);
  color: #FFFFFF;
}

/* Lightbox Image Preview */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 16, 44, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

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

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #FFFFFF;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   6. FORMS & CONTROLS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.form-label .required {
  color: #E53E3E;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(45, 114, 217, 0.15);
  outline: none;
}

.form-control.is-invalid {
  border-color: #E53E3E;
  background-color: #FFF5F5;
}

.invalid-feedback {
  font-size: 0.82rem;
  color: #E53E3E;
  margin-top: 0.2rem;
}

.interest-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.interest-tag-checkbox {
  display: none;
}

.interest-tag-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: #FFFFFF;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.interest-tag-checkbox:checked + .interest-tag-label {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  box-shadow: 0 2px 8px rgba(11, 42, 111, 0.2);
}

/* --------------------------------------------------------------------------
   7. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  color: var(--text-light);
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: 2rem;
  border-top: 2px solid rgba(45, 114, 217, 0.3);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-club-name {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
}

.footer-club-name span {
  color: var(--engineering-green);
}

.footer-tagline {
  color: var(--accent-orange);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.footer-heading {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-blue);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
}

.footer-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}
