
/* Military Color Scheme */
:root {
  --military-green: #4b5320;
  --military-brown: #7e6148;
  --military-tan: #b8a369;
  --military-gray: #5a5a5a;
  --military-black: #1a1a1a;
  --military-blue: #252850;
  --military-red: #7c2629;
}

/* Base styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

.section-padding {
  padding: 6rem 0;
}

.section-title {
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--military-green);
}

.section-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--military-gray);
}

/* Dark mode styles */
body.dark-mode {
  background-color: var(--military-black);
  color: #e0e0e0;
}

body.dark-mode .navbar,
body.dark-mode .offcanvas,
body.dark-mode .card,
body.dark-mode .modal-content {
  background-color: #202020;
  color: #e0e0e0;
  border-color: #333;
}

body.dark-mode .bg-light {
  background-color: #1e1e1e !important;
}

body.dark-mode .text-muted {
  color: #aaa !important;
}

body.dark-mode .card {
  background-color: #2a2a2a;
}

body.dark-mode .nav-link,
body.dark-mode .navbar-brand,
body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6,
body.dark-mode .card-title {
  color: #e0e0e0;
}

body.dark-mode .section-title {
  color: var(--military-tan);
}

body.dark-mode .nav-link.active {
  color: var(--military-tan);
  font-weight: 600;
}

body.dark-mode .form-control {
  background-color: #2a2a2a;
  border-color: #444;
  color: #e0e0e0;
}

body.dark-mode .btn-outline-secondary {
  color: #e0e0e0;
  border-color: #666;
}

body.dark-mode .training-icon {
  background-color: var(--military-blue);
  color: var(--military-tan);
}

/* Navbar styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--military-green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 0.75rem 0;
}

.navbar-brand,
.navbar .nav-link,
.navbar .offcanvas-title {
  color: white;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.25rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.nav-link:hover {
  color: inherit;
}

.nav-link.active {
  color: var(--military-tan) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas {
  background-color: var(--military-green);
  color: white;
}

/* Carousel section */
.carousel-section {
  padding-top: 4.5rem;
}
.carousel-control-next, .carousel-control-prev {
  width: 50px;
}
.alert{
  z-index: 9999;
}
.carousel-item {
  /* height: 80vh;
  min-height: 600px; */
  min-height: 700px;
  height: 80vh;
  background: no-repeat center center scroll;
  background-size: cover;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  object-position: top center;
}

.carousel-caption {
  bottom: calc(50% - 130px);
  text-align: left;
  max-width: 500px;
  left: 10%;
}

.carousel-caption h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Card styles */
.card {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 0.5rem;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: var(--military-green);
  color: white;
  border-bottom: none;
}

/* Button styling */
.btn-primary {
  background-color: var(--military-green);
  border-color: var(--military-green);
  color: white;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #3a4219; /* Darker military green for hover */
  border-color: #3a4219;
  color: white; /* Ensure text remains white on hover */
}

/* Icon box */
.icon-box {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background-color: rgba(75, 83, 32, 0.1);
  border-radius: 50%;
  color: var(--military-green);
}

/* Gallery styles */
.gallery-item {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h5 {
  margin: 0;
  font-size: 1.1rem;
}

/* Training section */
.training-item {
  margin-bottom: 2rem;
}

.training-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--military-green);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Contact form */
.form-control:focus {
  border-color: var(--military-green);
  box-shadow: 0 0 0 0.25rem rgba(75, 83, 32, 0.25);
}

/* Newsletter section */
#newsletter {
  background-color: var(--military-blue) !important;
}

/* Footer styles */
.footer-section {
  background-color: #f8f9fa;
  padding-bottom: 2rem;
}

.copyright-section {
  background-color: var(--military-green);
  color: white !important; /* Ensure text is always white for better visibility */
}

.copyright-section .text-muted,
.copyright-section a.footer-link {
  color: rgba(255, 255, 255, 0.85) !important; /* Light white for better visibility on the military green background */
}

.copyright-section a.footer-link:hover {
  color: white !important;
  text-decoration: underline;
}

.footer-link {
  color: var(--military-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: inherit;
  text-decoration: underline;
}

body.dark-mode .footer-section {
  background-color: #202020;
}

body.dark-mode .copyright-section {
  background-color: #101010;
}

body.dark-mode .footer-link {
  color: #aaa;
}

/* Toast notification */
.toast-container {
  z-index: 1100;
}

.toast {
  background-color: white;
  color: #333;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s, transform 0.3s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

body.dark-mode .toast {
  background-color: #2a2a2a;
  color: #e0e0e0;
}

/* Form validation styles */
.error {
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  
  
  .carousel-caption h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 767.98px) {
  .carousel-caption {
    text-align: center;
    left: 10%;
    right: 10%;
    bottom: 10%;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .carousel-item {
    height: 60vh;
  }
}
/* lightbox styles */
.lb-data .lb-close{
  background: url(../../includes/images/close.png) top right no-repeat;
}
.lb-nav a.lb-prev{
  background: url(../../includes/images/prev.png) left 48% no-repeat;
}
.lb-nav a.lb-next{
  background: url(../../includes/images/next.png) right 48% no-repeat;
}
.lb-cancel{
  background: url(../../includes/images/loading.gif)no-repeat;
}