* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #0e0e0e;
  color: #ffffff;
  line-height: 1.6;
}
header {
  background-color: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #00e0ef;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap; /* NEW: allows wrapping when space is tight */
}

header h1 {
  font-size: 2rem;
  color: #00e0ef;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: #00e0ef;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #00e0ef;
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.hero {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  gap: 6rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-img {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  height: 400px;
  background-color: #222;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 224, 239, 0.3);
  background-image: url('../images/hero_image.jpg');
  background-size: cover;
  background-position: center;
}
.hero-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
}
.hero-text h2 {
  font-size: 2.5rem;
  color: #00e0ef;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
}
.socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.socials a {
  color: #00e0ef;
  font-size: 1.5rem;
  transition: color 0.3s;
}
.socials a:hover {
  color: #ffffff;
}
.stream {
  text-align: center;
  margin-top: 4rem;
}
.stream h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #00e0ef;
}
.stream iframe {
  width: 100%;
  max-width: 900px;
  height: 480px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 224, 239, 0.3);
}
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #888;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #00e0ef;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px) translateX(3.3px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px) translateX(3.3px);
}

.partners-grid {
  text-align: center;
  margin: 5rem auto;
  padding: 2rem;
  max-width: 1200px;
}

.partners-grid h2 {
  font-size: 2rem;
  color: #00e0ef;
  margin-bottom: 2rem;
}

.grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.partner a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
}

.partner a:hover {
  transform: scale(1.05);
}

.partner img {
  max-height: 150px;
  width: auto;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 224, 239, 0.2);
}

.partner p {
  font-size: 0.9rem;
  color: #ccc;
}

@media (max-width: 768px) {
  header {
    flex-direction: row;
  }

  .hamburger {
    display: flex;
  }

  nav {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  nav.show {
    max-height: 500px; /* Enough room for your links */
    opacity: 1;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
  }

  nav ul li a {
    display: block;
    width: 100%;
    padding-left: 0;
    transition: all 0.3s ease;
  }

  .partner img {
    max-height: 70px;
  }

  .partner p {
    font-size: 0.8rem;
  }
}

.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 4rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 224, 239, 0.2);
  max-height: 400px;
  object-fit: cover;
}

.about-img{
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.about-text {
  flex: 3;
  color: #ccc;
  text-align: justify;
}

.about-text h2 {
  font-size: 2rem;
  color: #00e0ef;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-section.reverse {
  flex-direction: row-reverse;
}


@media (max-width: 768px) {
  .about-section {
    flex-direction: column !important;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
  }

  .about-img img {
    width: 100%;
    max-height: none;
  }
}

.projects {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #ccc;
}

.projects h2 {
  font-size: 2rem;
  color: #00e0ef;
  text-align: center;
  margin-bottom: 3rem;
}

.mods-section {
  padding: 4rem 2rem;
  margin: 0 auto;
  color: #ccc;
}

.mods-section h2 {
  font-size: 2rem;
  color: #00e0ef;
  text-align: center;
  margin-bottom: 3rem;
}

.mods {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #ccc;
}

.mods h2 {
  font-size: 2rem;
  color: #00e0ef;
  text-align: center;
  margin-bottom: 3rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #00e0ef20;
}

.project-item {
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid transparent;
}

.project-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: #00e0ef;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 224, 239, 0.6);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.project-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.project-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: #00e0ef; /* Replace with your desired color */
  text-decoration: none; /* Removes underline */
}

.tag {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
}

.tag.active {
  background-color: #00e07a;
}

.tag.paused {
  background-color: #ffa500;
}

.tag.deprecated {
  background-color: #ff4c4c;
}


@media (max-width: 600px) {
  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .tag {
    align-self: flex-start;
  }
}
