body {
  overflow-x: hidden;
}

.hover-card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.hover-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  color: #1d4ed8;
  transition: all 0.3s ease-in-out;
}

.hover-btn:hover {
  transform: translateX(5px);
}

.service-divider {
  height: 4px;
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  margin-top: 40px;
  border-radius: 2px;
}

.section-divider {
  width: 80px;
  height: 4px;
  background-color: #0f3d57;
  margin: 1rem auto;
}

.section-divider:hover {
  animation: stroke 1s ease-in-out infinite;
}

@keyframes stroke {
  0% {
    width: 0;
  }

  100% {
    width: 80px;
  }
}

.btn-custom {
  background-color: #0f3d57;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-custom:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #0f3d57;
}

.bg-soft-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://via.placeholder.com/150") no-repeat center;
  opacity: 0.1;
  z-index: -1;
}

/* Custom Cursor Styles */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: black;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background-color 0.3s ease;
}

.cursor-circle {
  width: 30px;
  height: 30px;
  border: 2px solid black;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: border-color 0.3s ease;
}

/* Hide cursor on touch devices */
@media (hover: none) {
  .cursor-dot,
  .cursor-circle {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* Footer Style */
.footer {
  background: #08192f;
  /* Solid dark blue background */
  color: #ffffff;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Footer Grid Layout */
.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer-column {
  padding: 10px;
}

/* Company Info */
.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo p {
  margin-top: 10px;
  font-size: 1rem;
}

/* Quick Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 10px 0;
}

.footer-links ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer-links ul li a:hover {
  color: #00bfff;
}

/* Our Services */
.footer-services {
  /* Ensures center alignment for all screen sizes */
}

.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  /* Centers the list */
  display: inline-block;
  /* Ensures proper centering for smaller screens */
}

.footer-services ul li {
  margin: 10px 0;
  display: flex;
  align-items: start;
}

.footer-services ul li i {
  margin-right: 10px;
}

/* Contact Info */
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-contact ul li {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.footer-contact ul li i {
  margin-right: 10px;
}

/* Footer Bottom Line */
.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Floating Button */
.floating-plus {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease-in-out;
}

.floating-plus:hover {
  transform: scale(1.1);
}

.social-icons {
  position: fixed;
  bottom: 90px;
  right: 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: #020c1b;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.3s ease-in-out;
}

.social-icons a:hover {
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-services ul {
    display: inline-block;
    /* Ensures the list stays centered */
  }

  .floating-plus {
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
  }

  .social-icons {
    bottom: 70px;
    right: 10px;
  }
}
/* Custom styles for animations */
.nav-item {
  opacity: 0;
}
.hero-slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 1s ease;
}
.hero-slide.active {
  opacity: 1;
  position: static;
}
.glow-effect {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.menu-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(10, 25, 47, 0.95);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}
.menu-item {
  font-size: 1.5rem;
  margin: 1rem 0;
  font-weight: bold;
  color: white;
  transition: color 0.3s ease, transform 0.3s ease;
}
.menu-item:hover {
  color: #38bdf8;
  transform: scale(1.2);
}
.menu-button {
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background-color: #38bdf8;
  color: white;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.menu-button:hover {
  background-color: #0284c7;
  transform: scale(1.1);
}
