/* Base Styles */
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Header/Navbar Responsiveness */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.logo {
  max-width: 60%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Main Slider */
#slider {
  display: flex;
  transition: transform 0.7s ease-in-out;
  flex-direction: row;
}
.slide-title { font-size: 1.75rem; display: block; }
.slide-subtitle { font-size: 1.5rem; font-style: italic; font-weight: 800; display: block; }
.slide-paragraph { font-size: 1rem; color: #1d1d1d; line-height: 1.5; margin-top: 1rem; }

/* Section 2 - Stats */
section.bg-\[#c0ebff\] {
  margin-top: -6rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 10;
  background-color: #c0ebff;
}

/* Section 3 - Training Programs */
section.bg-white {
  padding: 3rem 0;
  background-color: white;
}

#cardSlider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 0 2rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Section 4 - Why Choose Us */
section.bg-indigo-500 {
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
  background-color: #6366f1;
}

/* Video Section */
video {
  max-width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Blog/News Section */
.grid-cols-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Contact Map Section */
.relative.w-\[1200px\] {
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Footer */
footer {
  padding-top: 1rem;
  position: relative;
  background-color: #5D58EF;
  color: white;
}

.footer-col {
  margin-bottom: 2rem;
}

/* Cookie Banner */
#cookieBanner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 42rem;
  background: white;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: #374151;
  opacity: 0;
  transform: translateY(2.5rem);
  transition: all 0.5s ease;
  z-index: 50;
  display: none;
}

/* Media Queries */
@media (min-width: 640px) {

  /* Small devices (landscape phones, 576px and up) */
  .logo {
    max-width: none;
  }

  nav ul {
    font-size: 1rem;
    gap: 1rem;
  }

  .slide-title {
    font-size: 2rem;
  }

  .slide-subtitle {
    font-size: 1.75rem;
  }

  #cardSlider {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .grid-cols-1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {

  /* Medium devices (tablets, 768px and up) */
  header {
    flex-wrap: nowrap;
  }

  nav {
    width: auto;
    margin-top: 0;
  }

  nav ul {
    font-size: 1.1rem;
    gap: 1.5rem;
  }

  .slide-title {
    font-size: 2.5rem;
  }

  section.bg-\[#c0ebff\] {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  section.bg-white {
    padding: 5rem 0;
  }

  section.bg-indigo-500 {
    padding: 5rem 3rem;
  }

  .grid-cols-1 {
    grid-template-columns: repeat(3, 1fr);
  }

  footer {
    padding-top: 2rem;
  }

  .footer-col {
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {

  /* Large devices (desktops, 992px and up) */
  

  nav ul {
    font-size: 1.2rem;
    gap: 2rem;
  }

  .slide-title {
    font-size: 3rem;
  }

  .slide-subtitle {
    font-size: 2rem;
  }

  section.bg-white {
    padding: 7rem 0;
  }

  section.bg-indigo-500 {
    padding: 7rem 4rem;
  }

  .grid-cols-1 {
    grid-template-columns: repeat(4, 1fr);
  }

  #cookieBanner {
    width: 90%;
    max-width: 48rem;
  }
}

@media (min-width: 1280px) {

  /* Extra large devices (large desktops, 1200px and up) */

  nav ul {
    font-size: 1.3rem;
    gap: 2.5rem;
  }

  .relative.w-\[1200px\] {
    width: 1200px;
  }
}

/* Special Cases for Very Small Devices */
@media (max-width: 400px) {
  .logo-text {
    font-size: 1.2rem;
  }

  nav ul {
    font-size: 0.8rem;
    gap: 0.3rem;
  }

  .slide-title {
    font-size: 1.5rem;
  }

  .slide-subtitle {
    font-size: 1.2rem;
  }

  .slide-paragraph {
    font-size: 0.9rem;
  }

  #learn-more-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* Hide scrollbar but allow scrolling */
.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

/* Prevent Layout Shift on Load */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .loader-text,
  .loader-text .stroke-text,
  .loader-text .char {
    font-size: 2.2rem !important;
  }
}

@media (max-width: 480px) {
  .loader-text,
  .loader-text .stroke-text,
  .loader-text .char {
    font-size: 1.9rem !important;
  }
}


@media (max-width: 768px) {
  #drone-gif,
  #drone-gif-right {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .drone-tab {
    padding: 0.4rem 0.8rem !important; /* reduce padding */
    font-size: 0.875rem !important; /* smaller text */
  }

  .drone-tab span {
    font-size: 0.875rem !important; /* adjust text inside */
  }

  .flex.space-x-4 {
    gap: 0.5rem !important; /* reduce space between buttons */
  }
}

