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

/* Body with fade-in animation */
body {
  font-family: Arial, sans-serif;
  background-color: #0a1a2f;
  color: white;
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Header */
header {
  padding: 20px;
  background-color: #081421;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #4da6ff;
  font-weight: bold;
}

nav a:hover {
  color: white;
}

/* Hero Section */
.hero {
  padding: 100px 20px;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #008cff;
  box-shadow: 0 0 10px #008cff;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #081421;
  margin-top: 50px;
}

/* Programs Split Section */
.programs {
  display: flex;
  height: 80vh;
}

.program {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.program:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Cyber & Rocketry Backgrounds */
.cyber {
  background-image: url("../images/cyber.jpg");
}

.rocketry {
  background-image: url("../images/rocket.jpg");
}

/* Overlay content */
.overlay {
  position: absolute;       /* overlay sits on top of background */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;            /* center content */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);  /* semi-transparent overlay */
  text-align: center;
  color: white;
  padding: 20px;
  box-sizing: border-box;
}

.overlay h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.overlay p {
  max-width: 400px;
}

/* About Page Sections */
.about-i5, .track, .squadron-highlights, .socials, .guest-speakers, .alumni, .staff {
  padding: 60px 20px;
  text-align: center;
}

.about-i5 h2, .track h2, .squadron-highlights h2,
.socials h2, .guest-speakers h2, .alumni h2, .staff h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #4da6ff;
}

.about-i5 p, .track p, .squadron-highlights p,
.socials p, .guest-speakers p, .alumni p, .staff p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}
