html,
body {
  --bs-blue: #002555;
  --bs-primary: #002555;
  --bs-secondary: #ea001e;
  --bs-dark: #000c21;
}

body {
  overflow-x: hidden;
  background: #f4f7fa;
}

.feature,
.service,
.contact,
.testimonial,
.page-header + .container-fluid:not(.counter):not(.footer) {
  background-color: #f4f7fa !important;
}

.about,
.categories,
.faq-section {
  background-color: #eaf0f6 !important;
}

.feature-item,
.service-item,
.contact-add-item,
.testimonial-item,
.mini-article,
.content-card {
  background-color: #fff;
}

.topbar {
  display: none !important;
}

.text-primary {
  color: #002555 !important;
}

.bg-primary,
.btn-primary,
.btn.btn-primary {
  background-color: #002555 !important;
  border-color: #002555 !important;
}

.btn-primary:hover,
.btn.btn-primary:hover {
  background-color: #ea001e !important;
  border-color: #ea001e !important;
}

.btn-secondary,
.btn.btn-secondary {
  background-color: #ea001e !important;
  border-color: #ea001e !important;
}

.btn-secondary:hover,
.btn.btn-secondary:hover {
  background-color: #002555 !important;
  border-color: #002555 !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #002555 !important;
}

.dropdown .dropdown-menu a:hover {
  background: #002555 !important;
  color: #fff !important;
}

.topbar .text-primary,
.footer .footer-item a:hover {
  color: #002555 !important;
}

.navbar-brand img {
  max-height: 74px;
  max-width: 260px;
  width: auto;
}

@media (min-width: 992px) {
  .nav-bar.sticky-top .navbar-light .navbar-brand img {
    max-height: 62px;
    max-width: 300px;
  }
}

.language-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef3fb;
  color: #002555;
  font-weight: 800;
  border: 1px solid rgba(0, 37, 85, 0.12);
  transition: 0.25s ease;
}

.language-pill:hover,
.language-pill.active {
  background: #002555;
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 1rem;
}

.nav-actions .btn {
  white-space: nowrap;
}

.floating-contact {
  position: fixed;
  left: 0;
  right: auto;
  top: 48%;
  transform: translateY(-50%);
  z-index: 1040;
  display: grid;
  gap: 0.65rem;
}

.float-card {
  width: 82px;
  min-height: 74px;
  display: grid;
  place-items: center;
  gap: 0.1rem;
  padding: 0.65rem 0.45rem;
  border-radius: 0 8px 8px 0;
  background: #fff;
  color: #002555;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 37, 85, 0.1);
  border-left: 0;
  text-align: center;
  line-height: 1.05;
  transition: 0.25s ease;
}

.float-card:hover {
  width: 176px;
  color: #002555;
}

.float-card i {
  color: #002555;
  font-size: 1.25rem;
}

.float-card span {
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.float-card small {
  display: none;
  color: #5f6b7d;
  font-size: 0.72rem;
  line-height: 1.2;
}

.float-card:hover small {
  display: block;
}

.float-card.primary {
  background: #002555;
  color: #fff;
}

.float-card.primary i,
.float-card.primary small {
  color: #fff;
}

.hero-form {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.feature .feature-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 1.15rem;
  align-items: start;
  min-height: 210px;
}

.feature .feature-item .feature-icon,
.service .service-item .service-icon,
.contact .contact-add-item .contact-icon {
  background: transparent !important;
  color: #002555 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.about .about-item-inner .about-icon {
  width: 90px;
  height: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #002555;
  border-radius: 58% 42% 46% 54% / 52% 38% 62% 48%;
  margin-left: auto;
  margin-right: auto;
}

.about .about-item-inner .about-icon i {
  color: #fff !important;
  font-size: 2rem;
  line-height: 1;
}

.feature .feature-item .feature-icon {
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
}

.feature .feature-item .feature-icon i,
.service .service-item .service-icon i,
.contact .contact-add-item .contact-icon i,
.feature .feature-item i,
.service .service-item i,
.contact .contact-add-item i {
  color: #002555 !important;
}

.counter .counter-item,
.counter .counter-item .counter-counting span,
.counter .counter-item h4,
.counter .counter-item .counter-item-icon,
.counter .counter-item .counter-item-icon i,
.counter .counter-item i {
  color: #fff !important;
}

.counter .counter-item .counter-item-icon {
  background: transparent !important;
  box-shadow: none !important;
}

.steps {
  background: #f5f7fa !important;
  border-top: 1px solid #e1e5ea;
  border-bottom: 1px solid #e1e5ea;
}

.steps .text-primary {
  color: #002555 !important;
}

.steps h1 {
  color: #000c21 !important;
}

.steps .steps-item {
  min-height: 170px;
  padding: 1.75rem !important;
  background: #fff !important;
  border: 1px solid #d5dae1;
  border-left: 4px solid #002555;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 37, 85, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.steps .steps-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 37, 85, 0.13);
}

.steps .steps-item h4 {
  padding-right: 58px;
  color: #002555 !important;
}

.steps .steps-item p {
  max-width: 90%;
  color: #5f6978 !important;
}

.steps .steps-item .setps-number {
  top: 18px;
  right: 18px;
  bottom: auto;
  width: 46px;
  height: 46px;
  transform: none;
  color: #fff;
  background: #002555;
  border: 2px solid #c7c9cc;
  border-radius: 50%;
  font-size: 0.8rem;
}

.feature .feature-item .feature-icon i {
  font-size: 2rem;
}

.feature .feature-item h5 {
  margin-bottom: 0.4rem;
}

.feature .feature-item p {
  grid-column: 2;
  margin-bottom: 0;
}

.hero-title {
  max-width: 610px;
}

.hero-title p {
  font-size: 1.15rem;
}

.carousel-caption {
  background: linear-gradient(90deg, rgba(0, 37, 85, 0.88), rgba(0, 37, 85, 0.32));
}

.categories-img {
  height: 236px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f2f2f2;
}

.categories-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categories .categories-item,
.testimonial .testimonial-item {
  border-color: #c7c9cc !important;
}

.categories .categories-item:hover,
.testimonial .testimonial-item:hover {
  border-color: #aeb4bd !important;
}

.categories .categories-item .categories-item-inner:hover {
  box-shadow: 0 18px 45px rgba(0, 37, 85, 0.12) !important;
}

.service-carousel-section .categories-content {
  min-height: 86px;
  display: flex;
  align-items: center;
}

.service-carousel-section .categories-content h4 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.service-item,
.feature-item,
.contact-add-item,
.categories-item-inner {
  height: 100%;
}

.office-map-preview {
  position: relative;
  height: 138px;
  margin: 1rem 0;
  overflow: hidden;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  background: #eaf0f6;
}

.office-map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.office-map-preview > a {
  position: absolute !important;
  z-index: 3;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 0.55rem !important;
  width: max-content;
  max-width: calc(100% - 1rem);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.75rem !important;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 5px;
  background: #002555;
  color: #fff !important;
  box-shadow: 0 5px 16px rgba(0, 37, 85, 0.28);
  text-decoration: none !important;
}

.office-map-preview > a span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff !important;
  box-shadow: none;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.contact .contact-add-item .office-map-preview > a i {
  color: #fff !important;
}

.contact .contact-add-item .office-local-page {
  display: block;
  width: fit-content;
  margin: 0.75rem auto 0;
  color: #002555 !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-logo {
  max-width: 310px;
  height: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.footer a {
  word-break: break-word;
}

.footer {
  margin-top: 0;
}

.footer a,
.footer p,
.copyright,
.copyright a {
  color: #fff !important;
}

.footer .btn-secondary,
.footer .btn.btn-secondary {
  color: #002555 !important;
  background: #fff !important;
  border-color: #fff !important;
}

.footer .btn-secondary i,
.footer .btn.btn-secondary i {
  color: #002555 !important;
}

.banner {
  padding-top: 4rem;
  padding-bottom: 4rem !important;
  margin-bottom: 3rem;
}

.banner .banner-item {
  min-height: 380px;
}

.banner .banner-content .text-primary {
  color: #fff !important;
}

.banner .banner-item img {
  min-height: 380px;
  object-fit: cover;
}

.banner .banner-item .banner-content {
  padding: 2rem;
}

.banner .banner-item .banner-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.8rem) !important;
  margin-bottom: 0.75rem !important;
}

.banner .banner-item .banner-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  line-height: 1.05;
  margin-bottom: 0.75rem !important;
}

.banner .banner-item .banner-content p {
  font-size: clamp(1rem, 2vw, 1.45rem) !important;
  margin-bottom: 1.25rem !important;
}

.banner .banner-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 991.98px) {
  .nav-actions {
    width: 100%;
    margin: 0.8rem 0 0;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .carousel .carousel-item,
  .carousel .carousel-item img {
    min-height: 820px;
  }

  .carousel-caption {
    align-items: flex-start;
    padding-top: 2rem;
  }

  .hero-form {
    padding: 2rem !important;
  }

  .feature .feature-item {
    grid-template-columns: 52px 1fr;
  }

  .banner .banner-item,
  .banner .banner-item img {
    min-height: 460px;
  }
}

@media (max-width: 575.98px) {
  .carousel .carousel-item,
  .carousel .carousel-item img {
    min-height: 900px;
  }

  .display-5 {
    font-size: 2rem;
  }

  .topbar {
    display: none !important;
  }

  .floating-contact {
    display: none !important;
  }

  .float-card,
  .float-card:hover {
    width: 64px;
    min-width: 64px;
    min-height: 58px;
    padding: 0.45rem 0.25rem;
    border: 1px solid rgba(0, 37, 85, 0.1);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 6px 18px rgba(0, 37, 85, 0.14);
  }

  .float-card i {
    font-size: 1.05rem;
  }

  .float-card span {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.54rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .float-card small,
  .float-card:hover small {
    display: none;
  }

  .back-to-top {
    display: none !important;
  }

  .navbar-brand img {
    max-width: 210px;
    max-height: 58px;
  }

  .feature .feature-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature .feature-item .feature-icon {
    margin: 0 auto 0.75rem !important;
  }

  .feature .feature-item p {
    grid-column: 1;
  }

  .banner .banner-item,
  .banner .banner-item img {
    min-height: 520px;
  }

  .banner .banner-btn .btn {
    width: 100%;
    margin: 0 !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .floating-contact {
    display: none !important;
  }
}
