* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

/* Navbar Start */

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1020;
  border-top: 2px solid #97c398;
  background-color: #fff;
  transition: all 0.3s ease;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: #000 !important;
  transition: all 0.3s ease;
  font-weight: 500;
}

.navbar-nav .nav-link.active {
  color: #000 !important;
}

.navbar-nav .nav-link.active::before {
  width: calc(100% - 2rem);
  background-color: #FF802B;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: #000;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #FF802B;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-item:not(.dropdown) .nav-link:hover::before {
  width: calc(100% - 2rem);
}

.nav-item.dropdown .nav-link:hover::before {
  width: 50%;
}

.nav-link.active {
  color: black;
}

.nav-link.active::before {
  width: calc(100% - 2rem);
  background-color: #FF802B;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 0;
  transition: all 0.3s ease;
  opacity: 0;
  display: block;
  visibility: hidden;
  transform: translateY(10px);
  background-color: white;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
  color: #000 !important;
  background-color: white !important;
  position: relative;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #FF802B !important;
  color: white !important;
}

#aboutDropdown.dropdown-toggle::after,
#solutionsDropdown.dropdown-toggle::after,
#awardsDropdown.dropdown-toggle::after {
  display: none !important;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (min-width: 992px) {
  .navbar .nav-item:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 20px 0;
  }
}

.dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: none;
  position: static;
  float: none;
  width: auto;
  margin-top: 0;
  background-color: transparent;
  border: 0;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: none;
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: white !important;
    border: 0;
    box-shadow: none;
  }


  .dropdown-menu.show {
    display: block;
  }

  .dropdown-item {
    padding: 0.5rem 1rem !important;
    color: #000 !important;
    font-weight: 500 !important;
  }

  .dropdown-item:hover {
    background-color: transparent !important;
    color: #FF802B !important;
  }

  .nav-item.dropdown .nav-link::before {
    display: block;
  }
}

/* Navbar End */


/* HERO SECTION */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding-top: 80px;
}

/* Background image with zoom & parallax effect */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomParallax 20s ease-in-out infinite alternate;
}

/* Smooth zoom animation */
@keyframes zoomParallax {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Dark gradient overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

/* Hero content styling */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* FADE-UP ANIMATION */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
}

.animate-fade-up.delay-1 {
  animation-delay: 0.4s;
}

.animate-fade-up.delay-2 {
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Services Start */

.service-section {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card {
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(3deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card h5 {
  transition: color 0.3s ease;
}

.service-card:hover h5 {
  color: #0d6efd; /* Bootstrap primary */
}

.floating-icon {
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Services End  */


/* Your Security Start */

.hero {
  min-height: 60vh;
  background: linear-gradient(135deg, #1a3c5e 50%, rgb(210, 37, 37) 50%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content {
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
  max-width: 700px;
  margin: auto;
}

.hero-title {
  font-size: 2.8rem;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

/* .hero-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  background: #feca57;
  transition: width 0.4s ease, left 0.4s ease;
} */

/* .hero-title:hover::after {
  width: 100%;
  left: 0;
} */

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.btn-cta {
  background: linear-gradient(90deg, #ff6b6b, #feca57);
  border: none;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn-cta:hover::before {
  width: 300%;
  height: 300%;
}

.btn-cta:hover {
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Your Security End */


/* About Us Start */

.about-section {
  background: #f8f9fa;
}

.section-title {
  position: relative;
  font-weight: bold;
  display: inline-block;
  padding-bottom: 5px;
  color: #1a3c5e;;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  background: var(--bs-primary);
  transition: width 0.4s ease, left 0.4s ease;
}

.section-title:hover::after {
  width: 100%;
  left: 0;
}

.about-img-wrapper {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

ul li {
  font-size: 1.05rem;
}

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}

.slide-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* About Us End */


/* Gallery Start */

.work-card {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.work-card img {
  transition: transform 0.4s ease;
  width: 100%;
  height: 250px; /* you can adjust (200px, 300px, etc.) */
  object-fit: cover; /* crops the image nicely instead of stretching */
  border-radius: 8px;
}

.work-card:hover img {
  transform: scale(1.1);
}

.overlay-text {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 60, 94, 0.8);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* Gallery End */


/* Testimonials Start */

.testimonial-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-anim {
  opacity: 0;
}

.animate-fade {
  animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
  animation: slideUp 1s ease forwards;
}

.animate-zoom {
  animation: zoomIn 1s ease forwards;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes zoomIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

/* Testimonials End */


/* Footer Start */

.footer {
    background-color: #1e2b36;
    color: #ced4da;
    padding: 60px 0 30px;
    font-size: 15px;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer a {
    color: #ced4da;
    text-decoration: none;
}

.footer a:hover {
    color: #28c76f;
}

.footer .social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 50%;
    margin-right: 8px;
    color: #ced4da;
    transition: 0.3s;
}

.footer .social-icons a:hover {
    background-color: #28c76f;
    color: #fff;
    border-color: #28c76f;
}

.footer .gallery img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin: 4px;
    border-radius: 6px;
}

.footer-bottom {
    border-top: 1px solid #334756;
    padding-top: 20px;
    font-size: 14px;
}

/* Footer End */