* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: "poppins", sans-serif;
  margin: 0;
  padding: 0;
}
.hero-section {
  background:
    linear-gradient(131deg, #003c61, #003c61de, #003c6100, #003c6100, #01853c),
    url("../img/hero1.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.set-resp {
  padding-top: 80px;
}

.navbar-nav .nav-link {
  font-size: 20px;
}

.active {
  color: #2875a9;
  border-color: #2875a9 !important;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 100vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fixed-header.scrolled {
  background-color: rgba(8, 15, 56, 0.4);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.fixed-header .navbar-nav a {
  color: white !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
  opacity: 0.85;
}

.fixed-header .navbar-nav a:hover {
  opacity: 1;
  color: #06a759;
  transform: translateY(-1px);
}

.get-started-btn {
  background: linear-gradient(135deg, #0b2a55 0%, #06a759 100%);
  color: white !important;
  border-radius: 9999px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(6, 167, 89, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.get-started-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 167, 89, 0.4);
  filter: brightness(1.1);
  color: white !important;
}

.heading-padding {
  padding-top: 5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 1001;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(8, 15, 56, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px;
  flex-direction: column;
  gap: 20px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mobile-menu.active {
  display: flex;
  animation: slideDown 0.4s ease-out forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure desktop nav is visible on large screens */
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }

  .navbar-nav.hidden.lg\\:flex {
    display: flex !important;
  }
}

.mobile-menu a {
  color: white !important;
  text-decoration: none;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .grid {
  align-items: flex-start;
}

.footer .footer-logo {
  display: flex;
  flex-direction: column;
  min-height: 44px;
}

.footer .footer-logo a {
  display: inline-block;
  line-height: 1;
}

.footer .footerdata {
  display: flex;
  flex-direction: column;
}

.footer .footerdata h6.footer-heading {
  margin-bottom: 1.25rem;
  margin-top: 0;
  padding-top: 0;
  line-height: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer .footer-logo,
.footer .footerdata {
  padding-top: 0;
}

/* Footer link spacing */
.footer ul.menu li,
.footer ul li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer ul.menu li:last-child,
.footer ul li:last-child {
  margin-bottom: 0;
}

.footer ul.menu li a,
.footer ul li a {
  display: inline-block;
  transition: all 0.2s ease;
}

.footer ul.menu li a:hover,
.footer ul li a:hover {
  opacity: 0.8;
  transform: translateX(3px);
}

/* Social media icons spacing */
.footer ul.flex {
  gap: 1rem;
}

.footer ul.flex li {
  margin: 0;
}

.footer ul.flex li a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer ul.flex li a:hover {
  transform: scale(1.1);
}

.footer ul.flex li a img {
  display: block;
}

/* Responsive Breakpoints */
@media (max-width: 1023px) {
  .navbar-nav.hidden.lg\\:flex {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .footer .footer-logo {
    margin-top: 0;
  }

  .footer .footerdata h6 {
    margin-top: 0;
  }

  .cta-first-img {
    height: 400px;
  }

  .set-footer-logo {
    margin-top: 20px;
  }

  .heading-padding {
    padding-top: 3rem;
  }

  #reviews-div {
    display: none;
  }

  .lead-form {
    margin-top: 0px !important;
  }
}

@media (max-width: 480px) {
  #reviews-div {
    display: none;
  }

  .heading-padding {
    padding-top: 2rem !important;
  }

  .lead-form {
    margin-top: 0px !important;
  }

  .cta-first-img {
    height: 300px !important;
  }

  .fixed-header {
    padding: 8px 0;
  }
}

/* Prevent horizontal overflow */
.max-w-7xl {
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .max-w-7xl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .max-w-7xl {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logos-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.logos-slide {
  display: flex;
  gap: 3rem; /* spacing between logos */
  width: max-content;
  animation: scroll 40s linear infinite;
  align-items: center;
}

.logos-slide img {
  height: 80px; /* base height */
  width: auto; /* maintain aspect ratio */
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
  filter: none;
  opacity: 1;
}

.logos-slide img:hover {
  transform: scale(1.1);
}

.logos-slide:hover {
  animation-play-state: paused;
}

.logos-slide img:hover {
  transform: scale(1.1);
}

.logos-section {
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Small screens: mobile */
@media (max-width: 640px) {
  .logos-slide {
    animation: scroll 55s linear infinite; /* slower scroll */
    gap: 1.5rem; /* smaller gap */
  }
  .logos-slide img {
    height: 50px; /* smaller logos on mobile */
  }
}

/* Medium screens: tablets */
@media (min-width: 641px) and (max-width: 1024px) {
  .logos-slide {
    animation: scroll 45s linear infinite;
    gap: 2rem;
  }
  .logos-slide img {
    height: 65px;
  }
}

/* Large screens: desktops */
@media (min-width: 1025px) {
  .logos-slide {
    gap: 3rem;
  }
  .logos-slide img {
    height: 30px;
  }

  .vclub-logo {
    height: 40px !important;
  }
}
