/* GENERAL */
body {
  font-family: "Montserrat", sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

.font-style {
  font-family: "Montserrat", sans-serif;
  /* letter-spacing: 0.2px; */
}

/* PAGE LOADER */
#page-loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #0b1f33; /* same military dark tone */
  display: flex;
  justify-content: center;
  align-items: center;
  inset: 0;
  z-index: 99999;
  transition: opacity 0.6s ease;
}

#page-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Circular Ring */
.loader-ring {
  width: 150px;
  height: 150px;
  border: 15px solid rgba(255, 255, 255, 0.2);
  border-top: 15px solid #f1c40f; /* accent color */
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

/* Smooth Spin */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body::before {
  display: block;
  content: "";
  height: 60px;
}

@media (min-width: 768px) {
  .news-input {
    width: 50%;
  }
}

/* Collapsed navbar styling */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #3e556b;
    border-left: 3px solid #f1c40f; /* yellow outline */
    border-top: 3px solid #f1c40f; /* yellow outline */
    margin-top: 20px;
    padding: 20px;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  }

  .navbar-nav .nav-item {
    margin-bottom: 12px;
  }

  .navbar-nav .nav-link {
    padding-left: 15px;
    position: relative;
    transition: 0.3s ease;
  }

  /* Yellow left tactical bar effect */
  .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: #f1c40f;
    transition: 0.3s ease;
  }

  .navbar-nav .nav-link:hover::before {
    width: 4px;
  }
}

nav li a {
  text-shadow: 0 15px 40px rgba(7, 7, 7, 0.25) !important;
}

.nav-logo {
  height: 70px;
  width: auto;
}

/* NAV LINK HOVER EFFECT */
.navbar .nav-link {
  position: relative;
  transition: 0.3s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 3px;
  background: #f1c40f;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
  width: 90%;
}

/* Medium and above (stacked navbar) */
@media (max-width: 1300px) {
  .nav-logo {
    height: 60px;
    width: auto;
  }

  .navbar .nav-link {
    display: inline-block;
  }

  .navbar .nav-link::after {
    left: 0;
    transform: none;
  }

  .navbar .nav-link:hover::after {
    width: 100%;
  }
}

/*  */

.section-padding {
  padding-top: 80px;
  padding-bottom: 50px;
}

.section-padding-two {
  padding: 50px 0;
}

.dark-section {
  background: #0b0f1a;
  color: #fff;
}

.hero-section {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("IMAGES/star-bg.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content {
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.2rem;
  margin-top: 20px;
}

/* Cards */
.cap-card {
  transition: 0.4s ease;
  border: none;
}

.cap-card:hover {
  transform: translateY(-10px);
}

/* Images */
.cap-img {
  height: 300px;
  object-fit: cover;
}

/* CTA */
.cta-section {
  background: linear-gradient(90deg, #0b0f1a, #111a2b);
  color: white;
  text-align: center;
  padding: 120px 0;
}

/* Small screens */
@media (max-width: 576px) {
  .navbar .nav-link:hover::after {
    width: 100%;
    height: 2px;
  }
  .nav-logo {
    height: 50px;
    width: auto;
  }

  .hero-section {
    height: 60vh;
    background:
      linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
      url("IMAGES/star-bg.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-content h1 {
    font-size: 1.9rem;
    font-weight: 700;
  }

  .hero-content p {
    font-size: 1rem;
    margin-top: 20px;
  }
}
/*  */

/* CUSTOM ABOUT DROPDOWN */
.custom-dropdown {
  background-color: #111;
  border: 2px solid rgb(47, 47, 47);
  border-radius: 0;
  padding: 0;
  min-width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.25s ease-in-out;
}

.custom-dropdown .dropdown-item {
  color: #ddd;
  font-weight: 500;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.custom-dropdown .dropdown-item:hover {
  background: linear-gradient(90deg, rgb(42, 123, 230));
  color: #ffff;
  padding-left: 25px;
  padding-top: 10px;
}

/* When hovering over the whole dropdown item */
.dropdown-item:hover .icon {
  height: 2px;
  width: 12%;
  border: 2px solid white;
}
.custom-dropdown .dropdown-item:active {
  background-color: #e0a800;
  color: #2c2b2b;
}

.dropdown-item .icon {
  height: 2px;
  width: 12%;
  border: 2px solid tan;
}

