body {
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.6;
}

#hero {
  background-image: url("../images/hero-bg-2.svg");
  background-position: bottom center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

/* #hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 37, 64, 0.9) 0%,
    rgba(99, 91, 255, 0.8) 100%
  );
  z-index: 0;
} */

#hero .container {
  position: relative;
  z-index: 1;
}

#whyus {
  background-image: url("../images/why-us-bg.svg");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

#funfacts {
  background-image: url("../images/we-deliver-fun-facts.png");
  background-position: top left;
  background-size: 100%;
  background-repeat: no-repeat;
}

#footer {
  background-image: url("../images/footer-bg.svg");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

#footer-link h5 {
  margin-bottom: 15px;
}

#footer-link li {
  padding: 0;
  border: 0;
  background-color: transparent;
}

#footer-link li a {
  text-decoration: none;
  color: white;
  padding: 5px 0;
  display: block;
}

#abt-bg {
  background-image: url("../images/about-us.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

#contactus {
  background-image: url("../images/contactus-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

#contactus-form {
  background: rgba(99, 91, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Note: backdrop-filter has minimal browser support */
}

#reachus {
  background-image: url("../images/reachus-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
}

#freequote-form {
  background: rgba(13, 4, 66, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Note: backdrop-filter has minimal browser support */
}

@media screen and (min-width: 769px) and (max-width: 1300px) {
  #hero {
    background-size: cover;
    background-repeat: no-repeat;
  }

  #funfacts {
    background-position: top 0 left -150px;
    background-size: cover;
    background-repeat: no-repeat;
  }

  #hero-img {
    width: 90;
    margin: 0 auto 100px auto;
  }
}

@media screen and (max-width: 768px) {
  #hero {
    background-position: top 0 right -450px;
    background-size: cover;
    background-repeat: no-repeat;
  }

  #funfacts {
    background-position: top 0 left -400px;
    background-size: cover;
    background-repeat: no-repeat;
  }

  #navbarColor01 ul {
    background-color: #0a2540;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0 !important;
    padding-top: 16px !important;
  }
  #navbarColor01 form {
    background-color: #0a2540;
    border-radius: 0 0 8px 8px;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  #navbarColor01 ul li {
    text-align: center;
    padding: 12px auto;
    display: block;
  }

  #ff-content h1,
  #ff-content p {
    width: 85% !important;
  }

  #ff-facts {
    width: 100% !important;
  }

  #whyus-image {
    width: 150%;
    margin-top: 0;
    padding-top: 0;
  }
}

.dark-text {
  color: #0a2540;
}

.blue-text {
  color: #4361ee;
}

.grey-text {
  color: #6b7280;
}

.px40 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.px18 {
  font-size: 18px;
  line-height: 1.6;
}

.px14 {
  font-size: 14px;
  line-height: 1.6;
}

.bg-grey {
  background-color: #f9fafb;
}

/*Testimonial Carousels*/
.carousel-inner {
  padding: 1.5em;
}

.carousel-control-prev,
.carousel-control-next {
  background-color: #4361ee;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #3a56d4;
}

@media (min-width: 768px) {
  .carousel-item {
    margin-right: 0;
    flex: 0 0 33.333333%;
    display: block;
  }
  .carousel-inner {
    display: flex;
  }
}

.card .img-wrapper {
  max-width: 100%;
  height: 13em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card img {
  max-height: 100%;
}

@media (max-width: 767px) {
  .card .img-wrapper {
    height: 17em;
  }
}

/* Filterable Gallery */
.gallery-title {
  font-size: 36px;
  color: #42b32f;
  text-align: center;
  font-weight: 500;
  margin-bottom: 70px;
}

.gallery-title:after {
  content: "";
  position: absolute;
  width: 7.5%;
  left: 46.5%;
  height: 45px;
  border-bottom: 1px solid #5e5e5e;
}

.filter-button {
  font-size: 18px;
  font-weight: bold;
  border: 0px solid #818597;
  border-radius: 5px;
  text-align: center;
  color: #0a2540;
  margin-bottom: 30px;
}

.filter-button:hover {
  background-color: #818597 !important;
  color: white !important;
}

.btn-default:active .filter-button:active {
  background-color: #42b32f;
  color: white;
}

.port-image {
  width: 100%;
}

.gallery_product {
  margin-bottom: 30px;
}

/*Skill Logo Carousel*/
.blaze-slider {
  --slides-to-show: 1;
  --slide-gap: 20px;
  direction: ltr;
}

.blaze-container {
  position: relative;
}

.blaze-track-container {
  overflow: hidden;
}

.blaze-track {
  will-change: transform;
  touch-action: pan-y;
  display: flex;
  gap: var(--slide-gap);
  --slide-width: calc(
    (100% - (var(--slides-to-show) - 1) * var(--slide-gap)) /
      var(--slides-to-show)
  );
  box-sizing: border-box;
}

.blaze-track > * {
  box-sizing: border-box;
  width: var(--slide-width);
  flex-shrink: 0;
}

/* pagination buttons */

.blaze-slider.dragging .blaze-track {
  cursor: grabbing;
}

.blaze-track > * {
  /*min-height: 300px;*/
  display: flex;
  justify-content: center;
  vertical-align: middle;
  align-items: center;
  transition: width 300ms ease;
}

.blaze-pagination {
  display: flex;
  gap: 8px;
}

.blaze-pagination button {
  font-size: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  outline: none;
  border: none;
  background: hsl(0, 0%, 23%);
  cursor: pointer;
  transition: transform 200ms ease, background-color 300ms ease;
}

.blaze-pagination button.active {
  background: rgb(143, 143, 143);
  transform: scale(1.3);
}

.blaze-next,
.blaze-prev {
  border: none;
  font-size: 0;
  width: 24px;
  height: 24px;
  background: none;
  cursor: pointer;
  background-position: center;
  background-size: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath fill='grey' d='M11.67 3.87L9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z'/%3E%3C/svg%3E");
}

.blaze-next {
  transform: rotate(180deg);
}

.blaze-slider.start .blaze-prev,
.blaze-slider.end .blaze-next {
  opacity: 0.5;
  cursor: not-allowed;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 20px;
}

/* fix layout shifts */

.blaze-slider.my-slider {
  --slides-to-show: 5;
  --slide-gap: 20px;
}

@media (max-width: 900px) {
  .blaze-slider.my-slider {
    --slides-to-show: 3;
  }
}

@media (max-width: 500px) {
  .blaze-slider.my-slider {
    --slides-to-show: 2;
  }
}

/* Button Styles */
.btn {
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #4361ee;
  border-color: #4361ee;
}

.btn-primary:hover {
  background-color: #3a56d4;
  border-color: #3a56d4;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-outline-light {
  border-width: 2px;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Card Styles */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Navbar Styles */
.navbar {
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

/* Remove navigation underline */
.navbar-nav .nav-link.active {
  text-decoration: none;
  border-bottom: none;
  position: relative;
}

.navbar-nav .nav-link.active::after {
  display: none;
}

.navbar-nav .nav-link {
  position: relative;
}

.navbar-nav .nav-link::after {
  display: none;
}

/* Form Styles */
input.form-control,
textarea.form-control,
select.form-control {
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
}

input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

/* Client Logo Hover Effect */
.client-logo {
  opacity: 0.6;
  transition: all 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Apply animations */
.hero-content {
  animation: fadeIn 1s ease-out;
}

.fact-card {
  transition: all 0.3s ease;
}

.fact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.fact-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

/* Social Icons Hover */
.social-icons a {
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #4361ee !important;
  transform: translateY(-3px);
}

/* Footer Link Hover */
#footer-link li a {
  transition: all 0.3s ease;
}

#footer-link li a:hover {
  color: #4361ee !important;
  padding-left: 5px;
}

/* Badge Animation */
.badge {
  animation: pulse 2s infinite;
}

/* Newsletter Box Shadow */
.newsletter-box {
  box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}

/* Icon Box Hover */
.icon-box {
  transition: all 0.3s ease;
}

.card:hover .icon-box {
  background-color: #4361ee !important;
}

.card:hover .icon-box img {
  filter: brightness(0) invert(1);
}

/* Logo Slider */
.logo-slider {
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
  position: relative;
}

.logo-slide-track {
  animation: logo-scroll 30s linear infinite;
  display: flex;
  width: calc(200px * 12);
}

.logo-slide {
  height: 80px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: all 0.3s ease;
}

.logo-slide img {
  max-width: 100%;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.logo-slide:hover img {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 6));
  }
}

/* Pause animation on hover */
.logo-slider:hover .logo-slide-track {
  animation-play-state: paused;
}
