:root {
  --blue: #003366;
  --light-blue: #f5faff;
  --accent: #ff6600;
  --dark: #001f3f;
  --white: #ffffff;
  --font: "Roboto", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--white);
  color: var(--blue);
}

/* HEADER SECTION */
header {
  background: var(--blue);
  padding: 20px 0;
  color: var(--white);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 1100px; */
  margin: auto;
  padding: 0 20px;
}

.nav-logo {
  height: 50px;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-bottom: 0;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  height: 5px;
  width: 100%;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}
@media (max-width: 900px) {
  nav ul {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: var(--dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    width: 180px;
    padding: 1rem 0;
    border-radius: 8px;
    z-index: 1000;
  }
  nav ul.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .header-container {
    position: relative;
  }
}

/* HERO SECTION */

#hero {
  background: var(--light-blue);
  background: var(--light-blue) url("../img/sunspear/rocket-mach.png") 98% 55% /
    cover no-repeat;
  text-align: center;
  padding: 80px 20px;
}

#hero h1 {
  font-size: 4rem;
  /* color: var(--accent); */
  margin-bottom: 10px;
}

#hero p {
  /* color: var(--white); */
}

/* GENERAL SETTINGS */

.light-section {
  background: var(--white);
  padding: 60px 0;
}

.dark-section {
  background: var(--blue);
  color: var(--white);
  padding: 60px 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.two-col {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
  align-items: center;
}

.two-col > div,
.two-col img {
  flex: 1 1 50%;
  max-width: 50%;
}

@media (max-width: 700px) {
  .two-col {
    flex-direction: column;
    gap: 30px;
  }
  .two-col > div,
  .two-col img {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

ul {
  padding-left: 1rem;
}

ul li {
  margin-bottom: 10px;
}

/* ABOUT SECTION */
#about h2 {
  text-align: center;
}

#about p {
  text-align: justify;
  margin: 0 30px 20px 30px;
}

.btn {
  display: block;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  margin: 40px auto 0 auto; /* Increased top margin for more vertical space */
  width: fit-content;
}

.btn.light {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--blue);
}

/* GOALS */

.goals-left {
  text-align: center;
}

.goals-left h2 {
  /* text-transform: uppercase; */
  font-size: 2.5rem;
}

.goals-right {
  text-align: left;
  font-size: 22px;
}

.goals-left ul li:nth-child(3),
.goals-right ul li:nth-child(3) {
  margin-bottom: 30px;
}

/* TECHNICAL SPECS */

.container-title > h2 {
  font-size: 2.7rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
}
.spec-div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.spec-div-element {
  text-align: center;
  min-width: 200px;
  max-width: 300px;
}

.spec-div-element h2 {
  font-size: 5rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 10px;
}

.spec-div-element h3 {
  color: var(--blue);
  text-align: center;
  margin-bottom: 10px;
}

.spec-div-element p,
.spec-div-element li,
.spec-div-element span {
  color: var(--dark);
  text-align: center;
}

/* EUROC SECTION */
.euroc_img {
  max-height: 300px;
  width: auto;
  aspect-ratio: attr(width) / attr(height);
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

#euroc .btn {
  margin-left: 0;
  margin-right: auto;
}

/* SPONSORS AND PARTNERS */

.sponsors-partners {
  display: flex;
  align-items: flex-start;
  max-width: 1100px;
  flex-direction: column;
  align-items: center;
  margin: auto;
  padding: 20px;
  gap: 100px;
}

.sponsors-div,
.partners-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 50%;
  width: 100%;
}

@media (max-width: 700px) {
  .sponsors-div,
  .partners-div {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.sponsors-div h3 {
  font-size: 2rem;
}
.partners-div h3 {
  font-size: 1.5rem;
}

.sponsors-div img {
  max-width: 350px;
  max-height: 350px;
  margin: 10px 0;
}

.partners-div img {
  max-width: 200px;
  max-height: 200px;
  margin: 10px 0;
}

.sponsors-list,
.partners-list {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FOOTER SECTION */

footer {
  background: var(--white);
  color: var(--dark);
  text-align: center;
  padding: 20px 0;
}

footer .socials a {
  color: var(--dark);
  margin: 0 10px;
  text-decoration: none;
  font-size: 2rem; /* Make icons larger */
}
