/********** Template CSS **********/
:root {
  /* --primary: #010066;
  --secondary: #010066; */
  --primary: #005DAC;
  --secondary: #005DAC;
  --light: #eef9ff;
  --dark: #005DAC;
}
body::-webkit-scrollbar {
  width: 0.5em;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  outline: 1px solid var(--primary);
}

h1,
h2,
.font-weight-bold {
  font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
  font-weight: 600 !important;
}

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

.btn {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  transition: 0.5s;
}

.btn-primary,
.btn-secondary {
  background: var(--secondary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

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

.top-shape::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 100%;
  top: 0;
  left: -17px;
  background: var(--primary);
  transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Lato", sans-serif;
  padding: 35px 15px;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

.carousel-item .carousel-caption {
  top: 0;
  left: 100px !important;
  right: 0;
  bottom: 0;
  z-index: 1;
  text-align: left !important;
}

@media (max-width: 576px) {
  .carousel-caption h5 {
    font-size: 12px;
    font-weight: 500 !important;
  }

  .carousel-caption h2 {
    font-size: 18px;
    font-weight: 600 !important;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (min-width: 991.98px) {
  .banner {
    position: relative;
    margin-top: -90px;
    z-index: 1;
  }
}
.section-title h2 {
  color: #005DAC;
  font-weight: 500 !important;
}
.section-title h5::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 3px;
  right: -55px;
  bottom: 11px;
  background: var(--primary);
}

.section-title h5::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 3px;
  right: -75px;
  bottom: 11px;
  background: var(--secondary);
}

/* Custom css new 2022 August */

.bg-gradient-footer {
  background: #221E1F;
  /* background: linear-gradient(0deg, #000034 0%, #020254 100%); */
}

.btn-clsa {
  color: #005DAC;
  background-color: transparent;
  border: 2px solid #005DAC;
  border-radius: 60px;
}
.btn-clsa:hover {
  color: #fff;
  background-color: #005DAC;
  border: 2px solid #005DAC;
}
.btn-clsa-sr {
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 60px;
}
.btn-clsa-sr:hover {
  color: #005DAC;
  background-color: #fff;
  border: 2px solid #fff;
}
.border-r {
  border-right: 2px solid #005DAC;
  line-height: 0px;
}
.bg-top {
  border-bottom: 1px solid #ededed;
}
.top-bar a {
  text-decoration: none;
  color: #005DAC;
}
.top-bar a:hover {
  color: #005DAC;
}
.social-icon-border {
  border: 2px solid;
  border-radius: 60px;
  padding: 2px 7px;
}
.footer-p a {
  text-decoration: none;
}

.abt-img {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
}
.img-wrap-b::after {
  position: relative;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  transition: all 0.25s ease-out;
  background-color: #A90D2C;
  top: -25px;
  left: -25px;
}
.img-wrap-b::before {
  position: relative;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  transition: all 0.25s ease-out;
  /* background-color: rgb(10, 2, 79); */
  background-color: #005DAC;
  bottom: -25px;
  right: -25px;
}
.section-padding {
  padding-right: 25px;
}

@media (min-width: 320px) and (max-width: 767px) {
  .abt-img-r {
    content-visibility: hidden;
  }
}

.abt-img-r {
  Left: 50px;
}

/* Services Section */

@media (min-width: 320px) and (max-width: 767px) {
   .content:after {
    height: calc(100% - 5px) !important; /* shrink overlay */
  }
  .content-image {
    padding-bottom: 5px;
  }

}

.content {
  position: relative;
  width: 99%;
  height: 400px;
  margin: auto;
  overflow: hidden;
}
.content:after {
  width: 100%;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  /* background-color: #000000b0; */
  /* background-color: #000000b0; */
  background: linear-gradient(to top right, #231F20, #005DAC);
  background: linear-gradient(to bottom left, to top right, rgba(35,31,32,0.8) 100%, rgba(0,93,172,0.6) 100%);
  background: -moz-linear-gradient(135deg, rgba(35,31,32,0.8) 0%, rgba(0,93,172,0.6) 100%); /* FF3.6+ */
  background: -webkit-linear-gradient(135deg, rgba(35,31,32,0.8) 0%, rgba(0,93,172,0.6) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(135deg, rgba(35,31,32,0.8) 0%, rgba(0,93,172,0.6) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(135deg, rgba(35,31,32,0.8) 0%, rgba(0,93,172,0.6) 100%); /* IE10+ */
  background: linear-gradient(135deg, rgba(35,31,32,0.8) 0%, rgba(0,93,172,0.6) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#CC231F20', endColorstr='#99005DAC', GradientType=1); /* IE6-9 */
  height: 100%;
}
.content .service-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  text-align: center;
  color: white;
  z-index: 1;
  transition: top 0.5s ease;
}
.content:hover .service-content {
  top: -20px;
  color: transparent;
}
.content .content-overlay {
  background: rgba(5, 15, 83, 0.538);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay {
  opacity: 1;
  z-index: 1;
}

.content-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.content:hover .content-details {
  top: 50%;
  left: 50%;
  opacity: 1;
  z-index: 1;
}

.content-details h3 {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.content-details p {
  color: #fff;
  font-size: 0.8em;
}

.fadeIn-top {
  top: 20%;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .img-wrap-b::after {
    display: none;
  }
  .img-wrap-b::before {
    display: none;
  }
  .abt-img-r {
    right: unset;
  }
  .carousel-item .carousel-caption {
    top: 0;
    left: 0 !important;
    right: 0;
    bottom: 0;
    z-index: 1;
    text-align: center !important;
  }
}

@media (max-width: 991.98px) {
  .abt-img-r {
    right: unset;
  }
}

.img-al-mid {
  display: flex;
  align-items: center;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 991.98px) {
  .contact-details {
    justify-content: space-around;
    text-align: center;
  }
  .contact-details li {
    margin-bottom: 0.5em;
  }
  .contact-details li:last-child {
    margin-bottom: 0;
  }
  .navbar-collapse {
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  .contact-details {
    justify-content: space-between;
  }
}
@media (max-width: 499.98px) {
  .contact-details {
    flex-direction: column;
  }
}


.container-fluid.bg-light {
    border-top: 3px solid #007bff; /* subtle top line */
    background-color: #f8f9fa;      /* light gray background */
}

.container-fluid.bg-light h3 {
    color: #007bff;                 /* headline color */
    font-weight: 700;
}

.container-fluid.bg-light p {
    font-size: 1.1rem;
    color: #333;
}