/********** Template CSS **********/
:root {
    --primary: #355efc;
    --secondary: #e93c05;
    --tertiary: #555555;
    --light: #dfe4fd;
    --dark: #011a41;
}

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

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

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

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

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

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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 ***/
.fixed-top {
    transition: 0.5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, 0.07);
}

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

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.07);
        background: #ffffff;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: 0.5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: 0.5s;
        opacity: 1;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 10rem;
    background: url(../img/banner.jpg) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--tertiary);
}

/*** Facts ***/
.facts {
    background: linear-gradient(
            rgba(53, 94, 252, 0.95),
            rgba(53, 94, 252, 0.95)
        ),
        url(../img/bg.png);
}

/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(
            rgba(53, 94, 252, 0.95),
            rgba(53, 94, 252, 0.95)
        ),
        url(../img/bg.png);
    z-index: -1;
}

/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: 0.5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #ffffff !important;
}

/*** Service ***/
.service .nav .nav-link {
    transition: 0.5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #ffffff !important;
}

.service .nav .nav-link.active h5 i {
    color: #ffffff !important;
}

/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: 0.5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: 0.5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: 0.5s;
}

.project-item:hover .project-title h4 {
    color: #ffffff;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: 0.5s;
}

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

/*** Team ***/
.team-item {
    position: relative;
    padding: 4rem 0;
}

.team-item img {
    position: relative;
    z-index: 2;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: 0.5s;
    z-index: 1;
}

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

.team-item .team-text h4 {
    transition: 0.5s;
}

.team-item:hover .team-text h4 {
    color: #ffffff;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #ffffff;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #ffffff transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

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

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: 0.5s;
}

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

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

/*** Footer ***/
/* .footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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(--primary);
    letter-spacing: 1px;
    box-shadow: none;
} */
/*
.copyright {
    color: var(--light);
    background: #000B1C;
}

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

.copyright a:hover {
    color: var(--primary);
} */

/*======Footer area======*/
.ftr-area {
    background-color: #171717;
    color: #fff;
}
.ftr-inner {
    padding: 30px 0 20px;
}
.ftr-logo {
    padding-bottom: 30px;
}
.ftr-logo img {
    width: 50px;
}
.ftr-des p {
    text-transform: initial;
    color: #7f7f7f;
    font-family: "PT Serif", serif;
    font-size: 14px;
    line-height: 24px;
}
.c-name {
    display: inline-block;
    margin: 0;
    vertical-align: baseline;
    padding-left: 10px;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
    font-family: "PT Serif", serif;
}
.ftr-list {
    padding-top: 5px;
}
.ftr-list ul {
    list-style: none;
    list-style-position: inside;
    margin: 0;
    padding: 0;
}
.ftr-list ul li {
    position: relative;
    border-radius: 4px;
    padding: 5px 12px 5px 44px;
    margin-bottom: 8px;
    color: #7f7f7f;
    font-size: 13px;
    line-height: 24px;
    text-transform: initial;
    font-family: "PT Serif", serif;
}

.ftr-list ul li i {
    position: absolute;
    left: 0;
    width: 31px;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #ffea9f;
}
.ftr-title {
    text-transform: capitalize;
    color: #fff;
    font-size: 22px;
    font-family: "PT Serif", serif;
    line-height: 26px;
    padding-bottom: 20px;
    vertical-align: text-bottom;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}
.ftr-title::before {
    position: absolute;
    content: "";
    height: 3px;
    width: 30%;
    left: 0;
    bottom: -1px;
    background-color: #ffcb0f;
}
.ftr-nav-list ul {
    list-style: none;
    list-style-position: inside;
    margin: 0;
    padding: 0;
}
.ftr-nav-list ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #7f7f7f;
    font-family: "PT Serif", serif;
    display: inline-block;
    padding: 0px 12px;
    position: relative;
    -webkit-transition: 0.5s all ease-in-out;
    transition: 0.5s all ease-in-out;
}
.ftr-nav-list ul li i {
    padding-right: 8px;
}
.ftr-nav-list ul li a:hover {
    color: #ffcb0f;
}
.s-f-title {
    font-size: 13px;
    color: #7f7f7f;
    font-family: "PT Serif", serif;
    text-transform: initial;
    margin-bottom: 15px;
}
.ftr-social-link ol {
    margin-bottom: 0;
}
.ftr-social-link ol li a {
    text-decoration: none;
    font-size: 14px;
    color: #fff;
    font-family: "PT Serif", serif;
    display: inline-block;
    text-transform: capitalize;
    padding: 0 2px;
}
.ftr-social-link ol li a i {
    -webkit-transition: 0.5s all ease-in-out;
    transition: 0.5s all ease-in-out;
}
.ftr-social-link ol li a:hover i,
.s-list ul li a:hover {
    color: #ffcb0f;
}
.s-list ul,
.news-update ul {
    list-style: none;
    list-style-position: inside;
    margin: 0;
    padding: 0;
}
.s-list ul li {
    padding: 2px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.s-list ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #7f7f7f;
    font-family: "PT Serif", serif;
    display: inline-block;
    text-transform: capitalize;
    -webkit-transition: 0.5s all ease-in-out;
    transition: 0.5s all ease-in-out;
}
.news-update {
    padding-top: 15px;
}
.news-update ul li {
    padding-bottom: 6px;
}
.news-update ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #fff;
    font-family: "PT Serif", serif;
    display: block;
    text-transform: capitalize;
    padding-bottom: 2px;
}
.news-update ul li i {
    color: #ffea9f;
    font-size: 13px;
    padding-right: 5px;
}
.news-update ul li time {
    font-size: 11px;
    color: #898989;
    text-transform: uppercase;
    font-family: "PT Serif", serif;
}
.f-serch-f {
    margin-top: 0;
}
.ftr-search {
    position: relative;
}
.ftr-search .form-control {
    margin-top: 20px;
    border-radius: 0;
    padding: 10px 15px;
    height: auto;
}
.ftr-search .btn {
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 0;
    padding: 10px 23px;
    background-color: #ffcb0f;
    width: 50px;
}
.ftr-search .btn i.fa-search {
    position: relative;
    right: -24px;
    top: 37px;
}
.fa-search:before {
    position: absolute;
    right: 16px;
    bottom: 36px;
    z-index: 11;
    cursor: pointer;
}
.ftr-inner {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ftr-container {
    width: 95%;
    max-width: 100%;
    margin: 0 auto;
}

/*======copy Right area=====*/
.copy-right {
    background: #869eaa;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0px 5px 20px #000;
    text-align: center;
}

.copy-right .copy-content {
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 400;
    color: rgb(14, 3, 3);
    letter-spacing: 1px;
}

.copy-right .copy-content .bg-wh {
    color: rgba(15, 3, 3, 0.966);
}

.copy-right .copy-content .bg-1 {
    font-weight: 700;
    font-size: 15px;
    color: #ffae35;
}

.copy-right .copy-content a {
    text-decoration: none;
}

.card {
    border: 1px solid #e3e6f0;
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
}

.card-product {
    margin: 10px;
    height: 25rem;
}

.card:hover {
    -webkit-box-shadow: 0px -1px 4px 5px rgba(0, 0, 0, 0.15);
    box-shadow: 0px -1px 4px 5px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateY(-10px);
}

.card-body {
    padding: 1rem 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-subtitle {
    font-size: 1rem;
}

.list-group-item {
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
}

.btn-primary {
    color: black;
    background-color: #dee2fb;
    border-color: #dee2fb;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.clor01 {
    background-color: #dee2fb;
}
.clor02 {
    background-color: #35effc;
}
.clor03 {
    background-color: #3399fe;
}
.clor04 {
    background-color: #ef4400;
}
.clor05 {
    background-color: #972737;
}
.clor06 {
    background-color: #a12691;
}
.clor07 {
    background-color: #007b00;
}
.clor08 {
    background-color: #0057ec;
}
.clor09 {
    background-color: #561fdd;
}
.clor10 {
    background-color: #7d1051;
}

/* .card {
    margin: 15px;
} */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
    background: none;
    border: none;
    outline: none;
}
.owl-carousel .owl-nav button.owl-prev i,
.owl-carousel .owl-nav button.owl-next i {
    font-size: 2em;
    color: #000;
}

.navbar {
    background-color: #ffffff; /* White background with some transparency */
    transition: background-color 0.5s; /* Smooth transition effect */
}

.navbar.scrolled {
    background-color: #ffffff; /* Fully opaque background when scrolled */
}

.top-bar {
    background-color: #ffffff;
}

.feature-box {
    height: 17rem;
}
