* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: 'PT Sans', 'Inter', 'Helvetica Neue', Arial, sans-serif; */
  font-family: "Futura PT", "Open Sans", sans-serif;
  background-color: #1f2937; /* Dark background */
  color: #e8eaec;            /* Light text color */
  line-height: 1.6;
}

/* Add these CSS rules */
#video-player {
    position: relative;
    z-index: 65;
    pointer-events: auto;
}

#video-player::-webkit-media-controls {
    z-index: 66;
}


@keyframes fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fade-in 0.4s ease-out;
}


.goog-te-combo {
  background-color: #374151;
  border: 1px solid #4b5563;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
}
.goog-te-combo:focus {
  outline: none;
  border-color: #fcd34d;
}
#google_translate_element .goog-te-gadget {
  font-family: inherit;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
#google_translate_element .goog-te-gadget-simple {
  background-color: transparent;
  border: none;
  font-size: 14px;
}
#google_translate_element
  .goog-te-gadget-simple
  .goog-te-menu-value
  span:first-child {
  color: white;
}
#google_translate_element .goog-te-gadget-simple .goog-te-menu-value:before {
  content: "🌐 ";
}

.lang select{
     /* background:#f6f6f6;
     color:#000;
     border:1px solid #f6f6f6;
     border-radius:10px; */
     cursor: pointer;
}

.hero-bg {
  background-image: url("/static/images/xhero.jpg");
  background-size: cover;
  background-position: center;
}
.hero-img {
  background-image: url("/static/images/join_army.jpg");
  background-size: cover;
  background-position: center;
}
.contact-bg {
  background-image: url("/static/images/contact_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.imagex {
  background-image: url("/static/images/xmac.webp");
  background-size: cover;
  background-position: center;
}


.animate-fadeIn {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0 0.5rem;
}

.service-photo {
  flex-shrink: 0;
  width: 300px;
  height: 350px;
  aspect-ratio: 20 / 9;
  background: #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.service-photo:hover img {
  filter: grayscale(0%);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 0rem;
}

.carousel-btn.next {
  right: 0rem;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #f59e0b;
  transform: scale(1.2);
}

/* Tablet */
@media (min-width: 768px) {
  .carousel-slide {
    min-width: 33.3333%;
  }
  .service-photo {
    aspect-ratio: 4 / 3;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .carousel-slide {
    min-width: 25%;
  }
}

/* Modal Styles */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

/* .modal-content {
            background-color: #000;
            border: none;
            border-radius: 8px;
            overflow: hidden;
        } */

.close-btn {
  position: absolute;
  top: -20px;
  right: 15px;
  z-index: 1000;
  background: #eab308;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #f59e0b;
  transform: scale(1.1);
}

#video-player {
  width: 100%;
  height: 100%;
  max-width: 855px;
  max-height: 480px;
}

/* Modal should scroll, not background */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-dialog {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .modal-dialog {
    margin: 20px;
  }
  #video-player {
    max-height: 337px;
  }
}

@media (max-width: 767px) {
  .modal-dialog {
    margin: 10px;
    width: calc(100% - 20px);
  }
  #video-player {
    height: 250px;
  }
}
