:root {
  --red: #082255;
  --dark: #0e080f;
  --gray: #1d1e20;
  --light: #fefeff;
  --accent: #431010;
}

body {
  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);
}
/*Header*/
.navbar {
  background: var(--gray);
  padding: 10px 16px;
  position: sticky;
  top: 5px; /* 5px from top */
  margin-left: 5px; /* 5px from left */
  border-radius: 40px; /* circular ends */
  width: 27%;
  z-index: 100;
  box-shadow: 5px 5px 10px rgba(255, 255, 255, 0.2); /* optional shadow */
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.navbar:hover {
  transform: translateY(5px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}
@keyframes navLoadIn {
  from {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  to {
    padding-left: 0rem;
    padding-right: 0rem;
  }
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  animation: navLoadIn 1.5s ease-out forwards;
}
.navbar-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.navbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
}

.navbar-right {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-right: 50px;
}

.NavA {
  color: white; /* default solid color */
  text-decoration: none;
}

.NavA:hover {
  background: linear-gradient(to right, #6b1717, #1f3f83);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
}
@media (max-width: 1700px) {
  .NavA {
    font-size: 1rem;
  }
  .navbar {
   background: var(--gray);
   padding: 10px 16px;
   position: sticky;
   top: 5px; /* 5px from top */
   margin-left: 5px; /* 5px from left */
   margin-right: 5px; /* 5px from right */
   border-radius: 40px; /* circular ends */
   width: 95%;
   z-index: 100;
   box-shadow: 5px 5px 10px rgba(255, 255, 255, 0.2); /* optional shadow */
   transition: transform 0.5s ease, box-shadow 0.5s ease;
  }
}
/*Footer*/
.credit {
  color: #8b949e;
  font-size: 14px;
}

.credit a {
   color: #c9d1d9;
  text-decoration: underline;
}
html, body {
  height: 100%;
  margin: 0;
}
.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-center {
  display: flex;
  gap: 1rem;
  text-align: center;
}
.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 40px;
  height: auto;
}

.footer-text {
  white-space: nowrap;
}

.footer-link {
  color: #ffffff;
  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;
  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;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.news-content {
  padding: 1rem;
  height: fit-content;
}

.news-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.news-content p {
  font-size: 0.95rem;
}
/*Video*/
.video {
  width: 100%;
  max-width: 1000px;
  height: 565px; /* Keep or adjust height 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;
  opacity: 0;
  transform: translateY(50px);
  animation: slideDown 1s ease-out forwards;
}

.video video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Shrink video to fit without cropping */
  display: block;
  border-radius: 16px;
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*General*/
.Home-text {
  text-align: center;
}
.text-body {
  margin-top: 15px;
  margin-left: 15px;
}
/*Chain of Command*/
.chain {
  background: white;
  border-radius: 10px;
  padding: 30px;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background-color: #d9534f;
  color: white;
  border-radius: 5px;
}

textarea {
  width: 100%;
  font-family: monospace;
  margin-top: 10px;
}
/*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;
}
/*Chain of Command*/
.chain-of-command {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  text-align: center;
}

.chain-of-command h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255,255,255,0.1);
}

.section-group {
  margin-bottom: 40px;
}

.section-group h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: left;
  padding-left: 10px;
  border-left: 4px solid crimson;
}

.command-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.command-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  width: 100%;
  height: fit-content;
  max-width: 360px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.command-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 16px rgba(220, 20, 60, 0.6);
}

.card-left {
  text-align: left;
  flex: 1;
  padding-right: 15px;
}

.name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.title {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 6px;
}

.desc {
  font-size: 0.8rem;
  color: #aaa;
}

.card-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 10px;
  background-color: #111;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .command-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
  }

  .card-left {
    padding-right: 0;
  }

  .card-logo {
    margin-top: 12px;
    align-self: flex-end;
  }
}
/*Page Backgrounds*/
.page-container-about {
  background-image: url("/Images/output-onlinepngtools.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1100px;
  background-position: center 300px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-container-index {
  background-image: url("/Images/output-onlinepngtools.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1100px;
  background-position: center 8000px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-container-report {
  background-image: url("/Images/output-onlinepngtools.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1100px;
  background-position: center 80px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}