/* ==========================================================================
   AWS SBG RGUKT ONGOLE - MASTER DESIGN SYSTEM
   Mobile-First, Enterprise Cloud Aesthetic
   Color Palette: Deep Slate Navy (#07111f), Midnight (#0b1728), AWS Orange (#ff9900)
   ========================================================================== */

:root {
  /* Brand Core Colors */
  --aws-orange: #ff9900;
  --aws-orange-light: #ffac33;
  --aws-orange-hover: #e68a00;
  --aws-orange-glow: rgba(255, 153, 0, 0.22);
  --aws-orange-subtle: rgba(255, 153, 0, 0.08);

  /* Dark Slate Palette */
  --bg-darkest: #030811;
  --bg-dark: #07111f;
  --bg-surface: #0b1728;
  --bg-elevated: #111f33;
  --bg-card: #0e1b2e;
  --bg-card-hover: #14253e;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(255, 153, 0, 0.35);

  /* Text & Grays */
  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #ff9900;

  /* Typography */
  --font-main: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Space Grotesk", monospace;

  /* Layout & Spacing */
  --container-width: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions & Shadows */
  --transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(255, 153, 0, 0.15);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--aws-orange);
  color: var(--bg-darkest);
}

.page-container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   NAVIGATION & STICKY HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(3, 8, 17, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(3, 8, 17, 0.96);
  border-bottom-color: rgba(255, 153, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Brand Logo Component */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  background: linear-gradient(135deg, var(--aws-orange), var(--aws-orange-hover));
  color: #000;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px var(--aws-orange-glow);
}

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

.brand-title {
  color: var(--text-white);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-sub {
  color: var(--aws-orange);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Desktop Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  background: var(--aws-orange-subtle);
}

.nav-link.active {
  color: var(--aws-orange);
}

/* Mobile Nav Toggle (Hamburger) */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.mobile-nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--aws-orange);
  color: #050a12;
  box-shadow: 0 4px 18px var(--aws-orange-glow);
}

.btn-primary:hover {
  background: var(--aws-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 153, 0, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--aws-orange);
  color: var(--aws-orange);
  transform: translateY(-2px);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--aws-orange), var(--aws-orange-hover));
  color: #000;
  padding: 8px 16px;
  font-size: 0.85rem;
  margin-left: 6px;
}

.btn-nav-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 50px;
  background: radial-gradient(circle at 50% 0%, #152744 0%, #07111f 55%, #030811 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(300px, 80vw, 850px);
  height: clamp(300px, 60vw, 550px);
  background: radial-gradient(ellipse, rgba(255, 153, 0, 0.12) 0%, rgba(255, 153, 0, 0) 70%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 153, 0, 0.08);
  border: 1px solid rgba(255, 153, 0, 0.28);
  margin-bottom: 24px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aws-orange);
  box-shadow: 0 0 10px var(--aws-orange);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.pill-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--aws-orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.highlight-text {
  background: linear-gradient(135deg, var(--aws-orange) 10%, #ffd080 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

/* Social Bar Below Hero */
.social-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

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

.social-links-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

.social-chip:hover {
  background: var(--bg-elevated);
  border-color: var(--aws-orange);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   UPCOMING EVENT SPOTLIGHT BANNER
   ========================================================================== */

.spotlight-section {
  padding: 40px 0;
  position: relative;
  z-index: 5;
  margin-top: -24px;
}

.spotlight-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, #0e1d33 0%, #081424 100%);
  border: 1px solid rgba(255, 153, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 153, 0, 0.08);
}

.spotlight-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 153, 0, 0.12);
  border: 1px solid var(--aws-orange);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.spotlight-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aws-orange);
  box-shadow: 0 0 10px var(--aws-orange);
  animation: pulseDot 1.6s infinite;
}

.spotlight-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--aws-orange);
  letter-spacing: 0.08em;
}

.spotlight-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.meta-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--aws-orange-light);
  font-size: 0.82rem;
  font-weight: 600;
}

.meta-category {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.spotlight-title {
  font-size: 1.25rem;
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.spotlight-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 680px;
}

.btn-spotlight {
  background: var(--aws-orange);
  color: #07111f;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.btn-spotlight:hover {
  background: var(--aws-orange-light);
  transform: translateX(3px);
}

/* ==========================================================================
   ABOUT & MISSION & METRICS
   ========================================================================== */

.about-section {
  padding: 90px 0;
  background: var(--bg-darkest);
}

.section-header {
  margin-bottom: 50px;
}

.section-header.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--aws-orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--aws-orange);
  border-radius: var(--radius-full);
}

.eyebrow-light {
  color: var(--aws-orange-light);
}

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 720px;
}

.text-center .section-lead {
  margin-inline: auto;
}

/* Mission & Core Focus Split Grid */
.mission-focus-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  margin-bottom: 50px;
}

.mission-card {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mission-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--aws-orange), transparent);
}

.focus-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--aws-orange-subtle);
  border: 1px solid var(--border-glow);
  color: var(--aws-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-heading {
  font-size: 1.5rem;
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 12px;
}

.card-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 4 Pillars */
.focus-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  background: var(--bg-card);
}

.pillar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aws-orange);
  margin-top: 6px;
  flex-shrink: 0;
}

.pillar-card h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 4px;
}

.pillar-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Impact Metrics Grid */
.impact-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.metric-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.metric-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--aws-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.metric-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PROGRAMS & OFFERINGS (4 TEASER CARDS)
   ========================================================================== */

.offerings-section {
  padding: 90px 0;
  background: radial-gradient(circle at 50% 100%, #0d1e35 0%, #07111f 60%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.program-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: var(--aws-orange);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  background: var(--bg-card);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.program-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--aws-orange);
  background: var(--aws-orange-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.program-num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-muted);
}

.program-name {
  font-size: 1.25rem;
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.program-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.program-features {
  list-style: none;
  margin-top: auto;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.program-features li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.program-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aws-orange);
  flex-shrink: 0;
}

.program-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 700;
}

.program-card:hover .program-link {
  background: var(--aws-orange);
  color: #000;
  border-color: var(--aws-orange);
}

/* ==========================================================================
   TEAM HIERARCHY TREE (ALTERNATING BRANCH SYSTEM)
   ========================================================================== */

.team-hierarchy-section {
  padding: 100px 0;
  background: var(--bg-darkest);
  position: relative;
}

/* Common Card Styles */
.person-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.person-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.card-avatar {
  flex-shrink: 0;
}

.card-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
  background: var(--bg-elevated);
}

.person-card:hover .card-avatar img {
  border-color: var(--aws-orange);
}

.card-bio {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.role-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aws-orange);
  background: var(--aws-orange-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.role-badge-gold {
  background: rgba(255, 153, 0, 0.2);
  color: #ffb84d;
  border: 1px solid var(--aws-orange);
}

.person-name {
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.person-title,
.person-affiliation {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.member-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--aws-orange-light);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
}

.member-linkedin:hover {
  color: var(--text-white);
  text-decoration: underline;
}

/* Root Leadership Top Nodes */
.leadership-root {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.root-card-wrapper {
  width: 100%;
  max-width: 440px;
}

.root-leader {
  padding: 24px;
}

.root-leader .card-avatar img {
  width: 88px;
  height: 88px;
}

.highlight-leader {
  border-color: rgba(255, 153, 0, 0.4);
  background: linear-gradient(135deg, #10213d 0%, #0b1728 100%);
  box-shadow: 0 8px 30px rgba(255, 153, 0, 0.12);
}

.highlight-leader .card-avatar img {
  border-color: var(--aws-orange);
  box-shadow: 0 0 16px var(--aws-orange-glow);
}

.root-connector-vertical {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--aws-orange), rgba(255, 153, 0, 0.3));
}

/* Tree Central Trunk & Alternating Branches */
.tree-trunk-container {
  position: relative;
  max-width: 1100px;
  margin-inline: auto;
  padding: 20px 0;
}

/* Central spine line running down */
.tree-central-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--aws-orange), rgba(255, 153, 0, 0.15) 90%, transparent);
  transform: translateX(-50%);
  z-index: 1;
}

.tree-branch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 70px;
  z-index: 2;
}

/* Branch connector dots anchored to central spine */
.branch-connector {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-darkest);
  border: 3px solid var(--aws-orange);
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow: 0 0 10px var(--aws-orange);
}

/* Left Branch: Team Card Left, Team Title Right */
.branch-left .branch-tree-content {
  grid-column: 1;
}

.branch-left .branch-team-title {
  grid-column: 2;
  text-align: left;
  padding-left: 20px;
}

/* Right Branch: Team Title Left, Team Card Right */
.branch-right .branch-team-title {
  grid-column: 1;
  text-align: right;
  padding-right: 20px;
}

.branch-right .branch-tree-content {
  grid-column: 2;
}

/* Team Titles */
.branch-team-title .track-number {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--aws-orange);
  display: block;
  margin-bottom: 4px;
}

.branch-team-title h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.branch-team-title p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 380px;
}

.branch-right .branch-team-title p {
  margin-left: auto;
}

/* Branch Internal Tree Structure (Lead on top, Associates below) */
.branch-tree-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.branch-lead-node .card-lead {
  border-color: rgba(255, 153, 0, 0.35);
  background: linear-gradient(135deg, #10213d 0%, #0b1728 100%);
}

.branch-associates-cluster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.card-associate {
  padding: 14px;
  gap: 12px;
}

.card-associate .card-avatar img {
  width: 52px;
  height: 52px;
}

.card-associate .person-name {
  font-size: 0.9rem;
}

.card-associate .person-title {
  font-size: 0.74rem;
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */

.join-banner-section {
  padding: 70px 0;
  background: var(--bg-darkest);
}

.cta-inner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(135deg, #102544 0%, #081324 100%);
  border: 1px solid rgba(255, 153, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 56px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.cta-text {
  max-width: 650px;
}

.cta-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.cta-text p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-actions {
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #02050a;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.col-brand .footer-description {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 16px 0 22px;
  max-width: 360px;
}

.footer-social-row {
  display: flex;
  gap: 12px;
}

.footer-social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-social-row a:hover {
  background: var(--aws-orange);
  color: #000;
  border-color: var(--aws-orange);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--aws-orange);
  transform: translateX(3px);
}

.footer-text {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 12px;
}

.footer-email {
  display: inline-block;
  color: var(--aws-orange);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE SMARTPHONES)
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .mission-focus-grid {
    grid-template-columns: 1fr;
  }

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

  .spotlight-card {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
  }

  .spotlight-action {
    margin-top: 6px;
  }
}

/* Mobile & Small Tablets (max-width: 860px) */
@media (max-width: 860px) {
  .mobile-nav-toggle {
    display: flex;
  }

  /* Slide-down Mobile Drawer */
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    height: calc(100vh - 74px);
    background: rgba(3, 8, 17, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 12px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    overflow-y: auto;
  }

  .main-nav.mobile-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
  }

  .btn-nav-cta {
    margin-left: 0;
    margin-top: 10px;
    padding: 14px;
    font-size: 1rem;
  }

  /* Tree Structure Linear Transformation for Mobile screens */
  .tree-central-line {
    left: 20px;
    transform: none;
  }

  .tree-branch {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 45px;
    margin-bottom: 50px;
  }

  .branch-connector {
    left: 20px;
    top: 24px;
    transform: translate(-50%, -50%);
  }

  .branch-left .branch-team-title,
  .branch-right .branch-team-title {
    grid-column: 1;
    text-align: left;
    padding: 0;
  }

  .branch-right .branch-team-title p {
    margin-left: 0;
  }

  .branch-left .branch-tree-content,
  .branch-right .branch-tree-content {
    grid-column: 1;
  }

  .cta-inner-card {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .cta-text p {
    margin-inline: auto;
  }
}

/* Smartphone Strict Viewport (max-width: 540px) */
@media (max-width: 540px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .impact-metrics-grid {
    grid-template-columns: 1fr;
  }

  .focus-pillars {
    grid-template-columns: 1fr;
  }

  .branch-associates-cluster {
    grid-template-columns: 1fr;
  }

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .person-card {
    padding: 14px;
  }

  .person-card .card-avatar img {
    width: 60px;
    height: 60px;
  }

  .root-leader .card-avatar img {
    width: 72px;
    height: 72px;
  }

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


/* ==========================================================================
   WORKSHOPS & EVENTS PAGE STYLING
   ========================================================================== */

.page-intro-section {
  padding: clamp(50px, 7vw, 80px) 0 30px;
  background: radial-gradient(circle at 50% 0%, #152744 0%, #07111f 60%, #030811 100%);
}

.page-main-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 16px;
}

.page-lead-text {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 760px;
  margin-inline: auto;
}

/* Upcoming Active Workshop Banner */
.active-event-section {
  padding: 20px 0 70px;
  background: var(--bg-darkest);
}

.active-workshop-banner {
  background: linear-gradient(135deg, #10213d 0%, #081424 100%);
  border: 1px solid rgba(255, 153, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), var(--shadow-glow);
}

.banner-top-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.ribbon-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 153, 0, 0.12);
  border: 1px solid var(--aws-orange);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.ribbon-status .status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aws-orange);
  animation: pulseDot 1.5s infinite;
}

.ribbon-status .status-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--aws-orange);
}

.ribbon-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.banner-core-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.track-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--aws-orange);
  background: var(--aws-orange-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.active-event-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.active-event-description {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Agenda Timeline */
.event-agenda-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.agenda-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.agenda-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agenda-item {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 14px;
  align-items: baseline;
}

.agenda-time {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--aws-orange);
  background: var(--aws-orange-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.agenda-detail strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-white);
  margin-bottom: 2px;
}

.agenda-detail span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Action Card & Countdown Clock */
.banner-action-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.action-card-label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--aws-orange);
  margin-bottom: 16px;
}

.countdown-clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-darkest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  min-width: 64px;
  padding: 8px 4px;
}

.time-value {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.time-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.time-divider {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--aws-orange);
}

.perks-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding-block: 16px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.perk-item svg {
  color: var(--aws-orange);
  flex-shrink: 0;
}

.btn-register-main {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.action-card-footer {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Event Tracks: 4-Column Layout */
.event-tracks-section {
  padding: 90px 0;
  background: var(--bg-darkest);
}

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

.track-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.track-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.track-card.highlight-track {
  border-color: rgba(255, 153, 0, 0.4);
  background: linear-gradient(135deg, #10213d 0%, #0b1728 100%);
}

.track-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.track-id {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--aws-orange);
}

.track-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--aws-orange-subtle);
  color: var(--aws-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-name {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.track-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.track-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.topic-pill {
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* Past Events Searchable Archive */
.past-events-section {
  padding: 90px 0;
  background: radial-gradient(circle at 50% 100%, #0d1e35 0%, #07111f 60%);
  border-top: 1px solid var(--border-subtle);
}

.header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.archive-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper svg {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
}

.search-input-wrapper input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.search-input-wrapper input:focus {
  border-color: var(--aws-orange);
  box-shadow: 0 0 12px var(--aws-orange-glow);
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-white);
  border-color: var(--aws-orange);
}

.filter-btn.active {
  background: var(--aws-orange);
  color: #000;
  border-color: var(--aws-orange);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.archive-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.archive-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
}

.archive-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-elevated);
}

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

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

.event-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(3, 8, 17, 0.85);
  border: 1px solid var(--aws-orange);
  color: var(--aws-orange);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.archive-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.archive-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--aws-orange-light);
  font-weight: 600;
  margin-bottom: 8px;
}

.meta-dot {
  color: var(--text-muted);
}

.archive-title {
  font-size: 1.25rem;
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.archive-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.archive-resources {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 16px;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.resource-link:hover {
  background: var(--aws-orange);
  color: #000;
  border-color: var(--aws-orange);
}

.archive-gallery-strip {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.archive-gallery-strip img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  cursor: zoom-in;
  transition: var(--transition);
}

.archive-gallery-strip img:hover {
  border-color: var(--aws-orange);
  transform: scale(1.08);
}

/* Moments Gallery Showcase */
.gallery-showcase-section {
  padding: 90px 0;
  background: var(--bg-darkest);
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

.gallery-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(3, 8, 17, 0.95), transparent);
  font-size: 0.78rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* Responsive adjustments for Workshops page */
@media (max-width: 1024px) {
  .banner-core-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .tracks-grid {
    grid-template-columns: 1fr;
  }

  .time-block {
    min-width: 54px;
  }

  .time-value {
    font-size: 1.4rem;
  }

  .agenda-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .banner-top-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-split {
    flex-direction: column;
    align-items: stretch;
  }

  .archive-controls {
    max-width: 100%;
  }
}

/* ==========================================================================
   HACKATHONS PAGE STYLING
   ========================================================================== */

/* 4-Stage Roadmap */
.framework-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.roadmap-step {
  display: flex;
  flex-direction: column;
}

.step-marker {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: #000;
  background: var(--aws-orange);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--aws-orange-glow);
  flex-shrink: 0;
}

.step-line {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--aws-orange), rgba(255, 153, 0, 0.1));
}

.roadmap-step:last-child .step-line {
  background: transparent;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card);
}

.step-phase {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--aws-orange);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.step-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 10px;
}

.step-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.step-bullets {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.step-bullets li {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-bullets li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--aws-orange);
}

/* Evaluation Rubric Grid */
.rubric-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 40px;
}

.rubric-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 28px;
}

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

.rubric-card {
  background: var(--bg-darkest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
}

.rubric-weight {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--aws-orange);
  margin-bottom: 6px;
}

.rubric-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.rubric-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Future Schedule Notice Banner */
.future-schedule-section {
  padding: 20px 0 50px;
}

.future-notice-card {
  background: linear-gradient(135deg, #0e1e35 0%, #081424 100%);
  border: 1px solid rgba(255, 153, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 26px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 153, 0, 0.12);
  border: 1px solid var(--aws-orange);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--aws-orange);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aws-orange);
  animation: pulseDot 1.6s infinite;
}

.notice-content h3 {
  font-size: 1.15rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.notice-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.btn-notice {
  white-space: nowrap;
}

/* Hall of Fame Flagship Stats */
.hall-of-fame-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 0%, #0d1e35 0%, #07111f 65%);
  border-top: 1px solid var(--border-subtle);
}

.buildathon-stats-banner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 50px;
}

.b-stat {
  text-align: center;
}

.b-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--aws-orange);
  line-height: 1.1;
}

.b-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.b-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Winners Podium Grid */
.winners-podium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.podium-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.podium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.podium-first {
  border-color: var(--aws-orange);
  background: linear-gradient(135deg, #152744 0%, #0b1728 100%);
  box-shadow: 0 0 35px rgba(255, 153, 0, 0.15);
  transform: translateY(-8px);
}

.podium-first:hover {
  transform: translateY(-12px);
}

.podium-second {
  border-color: rgba(226, 232, 240, 0.3);
}

.podium-third {
  border-color: rgba(205, 127, 50, 0.35);
}

.podium-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aws-orange);
  margin-bottom: 14px;
}

.trophy-icon {
  font-size: 1.4rem;
}

.podium-card .team-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.project-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--aws-orange-light);
  line-height: 1.35;
  margin-bottom: 12px;
}

.project-summary {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
}

.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tech-stack-pills span {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.team-roster {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.roster-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.roster-members {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.member-chip {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Hackathon Photo Gallery Section */
.hackathon-gallery-section {
  padding: 90px 0;
  background: var(--bg-darkest);
}

/* Responsive Rules for Hackathons Page */
@media (max-width: 1024px) {
  .framework-roadmap {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .winners-podium-grid {
    grid-template-columns: 1fr;
  }

  .podium-first {
    transform: none;
  }

  .podium-first:hover {
    transform: translateY(-6px);
  }

  .future-notice-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .framework-roadmap {
    grid-template-columns: 1fr;
  }

  .step-marker .step-line {
    display: none;
  }

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

  .buildathon-stats-banner {
    flex-direction: column;
    gap: 20px;
  }

  .b-divider {
    display: none;
  }
}


/* ==========================================================================
   MINIPITCHES PAGE STYLING
   ========================================================================== */

.about-minipitch-section {
  padding: 30px 0 60px;
}

.minipitch-overview-card {
  background: linear-gradient(135deg, #10213d 0%, #07111f 100%);
  border: 1px solid rgba(255, 153, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 42px);
  margin-bottom: 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.overview-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--aws-orange);
  background: var(--aws-orange-subtle);
  border: 1px solid var(--aws-orange);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 14px;
}

.minipitch-overview-card h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.minipitch-overview-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 26px;
}

.overview-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.highlight-chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.chip-number {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--aws-orange);
  line-height: 1;
}

.highlight-chip strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 2px;
}

.highlight-chip span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.minipitch-status-card {
  margin-bottom: 20px;
}

/* Pitch Archives Grid */
.pitch-archive-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

.pitch-archive-section.alt-bg {
  background: radial-gradient(circle at 50% 100%, #0d1e35 0%, #07111f 65%);
}

.edition-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.edition-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--aws-orange);
  background: var(--aws-orange-subtle);
  border: 1px solid var(--border-glow);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.pitch-records-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.pitch-record-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.pitch-record-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card);
}

.record-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.presenter-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--aws-orange-light);
}

.edition-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.pitch-idea-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.pitch-idea-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.pitch-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.pitch-stack-tags span {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

/* Gallery Bars */
.gallery-subtitle-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.gallery-subtitle-bar h3 {
  font-size: 1.25rem;
  color: var(--text-white);
}

.gallery-subtitle-bar span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pitch-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Responsive adjustments for Minipitch */
@media (max-width: 900px) {
  .overview-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pitch-gallery {
    grid-template-columns: 1fr;
  }

  .edition-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   CHALLENGES PAGE STYLING (COMING SOON ARENA)
   ========================================================================== */

.challenges-hero-section {
  padding: clamp(60px, 8vw, 100px) 0 80px;
  background: radial-gradient(circle at 50% 20%, #152744 0%, #07111f 65%, #030811 100%);
  display: flex;
  align-items: center;
}

.challenges-card {
  background: linear-gradient(135deg, #0e1d35 0%, #081324 100%);
  border: 1px solid rgba(255, 153, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 48px);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

/* Graphic Glow Container */
.challenges-graphic-wrapper {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
}

.graphic-glow-circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.25) 0%, transparent 70%);
  filter: blur(20px);
  animation: pulseDot 3s infinite ease-in-out;
}

.challenges-svg {
  width: clamp(240px, 45vw, 320px);
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.svg-beam {
  animation: beamFlow 2s infinite linear;
}

@keyframes beamFlow {
  to {
    stroke-dashoffset: -12;
  }
}

/* Status Pill */
.challenges-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 153, 0, 0.12);
  border: 1px solid var(--aws-orange);
  margin-bottom: 20px;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aws-orange);
  box-shadow: 0 0 8px var(--aws-orange);
  animation: pulseDot 1.4s infinite;
}

.status-pill-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--aws-orange);
  letter-spacing: 0.08em;
}

/* Main Message Headline */
.challenges-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.challenges-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 36px;
}

/* CTA */
.challenges-action-wrapper {
  margin-bottom: 50px;
}

.btn-challenges-cta {
  padding: 16px 28px;
  font-size: 1rem;
  box-shadow: 0 6px 25px rgba(255, 153, 0, 0.3);
}

.btn-challenges-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 153, 0, 0.45);
}

/* Preview Matrix */
.challenge-preview-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  border-top: 1px solid var(--border-subtle);
  padding-top: 40px;
}

.preview-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}

.preview-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card);
}

.preview-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.format-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--aws-orange);
}

.format-cadence {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

.preview-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.preview-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Responsive adjustments for Challenges */
@media (max-width: 900px) {
  .challenge-preview-matrix {
    grid-template-columns: 1fr;
  }

  .btn-challenges-cta {
    width: 100%;
    white-space: normal;
  }
}
