/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BASE ===== */
body {
  background: #0f0f10;
  color: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 90%;
  max-width: 1350px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(6px);
  transition: box-shadow 0.9s ease, background 0.5s ease;
}

.site-header.scrolled {
  background: rgb(0, 0, 0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 75px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links a {
  font-size: clamp(0.7rem, 0.75vw, 0.8rem);
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #ff2b2b;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-item-dropdown .nav-link::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0;
  transform: translateY(-1px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.96);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: #ff2b2b;
  background: rgba(255, 255, 255, 0.05);
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item-dropdown:hover .nav-link::after,
.nav-item-dropdown:focus-within .nav-link::after {
  opacity: 1;
  transform: translateY(-1px) rotate(180deg);
}

.cta {
  background: #ff2b2b;
  color: white;
  padding: clamp(0.5rem, 0.75vw, 0.7rem);
  border-radius: 999px;
  font-size: clamp(0.7rem, 0.75vw, 0.8rem);
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: scale(0.96);
}

.cta:active {
  transform: scale(0.92);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  background-image: url("../Assets/t133.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42)),
    linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.34));
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 95px;
  padding-bottom: 40px;
}

.hero-left {
  max-width: 760px;
}

.hero-pill {
  display: inline-block;
  margin-bottom: 22px;
  padding: clamp(5px, 0.8vw, 22px) clamp(3px, 0.8vw, 20px);
  border: 1.5px solid rgba(255, 71, 71, 0.85);
  border-radius: 999px;
  background: rgba(90, 30, 30, 0.2);
  font-size: clamp(0.5rem, 0.8vw, 1rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-title-top {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0.28em;
  line-height: 0.95;
}

.hero-title-main {
  display: block;
  font-size: clamp(4rem, 9vw, 7.8rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 0.9;
}

.hero-text {
  max-width: 700px;
  margin-top: 16px;
  margin-bottom: 20px;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.3;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: scale(0.97) translateY(-1px);
}

.btn:active {
  transform: scale(0.92);
}

.btn-red {
  background: #ff2b2b;
  box-shadow: 0 8px 20px rgba(255, 43, 43, 0.3);
}

.btn-dark {
  background: rgba(70, 70, 70, 0.55);
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ===== STATS ===== */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.stat-box {
  min-width: 170px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.stat-box h3 {
  margin-bottom: 8px;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
}

.stat-box p {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
}

/* ===== EVENT CARD ===== */
.event-frame {
  justify-self: end;
  width: 100%;
  max-width: 560px;
  padding: 18px;
  border-radius: 60px;
  background: linear-gradient(135deg, #caa86a, #a97c46, #7a552e);
}

.event-card {
  position: relative;
  background-image: url("../Assets/Scooper.png");
  background-size: cover;
  background-position: right;
  min-height: 550px;
  border-radius: 44px;
  overflow: hidden;
  padding: 26px;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.event-card * {
  position: relative;
  z-index: 2;
}

.event-card h2 {
  margin-bottom: 18px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
}

.event-info {
  display: block;
  padding: 18px 20px;
  background: rgba(12, 12, 14, 0.95);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  margin-top: 280px;
}

.event-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 900;
  text-transform: uppercase;
}

.event-info p {
  font-size: clamp(0.9rem, 1vw, 0.98rem);
  line-height: 1.25;
}

.event-info:hover {
  transform: scale(0.97);
}

/* ===== MISSION SECTION ===== */
.mission {
  padding: clamp(40px, 10vw, 50px);
  background: radial-gradient(circle at top left, #1a1414, #0f0f10);
}

.mission-header {
  max-width: 850px;
  margin-bottom: clamp(40px, 6vw, 50px);
}

.mission-header h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.4em;
  margin-bottom: 18px;
  white-space: nowrap;
}

.mission-header p {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.5;
  opacity: 0.85;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.mission-card {
  padding: clamp(24px, 2.5vw, 36px);
  border-radius: 32px;
  background: linear-gradient(145deg, #0f3a55, #0d2f45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.mission-card:hover {
  transform: translateY(-6px) scale(0.98);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.mission-card h3 {
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  font-weight: 900;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.mission-card p {
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.5;
  opacity: 0.9;
}

/* ===== ACTIVE SCENARIOS SECTION ===== */
.active-scenarios {
  position: relative;
  overflow: hidden;
  background: #d8cec3;
  padding: clamp(90px, 10vw, 140px) 0 120px;
}

.active-scenarios-bg {
  position: absolute;
  inset: 0;
  background-image: url("../Assets/Tnkrbackground.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 65% 50%;
  z-index: 1;
}

.active-scenarios-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(245, 240, 232, 0.18), rgba(20, 16, 14, 0.18)),
    linear-gradient(to right, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.08));
  z-index: 1;
}

.active-scenarios-inner {
  position: relative;
  z-index: 2;
}

.active-scenarios-content {
  max-width: 700px;
  margin-left: auto;
  text-align: left;
}

.active-scenarios-title {
  font-size: clamp(2.2rem, 1.6vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 20px;
  white-space: nowrap;
}

.active-scenarios-text {
  font-size: clamp(1rem, 0.8vw, 1.9rem);
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.9);
}

.scenario-board-shell {
  position: relative;
  z-index: 3;
  margin-top: clamp(40px, 6vw, 70px);
}

.scenario-board {
  width: min(100%, 1180px);
  min-height: 420px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(10, 10, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: clamp(28px, 3vw, 42px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.scenario-board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.scenario-board-top h3 {
  font-size: 1.3rem;
  font-weight: 900;
}

.board-count {
  font-size: 0.85rem;
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: 999px;
}

.scenario-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scenario-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 170px;
  gap: 12px;
  align-items: center;
  padding: 18px 16px 18px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  transition: all 0.2s ease;
}

.scenario-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 43, 43, 0.4);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 40px;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.status-badge.active {
  background: rgba(0, 255, 100, 0.12);
  color: #39ff88;
  border: 1px solid rgba(0, 255, 100, 0.35);
  box-shadow: 0 0 8px rgba(57, 255, 136, 0.4);
  animation: pulseGlow 2s infinite;
}

.status-badge.reported {
  background: rgba(255, 43, 43, 0.15);
  color: #ff4d4d;
  border: 1px solid rgba(255, 43, 43, 0.35);
}

.status-badge.contained {
  background: rgba(160, 160, 160, 0.15);
  color: #bfbfbf;
  border: 1px solid rgba(160, 160, 160, 0.35);
}

.status-badge.upcoming {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 6px rgba(57, 255, 136, 0.3); }
  50% { box-shadow: 0 0 14px rgba(57, 255, 136, 0.6); }
  100% { box-shadow: 0 0 6px rgba(57, 255, 136, 0.3); }
}

.scenario-title-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.scenario-title-wrap h4 {
  font-size: 1rem;
  font-weight: 700;
}

.scenario-code {
  font-size: 0.75rem;
  opacity: 0.6;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 8px;
  border-radius: 999px;
}

.scenario-tag {
  font-size: 0.7rem;
  background: rgba(0, 184, 25, 0.15);
  color: #39ff88;
  padding: 4px 8px;
  border-radius: 999px;
}

.scenario-dates {
  font-size: 0.7rem;
  background: rgba(25, 0, 255, 0.3);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 999px;
}

.scenario-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  opacity: 0.75;
}

.scenario-meta span {
  display: flex;
  gap: 6px;
}

.scenario-assets {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asset-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.asset-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.asset-badge.onscene {
  background: rgba(0, 255, 100, 0.15);
  color: #39ff88;
  border: 1px solid rgba(0, 255, 100, 0.35);
}

.asset-badge.intransit {
  background: rgba(255, 200, 0, 0.15);
  color: #ffd54d;
  border: 1px solid rgba(255, 200, 0, 0.35);
}

.asset-badge.assigned {
  background: rgba(0, 150, 255, 0.15);
  color: #4db8ff;
  border: 1px solid rgba(0, 150, 255, 0.35);
}

.scenario-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.scenario-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.scenario-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(0.97);
}

.scenario-btn:active {
  transform: scale(0.93);
}

.scenario-empty {
  text-align: center;
  padding: 50px 20px;
  margin-top: 20px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .event-frame {
    justify-self: start;
  }
}

@media (max-width: 1000px) {
  .mission-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .active-scenarios-title {
    letter-spacing: 0.18em;
    white-space: normal;
  }

  .active-scenarios-text {
    max-width: 700px;
  }
}

@media (max-width: 850px) {
  .scenario-row {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: flex-start;
  }

  .scenario-action {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    height: auto;
    flex-direction: column;
    padding: 18px 0;
    gap: 16px;
  }

  .nav {
    width: 100%;
    justify-content: center;
  }

  .nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .nav-item-dropdown .dropdown-menu {
    left: 50%;
    transform: translate(-50%, 8px);
  }

  .nav-item-dropdown:hover .dropdown-menu,
  .nav-item-dropdown:focus-within .dropdown-menu {
    transform: translate(-50%, 0);
  }

  .event-card h2 {
    font-size: 2.3rem;
  }

  .hero-inner {
    padding-top: 190px;
  }
}

@media (max-width: 700px) {
  .site-header {
    background: rgba(10, 10, 10, 0.95);
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
  }

  .logo img {
    height: 62px;
  }

  .nav {
    width: auto;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: min(320px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .nav.nav-open .nav-menu {
    display: flex;
  }

  .nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 4px;
  }

  .nav-item-dropdown .nav-link::after {
    opacity: 1;
    transform: rotate(0deg);
  }

  .dropdown-menu {
    position: static;
    left: auto;
    min-width: 0;
    margin-top: 4px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
  }

  .dropdown-menu a {
    padding: 10px 0 10px 12px;
    font-size: 0.74rem;
    background: transparent;
  }

  .nav-item-dropdown:hover .dropdown-menu,
  .nav-item-dropdown:focus-within .dropdown-menu {
    left: auto;
    transform: none;
  }

  .nav-item-dropdown.submenu-open .dropdown-menu {
    left: auto;
    display: block;
    transform: none;
  }

  .nav-item-dropdown.submenu-open .nav-link::after {
    transform: rotate(180deg);
  }

  .cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-header h2 {
    letter-spacing: 0.25em;
    white-space: normal;
  }

  .active-scenarios {
    min-height: 560px;
    padding: 70px 0 150px;
  }

  .active-scenarios-title {
    font-size: clamp(1.8rem, 9vw, 3rem);
    letter-spacing: 0.12em;
  }

  .active-scenarios-text {
    font-size: 1rem;
    line-height: 1.35;
  }

  .scenario-btn {
    width: 100%;
    max-width: 220px;
  }
}

/* ===== PARTNERS + SIMS SECTION ===== */
.partners-sims {
  background: #000;
  padding: clamp(80px, 10vw, 120px) 0;
}

.partners-sims-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

/* TITLES */
.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0 em;
  margin-bottom: 20px;
  white-space: nowrap;

}

/* TEXT */
.section-text {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.5;
  opacity: 0.85;
  margin-bottom: 30px;
}

/* ===== PARTNERS ===== */
.partners-logos {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.logo-card {
  background: #f2f2f2;
  border-radius: 20px;
  padding: 16px 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 280px;
  height: 160px;

  transition: transform 0.25s ease;
}

.logo-card img {
  max-width: 100%;
  max-height: 65px;
}

.logo-card:hover {
  transform: translateY(-5px);
}

.logo-card img[alt="VATSIM"] {
  max-height: 80px;
}

/* make Intellic bigger */
.logo-card img[alt="Intellic Technologies"] {
  max-height: 110px;
}

/* ===== SIMULATORS ===== */
.sims-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;   /* 🔥 pushes everything to the right */
  text-align: right;       /* 🔥 aligns text */
}

.sim-logos {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  align-items: center;
  column-gap: 0px;
  row-gap: 10px;
  margin-top: 50px;
  margin-bottom: 26px;
}

.sim-logos img {
  display: block;
  align-self: center;   
  height: 80px;       /* 🔑 forces same visual height */
  width: auto;
  object-fit: contain;
}

/* X-Plane slightly bigger */
.sim-logos img[alt="X-Plane"] {
  height: 90px;
}

/* MSFS balanced */
.sim-logos img[alt="Microsoft Flight Simulator"] {
  height: 90px;
}

/* Prepar3D centered */
.sim-logos img[alt="Prepar3D"] {
  height: 100px;
  grid-column: 1 / span 2;
  justify-self: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .partners-sims-inner {
    grid-template-columns: 1fr;
  }

  .partners-block {
    order: 1;
  }

  .sims-block {
    order: 2;
    align-items: center;
    text-align: center;
    margin-top: 0;
  }

  .resources-cta {
    order: 3;
    grid-column: auto;
    justify-self: center;
    align-items: center;
    text-align: center;
    margin-top: 0;
    max-width: none;
  }

  .sim-logos {
    align-items: center;
    justify-content: center;
    margin-top: 24px;
  }

  .sim-logos img[alt="Prepar3D"] {
    justify-self: center;
  }
}

.partners-sims-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.sims-block {
  margin-top: -10px;
}

.resources-cta {
  grid-column: 1 / span 2;
  justify-self: center;

  display: flex;
  flex-direction: column;
  align-items: center;   /* 🔥 FORCE center */
  text-align: center;

  margin-top: -50px;
  max-width: 650px;
}

/* BIG TITLE */
.resources-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;

  margin-bottom: 18px;
}

/* DESCRIPTION */
.resources-text {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.5;
  opacity: 0.8;

  margin-bottom: 26px;
}

/* BUTTON */
.resources-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 34px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;

  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.resources-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(0.97);
}

.resources-btn:active {
  transform: scale(0.93);
}







/* ===== JOIN VAFFU SECTION ===== */
.join-vaffu {
  background: radial-gradient(circle at top, #151515, #0b0b0c);
  padding: clamp(80px, 10vw, 120px) 0;
}

.join-vaffu-inner {
  text-align: center;
}

.join-vaffu-inner .section-title {
  text-align: center;
  margin-bottom: 20px;
}

.join-vaffu-inner .section-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* STEP GRID */
.join-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
}

/* STEP CARD */
.join-step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 28px 24px;
  text-align: left;

  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.join-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 43, 43, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.join-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;
  margin-bottom: 18px;

  border-radius: 999px;
  background: rgba(255, 43, 43, 0.14);
  border: 1px solid rgba(255, 43, 43, 0.35);
  color: #ff4d4d;

  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.join-step-card h3 {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  line-height: 1.25;
}

.join-step-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.82;
  margin-bottom: 20px;
}

.join-step-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;

  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.join-step-link:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.36);
  transform: scale(0.97);
}

.join-step-link:active {
  transform: scale(0.93);
}

/* RESPONSIVE */
@media (max-width: 950px) {
  .join-steps {
    grid-template-columns: 1fr;
  }

  .join-step-card {
    text-align: center;
  }

  .join-step-link {
    margin: 0 auto;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 50px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.75;
}

.footer-links h3 {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  opacity: 0.8;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
  color: #ff2b2b;
  opacity: 1;
}

.footer-bottom {
  margin-top: 40px;
  padding: 18px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .join-buttons {
    flex-direction: column;
    align-items: center;
  }

  .join-buttons .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }
}

/* Minimal scroll cue, centered near the bottom of the home hero */
.hero{position:relative}
.hero-scroll-cue{position:absolute;left:50%;bottom:clamp(18px,3vh,38px);transform:translateX(-50%);width:68px;height:68px;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.82);z-index:3;border-radius:50%;transition:color .2s ease}
.hero-scroll-cue svg{animation:vaffu-scroll-bounce 2.2s ease-in-out infinite}
.hero-scroll-cue:hover,.hero-scroll-cue:focus-visible{color:#fff}
@keyframes vaffu-scroll-bounce{0%,100%{transform:translateY(-3px)}45%{transform:translateY(7px)}70%{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.hero-scroll-cue svg{animation:none}}


.board-heading-link{color:inherit;text-decoration:none}.board-heading-link:hover{color:#85e9b3}
.board-demo-note{color:#a4a7ae;font-size:10px;font-weight:800;letter-spacing:.13em;margin:-10px 0 18px}
.board-view-all{display:inline-block;margin-top:25px;color:#fff;font-weight:900;font-size:12px;letter-spacing:.07em;text-transform:uppercase}
.board-view-all:hover{color:#85e9b3}
.scenario-row[role="link"]{cursor:pointer}.scenario-row[role="link"]:focus-visible{outline:2px solid #78e7a8;outline-offset:3px}
.status-badge.upcoming{background:rgba(255,192,75,.13);color:#ffcf78;border-color:rgba(255,192,75,.32)}
@media(prefers-reduced-motion:reduce){.status-badge.active{animation:none}}
