:root {
  --red: #df1919;
  --red-dark: #b31212;
  --red-light: #ffecec;
  --red-50: #fff5f5;
  --white: #ffffff;
  --black: #0f172a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-display);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.text-accent {
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}
.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}
.btn-xl {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.mt-4 {
  margin-top: 1rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-image {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.35rem 0;
  color: var(--gray-800);
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--red);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-cta {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}
.nav-admin {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all 0.3s;
}

.hero {
  min-height: 100vh;
  position: relative;
}
.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.carousel-track {
  position: absolute;
  inset: 0;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 1.2s ease,
    transform 6s ease-out;
}
.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(223, 25, 25, 0.25) 100%
  );
}
.slide-content {
  position: absolute;
  inset: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: calc(var(--container) + 3rem);
  color: var(--white);
}
.slide-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(223, 25, 25, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  width: fit-content;
  backdrop-filter: blur(4px);
}
.text-accent {
  background: linear-gradient(90deg, #ff4d4d, #df1919, #ff9999, #df1919);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientSweep 5s ease infinite;
}

@keyframes gradientSweep {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.slide-heading {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.slide-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 640px;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}
.slide-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.slide-content .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.slide-content .btn-outline:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 5;
}
.carousel-arrow:hover {
  background: var(--red);
  border-color: var(--red);
}
.carousel-arrow.prev {
  left: 2rem;
}
.carousel-arrow.next {
  right: 2rem;
}
.carousel-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 5;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: var(--white);
  width: 32px;
  border-radius: 100px;
}

section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-800);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-rule {
  width: 80px;
  height: 4px;
  background: var(--red);
  margin: 1.5rem auto 0;
  border-radius: 100px;
}

.about-section {
  background: var(--gray-50);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(223, 25, 25, 0.06) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.about-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all 0.4s ease;
  border-left: 4px solid transparent;
}
.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: var(--shadow-xl);
  pointer-events: none;
}
.about-card:hover {
  transform: translateY(-6px);
  border-left-color: var(--red);
}
.about-card:hover::before {
  opacity: 1;
}
.about-card.about-accent {
  background: linear-gradient(180deg, var(--white) 0%, var(--red-50) 100%);
  border-color: rgba(223, 25, 25, 0.2);
}
.about-icon {
  width: 56px;
  height: 56px;
  background: var(--red-50);
  color: var(--red);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}
.about-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}
.about-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.35rem;
}
.about-sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.about-text {
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about-text:last-child {
  margin-bottom: 0;
}
.about-text strong {
  color: var(--gray-800);
  font-weight: 700;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
  align-items: center;
}
.process-step {
  background: var(--white);
  padding: 0.9rem 0.75rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.process-step.highlight {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  grid-column: span 3;
  margin-top: 0.25rem;
  width: 50%;
  justify-self: center;
}
.process-arrow {
  position: absolute;
  display: none;
  color: var(--red);
  font-weight: 800;
}
.impact-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.pillar svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
}

.numbers-strip {
  background: transparent;
  margin-top: -60px;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}
.numbers-grid.glass-panel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  position: relative;
  background: rgba(223, 25, 25, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(223, 25, 25, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.number-box {
  text-align: center;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}
.number-box:hover {
  transform: translateY(-8px);
}
.number-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}
.number-icon svg {
  width: 36px;
  height: 36px;
  color: var(--white);
  opacity: 0.8;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.number-value {
  display: block;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.number-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.journey-section {
  background: var(--white);
  position: relative;
}

/* Ledger Timeline Styling */
/* Ledger Timeline Styling */
.timeline {
  max-width: 1100px;
  margin: 3rem auto;
  border-top: 3px solid var(--gray-900);
  position: relative;
}
.timeline-item {
  display: flex;
  padding: 3rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  gap: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  position: relative;
  overflow: hidden;
}
/* Huge subtle watermark typography (sidewise/background) */
.timeline-item::after {
  content: attr(data-year);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9rem;
  font-weight: 900;
  color: var(--gray-100);
  z-index: 0;
  font-family: var(--font-display);
  pointer-events: none;
  opacity: 0.4;
  letter-spacing: -0.05em;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-item:hover::after {
  opacity: 0.7;
  transform: translateY(-50%) scale(1.02);
  color: var(--gray-200);
}
/* Premium sliding highlight bar */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: currentColor;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.7;
}
.timeline-item.theme-sih::before { color: var(--red); }
.timeline-item.theme-nhh::before { color: #0369a1; }

.timeline-item:hover {
  background-color: var(--gray-50);
  border-bottom-color: var(--gray-300);
}
.timeline-item:hover::before {
  transform: scaleY(1);
}

.ledger-left {
  flex: 0 0 120px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding-top: 0.3rem;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}
.timeline-item:hover .ledger-left {
  transform: translateX(8px);
}

.ledger-middle {
  flex: 1;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.ledger-right {
  flex: 0 0 200px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gray-600);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.3rem;
  position: relative;
  z-index: 1;
}

/* Typography */
.ledger-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1.25rem;
  border-radius: 100px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.timeline-item:hover .ledger-tag {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.ledger-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ledger-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.ledger-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-600);
  max-width: 65ch;
  margin: 0;
  font-family: var(--font-display);
}
.ledger-desc p {
  margin-bottom: 1.25rem;
}
.ledger-desc p:last-child {
  margin-bottom: 0;
}

/* Color Themes */
/* SIH Theme (Red) */
.theme-sih .ledger-left { color: var(--red); }
.theme-sih .ledger-tag { background: rgba(223, 25, 25, 0.1); color: var(--red); }
.theme-sih .ledger-subtitle { color: var(--red-dark); }

/* NHH Theme (Teal/Blue) */
.theme-nhh .ledger-left { color: #0369a1; }
.theme-nhh .ledger-tag { background: rgba(3, 105, 161, 0.1); color: #0369a1; }
.theme-nhh .ledger-subtitle { color: #075985; }

/* Right Stats styled like real ledger lines */
.ledger-right span {
  display: block;
  padding-bottom: 0.4rem;
  border-bottom: 1px dotted var(--gray-300);
  transition: all 0.3s ease;
}
.ledger-right span:last-child {
  border-bottom: none;
}
.timeline-item:hover .ledger-right span {
  color: var(--gray-800);
  border-bottom-color: var(--gray-400);
}

@media (max-width: 768px) {
  .timeline-item {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2.5rem 1rem;
  }
  .ledger-left {
    flex: 1 1 100%;
    margin-bottom: -1rem;
  }
  .ledger-middle {
    flex: 1 1 100%;
  }
  .ledger-right {
    flex: 1 1 100%;
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--gray-300);
    margin-top: 1rem;
  }
}

.tab-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
#toggleJourneyBtn {
  border: 2px dashed var(--gray-300);
  background: var(--gray-50);
  color: var(--gray-700);
}
#toggleJourneyBtn:hover {
  border-color: var(--red);
  background: var(--red-50);
  color: var(--red);
  transform: translateY(-2px);
}
#toggleJourneyBtn.active span {
  transform: rotate(180deg);
  display: inline-block;
}
.photo-gallery {
  margin-top: 1.5rem;
}
.gallery-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s;
  cursor: pointer;
}
.gallery-grid img:hover {
  transform: scale(1.04);
}

.cta-section {
  background: var(--gray-50);
}
.cta-inner {
  background: linear-gradient(135deg, var(--gray-800) 0%, #111827 100%);
  padding: 3.5rem 3rem;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-inner::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(223, 25, 25, 0.25) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.cta-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--red-light);
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.cta-left h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  position: relative;
}
.cta-left p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  font-size: 1rem;
  position: relative;
}
.cta-right {
  text-align: right;
  position: relative;
}

.site-footer {
  background: #0b0f1a;
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}
.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  margin: 0;
}
.footer-logo img {
  max-height: 45px;
  display: block;
}
.footer-credits {
  text-align: right;
}
.footer-credits .copyright {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
}
.footer-credits .credit {
  margin: 0.25rem 0 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-banner {
  padding: 10rem 0 5rem;
  background: linear-gradient(
    135deg,
    var(--gray-800) 0%,
    rgba(223, 25, 25, 0.85) 100%
  );
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.banner-content {
  position: relative;
}
.banner-content .section-label {
  color: var(--red-light);
}
.banner-content h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.banner-content p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.form-section {
  padding: 4rem 0 6rem;
  background: var(--gray-50);
}
.form-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  border-left: 4px solid;
}
.alert ul {
  padding-left: 1.25rem;
}
.alert-error {
  background: var(--red-50);
  border-color: var(--red);
  color: #991b1b;
}
.alert-success {
  background: #d1fae5;
  border-color: #10b981;
  color: #065f46;
}
.alert-info {
  background: #dbeafe;
  border-color: #3b82f6;
  color: #1e40af;
}

.form-section-title {
  margin: 2rem 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
}
.form-section-title:first-child {
  margin-top: 0;
}
.form-section-title h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.form-section-title h2::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--red);
  border-radius: 2px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group-full {
  grid-column: span 2;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}
.form-group label .req {
  color: var(--red);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: all 0.2s;
  font-size: 0.95rem;
  color: var(--gray-800);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(223, 25, 25, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}
.form-actions {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-100);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-body {
  background: var(--gray-50);
  min-height: 100vh;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(
    135deg,
    var(--gray-800) 0%,
    #0b0f1a 50%,
    rgba(223, 25, 25, 0.9) 100%
  );
  position: relative;
  overflow: hidden;
}
.admin-login::before,
.admin-login::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.admin-login::before {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  background: radial-gradient(
    circle,
    rgba(223, 25, 25, 0.3) 0%,
    transparent 70%
  );
}
.admin-login::after {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(223, 25, 25, 0.15) 0%,
    transparent 70%
  );
}
.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  padding: 2.75rem 2.25rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.login-brand {
  text-align: center;
  margin-bottom: 2rem;
}
.login-brand h1 {
  margin-top: 1rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -0.01em;
}
.login-brand p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}
.login-brand > .logo-mark {
  margin: 0 auto;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.login-hint {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}
.login-hint code {
  background: var(--white);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border: 1px solid var(--gray-200);
}
.login-back {
  margin-top: 1.25rem;
  text-align: center;
}
.login-back a {
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 600;
}
.login-back a:hover {
  text-decoration: underline;
}

.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
  z-index: 50;
}
.sidebar-brand {
  padding: 0.25rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sidebar-brand strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1;
}
.sidebar-brand span {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-family: var(--font-mono);
}
.sidebar-nav {
  list-style: none;
  padding: 1rem 0.75rem;
  flex: 1;
}
.sidebar-nav li {
  margin-bottom: 0.25rem;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
}
.sidebar-nav a:hover {
  background: var(--gray-50);
  color: var(--red);
}
.sidebar-nav a.active {
  background: var(--red-50);
  color: var(--red);
  font-weight: 600;
}
.sidebar-user {
  margin: 0 0.75rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--gray-200);
  position: relative;
}
.avatar {
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.sidebar-user strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-800);
}
.sidebar-user span {
  font-size: 0.75rem;
  color: var(--gray-500);
}
.sidebar-user > div {
  flex: 1;
  min-width: 0;
}
.logout-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all 0.2s;
}
.logout-btn:hover {
  background: var(--red);
  color: var(--white);
}

.admin-main {
  margin-left: 260px;
  padding: 2rem 2.5rem;
  min-height: 100vh;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-topbar h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-800);
  letter-spacing: -0.01em;
}
.admin-topbar > div {
  display: flex;
  gap: 0.75rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.stat-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1;
  margin: 0.5rem 0;
  letter-spacing: -0.02em;
}
.stat-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.admin-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 2rem;
  overflow: hidden;
}
.panel-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.panel-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-800);
}
.filter-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-form input,
.filter-form select {
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.85rem;
}
.filter-form input:focus,
.filter-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(223, 25, 25, 0.1);
}
.filter-form .btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table thead {
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
}
.admin-table th {
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gray-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
  color: var(--gray-700);
}
.admin-table tbody tr:hover {
  background: var(--gray-50);
}
.admin-table td small {
  color: var(--gray-500);
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.reg-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-50);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
}
.status-badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.status-badge.big {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}
.status-pending {
  background: #fef3c7;
  color: #92400e;
}
.status-approved {
  background: #d1fae5;
  color: #065f46;
}
.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}
.status-waitlisted {
  background: #e0e7ff;
  color: #3730a3;
}

.actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.action-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.action-link:hover {
  background: var(--red-50);
}
.action-link.del {
  color: #dc2626;
}
.actions select {
  padding: 0.3rem 0.5rem;
  font-size: 0.78rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
}
.actions select:focus {
  outline: none;
  border-color: var(--red);
}

.event-bars {
  padding: 1.5rem 1.75rem;
}
.event-bar-row {
  display: grid;
  grid-template-columns: 1.5fr 3fr 0.5fr;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--gray-100);
}
.event-bar-row:last-child {
  border-bottom: none;
}
.event-bar-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-700);
}
.event-bar-track {
  height: 10px;
  background: var(--gray-100);
  border-radius: 100px;
  overflow: hidden;
}
.event-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 100px;
  transition: width 1s ease;
}
.event-bar-count {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gray-800);
  font-size: 0.9rem;
}

.detail-header {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.detail-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-800);
}
.reg-code-big {
  font-family: var(--font-mono);
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 600;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.detail-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.detail-card-full {
  grid-column: span 2;
}
.detail-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gray-100);
}
.detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--gray-100);
  font-size: 0.9rem;
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-row label {
  color: var(--gray-500);
  font-weight: 600;
}
.detail-row span {
  color: var(--gray-800);
}
.detail-row span a {
  color: var(--red);
  font-weight: 600;
}
.detail-row span a:hover {
  text-decoration: underline;
}
.idea-block {
  color: var(--gray-700);
  line-height: 1.8;
  font-size: 0.95rem;
  background: var(--gray-50);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
}

.detail-actions {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.detail-actions h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}
.detail-actions select {
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.detail-actions select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(223, 25, 25, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid, .numbers-grid.glass-panel {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-card {
    grid-column: span 1 !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    padding: 2.5rem 2rem;
  }
  .cta-right {
    text-align: left;
  }
  .process-flow {
    grid-template-columns: 1fr 1fr;
  }
  .process-step.highlight {
    grid-column: span 2;
    width: 100%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  .container {
    padding: 0 1rem;
  }
  .nav-container {
    padding: 0 1rem;
  }
  .nav-toggle {
    display: flex;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.5rem;
  }
  .nav-toggle:focus {
    outline: none;
  }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 1rem 0 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-top: 1px solid var(--gray-100);
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    color: var(--gray-800) !important;
    font-weight: 500;
  }
  .nav-links a.nav-link::after {
    display: none;
  }
  .nav-links a.nav-link.active {
    color: var(--red) !important;
  }
  .nav-cta {
    display: inline-flex !important;
    margin: 1rem auto 0 !important;
    width: calc(100% - 3rem);
    max-width: 300px;
  }
  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .carousel-arrow.prev {
    left: 0.75rem;
  }
  .carousel-arrow.next {
    right: 0.75rem;
  }
  .numbers-grid, .numbers-grid.glass-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .process-flow {
    grid-template-columns: 1fr;
  }
  .process-step.highlight {
    grid-column: span 1;
    width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .form-wrapper {
    padding: 1.75rem 1.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-card-full {
    grid-column: span 1;
  }
  .detail-row {
    grid-template-columns: 90px 1fr;
  }
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  .admin-sidebar.show {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }
  .admin-main {
    margin-left: 0;
    padding: 1.25rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-bar-row {
    grid-template-columns: 1fr 2fr 0.5fr;
  }
  .footer-flex {
    justify-content: center;
    text-align: center;
  }
  .footer-credits {
    text-align: center;
  }
  .slide-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .slide-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid, .numbers-grid.glass-panel {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .carousel-dots {
    bottom: 1.5rem;
  }
  .page-banner {
    padding: 8rem 0 3.5rem;
  }
  .cta-inner {
    padding: 2rem 1.5rem;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }
  .event-bar-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* Go to Top Button */
.go-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.go-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.go-to-top:hover {
  transform: translateY(-5px);
  background-color: var(--red-dark, #b91c1c);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .go-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.1rem;
  }
}

/* Registration Page specific styles */
.team-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.team-card.leader-card {
  border-color: var(--red);
  background: linear-gradient(180deg, var(--red-50) 0%, #fff 25%);
}

.team-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
}

.team-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--gray-800);
  font-size: 1.05rem;
}

.remove-member-btn {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.remove-member-btn:hover {
  background: var(--gray-50);
}

.role-badge {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.role-leader {
  background: var(--red);
  color: #fff;
}

.role-member {
  background: var(--gray-100);
  color: var(--gray-700);
}

.member-number {
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.leader-card .member-number {
  background: var(--red);
  color: #fff;
}

.member-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1rem;
}

.member-form-grid .form-group-full {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .member-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .member-form-grid {
    grid-template-columns: 1fr;
  }
  .team-card-header {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.note-optional {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ========================================= */
/* PREMIUM ADMIN UI OVERRIDES & RESPONSIVENESS */
/* ========================================= */

/* Mobile Sidebar & Layout */
:root {
  --sidebar-width: 280px;
}
.admin-main {
  margin-left: var(--sidebar-width);
  padding: 2.5rem 3rem;
  background-color: #f8fafc;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}
.admin-sidebar {
  width: var(--sidebar-width);
  background: var(--white);
  box-shadow: 1px 0 10px rgba(0,0,0,0.03);
  border-right: none;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: none;
}
.sidebar-overlay.show {
  display: block;
  opacity: 1;
}
.mobile-toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  font-size: 1.5rem;
  border-radius: var(--radius);
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* Premium Stats Grid */
.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  border: none;
  background: linear-gradient(145deg, #ffffff, #fcfcfc);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.025);
  border-radius: 16px;
  padding: 1.75rem;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}
.stat-value {
  font-size: 2.5rem;
  color: var(--gray-800);
  margin: 0.75rem 0;
  font-weight: 800;
}
.stat-icon {
  width: 48px;
  height: 48px;
  font-size: 1.35rem;
  border-radius: 12px;
}

/* Premium Panels & Tables */
.admin-panel {
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
}
.panel-header {
  padding: 1.75rem 2rem;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.panel-header h2 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.table-wrap {
  padding: 0 1rem 1rem 1rem;
  background: var(--white);
  border-radius: 0 0 16px 16px;
}
.admin-table th {
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gray-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
  color: var(--gray-700);
}
.admin-table tbody tr:hover {
  background: var(--gray-50);
}
.admin-table td small {
  color: var(--gray-500);
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.reg-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  background: var(--red-50);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
}
.status-badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.status-badge.big {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}
.status-pending {
  background: #fef3c7;
  color: #92400e;
}
.status-approved {
  background: #d1fae5;
  color: #065f46;
}
.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}
.status-waitlisted {
  background: #e0e7ff;
  color: #3730a3;
}

.actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.action-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.action-link:hover {
  background: var(--red-50);
}
.action-link.del {
  color: #dc2626;
}
.actions select {
  padding: 0.3rem 0.5rem;
  font-size: 0.78rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
}
.actions select:focus {
  outline: none;
  border-color: var(--red);
}

.event-bars {
  padding: 1.5rem 1.75rem;
}
.event-bar-row {
  display: grid;
  grid-template-columns: 1.5fr 3fr 0.5fr;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--gray-100);
}
.event-bar-row:last-child {
  border-bottom: none;
}
.event-bar-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-700);
}
.event-bar-track {
  height: 10px;
  background: var(--gray-100);
  border-radius: 100px;
  overflow: hidden;
}
.event-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 100px;
  transition: width 1s ease;
}
.event-bar-count {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gray-800);
  font-size: 0.9rem;
}

.detail-header {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.detail-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-800);
}
.reg-code-big {
  font-family: var(--font-mono);
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--gray-500);
  font-weight: 600;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.detail-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.detail-card-full {
  grid-column: span 2;
}
.detail-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gray-100);
}
.detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--gray-100);
  font-size: 0.9rem;
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-row label {
  color: var(--gray-500);
  font-weight: 600;
}
.detail-row span {
  color: var(--gray-800);
}
.detail-row span a {
  color: var(--red);
  font-weight: 600;
}
.detail-row span a:hover {
  text-decoration: underline;
}
.idea-block {
  color: var(--gray-700);
  line-height: 1.8;
  font-size: 0.95rem;
  background: var(--gray-50);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
}

.detail-actions {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.detail-actions h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}
.detail-actions select {
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.detail-actions select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(223, 25, 25, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid, .numbers-grid.glass-panel {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-card {
    grid-column: span 1 !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    padding: 2.5rem 2rem;
  }
  .cta-right {
    text-align: left;
  }
  .process-flow {
    grid-template-columns: 1fr 1fr;
  }
  .process-step.highlight {
    grid-column: span 2;
    width: 100%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  .container {
    padding: 0 1rem;
  }
  .nav-container {
    padding: 0 1rem;
  }
  .nav-toggle {
    display: flex;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.5rem;
  }
  .nav-toggle:focus {
    outline: none;
  }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    padding: 1rem 0 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-top: 1px solid var(--gray-100);
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    color: var(--gray-800) !important;
    font-weight: 500;
  }
  .nav-links a.nav-link::after {
    display: none;
  }
  .nav-links a.nav-link.active {
    color: var(--red) !important;
  }
  .nav-cta {
    display: inline-flex !important;
    margin: 1rem auto 0 !important;
    width: calc(100% - 3rem);
    max-width: 300px;
  }
  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .carousel-arrow.prev {
    left: 0.75rem;
  }
  .carousel-arrow.next {
    right: 0.75rem;
  }
  .numbers-grid, .numbers-grid.glass-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .process-flow {
    grid-template-columns: 1fr;
  }
  .process-step.highlight {
    grid-column: span 1;
    width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .form-wrapper {
    padding: 1.75rem 1.25rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-card-full {
    grid-column: span 1;
  }
  .detail-row {
    grid-template-columns: 90px 1fr;
  }
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  .admin-sidebar.show {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }
  .admin-main {
    margin-left: 0;
    padding: 1.25rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-bar-row {
    grid-template-columns: 1fr 2fr 0.5fr;
  }
  .footer-flex {
    justify-content: center;
    text-align: center;
  }
  .footer-credits {
    text-align: center;
  }
  .slide-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .slide-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid, .numbers-grid.glass-panel {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .carousel-dots {
    bottom: 1.5rem;
  }
  .page-banner {
    padding: 8rem 0 3.5rem;
  }
  .cta-inner {
    padding: 2rem 1.5rem;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }
  .event-bar-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* Go to Top Button */
.go-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.go-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.go-to-top:hover {
  transform: translateY(-5px);
  background-color: var(--red-dark, #b91c1c);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .go-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.1rem;
  }
}

/* Registration Page specific styles */
.team-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.team-card.leader-card {
  border-color: var(--red);
  background: linear-gradient(180deg, var(--red-50) 0%, #fff 25%);
}

.team-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
}

.team-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--gray-800);
  font-size: 1.05rem;
}

.remove-member-btn {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.remove-member-btn:hover {
  background: var(--gray-50);
}

.role-badge {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.role-leader {
  background: var(--red);
  color: #fff;
}

.role-member {
  background: var(--gray-100);
  color: var(--gray-700);
}

.member-number {
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.leader-card .member-number {
  background: var(--red);
  color: #fff;
}

.member-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1rem;
}

.member-form-grid .form-group-full {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .member-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .member-form-grid {
    grid-template-columns: 1fr;
  }
  .team-card-header {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.note-optional {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ========================================= */
/* PREMIUM ADMIN UI OVERRIDES & RESPONSIVENESS */
/* ========================================= */

/* Mobile Sidebar & Layout */
:root {
  --sidebar-width: 280px;
}
.admin-main {
  margin-left: var(--sidebar-width);
  padding: 2.5rem 3rem;
  background-color: #f8fafc;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}
.admin-sidebar {
  width: var(--sidebar-width);
  background: var(--white);
  box-shadow: 1px 0 10px rgba(0,0,0,0.03);
  border-right: none;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s ease;
.admin-table th {
  background: transparent;
  color: var(--gray-500);
  padding: 1.25rem 1rem;
  font-size: 0.75rem;
}
.admin-table thead {
  background: transparent;
  border-bottom: 1px solid var(--gray-100);
}
.admin-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px dashed var(--gray-100);
}
.admin-table tbody tr {
  transition: background-color 0.2s ease;
}
.admin-table tbody tr:hover {
  background-color: #f8fafc;
}

/* Buttons and Status */
.actions select {
  background: #f8fafc;
  border-color: #e2e8f0;
  font-weight: 500;
  transition: all 0.2s;
  border-radius: 8px;
  padding: 0.4rem 1.75rem 0.4rem 0.75rem !important;
}
.actions select:hover {
  border-color: #cbd5e1;
}
.status-badge {
  padding: 0.4rem 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .admin-main {
    margin-left: 0;
    padding: 1.5rem;
  }
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .mobile-toggle {
    display: grid;
  }
  .admin-topbar {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .panel-header {
    padding: 1.25rem;
  }
  .filter-form {
    flex-direction: column;
    align-items: stretch !important;
  }
  .filter-form > div {
    width: 100% !important;
  }
  .table-wrap {
    padding: 0;
  }
}


/* Sidebar Text Overflow Fix */
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
  overflow: hidden;
}
.sidebar-user > div:nth-child(2) {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sidebar-user > div:nth-child(2) strong,
.sidebar-user > div:nth-child(2) span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
  display: block;
}

