/* HERO */
* {
  margin: 0;
  padding: 0;
}

.font-style {
  font-family: "Montserrat", sans-serif;
  /* letter-spacing: 0.2px; */
  line-height: 1.6;
}

/* 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;
  }

  .gallery-item img {
    transition: 0.5s ease;
    width: 100% !important;
    height: 300px !important;
    object-fit: cover;
    object-position: center;
  }
}

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%;
  }
}

/*  */
/* ================= HERO SECTION ================= */

.mission-hero {
  position: relative;
  height: 90vh;
  background: url("IMAGES/power-case.png") center center/cover no-repeat;
}

.mission-hero .overlay-hero {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  top: 0;
  left: 0;
}

.mission-hero .container {
  z-index: 2;
}

.hero-content {
  background: rgba(8, 8, 8, 0.65); /* Only behind text */
  border-radius: 0;
  /* width: 75%; */
}

.section-tag {
  color: orange;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 600;
}

/* GALLERY */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  transition: 0.5s ease;
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(11, 31, 51, 0.9);
  color: white;
  text-align: center;
  padding: 15px;
  transform: translateY(100%);
  transition: 0.4s ease;
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

/* CTA */
.cta-section {
  background: #0b1f33;
}
.company-bio-rugged {
  background: #0c1117; /* Deep tactical background */
}

.bio-tag {
  color: #ff8800;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
}

.bio-title {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
}

.bio-line {
  width: 60px;
  height: 4px;
  background: #ff8800;
}

.bio-text {
  color: #b8c0cc;
  line-height: 1.8;
}

.bio-image img {
  border-radius: 0;
  filter: brightness(85%);
}
/* .col-md-4 .gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.col-md-6 .gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
} */

.quick-links a:hover {
  color: rgb(249, 200, 6) !important;
}

.gallery-item {
  overflow: hidden;
}

/* Small screens */
@media (max-width: 576px) {
  .navbar .nav-link:hover::after {
    width: 100%;
    height: 2px;
  }
  .nav-logo {
    height: 50px;
    width: auto;
  }

  .mission-hero {
    position: relative;
    height: 70vh;
    background: url("IMAGES/power-case.png") center center/cover no-repeat;
  }

  .hero-content {
    background: rgba(8, 8, 8, 0.9); /* Only behind text */
    border-radius: 0;
    /* width: 75%; */
  }

  .mission-hero .overlay-hero {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
  }

  .hero-content h1 {
    font-weight: 700 !important;
    font-size: 1.8rem !important;
  }

  .hero-content p {
    font-size: 13.9px !important;
  }

  .section-tag {
    color: orange;
    letter-spacing: 2px;
    font-size: 16px;
    font-weight: 600;
  }

  .mission-hero .container {
    z-index: 2;
  }

  .gallery-item img {
    transition: 0.5s ease;
    width: 100%;
    height: 290px !important;
    object-fit: cover;
    object-position: center;
  }
}
/*  */

/* 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;
}
