.container {
  width: 100vw;
  margin: 0 auto;
  top: 0;
  background-color: #FEB500;
  border-bottom: 1px solid #222222;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  z-index: 10;
  position: relative;
  padding: 15px 0;
}

.innerContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logoContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* Replaced negative margins with clean gap */
}

.logoContainer a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.logosImage {
  width: 35px;
  height: 35px;
  display: flex;
}

.logosDetails {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 2px; /* Stable spacing between Title and Subtitle */
}

.logosDetails h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  padding: 0;
  line-height: 1.1;
  color: #222222;
}

.logosDetails p {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  line-height: 1.1;
  color: #394149;
}

.linksContainer {
  display: flex;
  align-items: center;
  gap: 60px;
}

.link {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s, transform 0.3s;
  font-weight: bold;
}

.link:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
}

.polygonBackground {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: #222222;
  clip-path: polygon(72% 0, 100% 0, 100% 100%, 60% 100%);
  z-index: -1;
}

.buttonContainer {
  display: flex;
  align-items: center;
  margin-left: 5px;
  gap: 15px;
}

.talkButton {
  background-color: #FEB500;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.talkButton a {
  color: #222222;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.talkButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.adminButton {
  background-color: #FEB500;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: none; 
}

.adminButton a {
  color: #222222;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.adminButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.navToggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 24px;
  cursor: pointer;
}

.menuIcon {
  width: 24px;
  height: 24px;
  color: #222222;
}

@media (max-width: 768px) {
  .container {
    width: 100vw;
    margin: 0 auto;
  }

  .innerContainer {
    width: 90%;
    margin: 0 auto;
  }

  .linksContainer {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #FEB500;
    width: 100%;
    padding: 20px;
    gap: 20px;
  }

  .linksContainer a {
    margin-left: 0;
  }

  .linksContainer .talkButton,
  .linksContainer .adminButton {
    background-color: #222222;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .linksContainer .talkButton {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  }

  .linksContainer .talkButton a,
  .linksContainer .adminButton a {
    color: #FEB500;
    margin: 0 auto;
  }

  .linksContainer.open {
    display: flex;
  }

  .navToggle {
    display: flex;
  }

  .polygonBackground {
    display: none;
  }

  .buttonContainer {
    margin-top: 10px;
    flex-direction: column;
  }

  .logoContainer {
    gap: 8px;
  }

  .logosImage {
    margin-top: 0;
  }

  .logosDetails {
    margin-top: 0;
  }
  
  .logosDetails h2 {
    font-size: 18px;
  }
  
  .logosDetails p {
    font-size: 10px;
  }

  .link {
    margin: 0 auto;
  }
}