/********** Template CSS **********/
:root {
    --primary: #002e94;
    --secondary: #51CFED;
    --light: #F8F2F0;
    --dark: #060315;
}
.bg-light-gray {
    background: #f3f5ff;
}

.fw-medium {
    font-weight: 600 !important;
}
.font-13 {
    font-size: 13px !important;
}
.font-15 {
    font-size: 15px  !important;
}

.font-18 {
    font-size: 18px  !important;
}
.font-25 {
    font-size: 25px  !important;
}
.font-50 {
    font-size: 50px  !important;
}

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

.font-head {
    font-family: 'Fredericka the Great', serif;
    font-weight: normal;
}

/*** 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;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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 .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 10px;
    padding: 25px 0;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    padding: 10px 20px !important;
    border-radius: 50px;
    line-height: normal;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    background: #1c318f;
    color: #fff !important;
}

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

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}
.navbar-light.sticky {
    top: 0;
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

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


/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


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

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

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

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


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

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

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

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


/*** Service, Price & Team ***/
.service-item {
    background: #ededed;
}
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

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

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
}

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

.footer .copyright a {
    color: var(--light);
}

.logo-pic {
    position: relative;
    top: 1px;
}
.col-md-6, .col-lg-4, .col-lg-3 {
    display: flex;
    flex-wrap: wrap;
}
.gap-8 {
    gap: 8px;
}

@media (max-width:1024px) {
    .container-xxl, .container {
        padding-top:0 !important ;
    }
    .container-fluid, .about {
        padding-bottom: 0 !important;
    }
    .about-text {
        margin-top: 0;
    }
}

.new-nav {
    border-radius: 50px;
    background-color: #fff;
    width: 100%;
    position: relative;
    top: 65px;
    justify-content: space-between;
    align-items: center;
}
.new-nav .navbar-collapse {
    flex-grow: 0;
    padding-left: 30px;
    height: 80px;
    align-items: center;
}

.nw-logo {
    width: 170px;
    height: 170px;
    border-radius: 100%;
    background-color: #fff;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%; /* position the left edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
    top: 35px;
}
.nav-right ul {
    display: flex;
    margin: 0 30px 0 0;
}
.nav-right ul li {
    list-style: none;
    padding: 0 10px;
    color: #000;
}
.nav-right ul li img {
    margin-right: 10px;
}

.sticky .new-nav {
    top: 0;
} 
.sticky .new-nav .nw-logo {
    width: 150px;
    height: 150px;
    top: 69px;
    box-shadow: 0px .3rem .2rem rgba(0,0,0,0.15) !important;
}

.sticky .new-nav .nw-logo img {
    width: 70%;
}

.navbar-toggler:focus {
    box-shadow:none !important;
}

.navbar-toggler {
    background: #fff;
}
.navbar-toggler.collapsed {
    border: 1px solid #8b8e94 !important;
}

.banner {
    background-color: #0cc7d3;
    height: 100vh;
    top: -80px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 300px 0;
}
.banner::after {
    content: "";
    width: 50%;
    position: absolute;
    background-color: #acdbeb;
    right: 0;
    top: 0;
    height: 100vh;
    clip-path: polygon(37% 0, 100% 0%, 100% 100%, 0% 100%);
}
.banner h2 {
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 40px;
}
.banner h2 span {
    font-size: 36px;
}
.banner h3 {
    font-size: 73px;
    text-transform: uppercase;
    font-weight: 700;
}
.banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.banner .ban-right, .banner .ban-left {
    margin-top: 150px;
    position: relative;
    z-index: 50;
}
.outline-btn {
    border: 1px solid #000;
    color: #000;
    font-size: 18px;
    padding: 18px 30px;
    display: inline-block;
}
.outline-btn:hover {
    background: #000;
    color: #fff;
}
.serv-col3 {
    border: 6px solid #091d7b;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
}
.boder-gary-6 {
    border: 6px solid #ededed;
}
.b-radious-20 {
    border-radius: 20px;
}
.sub-baner {
    position: relative;
    top: -80px;
}
.sub-baner .container {
    margin-top: 80px;
}

@media (max-width:991px) {
   .banner .container {
      display: block; 
      width: 100%;
    }
    .banner {
        height: auto;
        min-height: 100vh;
        padding: 180px 0 0 0;
        text-align: center;
        flex-wrap: wrap !important;
    }
    .banner h2 {
        font-size: 30px;
        line-height: 35px;
    }
    .banner h3 {
        font-size: 50px;
    }
    .banner h2 span {
        font-size: 25px;
    }
    .banner .ban-right, .banner .ban-left {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .banner .ban-right {
        margin-top: 30px;
    }
    .banner .ban-right img {
        width: 100%;
    }
    .banner::after, .nav-right {
        display: none;
    }
    .new-nav {
        background-color: transparent;
        top: 15px;
        justify-content: right;
    }
    .nw-logo {
        width: 100px;
        height: 100px;
        top: 50px;
    }
    .nw-logo img {
        width: 70px;
    }
    .sticky .nw-logo {
        width: 60px !important;
        height: 60px !important;
        top: 28px !important;
    }
    .navbar-light.sticky {
        padding: 5px 0 !important;
    }
    .service-item img {
        width: 100%;
    }
    .new-nav .navbar-collapse {
        position: absolute !important;
        width: 100% !important;
        height: 0 !important;
        background: #fff;
        top: 40px !important;
        visibility: hidden !important;
        display: inline-block;
        padding: 0 !important;
    }
    .new-nav .navbar-collapse.show {
        visibility: visible !important;
        height: auto !important;
    }
    .new-nav .navbar-collapse .navbar-nav {
        margin-top: 42px;
        border: none;
    }
    .font-50 {
        font-size: 35px !important;
    }
    .sub-baner .container {
    margin-top: 120px;
    padding-bottom: 10px !important;
    display: grid;
    align-items: center;
    justify-content: center;
    }
}