:root {
  --red: #ff2c2c;
  --dark: #0d0d0d;
  --gray: #1a1a1a;
  --light: #f4f4f4;
  --accent: #ff623d;
}

body {
  margin: 0;
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: var(--dark);
  color: var(--light);
}

/* NAVBAR */
.navbar {
  background: var(--gray);
  padding: 0.5rem 0;
  margin-bottom: 25px;
  position: sticky;
  top: 0;
  padding: 10px 16px;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  position: relative;
}

.navbar-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.navbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
}

.navbar-right {
  justify-content: end;
  margin-right: 50px;
  display: flex;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  margin-left: 0.5rem;
  white-space: nowrap;
  color: white;
}

.NavA {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.NavA:hover {
  color: #490000;
}

#Button {
  background-color: rgb(0, 0, 0);
  color: white;
  transition-duration: 0.3s;
  font-size: 20px;
  font-weight: bold;
  border: 1px solid;
  border-radius: 999px;
  height: 35px;
  width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-right: -35px;
}

#Button:hover {
  color: #490000;
  background-color: #ffffff;
  cursor: pointer;
}
/*Footer*/
html, body {
  height: 100%;
  margin: 0;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.footer {
  margin-top: 25px;
  background-color: #111;
  color: white;
  padding: 1rem 2rem;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left,
.footer-center,
.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 40px;
  height: auto;
}

.footer-text {
  white-space: nowrap;
}

.footer-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #7e7e7e;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
/*News*/
.news-section {
  padding: 2rem;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 3s ease-out forwards;
}
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.news-section h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.news-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.news-content {
  padding: 1rem;
  height: 100px;
}

.news-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.news-content p {
  font-size: 0.95rem;
}
/*Images*/
.carousel-container {
  width: 100%;
  max-width: 1000px;
  height: 500px; /* adjust as needed */
  margin: 40px auto;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background-color: #000; /* fallback background */
  opacity: 0;
  transform: translateY(50px);
  animation: slideDown 1s ease-out forwards;
}
@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.carousel-image.active {
  opacity: 1;
  z-index: 2;
  animation: zoomMove 15s ease-in-out infinite;
}

@keyframes zoomMove {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.05) translate(10px, -10px);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}
/*General*/
.Home-text {
  text-align: center;
}
.text-body {
  margin-top: 15px;
  margin-left: 15px;
  
}
/*Chain of Command*/
.chain-of-command {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  color: #fff;
  max-width: 1200px;
  margin: auto;
}

.level {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}

.member {
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  width: 180px;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.member:hover {
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  width: 180px;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.MemberPic {
  width: 100%;
  border-radius: 50%;
  border: 1px solid #ffffff;
  margin-bottom: 0.5rem;
}

.member h3 {
  font-size: 1.1rem;
  margin: 0.3rem 0;
}

.member p {
  margin: 0.3rem 0;
}

.contact-icons {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
}
.tag-des {
  font-size: 0.7rem;
  font-style: italic;
}
.Rank-tag {

}
/*Reports*/
.report-container {
  padding-left: 30px;
  padding-right: 50px;
  border-radius: 12px;
}

.report-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.report-container h3 {
  margin-top: 20px;
  font-size: 1.3rem;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  background-color: #404054;
  color: #ffffff;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  width: 100%;
  padding: 10px;
  background-color: #353535;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  margin-top: 20px;
  color: white;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.submit-btn:hover {
  background-color: #838383;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

#statusMsg {
  margin-top: 15px;
  text-align: center;
  font-size: 0.9em;
}