/* EIS MUJ website styles - Enhanced */

:root {
  --bg: #020617;
  --surface: #0b1220;
  --surface-2: rgba(15, 23, 42, 0.86);
  --text: #f8fafc;
  --muted: rgba(226, 232, 240, 0.82);
  --muted-2: rgba(148, 163, 184, 0.9);
  --border: rgba(148, 163, 184, 0.22);

  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --accent: #38bdf8;
  --accent-light: #60a5fa;

  --shadow-sm: 0 8px 18px rgba(2, 6, 23, 0.08);
  --shadow-md: 0 18px 45px rgba(2, 6, 23, 0.12);
  --radius: 18px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: transparent;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% -10%, rgba(37, 99, 235, 0.42), transparent 32%),
    radial-gradient(circle at 90% 0%, rgba(96, 165, 250, 0.28), transparent 36%),
    radial-gradient(circle at 60% 120%, rgba(29, 78, 216, 0.22), transparent 40%),
    var(--bg);
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  flex: 1;
  padding-top: 70px;
  padding-bottom: 60px;
}

.brand-logo {
  height: 50px !important;
  width: auto;
  display: block;
  margin: 0;
  padding: 10px 0;
}

.nav-logo {
  margin: 0;
  padding: 10px 0;
}

/* Header / nav */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  transition: all 0.3s ease;
}

.site-header__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 70px;
}

.nav-logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  margin: 0;
  padding: 5px;
  transition: transform 0.3s ease;
}

.nav {
  flex: 1;
  padding: 16px 24px 16px 80px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 0 0 12px 12px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  min-width: 60px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-logo {
  height: 60px;
  width: auto;
  transition: filter 0.3s ease;
  margin: 0;
  padding: 5px 0;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  color: rgba(226, 232, 240, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.nav__links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav__links a:hover::before {
  left: 100%;
}

.nav__links a:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(96, 165, 250, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.nav__links a.active {
  background: rgba(37, 99, 235, 0.2);
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.3);
}

.nav__toggle {
  display: none;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav__toggle svg {
  color: white !important;
  stroke: white !important;
}

.nav__toggle:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
  transform: scale(1.05);
}

.nav__toggle:hover svg {
  color: white !important;
  stroke: white !important;
}

.nav__close {
    display: none;
    visibility: hidden;
  }

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .nav__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1000;
    display: block;
    visibility: visible;
  }

  .nav__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
    z-index: 999999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: none;
    padding: 20px;
    height: 100vh;
    overflow-y: auto;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  }

  .nav__links.is-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav__links:not(.is-open) {
    opacity: 0;
    transform: translateY(-20px);
  }

  .nav__links.is-open ~ .nav-logo {
    display: none;
  }

  .nav__close {
    display: block;
  }

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

  .nav__links a {
    padding: 20px 24px;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.9);
    background: transparent;
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    margin: 8px;
    max-width: 400px;
    align-self: center;
    display: block;
  }

  .nav__links a:hover {
    background: rgba(37, 99, 235, 0.2);
    color: #ffffff;
    transform: scale(1.05);
  }

  .nav__links a.active {
    background: rgba(37, 99, 235, 0.25);
    color: #ffffff;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .nav__links {
    padding: 16px;
    gap: 8px;
  }
  
  .nav__links a {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

/* Typography helpers */

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.78);
}

.lead {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 1.02rem;
  max-width: 44rem;
}

.subtle {
  margin: 0;
  color: rgba(226, 232, 240, 0.84);
}

.page-title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
  user-select: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: white;
  border-color: rgba(2, 6, 23, 0.1);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.32);
}

.btn--ghost {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.26);
  color: rgba(248, 250, 252, 0.96);
}

.btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.32);
}

.btn--full {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.65);
}

.hero--image {
  min-height: 72vh;
}

.hero__bgimg {
  position: absolute;
  inset: -8%;
  background-image: url("/static/img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  transform: translate3d(0, 0, 0) scale(1.03);
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.55) 46%, rgba(2, 6, 23, 0.65) 72%),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.9));
  height: 90vh;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 80px 20px 44px;
  max-width: 1120px;
  margin: 0 auto;
  height: 90vh;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-fill-color: white;
}

.hero__title {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero__rhs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.hero-card {
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-md);
  padding: 14px 14px 12px;
}

.hero-card--glow {
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.5), 0 0 0 1px rgba(148, 163, 184, 0.18),
    0 0 32px rgba(37, 99, 235, 0.22);
}

.hero-card__title {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-card__note {
  margin: 10px 0 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.9rem;
}

.hero-mini {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 10px;
  box-shadow: 0 0 0 6px rgba(2, 6, 23, 0.35);
}

.dot--blue {
  background: var(--blue);
}

.dot--sky {
  background: var(--sky);
}

.dot--deep {
  background: var(--blue-strong);
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mosaic__tile {
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-sm);
  background-size: cover;
  background-position: center;
  background-image: radial-gradient(circle at 30% 20%, rgba(96, 165, 250, 0.28), rgba(37, 99, 235, 0.18) 45%, rgba(15, 23, 42, 0.75) 80%);
  min-height: 132px;
}

.mosaic__tile--a {
  grid-column: span 2;
  min-height: 165px;
  background-image: radial-gradient(circle at 15% 10%, rgba(96, 165, 250, 0.36), rgba(15, 23, 42, 0.78) 70%);
}

.mosaic__tile--b {
  background-image: radial-gradient(circle at 40% 30%, rgba(37, 99, 235, 0.24), rgba(15, 23, 42, 0.78) 70%);
}

.mosaic__tile--c {
  background-image: radial-gradient(circle at 40% 30%, rgba(96, 165, 250, 0.22), rgba(15, 23, 42, 0.78) 70%);
}

/* Events grid for home page */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.event-card {
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  max-width: 400px;
  margin: 0 auto;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.event-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

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

.event-date-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  min-width: 50px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.date-day {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.date-month {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.event-content {
  padding: 20px;
}

.event-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.event-time {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
}

.event-description {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Events page centering */
.page .page__title,
.page .lead {
  text-align: center;
}

/* Sections */

.section {
  padding: 34px 0;
}

.section--last {
  height: 80vh;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  margin: 0 0 6px;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card {
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-sm);
  padding: 14px 14px 16px;
}

.card__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.card__meta {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.92rem;
}

/* Hero orbit animation (no card) */
.orbit-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 40px auto 0;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 60px;
  height: 60px;
  animation: rotate 6s linear infinite;
}

.orbit-2 {
  width: 80px;
  height: 80px;
  animation: rotate 8s linear infinite reverse;
}

.orbit-3 {
  width: 100px;
  height: 100px;
  animation: rotate 10s linear infinite;
}

.orbit-4 {
  width: 120px;
  height: 120px;
  animation: rotate 12s linear infinite reverse;
}

.orbit-5 {
  width: 140px;
  height: 140px;
  animation: rotate 14s linear infinite;
}

.orbit-6 {
  width: 160px;
  height: 160px;
  animation: rotate 16s linear infinite reverse;
}

.orbit-7 {
  width: 180px;
  height: 180px;
  animation: rotate 18s linear infinite;
}

.orbit-8 {
  width: 200px;
  height: 200px;
  animation: rotate 20s linear infinite reverse;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.orbit-item {
  position: absolute;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--sky);
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
  animation: counter-rotate 6s linear infinite;
  letter-spacing: 0.1em;
}

.orbit-item-1 {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-item-2 {
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  animation-duration: 8s;
}

.orbit-item-3 {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 10s;
}

.orbit-item-4 {
  top: 50%;
  left: -10px;
  transform: translateY(-50%);
  animation-duration: 12s;
}

.orbit-item-5 {
  top: 25%;
  right: -10px;
  transform: translateY(-50%);
  animation-duration: 14s;
}

.orbit-item-6 {
  bottom: 25%;
  left: -10px;
  transform: translateY(-50%);
  animation-duration: 16s;
}

.orbit-item-7 {
  top: -10px;
  left: 25%;
  transform: translateX(-50%);
  animation-duration: 18s;
}

.orbit-item-8 {
  top: -10px;
  right: 25%;
  transform: translateX(-50%);
  animation-duration: 20s;
}

@keyframes counter-rotate {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(-360deg);
  }
}

/* Hero animation replacement */
.hero-animation {
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-md);
  padding: 24px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.orbit-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 80px;
  height: 80px;
  animation: rotate 8s linear infinite;
}

.orbit-2 {
  width: 120px;
  height: 120px;
  animation: rotate 12s linear infinite reverse;
}

.orbit-3 {
  width: 160px;
  height: 160px;
  animation: rotate 16s linear infinite;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.orbit-item {
  position: absolute;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sky);
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
  animation: counter-rotate 8s linear infinite;
  letter-spacing: 0.1em;
}

.orbit-item-1 {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-item-2 {
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  animation-duration: 12s;
}

.orbit-item-3 {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 16s;
}

@keyframes counter-rotate {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(-360deg);
  }
}

.floating-code {
  margin-top: 20px;
  padding: 16px;
  background: rgba(2, 6, 23, 0.6);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.75rem;
  line-height: 1.4;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.code-line {
  margin: 2px 0;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.code-line:nth-child(1) {
  animation-delay: 0.5s;
}

.code-line:nth-child(2) {
  animation-delay: 1.0s;
}

.code-line:nth-child(3) {
  animation-delay: 1.5s;
}

.code-line:nth-child(4) {
  animation-delay: 2.0s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.code-keyword {
  color: var(--sky);
  font-weight: 600;
}

.code-variable {
  color: var(--text);
}

.code-string {
  color: rgba(96, 165, 250, 0.9);
}

.code-function {
  color: var(--blue);
  font-weight: 500;
}

/* Floating element to replace mosaic */
.floating-element {
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-md);
  padding: 20px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.shape-2 {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--sky), var(--blue-strong));
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.shape-3 {
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(120deg);
  }
  66% {
    transform: translateY(5px) rotate(240deg);
  }
}

.floating-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
}

.floating-word {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0;
  animation: fadeInOut 4s ease-in-out infinite;
}

.floating-word:nth-child(1) {
  animation-delay: 0s;
}

.floating-word:nth-child(2) {
  animation-delay: 1.3s;
}

.floating-word:nth-child(3) {
  animation-delay: 2.6s;
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 0;
    transform: translateY(10px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gallery preview strip */

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.gallery-strip__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-sm);
  background: rgba(15, 23, 42, 0.7);
}

/* Shooting stars background */
.starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
  opacity: 1;
}

/* Page hero */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 16px;
}

.page-hero--image {
  position: relative;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.02);
  z-index: 0;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #020617;
  background-image:
    linear-gradient(to bottom, rgba(2, 6, 23, 0.65), rgba(2, 6, 23, 0.88)),
    url("/static/img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  height: 100vh;
}

/* Enhanced page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 70vh;
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%),
              url('/static/img/about-bg.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: overlay, normal;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.3) 0%, rgba(2, 6, 23, 0.8) 100%);
}

/* About page specific hero layout */
.page-hero .container.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 70vh;
  position: relative;
  z-index: 5;
}

.hero-left {
  color: white;
  animation: fadeInUp 0.8s ease-out;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-hero .page-title {
  color: #ffffff;
  text-shadow: 0 10px 28px rgba(2, 6, 23, 0.45);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-hero .eyebrow {
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero .subtle {
  color: rgba(226, 232, 240, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Amazing Gallery Design */

/* Gallery Hero Section */
.gallery-hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  overflow: hidden;
}

.gallery-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
  animation: floatGradient 20s ease-in-out infinite;
}

@keyframes floatGradient {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

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

.gallery-hero .eyebrow {
  color: rgba(168, 85, 247, 0.8);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.gallery-hero .page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(226, 232, 240, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.gallery-wrapper {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(168, 85, 247, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Amazing Empty State */
.empty-state {
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.empty-animation {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.camera-icon {
  font-size: 4rem;
  position: relative;
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 2px solid rgba(168, 85, 247, 0.3);
  border-radius: 50%;
  animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.empty-state h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.empty-state p {
  font-size: 1.2rem;
  color: rgba(226, 232, 240, 0.7);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.preview-item:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(15, 23, 42, 0.8);
}

.preview-icon {
  font-size: 1.5rem;
}

.preview-item span:last-child {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
}

.empty-card__text {
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
}

/* Contact Us Page */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.contact-left h2,
.contact-right h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  background: rgba(15, 23, 42, 0.6);
  padding: 8px;
}

.map-container iframe {
  border-radius: 8px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.social-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  border-radius: 10px;
  flex-shrink: 0;
}

.social-content {
  flex: 1;
}

.social-title {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.social-value {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 600;
}

/* Visual showcase for About page */
.visual-showcase {
  text-align: center;
  margin: 0 auto 20px;
  max-width: 300px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.showcase-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.showcase-label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.visual-caption {
  margin-top: 16px;
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
}

/* About page layout - Desktop */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
  align-items: start;
}

.about-visual {
  margin-bottom: 0;
}

/* About page responsive */

/* About page responsive */
@media (max-width: 768px) {
  .page-hero .container.page-hero__inner {
    grid-template-columns: 1fr;
    padding: 60px 20px 40px;
    text-align: center;
  }
  
  .hero-left {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .hero-right {
    display: none;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
    order: 2;
  }
  
  .about-visual {
    order: 1;
    margin-bottom: 30px;
    margin-top: 0;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 300px;
  }
  
  .section__header {
    text-align: center;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .page-hero .page-title {
    font-size: 2rem;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .about-content {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .map-container iframe {
    height: 300px;
  }
}

/* Stats grid for About page */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.stat-card {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* Enhanced dripping effect for hero */
.page-hero__drip {
  position: absolute;
  bottom: -1px;
  left: -2%;
  right: -2%;
  height: 140px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 140' preserveAspectRatio='none'%3E%3Cpath fill='%23020617' d='M0,70L15,65C30,60,60,50,90,45C120,40,150,40,180,42C210,45,240,50,270,55C300,60,330,65,360,63C390,60,420,50,450,45C480,40,510,40,540,42C570,45,600,50,630,55C660,60,690,65,720,63C750,60,780,50,810,45C840,40,870,40,900,42C930,45,960,50,990,55C1020,60,1050,65,1080,63C1110,60,1140,50,1170,45C1200,40,1230,40,1260,42C1290,45,1320,50,1350,55C1380,60,1410,65,1440,63C1470,60,1500,50,1500,50L1500,140L1440,140C1410,140,1380,140,1350,140C1320,140,1290,140,1260,140C1230,140,1200,140,1170,140C1140,140,1110,140,1080,140C1050,140,1020,140,990,140C960,140,930,140,900,140C870,140,840,140,810,140C780,140,750,140,720,140C690,140,660,140,630,140C600,140,570,140,540,140C510,140,480,140,450,140C420,140,390,140,360,140C330,140,300,140,270,140C240,140,210,140,180,140C150,140,120,140,90,140C60,140,30,140,15,140L0,140Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  z-index: 10;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Enhanced code snippet */
.floating-code {
  padding: 20px;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.9rem;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
              0 0 0 1px rgba(56, 189, 248, 0.1);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-code:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 
              0 0 0 1px rgba(56, 189, 248, 0.2);
}

.code-line {
  margin-bottom: 8px;
  display: block;
}

.code-keyword {
  color: #c792ea;
  font-weight: 600;
}

.code-variable {
  color: #82aaff;
}

.code-string {
  color: #c3e88d;
}

.code-function {
  color: #ffcb6b;
  font-weight: 500;
}

/* Enhanced About section */
.section {
  padding: 80px 0;
  min-height: 60vh;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.about-text {
  color: var(--text);
}

.about-text p {
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Visual showcase for About section */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-showcase {
  text-align: center;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 auto 20px;
  max-width: 300px;
}

.showcase-item {
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.showcase-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.showcase-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.visual-caption {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Journey Gallery Layout */
.journey-gallery {
  margin: 40px 0;
}

.gallery-feature {
  margin-bottom: 40px;
}

.feature-image {
  position: relative;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.4));
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-image:hover .feature-overlay {
  opacity: 1;
}

.feature-content h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.feature-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 16px;
  margin-bottom: 40px;
}

.mosaic-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mosaic-item:hover {
  transform: scale(1.02);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mosaic-item:hover .mosaic-overlay {
  opacity: 1;
}

.mosaic-overlay span {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mosaic-large {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic-wide {
  grid-column: span 2;
}

.gallery-cta {
  text-align: center;
  padding: 40px 0;
}

.gallery-cta p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.about-text {
  color: var(--text);
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.05rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-item h4 {
  margin: 0 0 8px 0;
  color: var(--accent);
  font-size: 1.1rem;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Enhanced stats display */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.stat-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Code showcase for About page */
.code-showcase {
  margin-top: 32px;
  text-align: center;
}

.code-showcase h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  color: var(--text);
}

/* Feature highlights */
.feature-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.highlight-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.highlight-item h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.highlight-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Events timeline */
.events-timeline {
  margin: 24px 0;
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.timeline-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  flex-shrink: 0;
  text-align: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 80px;
}

.date-day {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.date-month {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.timeline-content {
  flex: 1;
}

.timeline-content h4 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.timeline-time {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
}

.timeline-desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.timeline-descbody {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding-top: 70px;
  padding-bottom: 60px;
}

.btn--small {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.event-cta {
  text-align: center;
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-sm);
}

.event-cta h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: var(--text);
}

.event-cta p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* Gallery page enhancements */
.gallery-categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.category-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(248, 250, 252, 0.96);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.14s ease;
}

.category-btn:hover,
.category-btn.active {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.32);
  transform: translateY(-1px);
}

.featured-section {
  margin-bottom: 32px;
}

.featured-section h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  color: var(--text);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.featured-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.featured-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.featured-badge {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.featured-item p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.view-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.view-text {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}


.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.testimonial-card {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-sm);
}

.testimonial-content {
  margin-bottom: 16px;
}

.testimonial-content p {
  margin: 0;
  color: var(--text);
  font-style: italic;
  line-height: 1.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-interests {
  margin: 16px 0;
}

.interest-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.interest-tag {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(248, 250, 252, 0.96);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.14s ease;
}

.interest-tag:hover,
.interest-tag.active {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.32);
}

/* Get involved */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(226, 232, 240, 0.82);
}

.list li + li {
  margin-top: 6px;
}



/* Shooting stars background */
.starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
  opacity: 1;
}

/* Get Involved page map responsive */
@media (max-width: 768px) {
  .map-container iframe {
    height: 250px !important;
    width: 100% !important;
    border-radius: 8px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Mobile logo centering */
  .nav-logo {
    position: absolute;
    left: 50% !important;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    margin: 0;
    padding: 5px;
    transition: transform 0.3s ease;
  }
}

/* Home page events section centering */
#events .section__header {
  text-align: center;
}

#events .section__title {
  text-align: center;
}

#events .section__subtitle {
  text-align: center;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(10px);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.site-footer__row {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__brand {
  color: var(--text);
  font-weight: 700;
}

/* Responsive */

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 52px;
  }

  .cards-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .events-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .gallery-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .feature-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline-item {
    flex-direction: column;
    gap: 12px;
  }

  .timeline-date {
    min-width: auto;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
  }

  .date-day {
    font-size: 1.4rem;
  }

  .date-month {
    margin-top: 0;
  }

  .featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .upload-steps {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

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

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-flow {
    flex-direction: column;
    gap: 16px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .orbit-container {
    width: 160px;
    height: 160px;
  }

  .orbit-item {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
  height: 100vh;    
    
    
    display: none;
  }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100vh;
  }

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

