:root {
  --brand: #d21f3c;        /* TCP primary red */
  --brand-dark: #9d162b;   /* darker red for hover */
  --text: #0f172a;         /* dark text */
  --muted: #475569;        /* muted gray */
  --bg: #ffffff;           /* background */
}

/* Reset + base */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  background: #0b1220;
  color: #e2e8f0;
}

.wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* Header + nav */
header {
  background: #0b1220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
}
nav img { height: 40px; }
nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  margin-left: auto;
  margin-right: 16px;
}
nav a:hover { color: #fff; }

/* Buttons */
.btn {
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: var(--brand-dark); }

/* Hero */
main { flex: 1; }
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}
h1 { font-size: 48px; line-height: 1.1; margin: 0 0 12px; }
h2 { font-size: 28px; margin: 24px 0 8px; }
p { color: #cbd5e1; font-size: 18px; line-height: 1.6; margin: 0 0 10px; }

/* Cards */
.card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.section { max-width: 1100px; margin: 0 auto; padding: 30px 20px; }

/* Forms */
.form-row { display: flex; gap: 10px; margin-top: 14px; }
input[type=email], input[type=text] {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0b1220;
  color: #e2e8f0;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  margin-top: 30px;
  color: #94a3b8;
}
footer .row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.small { font-size: 14px; color: #94a3b8; }

/* Utility */
.list { margin: 0; padding-left: 18px; color: #cbd5e1; }
.kicker { color: #93c5fd; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; }
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(210, 31, 60, 0.12);
  color: #fecaca;
  border: 1px solid rgba(210, 31, 60, 0.35);
  font-weight: 600;
  font-size: 12px;
}

/* Responsive */
@media(max-width:900px) {
  .hero { grid-template-columns: 1fr; }
}
/* --- Slider --- */
.slider {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

/* The track */
.slider .slides {
  display: flex;
  transition: transform .6s ease;
}

/* Each slide frame */
.slider .slide {
  min-width: 100%;
  height: 320px;        /* <<< Fixed height for all hero images */
  position: relative;
}

/* The image inside */
.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* Crop to fill the frame */
  object-position: center; /* Center the important part */
  display: block;
}

/* Caption overlay */
.slider figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  background: rgba(11,18,32,.6);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  backdrop-filter: blur(2px);
}

/* Dots navigation */
.slider .dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}
.slider .dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}
.slider .dots button.active { background: #fff; }

/* Responsive: smaller height on mobile */
@media (max-width: 900px) {
  .slider .slide { height: 220px; }
}


/* --- Badges row inside Mission --- */
.badges { margin-top:10px; display:flex; gap:10px; flex-wrap:wrap }

/* --- Tiles --- */
.tiles { display:grid; grid-template-columns: repeat(4, 1fr); gap:16px; }
.tile {
  background:#0f172a; border:1px solid rgba(255,255,255,.06); border-radius:14px;
  overflow:hidden; text-decoration:none; color:#e2e8f0; transition: transform .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.18); }
.tile img { width:100%; height:160px; object-fit:cover; display:block; }
.tile-body { padding:14px; }
.tile-body p { margin:6px 0 0; color:#cbd5e1; }
@media (max-width:1100px){ .tiles{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width:600px){ .tiles{ grid-template-columns: 1fr; } }

/* --- FAQ --- */
.faq details {
  background:#0f172a; border:1px solid rgba(255,255,255,.06);
  border-radius:10px; padding:12px 14px; margin-bottom:10px;
}
.faq summary { cursor:pointer; font-weight:600; }
.faq p { margin-top:8px; }
