/********** Template CSS **********/
:root {
    --primary: #003478;
    --secondary: #000000;
    --light: #F7F7F7;
    --dark: #404A3D;
    --white: #ffffff;
    --blue: #003478;
    --black:#000000;
    --red:#d30202;
    --offwhite:#FAF7F1;
}
body{
    color: var(--black);
    background-color: var(--offwhite);
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6{
    color: var(--black) !important;
}
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 500 !important;
}

.text-primary {
    color: var(--white) !important;
}
.text-secondary {
    color: var(--red) !important;
}
.text-dark{
    color: var(--black) !important;
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.top-header-info {
    font-size: .85em;
    position: relative;
    z-index: 21;
    border-top: 5px solid #ed1b25;
    overflow: hidden;
    padding-bottom: 5px;
}
.top-header-info:after {
    border-color: #ec1b25 transparent;
    border-style: solid;
    border-width: 50px 0 0 45px;
    content: " ";
    position: absolute;
    width: 100%;
    left: 20%;
    top: 0;
    z-index: -1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary{
    background-color: var(--red);
    border-color: var(--red);
}
.btn-primary:hover{
    background-color: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--blue);
}

.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;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    height: 90px;
}


@media (max-width: 768px) {
    .navbar.sticky-top {
        height: auto;
    }
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 25px 0;
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

nav.navbar.sticky-top.fixed-nav .logo{
    top: 0;
}

nav.navbar.sticky-top.fixed-nav .logo img {
    background-size: 100%;
    width: 70px;
    height: 70px;
}


@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        min-width: 15rem;
        border-radius: 0;
        padding: 0;  
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #c4c4c4;
        border-left: 0;
        border-right: 0;
    }
    .dropdown-item:hover {
        color: var(--white);
        background-color: var(--red);
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
         
    }
}

.navbar-light .navbar-toggler{
    background-color: var(--white);
}




@media (max-width: 768px) {
    nav #navbarCollapse {
        position: absolute;
        top: 100px;
        left: 0;
        background: var(--blue);
        width: 100%;
        box-shadow: 0 15px 15px rgba(0, 0, 0, 0.25);
    }

    .navbar .navbar-nav{
        padding: 30px !important;
    }
}

/*** Header ***/

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
   /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,000000+100&0+0,1+100 */
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) -50%, rgba(0,0,0,.5) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) -50%,rgba(0,0,0,.5) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) -50%,rgba(0,0,0,.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
    z-index: 1;
    /* padding-top: 16rem; */
}

@media (max-width: 768px) {
  
    .carousel-caption {
        top: 70px;
        background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(0,0,0,.5) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,0,0,.5) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(0,0,0,.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--blue);
    border: 10px solid var(--blue);
}

@media (max-width: 768px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
        border-radius: 3rem;
        background-color: var(--blue);
        border: 8px solid var(--blue);
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        height: 350px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.carousel-title{
    font-size: 3rem;
}

@media (max-width: 768px) {
    .carousel-title{
        font-size: 2rem;
    }
}

.carousel-copy{
    font-size: 2rem;
}

@media (max-width: 768px) {
    .carousel-copy{
        font-size: 1rem;
        line-height: 1.2em;
    }
}

.carousel-item:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.25);
}


.carousel-indicators [data-bs-target] {
    position: relative;
    width: 30px;
    height: 5px;
    border: none;
    border-radius: 25px;
  }
  
  .carousel-indicators [data-bs-target] span {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--red);
    border-radius: inherit;
  }
  
  

.heroBanner {
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
  

  @media (max-width: 768px) {
    .heroBanner {
        height: 100%;
        background-position: 100%;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

  .heroBannerImg1 {
    background-image: url('../img/banner1.jpg');
  }
  
  .heroBannerImg2 {
    background-image: url('../img/banner2.jpg');
  }

  .heroBannerImg3 {
    background-image: url('../img/banner3.jpg');
  }
  
  .heroBannerImg4 {
    background-image: url('../img/banner.jpg');
  }

  .heroBannerImg4 + .carousel-caption h1{
    font-size: 5rem;
  }

  @media (max-width: 768px) {
        .heroBannerImg4 + .carousel-caption h1{
            font-size: 2rem;
        }
    }

    .heroBannerImg4 + .carousel-caption h2 {
        font-size: 3rem;
    }

@media (max-width: 768px) {
    .heroBannerImg4 + .carousel-caption h2{
        font-size: 1rem;
    }
}
  
  .heroBanner {
    animation: 20000ms ease 0s normal none infinite running zoomEffect;
    -webkit-animation: 20000ms ease 0s normal none infinite running zoomEffect;
    -o-animation: 20000ms ease 0s normal none infinite running zoomEffect;
    -moz-o-animation: 20000ms ease 0s normal none infinite running zoomEffect;
  }
  
  @keyframes zoomEffect {
    from {
      transform: scale(1.2, 1.2)
    }
    to {
      transform: scale(1, 1)
    }
  }

.page-header {
    background: url(../img/banner6.jpg) center center no-repeat;
    background-size: cover;
}

.page-header-about {
    background: url(../img/banner6.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}



/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--red) !important;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 5px;
    left: -40px;
    background: var(--red);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 6px;
    left: -60px;
    background: var(--red);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-experience {
    /* position: absolute; */
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    border-radius: 10px 100px 10px 100px;
    /* box-shadow: 0px 1px 2px rgb(0 0 0 / 10%); */
    background-color: var(--white);
    transition: all 0.2s ease-out;
}

/* .service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--red);
    border-radius: 10px;
    transition: .5s ease-out;
    z-index: -1;
} */

.service-item:hover {
    /* box-shadow: 0px 8px 8px rgb(0 0 0 / 20%); */
}

.service-item .image-outer-style {
    position: relative;
    border-radius: 0px 100px 10px 100px;
    overflow: hidden;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: 0;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .65);
    border-radius: 10px;
    z-index: 1;
}

.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: -1;
}

.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 -6px 0px rgb(0 52 120);
    margin: -100px auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    /* color: #FFFFFF; */
}

.service-item .service-text .btn {
    color: var(--secondary);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.service-item .service-text .btn:hover {
    color: var(--dark);
    background: var(--secondary);
}


/* services inner  */


.service-wrapper .service-text {
    padding: 80px 20px 80px 140px;
}

@media (max-width: 768px) {
    .service-wrapper .service-text {
        padding: 20px;
    }
}

.service-wrapper .service-item .service-text .service-icon {
    box-shadow: -10px 0px 0px rgb(0 52 120);
    margin: 0px auto 20px;
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translate(10px, -50%);
}


@media (max-width: 768px) {
    .service-wrapper .service-item .service-text .service-icon {
        position: relative;
        box-shadow: -10px 0px 0px rgb(0 52 120);
        margin: -100px auto 40px;
        left: 0px;
        top: 0%;
        transform: translate(0px, 0%);
    }
}




/*** Product ***/
.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.product-item:hover .product-overlay {
    opacity: 1;
    padding-top: 0;
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    /* border-radius: 8px; */
    /* box-shadow: 0 0 45px rgba(0, 0, 0, .07); */
}

.team-item .btn {
    border-color: transparent;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.team-item-profile {
    border-radius: 100%;
    width: 250px;
    height: 250px;
    overflow: hidden;
    margin: 0 auto 30px;
}

/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
}

.testimonial-img::after {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 200px;
    color: #EEEEEE;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-img img {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-img img:nth-child(1) {
    top: 0;
    left: 0;
}

.testimonial-img img:nth-child(2) {
    top: 60%;
    left: 20%;
}

.testimonial-img img:nth-child(3) {
    top: 20%;
    left: 60%;
}

.testimonial-img img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.testimonial-img img .animated.pulse {
    animation-duration: 2s;
}

/* .testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
} */

.testimonial-carousel .owl-nav {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 45px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    background-color: var(--red);
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--blue);
}

.testimonial-carousel .owl-nav .owl-prev .bi-chevron-left,
.testimonial-carousel .owl-nav .owl-next .bi-chevron-right {
    transition: all .3s linear;
}

.testimonial-carousel .owl-nav .owl-prev:hover .bi-chevron-left {
    margin-right: 5px;
}

.testimonial-carousel .owl-nav .owl-next:hover .bi-chevron-right {
    margin-left: 5px;
}


/*** Footer ***/

.subscriber-box {
    position: relative;
    background: #dc3545;
    border-radius: 100px;
    width: 800px;
    margin: 0 auto -60px;
    padding: 30px;
    color: #fff;
    z-index: 999;
}

@media (max-width: 768px) {
    .subscriber-box {
        flex-direction: column;
        width: 100%;
        margin: 0 0 50px;
    }
}

.footer {
    color: var(--offwhite);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--offwhite);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.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 {
    color: var(--light);
    /* letter-spacing: 1px; */
    box-shadow: none;
}

.logo {
    position: relative;
    right: 0px;
    top: -22px;
}

@media (max-width: 768px) {
    .logo {
        top: 0px;
    }
}

.logo img {
    background-size: 100%;
    width: 105px;
    height: 105px;
}

@media (max-width: 768px) {
    .logo img {
        width: 75px;
        height: 75px;
    }
}



.logotagline {
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

.logotagline p {
    color: #fff;
    font-size: 22px;
    margin: 0 0 0px;
    line-height: 1.2em;
}

.logotagline small {
    color: #fff;
    font-size: 14px;
}


/* top header */
.bg-red {
    background-color: var(--red);
}

.bg-yellow{
    background-color: var(--secondary);;
}

.bg-blue{
    background-color: var(--blue);
}

.bg-offwhite{
    background-color: var(--offwhite);
}

.btn-secondary{
    background-color: var(--white);
    border: 1px solid var(--blue);
}
.btn-secondary:hover{
    background-color: var(--red);
    border: 1px solid var(--red);
    color: var(--white);
}

.btn-secondary.btn-blue{
    background-color: var(--white);
    border: 1px solid var(--white);
    color: var(--blue);
}
.btn-secondary.btn-blue:hover{
    background-color: var(--blue);
    border: 1px solid var(--blue);
    color: var(--white);
}
/* our stats */
.our-stats {
    background-color: #003478;
    padding: 40px 0 5px;
}

.our-team:before {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #e6e3de;
    z-index: -1;
}

/* clients */

.client-item {
    background: #fff;
    padding: 10px;
    box-shadow: 0 8px 10px rgb(0 0 0 / 10%);
    border-radius: 5px;
    margin: 0 auto 20px;
    transition: all 0.2s ease-out;
    width: 145px;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-item:hover {
    box-shadow: 0px 10px 14px rgb(0 0 0 / 20%);
}
.banner:before {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    opacity: .5;
    z-index: -1;
    top: 0;
    left: 0;
    bottom: 0;
}


/* design style */

.image-outer-style{
    position: relative;
}
.image-outer-style::before{
    content: "";
    position: absolute;
    background-image: url(../img/dots.png);
    background-size: 2%;
    background-position: 0 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    left: -33px;
    top: 35px;
}

.image-outer-style-right::before{
    content: "";
    position: absolute;
    background-image: url(../img/dots.png);
    background-size: 2%;
    background-position: 0 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    left: 0;
    left: 33px;
    top: 35px;
}

.image-outer-style img {
    width: 100%;
    height: 100%;
}


.page-header{
    position: relative;
}

.page-header .container{
    position: relative;
    z-index: 1;

}

.page-header:after {
    content: " ";
    background: rgba(0,0,0,.35);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
}


.label {
    border: 1px solid #003478;
    margin-bottom: 40px;
}
.label p {
    background: #003478;
    padding: 10px;
    color: #fff;
    text-align: center;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.label a {
    display: block;
    padding: 5px;
    background: #003478;
}

.form-control{
    color: var(--black);
}