* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&display=swap');

body {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

header {
  background: rgba(10,10,35,0.95);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.logo {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
  background: none;
  box-shadow: none;
}

nav li {
  margin-left: 32px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.3s;
}

nav a:hover {
  color: #00f2ff;
}

#menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.hero.spacex-hero {
  background: url('assetss/hero_rocket.jpg') no-repeat center center/cover;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero.spacex-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(10,10,35,0.7) 100%);
  z-index: 1;
}

.hero.spacex-hero .content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 4px 32px #000;
}

.hero p {
  font-size: 1.4rem;
  color: #e0e0e0;
  margin-bottom: 24px;
}

.btn {
  margin-top: 20px;
  padding: 16px 36px;
  background: #00f2ff;
  color: #0a0a23;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px rgba(0,242,255,0.12);
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: #0a0a23;
  color: #00f2ff;
}

section.spacex-section {
  padding: 80px 0 60px 0;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  background: #000;
}

.spacex-section-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.spacex-section-content h2 {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: #fff;
  text-transform: uppercase;
}

.spacex-section-content p, .spacex-section-content ul {
  font-size: 1.2rem;
  color: #e0e0e0;
}

.spacex-features {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 48px;
}

.spacex-feature {
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 420px;
  height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  display: flex;
  align-items: flex-end;
}

.spacex-feature-overlay {
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 70%, rgba(0,0,0,0.2) 100%);
  padding: 36px 28px 28px 28px;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
}

.spacex-feature-overlay h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.spacex-feature-overlay p {
  font-size: 1.1rem;
  color: #e0e0e0;
}

.codimaths-partner {
  margin: 48px auto 0 auto;
  background: linear-gradient(90deg, #00f2ff 0%, #0a0a23 100%);
  color: #111;
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 242, 255, 0.12);
  max-width: 700px;
}

.codimaths-partner h3 {
  color: #0a0a23;
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 1.4rem;
}

.codimaths-partner p {
  color: #222;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.btn.codimaths-btn {
  background: #0a0a23;
  color: #00f2ff;
  border: 2px solid #00f2ff;
  font-size: 1.1rem;
  padding: 14px 32px;
  box-shadow: 0 2px 8px rgba(0, 242, 255, 0.12);
  transition: background 0.2s, color 0.2s;
}

.btn.codimaths-btn:hover {
  background: #00f2ff;
  color: #0a0a23;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #111;
  padding: 24px;
  flex: 1 1 260px;
  border-radius: 10px;
  border: 1px solid #333;
  box-shadow: 0 4px 16px rgba(0, 242, 255, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 260px;
  max-width: 340px;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0, 242, 255, 0.18);
}

.card-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.team-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

footer {
  text-align: center;
  background: #111;
  padding: 20px;
  font-size: 1rem;
  color: #aaa;
  letter-spacing: 1px;
}

.spacex-split {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.spacex-split > div {
  flex: 1 1 320px;
  min-width: 260px;
  background: rgba(10,10,35,0.85);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,242,255,0.06);
  color: #fff;
  text-align: left;
}
.spacex-split h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #00f2ff;
}
.spacex-split ul {
  margin-left: 18px;
  color: #e0e0e0;
}

.spacex-leadership-grid {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}
.spacex-leadership-grid > div {
  flex: 1 1 320px;
  min-width: 260px;
  background: rgba(10,10,35,0.85);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,242,255,0.06);
  color: #fff;
  text-align: left;
}
.spacex-leadership-grid h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #00f2ff;
}

.spacex-workflow {
  text-align: left;
  max-width: 700px;
  margin: 32px auto 0 auto;
  font-size: 1.15rem;
  color: #e0e0e0;
  padding-left: 24px;
}
.spacex-workflow li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.spacex-analytics {
  text-align: left;
  max-width: 700px;
  margin: 32px auto 0 auto;
  font-size: 1.15rem;
  color: #e0e0e0;
  padding-left: 24px;
}
.spacex-analytics li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.spacex-certificates {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}
.spacex-certificates > div {
  flex: 1 1 320px;
  min-width: 260px;
  background: rgba(10,10,35,0.85);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,242,255,0.06);
  color: #fff;
  text-align: left;
}
.spacex-certificates h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #00f2ff;
}

.spacex-services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
}
.spacex-service {
  background: rgba(10,10,35,0.85);
  color: #00f2ff;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 10px;
  padding: 22px 32px;
  min-width: 220px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,242,255,0.08);
  letter-spacing: 1px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.spacex-service:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px rgba(0,242,255,0.18);
  background: #00f2ff;
  color: #0a0a23;
}

/* Responsive */
@media (max-width: 1100px) {
  .spacex-features {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .spacex-feature {
    max-width: 95vw;
    min-width: 0;
    height: 340px;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
  }

  nav ul.active {
    display: flex;
  }

  #menu-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .spacex-section-content h2 {
    font-size: 1.5rem;
  }
  .spacex-feature {
    height: 220px;
  }
}

@media (max-width: 900px) {
  .spacex-split, .spacex-leadership-grid, .spacex-certificates {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .spacex-services-row {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}
