/* ═══════════════════════════════════════════════════════════
   BASiL GVP — Bharat Silicon Labs
   Design System & Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Brand Colors */
  --primary:        #1A2B6D;
  --primary-light:  #243580;
  --primary-dark:   #111d4a;
  --accent-orange:  #E8671A;
  --accent-orange-light: #f07c35;
  --accent-green:   #2E7D32;
  --accent-green-light: #43a047;

  /* Backgrounds */
  --dark:           #0D1117;
  --dark-2:         #111827;
  --dark-3:         #1a2035;
  --surface:        #F5F7FA;
  --surface-2:      #EAEEF5;
  --surface-card:   #ffffff;

  /* Text */
  --text-dark:      #1A1A2E;
  --text-body:      #374151;
  --text-muted:     #6B7280;
  --text-light:     #F5F7FA;
  --text-light-muted: rgba(245,247,250,0.65);

  /* Borders */
  --border-dark:    rgba(255,255,255,0.06);
  --border-light:   rgba(26,43,109,0.12);

  /* Spacing */
  --section-py:     6rem;
  --container-max:  1200px;
  --container-px:   2rem;
  --radius-sm:      0.375rem;
  --radius-md:      0.75rem;
  --radius-lg:      1.25rem;
  --radius-xl:      2rem;

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.18);
  --shadow-card:    0 2px 12px rgba(26,43,109,0.08);
  --shadow-card-hover: 0 8px 32px rgba(26,43,109,0.18);

  /* Transitions */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:       cubic-bezier(0, 0, 0.2, 1);
  --transition:     0.25s var(--ease);
  --transition-slow: 0.45s var(--ease);
}

/* ─── RESET + BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--surface);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--text-body); line-height: 1.75; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.section-label.dark  { background: rgba(232,103,26,0.15); color: var(--accent-orange); border: 1px solid rgba(232,103,26,0.25); }
.section-label.light { background: rgba(26,43,109,0.08);  color: var(--primary);       border: 1px solid rgba(26,43,109,0.15); }

.section-heading { margin-bottom: 0.75rem; }
.section-sub     { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; margin-bottom: 3rem; }
.section-sub.centered { margin: 0 auto 3rem; text-align: center; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
section, footer { padding: var(--section-py) 0; }

/* ─── SECTION BACKGROUNDS ────────────────────────────────── */
.dark-section {
  background-color: var(--dark);
  color: var(--text-light);
  /* Silicon wafer grid texture */
  background-image:
    linear-gradient(rgba(26,43,109,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,43,109,0.18) 1px, transparent 1px);
  background-size: 40px 40px;
}
.dark-section p { color: var(--text-light-muted); }
.dark-section .section-heading { color: var(--text-light); }

.light-section { background: var(--surface); }

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition), padding var(--transition);
}
#navbar.transparent {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(17,24,56,0.95);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.4);
  padding: 0.55rem 0;
}

/* Prevent backdrop-filter from visually clipping the mobile menu */
#navbar:has(.nav-links.open) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
#nav-logo-img { height: 48px; width: auto; max-height: 52px; object-fit: contain; transition: height var(--transition); }
#navbar.scrolled #nav-logo-img { height: 40px; }
.nav-brand { display: flex; flex-direction: column; gap: 0; line-height: 1; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; color: #fff; letter-spacing: -0.01em; }
.brand-tagline { font-family: 'Inter', sans-serif; font-size: 0.65rem; color: var(--accent-orange); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
  transition: left var(--transition), right var(--transition);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a:hover::after,
.nav-links a.active::after { left: 12px; right: 12px; }
.nav-links a.active { color: #fff; }
.nav-links a.nav-cta {
  background: var(--accent-orange);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--accent-orange-light); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  z-index: 10;
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 7rem var(--container-px) 4rem;
  flex: 1;
}

.hero-text { z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-orange);
  background: rgba(232,103,26,0.1);
  border: 1px solid rgba(232,103,26,0.25);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent-orange);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.05;
}
.accent-orange { color: var(--accent-orange); }
.accent-green  { color: var(--accent-green-light); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.01em;
}
.hero-desc {
  font-size: 0.975rem;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: 99px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,103,26,0.35);
}
.btn-primary:hover { background: var(--accent-orange-light); box-shadow: 0 6px 28px rgba(232,103,26,0.5); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.07); }
.btn-primary-sm {
  background: var(--primary);
  color: #fff;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}
.btn-primary-sm:hover { background: var(--primary-light); }

/* ─── 3D CONTAINERS ──────────────────────────────────────── */
#hero-3d-container {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#silicon-canvas { width: 100%; height: 100%; display: block; }
.canvas-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 40%, var(--dark) 80%),
    linear-gradient(to right, var(--dark) 0%, transparent 20%, transparent 80%, var(--dark) 100%);
  pointer-events: none;
  z-index: 1;
}

.infra-3d-header {
  position: relative;
  height: 160px;
  overflow: hidden;
  margin-bottom: -40px;
}
#chip-canvas { width: 100%; height: 100%; display: block; }

/* Neural (Myi2) and Atom (Advisory) section 3D headers */
.neural-3d-header,
.advisory-3d-header {
  position: relative;
  height: 170px;
  overflow: hidden;
  margin-bottom: -42px;
  pointer-events: none;
}
.neural-3d-header canvas,
.advisory-3d-header canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Fade edge overlay on 3D headers */
.neural-3d-header::after,
.advisory-3d-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--dark) 0%, transparent 15%, transparent 85%, var(--dark) 100%),
    linear-gradient(to bottom, transparent 40%, var(--dark) 100%);
  pointer-events: none;
}

/* PCB canvas fills the featured project image panel */
#pcb-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
}

/* ─── HERO STATS BAR ─────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.25rem var(--container-px);
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2.5rem;
  font-family: 'Space Grotesk', sans-serif;
}
.stat-item strong { font-size: 1.15rem; color: #fff; display: block; }
.stat-item span { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-icon { width: 22px; height: 22px; color: var(--accent-orange); flex-shrink: 0; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ─── SCROLL INDICATOR ───────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.4;
  transition: opacity var(--transition);
  z-index: 3;
}
.scroll-indicator:hover { opacity: 0.8; }
.scroll-line {
  display: block;
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--accent-orange));
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line { 0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom} }
.scroll-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ─── ABOUT SECTION ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}
.about-text p { margin-bottom: 1rem; font-size: 0.975rem; }
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: rgba(26,43,109,0.08);
  border: 1px solid rgba(26,43,109,0.18);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
}
.badge-pill::before { content: '✓'; color: var(--accent-green); font-size: 0.72rem; }

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,43,109,0.3), rgba(232,103,26,0.15));
  z-index: 1;
}
.about-image-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  z-index: 2;
  font-style: italic;
}

/* Feature cards */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(26,43,109,0.3); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card-icon {
  width: 48px; height: 48px;
  background: rgba(26,43,109,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.feature-card-icon svg { width: 26px; height: 26px; }
.feature-card h4 { margin-bottom: 0.5rem; color: var(--primary); }
.feature-card p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ─── INFRASTRUCTURE SECTION ─────────────────────────────── */
.infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.infra-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.infra-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  transition: background var(--transition), border-color var(--transition);
}
.infra-item:hover { background: rgba(255,255,255,0.07); border-color: rgba(232,103,26,0.2); }
.infra-item-icon { color: var(--accent-orange); flex-shrink: 0; margin-top: 0.15rem; }
.infra-item-icon svg { width: 18px; height: 18px; }
.infra-item-text { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.5; }

/* Phase roadmap */
.roadmap-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.roadmap-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.roadmap-table th {
  padding: 1rem 1.25rem;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(26,43,109,0.3);
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid var(--border-dark);
}
.roadmap-table th.active-phase { background: rgba(232,103,26,0.2); color: var(--accent-orange); }
.roadmap-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.roadmap-table tr:last-child td { border-bottom: none; }
.roadmap-table tr:hover td { background: rgba(255,255,255,0.03); }
.phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.phase-badge.current { color: var(--accent-orange); }
.roadmap-note {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ─── PROJECTS SECTION ───────────────────────────────────── */
.featured-project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.featured-project:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,43,109,0.2); }

.featured-project-image {
  position: relative;
  min-height: 300px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1a3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.featured-project-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-project-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 300px;
  padding: 2rem;
  background: linear-gradient(135deg, #0a1428 0%, #111d4a 50%, #1a2b6d 100%);
  position: relative;
  overflow: hidden;
}
.featured-project-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,103,26,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,103,26,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}
.placeholder-icon { z-index: 1; opacity: 0.35; color: rgba(255,255,255,0.7); }
.placeholder-icon svg { width: 64px; height: 64px; }
.placeholder-label { font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.1em; z-index: 1; margin-top: 0.75rem; }

.featured-project-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.featured-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.75rem; border-radius: 99px; margin-bottom: 0.75rem; }
.featured-badge.orange { background: rgba(232,103,26,0.1); color: var(--accent-orange); border: 1px solid rgba(232,103,26,0.25); }
.featured-badge.green  { background: rgba(46,125,50,0.1);  color: var(--accent-green);  border: 1px solid rgba(46,125,50,0.25); }
.featured-badge.blue   { background: rgba(26,43,109,0.1);  color: var(--primary);       border: 1px solid rgba(26,43,109,0.25); }
.featured-badge::before { content: '●'; font-size: 0.5rem; }

.featured-project-body h3 { font-size: 1.75rem; margin-bottom: 0.25rem; color: var(--text-dark); }
.featured-project-body .project-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; font-weight: 500; }
.featured-project-body .project-desc { font-size: 0.9rem; margin-bottom: 1.25rem; }
.project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.chip {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(26,43,109,0.08);
  border: 1px solid rgba(26,43,109,0.15);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.project-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.project-card-image { height: 180px; position: relative; overflow: hidden; }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; }
.project-card-image .featured-project-placeholder { min-height: 180px; }
.project-card-body { padding: 1.5rem; }
.project-card-body h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.project-card-body .project-subtitle { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.project-card-body .project-desc { font-size: 0.85rem; margin-bottom: 1rem; }

/* ─── MYI2 SECTION ───────────────────────────────────────── */
.myi2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.myi2-left h3 { font-size: 1.3rem; color: #fff; margin-bottom: 0.75rem; }
.myi2-desc { margin-bottom: 1.5rem; font-size: 0.95rem; }
.domain-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  background: rgba(232,103,26,0.1);
  border: 1px solid rgba(232,103,26,0.25);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-orange);
  font-family: 'Space Grotesk', sans-serif;
}
.myi2-outcomes { display: flex; flex-direction: column; gap: 1rem; }
.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--accent-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.outcome-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-orange);
  flex-shrink: 0;
  min-width: 1.5rem;
}
.outcome-text { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.55; }
.club-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.club-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.club-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(232,103,26,0.25); transform: translateY(-3px); }
.club-icon { margin-bottom: 0.75rem; color: var(--accent-orange); display: flex; align-items: center; justify-content: center; }
.club-icon svg { width: 32px; height: 32px; }
.club-card h4 { font-size: 0.95rem; color: #fff; margin-bottom: 0.25rem; }
.club-card p  { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* ─── ACTIVITIES SECTION ─────────────────────────────────── */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.activity-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.activity-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.activity-icon { margin-bottom: 1rem; color: var(--primary); }
.activity-icon svg { width: 32px; height: 32px; }
.activity-card h4 { margin-bottom: 0.5rem; color: var(--primary); font-size: 1rem; }
.activity-card p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.photo-strip-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  box-shadow: var(--shadow-md);
}
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.photo-strip-item:hover img { transform: scale(1.04); }
.photo-strip-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}

/* ─── CAROUSEL (JS-driven) ───────────────────────────────── */
.carousel-wrapper {
  position: relative;
  padding: 0 3.25rem; /* side room for buttons */
}
.carousel-outer {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.carousel-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}

/* Fixed card size inside carousel */
.carousel-track .advisory-card {
  min-width: 190px;
  max-width: 190px;
  flex-shrink: 0;
}

/* Prev / Next buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 0.9rem)); /* offset above progress bar */
  z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.carousel-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(calc(-50% - 0.9rem)) scale(1.12);
}
.carousel-btn:active { transform: translateY(calc(-50% - 0.9rem)) scale(0.97); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn-prev { left: 0; }
.carousel-btn-next { right: 0; }

/* Progress bar */
.carousel-progress {
  height: 3px;
  background: transparent;
  border-radius: 99px;
  margin-top: 1.1rem;
  overflow: visible;
}
.carousel-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-light, #2a3f9d), var(--accent-orange, #E8671A));
  border-radius: 99px;
  transform-origin: left;
  transform: scaleX(0);
}

.carousel-sublabel {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.carousel-sublabel::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}


/* ─── ADVISORY SECTION ───────────────────────────────────── */
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.advisory-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.advisory-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(232,103,26,0.2); transform: translateY(-3px); }

.advisory-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.advisory-avatar img { width: 100%; height: 100%; object-fit: cover; }
.advisory-avatar-initials {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: 2px solid rgba(232,103,26,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
  letter-spacing: 0.02em;
}

.advisory-card h4 { font-size: 0.95rem; color: #fff; margin-bottom: 0.25rem; line-height: 1.3; }
.advisory-card .adv-title { font-size: 0.78rem; color: var(--accent-orange); margin-bottom: 0.2rem; font-weight: 500; }
.advisory-card .adv-org   { font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 1.4; }

/* ─── TEAM SECTION ───────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: rgba(26,43,109,0.25); }
.team-card:hover::before { transform: scaleX(1); }

.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  overflow: hidden;
  border: 3px solid rgba(26,43,109,0.12);
  box-shadow: 0 4px 16px rgba(26,43,109,0.12);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.team-card:hover .team-avatar {
  border-color: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(232,103,26,0.25);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-avatar-initials {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: 3px solid rgba(232,103,26,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.1rem;
  letter-spacing: 0.02em;
}

.team-card h4 { font-size: 0.92rem; color: var(--text-dark); margin-bottom: 0.25rem; line-height: 1.35; }
.team-card .team-title { font-size: 0.78rem; color: var(--accent-orange); margin-bottom: 0.15rem; font-weight: 500; min-height: 1em; }
.team-card .team-org   { font-size: 0.74rem; color: var(--text-muted); line-height: 1.4; min-height: 1em; }

/* ─── GALLERY SECTION ────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--surface-2);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(13,17,23,0.85));
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,43,109,0.2);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.gallery-overlay svg { width: 28px; height: 28px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ─── LIGHTBOX ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
}
#lightbox-caption { font-size: 0.88rem; color: rgba(255,255,255,0.6); font-style: italic; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 18px; height: 18px; color: #fff; }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer-section { padding-bottom: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 0;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 1rem; }
.footer-brand .tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; }
.footer-address { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.8; }
.footer-address strong { color: rgba(255,255,255,0.7); }
.footer-address a { color: var(--accent-orange); transition: color var(--transition); }
.footer-address a:hover { color: var(--accent-orange-light); }

.footer-links h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a::before { content: '↗'; font-size: 0.7rem; color: var(--accent-orange); opacity: 0; transition: opacity var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { opacity: 1; }

.footer-bottom {
  padding: 1.25rem 0;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border-dark);
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); text-align: center; margin: 0; }
.footer-bottom-sub { font-size: 0.72rem !important; color: rgba(255,255,255,0.2) !important; margin-top: 0.2rem !important; }

/* ─── BACK TO TOP ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(232,103,26,0.4);
  z-index: 800;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.back-to-top[hidden] { display: flex !important; opacity: 0; pointer-events: none; transform: translateY(8px); }
.back-to-top:not([hidden]) { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-orange-light); transform: translateY(-3px); }
.back-to-top svg { width: 18px; height: 18px; color: #fff; }

/* ─── DEVELOPER HOVER CARD ───────────────────────────────── */
.developer-link {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  position: relative;
}
.dev-hover-card {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.95);
  width: 220px;
  height: 280px;
  background: rgba(13,17,35,0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
}
.developer-link:hover .dev-hover-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dev-hover-card::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--accent-orange);
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: -1;
}
.dev-hover-card .dev-hover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  z-index: 0;
}
.dev-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(232,103,26, 0.75) 0%, rgba(232,103,26, 0.3) 60%, transparent 100%);
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  padding: 3rem 1rem 1rem 1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
}
.dev-card-overlay strong {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.dev-card-overlay span {
  color: rgba(255,255,255,0.95);
  font-size: 0.8rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  letter-spacing: 0.5px;
}


/* ─── SCROLL ANIMATIONS ──────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.animate-on-scroll.animate-delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.animate-delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.animate-delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.animate-delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ─── LOADING STATE ──────────────────────────────────────── */
.loading-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
  height: 200px;
}
@keyframes shimmer { 0%{background-position:200%} 100%{background-position:-200%} }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { gap: 2.5rem; }
  .myi2-grid  { gap: 2.5rem; }
  .footer-grid { gap: 2.5rem; }
  .club-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 4rem; --container-px: 1.25rem; }

  /* Navbar */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    height: 100dvh;
    width: min(80vw, 300px);
    flex-direction: column;
    align-items: stretch;
    padding: 6rem 1.5rem 2rem;
    background: rgba(13,17,35,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-dark);
    transition: right 0.35s var(--ease);
    gap: 0.25rem;
    overflow-y: auto;
  }
  .nav-links.open {
    right: 0;
    box-shadow: 0 0 0 100vw rgba(0,0,0,0.6);
  }
  .nav-links a { padding: 0.85rem 1rem; font-size: 1.05rem; border-radius: var(--radius-md); }
  .nav-links a.nav-cta { text-align: center; padding: 0.85rem 1rem; border-radius: var(--radius-md); font-size: 1rem; }
  .nav-links a::after { display: none; }

  /* Hero */
  .hero-content { grid-template-columns: 1fr; padding-top: 6rem; padding-bottom: 2rem; text-align: center; }
  .hero-text { order: 2; }
  .hero-badge { margin: 0 auto 1.5rem; }
  .hero-ctas { justify-content: center; }
  .hero-desc { margin: 0 auto 2rem; }
  #hero-3d-container { order: 1; height: 280px; }
  .hero-stats { flex-wrap: wrap; gap: 0; padding: 1rem; }
  .stat-item { padding: 0.5rem 1rem; }
  .stat-divider { height: 24px; }

  /* Grids → single column */
  .about-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .myi2-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .activities-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: 1fr; }
  .advisory-grid { grid-template-columns: repeat(2, 1fr); }
  .club-cards { grid-template-columns: repeat(2, 1fr); }

  /* Projects */
  .featured-project { grid-template-columns: 1fr; }
  .featured-project-image { min-height: 200px; }

  /* scroll indicator */
  .scroll-indicator { display: none; }

  /* Infra 3D header */
  .infra-3d-header { height: 100px; }
}

@media (max-width: 480px) {
  :root { --container-px: 1rem; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .advisory-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .stat-divider { width: 100%; height: 1px; }
  .stat-item { width: 100%; padding: 0.5rem 1.25rem; }
  .club-cards { grid-template-columns: 1fr 1fr; }
  .lightbox-nav { display: none; }
}

/* ─── PRINT ──────────────────────────────────────────────── */
@media print {
  #navbar, .scroll-indicator, .back-to-top, #lightbox, .infra-3d-header, #hero-3d-container { display: none; }
  .dark-section { background: #fff !important; color: #000 !important; background-image: none !important; }
  .dark-section p, .dark-section h2, .dark-section h3, .dark-section h4 { color: #000 !important; }
}
