/********** Template CSS **********/
:root {
  --primary: #1363c6;
  --secondary: #15ace1;
  --light: #f4f7fe;
  --dark: #14183e;
}
body {
  font-family: "Urbanist", sans-serif !important;
  font-size: 1.15rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Urbanist", sans-serif !important;
}
h6 {
  font-size: 1.05rem;
}
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
  font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
  font-weight: 500 !important;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Navbar ***/
.sticky-top {
  top: -150px;
  transition: 0.5s;
  background: #1363c6;
  background: #fff !important;
}

.navbar {
  padding: 11px 0 !important;
  height: 75px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 25px;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  color: #333;
  outline: none;
  font-weight: 500;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: rgb(14 111 139);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    padding: 0 15px;
    background: #002653;
  }

  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
    color: #fff;
  }
  .team-item h5 {
    font-size: 22px;
    line-height: 28px;
  }

  .navbar-dark .navbar-toggler {
    color: rgb(0 0 0);
    border-color: rgb(0 0 0);
    width: 16.5%;
  }

  .navbar-dark .navbar-toggler-icon {
    background-image: url("../img/menu-lines.png") !important;
  }

  .navbar .navbar-brand img {
    width: 220px;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }

  .footer .copyright .col-md-6:last-child p {
    text-align: center;
  }
}

.dropdown-menu {
  padding: 5px;
  border-radius: 0px;
  background: #fff !important;
}
.dropdown-item {
  padding: 0.5rem 1rem;
  margin-bottom: 2px;
  font-weight: 500;
}
.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #14183e;
  background-color: #008ead;
}
.dropdown-item:hover,
.dropdown-item:focus {
  color: #fff;
  background-color: #008ead;
}
/*** Hero Header ***/
.hero-header {
  /* margin-top: -75px; */
  background: url(../img/banner-img.webp) center center no-repeat;
  background-size: cover;
  background-color: #000000db !important;
}
.hero-header.Contact {
  background: url(../img/banner/contact.webp) center center no-repeat;
  background-size: cover;
  background-color: #000000db !important;
}
.hero-header.About {
  background: url(../img/banner/about-banner.webp) center center no-repeat;
  background-size: cover;
  background-color: #000000db !important;
}

.hero-header.Team {
  background: url(../img/banner/Team.webp) center center no-repeat;
  background-size: cover;
  background-color: #000000db !important;
}

.hero-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}
.hero-header h1 {
  text-shadow: 2px 2px 3px #000;
}
.hero-header p {
  text-shadow: 2px 2px 3px #000;
}

/*** Section Title ***/
.section-title::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 4px;
  bottom: 0;
  left: 0;
  background: var(--dark);
}

.section-title::after {
  position: absolute;
  content: "";
  width: 4px;
  height: 4px;
  bottom: 0;
  left: 50px;
  background: var(--dark);
}

.section-title.text-center::before {
  left: 50%;
  margin-left: -25px;
}

.section-title.text-center::after {
  left: 50%;
  margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  top: 2px;
  left: 0;
  background: rgba(33, 66, 177, 0.5);
}

.section-title h6::after {
  top: 5px;
  left: 3px;
}

/*** About ***/
.about-img {
  position: relative;
  overflow: hidden;
}

.about-img::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(../img/bg-about-img.png) top left no-repeat;
  background-size: contain;
}

/*** Service ***/
.service-item {
  position: relative;
  padding: 45px 30px;
  background: #ffffff;
  transition: 0.5s;
}

.service-item:hover {
  background: var(--primary);
}

.service-item .service-icon {
  margin: 0 auto 20px auto;
  width: 90px;
  height: 90px;
  color: var(--primary);
  background: var(--light);
  transition: 0.5s;
}

.service-item:hover .service-icon {
  background: #ffffff;
}

.service-item h5,
.service-item p {
  transition: 0.5s;
}

.service-item:hover h5,
.service-item:hover p {
  color: #ffffff;
}

.service-item a.btn {
  position: relative;
  display: flex;
  color: var(--primary);
  transition: 0.5s;
  z-index: 1;
}

.service-item:hover a.btn {
  color: var(--primary);
}

.service-item a.btn::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 35px;
  top: 0;
  left: 0;
  border-radius: 35px;
  background: var(--light);
  transition: 0.5s;
  z-index: -1;
}

.service-item:hover a.btn::before {
  width: 100%;
  background: var(--light);
}

/*** Feature ***/
.feature {
  background: url(../img/feature2.webp) center center no-repeat;
  background-size: cover;
}

.links {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}
.links li {
  display: inline-block;
  margin-bottom: 6px;
  margin-right: 2px;
}
.links li a {
  color: #fff;
  padding: 8px 20px;
  border: 1px solid #fff;
  background: #1363c6;
  /* border-radius: 35px; */
  display: block;
}
.links li a:hover {
  background: #14183e;
}

.btns {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}
.btns li {
  display: inline-block;
  margin-bottom: 10px;
  margin-right: 5px;
  padding: 6px 20px;
  border: 1px solid #8b8b8b;
  border-radius: 50px;
  text-align: center;
}
.TabMenu {
  list-style: none;
  text-align: center;
}
.TabMenu li {
  padding: 20px 10px;
  background: #1363c6;
  color: #fff;
  border-bottom: 1px solid #fff;
}
.TabMenu li a {
  color: #fff;
  font-size: 20px;
  display: block;
}
.TabMenu li.active,
.TabMenu li:hover {
  background: #14183e;
}
.TabMenu li.active a {
  color: #fff;
}
/*** Newsletter ***/
.newsletter {
  background: url(../img/bg-hero.png) center center no-repeat;
  background-size: cover;
}

.List {
  list-style: none;
  padding: 0;
}
.List li {
  border: 1px solid #fff;
  background: #1363d7;
  padding: 8px 7px;
  color: #fff;
  font-size: 16px;
  margin-bottom: 5px;
  text-align: center;
}
.List li:hover {
  background: #14183e;
  border: 1px solid #fff;
}
.vertical-tabs {
  display: flex;
}

.tab-buttons {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tab-link {
  border: none;
  cursor: pointer;
  transition: 0.3s;
  padding: 20px 10px;
  background: #1363c6;
  border-bottom: 2px solid #fff;
  font-size: 20px;
  text-align: center;
  color: #fff;
}

.tab-link:hover,
.tab-link.active {
  background-color: #14183e;
}

.tab-content-container {
  flex: 3;
  padding: 20px;
  height: 300px;
  overflow-y: hidden; /* No scrollbar */
  position: relative;
}

.tab-content {
  display: block;
  height: 430px; /* Same as the container height */
  overflow: hidden;
}

@media (min-width: 992px) {
  .newsletter .container {
    max-width: 100% !important;
  }

  .newsletter .newsletter-text {
    padding-right: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .newsletter .newsletter-text {
    padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .newsletter .newsletter-text {
    padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
  }

  .tab-content-container {
    flex: 3;
    padding: 30px;
    height: 430px;
    overflow-y: hidden; /* No scrollbar */
    position: relative;
  }
}

/*** Case Study ***/
.case-item img {
  transition: 0.5s;
}

.case-item:hover img {
  transform: scale(1.2);
}

.case-overlay {
  position: absolute;
  padding: 30px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
  z-index: 1;
}

.case-overlay small {
  display: inline-block;
  padding: 3px 15px;
  color: #ffffff;
  background: rgba(20, 24, 62, 0.7);
  border-radius: 25px;
  margin-bottom: 15px;
}

.case-overlay span.btn:hover {
  color: var(--primary);
  background: #ffffff;
  border-color: #ffffff;
}

.Other-Products {
  list-style: none;
  padding: 0;
}
.Other-Products li {
  display: inline-block;
  border: 1px solid #fff;
  background: #14183e;
  padding: 6px 12px;
}
.Other-Products li:hover {
  background: #1363c6;
  border: 1px solid #fff;
}
.Other-Products li a {
  color: #fff;
  font-size: 16px;
}
.Other-Products li.active {
  background: #1363c6;
}
/*** FAQs ***/
.accordion .accordion-item {
  border: none;
  margin-bottom: 15px;
}

.accordion .accordion-button {
  background: var(--light);
  border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
  color: #ffffff;
  background: var(--primary);
  box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
  padding: 15px 0 0 0;
}

/*** Testimonial ***/
.testimonial-carousel {
  position: relative;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 40px;
  height: 100%;
  top: calc(50% - 50px);
  left: -21px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 5px 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #ffffff;
  border: 1px solid var(--primary);
  border-radius: 40px;
  font-size: 18px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  color: #ffffff;
}

.testimonial-carousel .owl-dots {
  margin-top: 35px;
  margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  width: 15px;
  height: 15px;
  background: #ffffff;
  border: 1px solid var(--primary);
  border-radius: 15px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: var(--primary);
}

/*** Team ***/
.team-item {
  transition: 0.5s;
  border: 1px solid transparent;
  transition: 0.5s;
}

.team-item:hover {
  border-color: var(--primary);
}

/*** Footer ***/
.footer {
  background: url(../img/footer.png) center center no-repeat;
  background-size: contain;
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(256, 256, 256, 0.1);
  border-radius: 40px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  transition: 0.3s;
}

.footer .btn.btn-link:hover {
  color: #ffffff;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 15px 0;
  font-size: 16px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: rgba(255, 255, 255, 0.5);
}

.footer .copyright a:hover {
  color: #ffffff;
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}
.footer .copyright .col-md-6:last-child p {
  text-align: right;
}

.form-group {
  margin-bottom: 5px;
  position: relative;
}

/* Validation Messages */
#contactForm .form-control {
  padding: 0.75rem 0.75rem;
  border-radius: 0px;
}
#contactForm .btn {
  border-radius: 0px;
}
.validation-message {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  position: absolute;
  top: 100%;
}

.error {
  color: red;
}

.successMsg {
  color: green;
}

.valid {
  border-color: green;
}

.invalid {
  border-color: red;
}

@media (max-width: 420px) {
  .tab-content-container {
    height: 875px;
  }
  .tab-content {
    height: 1050px;
  }

  .vertical-tabs {
    display: block;
  }

  .btns li {
    font-size: 15px;
}

  .footer .copyright .col-md-6:last-child p {
    text-align: center;
  }
}
