::selection {
    background-color: var(--bs-secondary);
    color: var(--bs-white)
}

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

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 1100;
}

/*** logo ***/
.logo-content .logo-width-1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 80px;
}

.logo-content .logo-width-1 img {
    width: 70px;
    height: auto;
    object-fit: cover;
    margin-right: 0;
    padding-right: 0;
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-content h3,
.logo-content h4 {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-style: normal;
    margin: 0;
    margin-right: 1rem;
}

.logo-content h3 {
    font-size: 20px;
    color: #000000;
    font-weight: 350;

}

.logo-content h4 {
    font-size: 14px;
    color: #ef0000;
    font-weight: 500;

}

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

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

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

.btn-md-square {
    width: 44px;
    height: 44px;
}

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

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: none;
}

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

.btn.btn-secondary {
    color: var(--bs-white);
    border: none;

}

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

/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary);
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top {
    transition: 1s;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark);
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px;
    font-weight: 400;
    font-family: "Playfair Display", serif;
    font-size: 17px;
    transition: .5s;
    z-index: 99;
}

.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid var(--bs-secondary);
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}

.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-white);
    background: var(--bs-secondary);
}

.nav-bar .navbar-toggler {
    color: var(--bs-dark);
    box-shadow: none !important;
}

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

.navbar .nav-item .dropdown-menu {
    background: var(--bs-light);
    transition: 0.5s;
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    transition: 0.5s;
}

.dropdown .dropdown-menu .dropdown-item:hover,
.dropdown .dropdown-menu .dropdown-item.active {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        margin-top: 15% !important;
        transform: rotateX(-75deg);
        transform-origin: 0 0;
        border: 0;
        transition: .5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 991px) {
    .navbar .nav-item .dropdown-menu {
        position: relative;
        margin-top: 0;
        transition: 0.5s;
    }

    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }

    .navbar .navbar-nav .nav-item:hover::after,
    .navbar .navbar-nav .nav-item:hover::before,
    .navbar .navbar-nav .nav-item.active::after,
    .navbar .navbar-nav .nav-item.active::before {
        display: none;

    }

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

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

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

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active,
    .sticky-top .navbar .navbar-nav .nav-link:hover,
    .sticky-top .navbar .navbar-nav .nav-link.active {
        color: var(--bs-white) !important;
        background-color: var(--bs-secondary);
    }
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .6);
}

/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

/*** Single Page Hero Header End ***/

/*
======================= Start Partner Section =====================
*/

.partner-section {
    background-color: #f8f9fa;
}
.section-title .title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--bs-secondary);
}
.partner-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}
.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.partner-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    min-height: 95px;
}
/*             .partner-logo {
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-card:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
} */

/*
======================= End Partner Section =====================

/*** Carousel Start ***/
.carousel .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.carousel .carousel-inner .carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

@keyframes image-zoom {
    0% {
        width: 100%;
        height: 100%;
        -webkit-filter: blur(0px);
        opacity: 1;
    }

    25% {
        width: 115%;
        height: 115%;
        -webkit-filter: blur(3px);
        opacity: 0.9;
    }

    50% {
        width: 130%;
        height: 130%;
        -webkit-filter: blur(10px);
        opacity: 0.7;
    }

    75% {
        width: 115%;
        height: 115%;
        -webkit-filter: blur(3px);
        opacity: 0.9;
    }

    100% {
        width: 100%;
        height: 100%;
        -webkit-filter: blur(0px);
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 991px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
    }

    .carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .carousel-item .carousel-caption h1 {
        font-size: 36px;
    }

    .carousel-item .carousel-caption p.fs-5 {
        font-size: 15px;
    }
}

.carousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.carousel .carousel-inner .carousel-item .carousel-caption {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.carousel .carousel-indicators {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    z-index: 5;
}

.carousel .carousel-indicators li,
.carousel .carousel-indicators li,
.carousel .carousel-indicators li {
    margin-right: 30px !important;
    width: 10px;
    height: 10px;
    border: 6px solid var(--bs-secondary);
    background: var(--bs-white);
    transition: 0.5s;
}

.carousel .carousel-indicators li.active {
    border: 10px solid var(--bs-primary);
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    background: transparent;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    position: absolute;
    left: 0;
    padding: 25px 30px;
    background: var(--bs-primary);

}

.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    right: 0;
    padding: 25px 30px;
    background: var(--bs-primary);

}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/*** Carousel End ***/


/*** About Start ***/
.about .about-item-content-img {
    border: 4px solid;
    border-color: var(--bs-secondary) var(--bs-primary) var(--bs-primary) var(--bs-secondary);
}

.about .about-item-image {
    position: relative;
    background: var(--bs-light);
    background-image: url(../img/fire-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

.about .about-item-image .img-1 {
    margin-bottom: 250px;
    margin-right: 0;
    border: 4px solid;
    border-color: var(--bs-secondary) var(--bs-light) var(--bs-light) var(--bs-secondary);
    z-index: 3;
}

.about .about-item-image .img-2 {
    margin-top: 250px;
    margin-left: 0;
    border: 4px solid;
    border-color: var(--bs-light) var(--bs-secondary) var(--bs-secondary) var(--bs-light);
    z-index: 3;
}

.about .about-item-image::before {
    width: 80%;
    height: 80%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-style: dotted;
    border-color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 2;
}

.about .about-item-image .about-item-image-content {
    width: 55%;
    height: 55%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bs-secondary);
    border: 4px solid var(--bs-primary);
    opacity: 0.9;
    z-index: 4;
}

.about .about-item-image .about-item-image-effect {
    position: absolute;
    top: 0;
    right: 0;
}

/*** About End ***/

/*** Feature 2 Section ***/
.feature2 {
    background: #f8f9fa;
}

.feature2 .feature-item2 {
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.feature2 .feature-item2:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature2 .feature-icon2 {
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-light);
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    animation: icon-animate 5s ease-in-out infinite alternate;
    box-shadow: 0 0 30px rgba(0,0,0,0.08);
}

@keyframes icon-animate {
    0% {
        border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    }
    100% {
        border-radius: 33% 67% 71% 29% / 61% 54% 46% 39%;
    }
}

.text-gradient {
    color: var(--bs-primary);
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

/*** Feature 2 End ***/

/*** Services Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    transition: 0.5s;
    z-index: 1;
}

.service .service-item .service-img {
    height: 550px;
    overflow: hidden;
}

.service .service-item .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

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

.service .service-item::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover:after {
    height: 100%;
    background: rgba(0, 0, 0, .4);
}

.service .service-item .service-content {
    position: absolute;
    width: 100%;
    height: auto;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.service .service-item:hover .service-content {
    opacity: 1;
}

.service .service-item:hover .service-content a.fs-4 {
    color: var(--bs-white);
    transition: 0.5s;
}

.service .service-item:hover .service-content a.fs-4:hover {
    color: var(--bs-secondary);
}

.service .service-item .service-tytle {
    position: absolute;
    width: 100%;
    height: 80px;
    bottom: 0;
    right: 0;
    background: var(--bs-white);
    display: flex;
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-tytle {
    margin-right: -100%;
}


/*** Media Queries for Responsiveness ***/
@media (max-width: 992px) {
    .service .service-item .service-img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .service .service-item .service-img {
        height: 500px;
    }
}

/*** Services End ***/

/*** Projects Start ***/
.project .project-item .project-img {
    position: relative;
}

.project .project-item .project-img::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    z-index: -1;
}

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

.project .project-item:hover .project-content a.h4:hover {
    color: var(--bs-secondary);
}

/*** Projects End ***/

/*** Project Image End ***/
.project-image {
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 500px;
    transition: transform 0.3s ease-in-out;
}

.project-image:hover {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .project-image {
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    .project-image {
        max-height: 300px;
    }
}

/*** Project Image End ***/

/*** Gallery Start ***/

.gallery .gallery-img {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    height: 0;
}
.gallery .gallery-img .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gallery .gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

/* Hover effect: Zoom the image */
.gallery .gallery-img:hover img {
    transform: scale(1.1);
}

.gallery .gallery-img .hover-style {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.gallery .gallery-img:hover .hover-style {
    opacity: 1;
}

.gallery .gallery-img .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 2;
}
.gallery .gallery-img:hover .search-icon {
    opacity: 1;
}

/*** Contact Start ***/
.contact .contact-map {
    position: relative;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
}
.contact .contact-map::before {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--bs-primary);
    z-index: -1;
}
.contact .contact-map::after {
    content: "";
    width: 70%;
    height: 70%;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bs-secondary);
    z-index: -1;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(7, 7, 10, 0.737), rgb(14, 15, 17)), url(../img/fire-1.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
    text-decoration: none;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-secondary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(12, 11, 11, 0.241);
    background: #000000e6;
}

/*** copyright end ***/

.about-section {
    background: #f9fafc;
    position: relative;
    overflow: hidden;
}

.text-gradient {
    background: linear-gradient(45deg, var(--bs-secondary), #ff4d4d, #b30000);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-secondary), #ff4d4d, #b30000);
    border-radius: 2px;
}

.image-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 10px;
}

.image-wrapper::before,
.image-wrapper::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    background: linear-gradient(270deg, var(--bs-secondary), #ff4d4d, #b30000, var(--bs-secondary));
    background-size: 200% 200%;
    animation: moveGradient 3s linear infinite;
}

.image-wrapper::before { top: 0; }
.image-wrapper::after { bottom: 0; }

@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.about-section p {
    line-height: 1.8;
}

.image-wrapper img {
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.03);
}


/*==== Items Section ====*/

.item-section {
    background-color: #faf8f8;
    padding-top: 35px;
    padding-bottom: 40px;
}

.item-section .item-card {
    position: relative;
    margin-top: 20px;
}

.item-section .item-inner {
    position: relative;
    height: 100%;
    margin-top: 20px;
    background: #ffffff;
}

.item-section .item-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-secondary);
}

.item-section .item-inner:hover::before {
    height: 100%;
    top: 0;
}

.item-section .item-inner .item-text h5 {
    color: #292121;
    font-weight: 800;
    text-transform: capitalize;
}

.item-section .item-inner .item-text p {
    color: #7d6d6c;
}

.item-section .item-card img {
    margin-top: -20px;
    padding-left: 35px;
}

.item-section .item-card * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.item-section .item-card:hover h5,
.item-section .item-card:hover p {
    color: var(--bs-light, #ffffff);
}

.item-section .item-card:hover a {
    padding-left: 30px !important;
    padding-right: 30px !important;
}

/*===== Item Carousel  =====*/

.item-carousel .owl-nav {
    position: absolute;
    width: 50px;
    height: 160px;
    top: calc(50% - 80px);
    right: 0;
    z-index: 1;
}

.item-carousel .owl-nav .owl-prev,
.item-carousel .owl-nav .owl-next {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--bs-secondary);
    font-size: 22px;
    transition: .5s;
}

.item-carousel .owl-nav .owl-prev:hover,
.item-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
    background-color: var(--bs-white);
    border: 1px solid var(--bs-secondary);
}

/*==== Type Item ====*/

.type-item .type-item-card {
    position: relative;
    overflow: hidden;
}

.type-item .type-item-card img {
    transition: 0.5s;
}

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

.type-item .type-item-card .type-item-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: rgba(67, 31, 31, 0.37);
    border-radius: 10px;
}

/*==== Item Icon ====*/

.item-icon {
    background: #f8f9fa;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: auto;
    transition: transform 0.3s ease;
}

.item-icon:hover {
    transform: scale(1.1);
}

