/*** Spinner Start ***/
/*** Spinner ***/

p {
    text-align: justify;
}

#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 ***/

.text-element {
    margin-top: auto;
    padding-bottom: 20px;
}

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

/*** 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 {
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

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

.btn.btn-secondary:hover {
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

/*** Icon Animation Start ***/
@keyframes icon-animat {
    0% {
        border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    }

    25% {
        border-radius: 69% 31% 19% 81% / 43% 37% 63% 57%;
    }

    50% {
        border-radius: 67% 33% 16% 84% / 57% 37% 63% 43%;
    }

    75% {
        border-radius: 77% 23% 61% 39% / 36% 61% 39% 64%;
    }

    100% {
        border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    }
}

/*** Icon Animation End ***/

/*  pgms 3 div*/
.two-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
}


.content-box {
    flex: 1;
    min-width: 300px;
}

.image-ph {
    flex: 1;
    text-align: center;

}

.image-ph img {

    max-width: 100%;
}

.pgms-card h3 {
    font-size: 23px;
    padding-bottom: 6px;
}

.pgms-card p {
    background-color: #3087F7;
    padding: 8px 12px;
    border-radius: 10px;
    color: #f5f9ff;
}



/* end */

/* image pf */
.img-pf {
    height: auto;
    width: 200px;

}

/*  */


/* higlight color */
.div-one p {
    font-size: 38px;
    color: white;
    font-weight: bold;
}

.div-one p span {
    color: #0ea5e9;

}

/* end */


/*** Navbar Start ***/

.nav-bar {
    background: var(--bs-white);
}

.sticky-top {
    transition: 1s;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    letter-spacing: 1px;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #3087F7;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 100px;
}

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

/* .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 8px !important;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
} */



/* nav bar*/


/* ============================= */
/* BASE DROPDOWN (HIDDEN) */
/* ============================= */
.navbar .dropdown-menu {
    min-width: 180px;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 14px;
    width: max-content;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* ============================= */
/* DESKTOP → HOVER */
/* ============================= */



/* HOVER EFFECT */
.navbar .product-dropdown .dropdown-item:hover,
.navbar .services-dropdown .dropdown-item:hover,
.navbar .login-dropdown .dropdown-item:hover {
    background: #fff;
    color: #3087F7;


}

/* DOT INDICATOR */
.navbar .product-dropdown .dropdown-item::after,
.navbar .services-dropdown .dropdown-item::after,
.navbar .login-dropdown .dropdown-item::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #3087F7;
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: 0.3s;
}

.navbar .product-dropdown .dropdown-item:hover::after,
.navbar .services-dropdown .dropdown-item:hover::after,
.navbar .login-dropdown .dropdown-item:hover::after {
    transform: translateY(-50%) scale(1);
}

/* ============================= */
/* LOGIN DROPDOWN */
/* ============================= */
.navbar .login-dropdown .dropdown-menu {
    padding: 10px;
    width: max-content;
}

/* ============================= */
/* MOBILE */
/* ============================= */


/* DESKTOP ONLY */
@media (min-width: 1200px) {

    .navbar .nav-item:hover>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 8px;
        background: var(--bs-light);
    }

    .navbar .dropdown-menu.show {
        display: none !important;
    }

    .navbar .product-dropdown:hover .dropdown-menu,
    .navbar .services-dropdown:hover .dropdown-menu {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 20px;
        min-width: 650px;
        padding: 22px;
        border-radius: 22px;
        background: linear-gradient(145deg, #ffffff, #f5f9ff);
        box-shadow:
            0 20px 45px rgba(0, 0, 0, 0.12),
            0 8px 20px rgba(48, 135, 247, 0.08);
        left: 50% !important;
        transform: translateX(-50%) translateY(0);
    }
}

/* TABLET VIEW */
@media (min-width: 768px) and (max-width: 1199px) {

    .nav-bar .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 14px;
        padding: 18px 0;
        font-size: 15px;
    }

    .navbar-light .navbar-brand img {
        max-height: 52px;
    }

    .navbar .navbar-nav {
        align-items: center;
        gap: 4px;
    }

    .navbar .dropdown-menu {
        min-width: 240px;
    }

    .navbar .product-dropdown .dropdown-menu,
    .navbar .services-dropdown .dropdown-menu {
        min-width: 520px;
        left: 50% !important;
        transform: translateX(-50%);
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 12px;
        padding: 18px;
    }

    .navbar .product-dropdown .dropdown-item,
    .navbar .services-dropdown .dropdown-item,
    .navbar .login-dropdown .dropdown-item {}
}

/* MOBILE */
@media (max-width: 991px) {

    .navbar .dropdown-menu {
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .navbar .dropdown-menu.show {
        display: block;
    }

    .navbar .product-dropdown .dropdown-menu,
    .navbar .services-dropdown .dropdown-menu {
        display: none;
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 100%;
        left: 0 !important;
        transform: none !important;
        padding: 12px;
    }

    .navbar .product-dropdown .dropdown-menu.show,
    .navbar .services-dropdown .dropdown-menu.show {
        display: grid;
    }
}

/* nav end */
/*** Navbar End ***/



/* list-con */
.list-con {
    margin-left: 17px;
}

/* end */



/*** Carousel Header Start ***/
.carousel .carousel-item img {
    object-fit: cover;
}

.carousel .carousel-item,
.carousel .carousel-item img {
    height: auto;
}

.carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
}

.carousel .carousel-indicators {
    left: 75%;
    top: 50%;
    margin-right: 25%;
    transform: translateY(-50%);
    flex-direction: column;
}

.carousel-indicators [data-bs-target] {
    display: flex;
    width: 15px;
    height: 15px;
    border: 6px solid var(--bs-white);
    border-radius: 15px;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: var(--bs-secondary);
    opacity: 1;
    transition: 0.5s;
}

.carousel-indicators [data-bs-target].active {
    background-color: var(--bs-primary);
}

@media (max-width: 992px) {
    .carousel-indicators [data-bs-target] {
        display: none;
    }
}

/*** Carousel Header End ***/
/*** Single Page Hero Header Start ***/

.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    /* background: linear-gradient(rgba(31, 46, 78, 1), rgba(0, 12, 33, 0.8)), url(../img/fact-bg.jpg); */
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

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

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

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

/*** Features Start ***/
.feature {
    background: var(--bs-light);
}

.feature .feature-item {
    display: flex;
    border-radius: 10px;
}

.feature .feature-item .feature-icon span {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    background: #3087F7;
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    ;
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

/*** Features End ***/

/*** About Start ***/

/* .about .about-item .about-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
} */

/* hover  */

.about .about-item .about-item-inner {

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 35px 25px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

.about .about-item .about-item-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(120deg, #3087F7, #6EE7B7, #FACC15);

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    transition: 0.4s;
}

.about .about-item .about-item-inner:hover::after {
    opacity: 1;
}

.about .about-item .about-item-inner:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    /*   0 0 0 1px rgba(87, 202, 248, 0.12)  outline bolt */
    border-color: var(--hover-color);

}

.about .about-item .about-item-inner h4,
.about .about-item .about-item-inner p,
.about .about-item .about-item-inner i {
    transition: all 0.4s ease;
}

.about .about-item .about-item-inner:hover h4 {
    letter-spacing: 0.5px;
}

.about .about-item .about-item-inner:hover i {
    transform: scale(1.15) rotate(5deg);
}

.about .about-item .about-item-inner:hover {
    border-color: #0ea5e9;
    /* change color here */
}


/* end hover */

.about .about-item .about-item-inner .about-icon {
    width: 90px;
    height: 90px;
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    background: #3087F7;
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

.about .about-img {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;

}

.about .about-img .img-1 {
    height: 85%;
    margin-right: 50px;
}

.about .about-img .img-2 {
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
    padding-left: 50px;
    border-radius: 10px;
}

.about .about-img::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 98%;
    top: 0;
    right: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    z-index: -1;
}

.about .about-item .text-item {
    position: relative;
    padding-left: 25px;
}

.about .about-item .text-item::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-secondary);
}

/*** About End ***/

/*** Fact Counter Start ***/

.counter {
    /*** background:  url(../img/fact-bg1.jpg); ***/
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    background-size: 100%;
}

.counter1 {
    /* background:  url(../img/fact-bg1.jpg); */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    background-size: 100%;
}


.counter .counter1 .counter-item .counter-item-icon {
    width: 90px;
    height: 90px;
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    background: #3087F7;
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

/*** Fact Counter End ***/



/* icon hover */

/* .icon-hover  {
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
} */

/* .icon-hover :hover {
    transform: scale(1.3);
    transition: 2s;
} */

/* icon hover end */

/*** Services Start ***/
/* .service .service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.service .service-item:hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 60px;
    background: var(--bs-light);
}

.service .service-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: #3087f7 ;
    border-radius: 10px;
    z-index: -1;
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover::after {
    opacity: 1;
} */

.service .service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 35px 25px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

.service .service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0) 100%);
    transition: 0.6s;
}

.service .service-item:hover::before {
    left: 100%;
}

.service .service-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.08);
}

.service .service-item h4,
.service .service-item p,
.service .service-item i {
    transition: all 0.4s ease;
}

.service .service-item:hover h4 {
    color: #111827;
    letter-spacing: 0.5px;
}

.service .service-item:hover p {
    color: #6b7280;
}

.service .service-item:hover i {
    transform: scale(1.15) rotate(5deg);
}


/* Gradient curved border */
.service .service-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    /* same as parent */
    padding: 1.5px;
    /* border thickness */
    background: linear-gradient(120deg, #3087F7, #6EE7B7, #FACC15);

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    transition: 0.4s;
}

/* Show on hover */
.service .service-item:hover::after {
    opacity: 1;
}

.service .service-item .service-icon {
    width: 90px;
    height: 90px;
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    background: #3087F7;
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

/*** Service End ***/

/* font line color */
.font-line-color {
    color: #898f9b;
}

/*  */


/*** Cars Categories Start ***/
.categories .categories-item {
    position: relative;
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
    transition: 0.5s;
}

.categories .categories-item:hover {
    border: 1px solid var(--bs-primary);
}

.categories .categories-item .categories-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.categories .categories-item .categories-item-inner:hover {
    box-shadow: 0 0 50px rgba(234, 0, 30, .3);
}

.categories .categories-item-inner .categories-img {
    background: var(--bs-light);
}

.categories .categories-item-inner .categories-content {
    border-top: 4px solid var(--bs-white);
    text-align: center;
    background: var(--bs-light);
}

.categories .categories-item-inner .categories-review {
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories-carousel .owl-stage-outer {
    margin-top: 65px;
    margin-right: -1px;
}

.categories-carousel .owl-nav .owl-prev,
.categories-carousel .owl-nav .owl-next {
    position: absolute;
    top: -65px;
    padding: 10px 35px;
    color: var(--bs-white);
    background: var(--bs-primary);
    border-radius: 50px;
    transition: 0.5s;
}

.categories-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.categories-carousel .owl-nav .owl-next {
    right: 0;
}

.categories-carousel .owl-nav .owl-prev:hover,
.categories-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/*** Cars Categories End ***/


/*** Process Start ***/
.steps {
    /* background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url(../img/bg-1.jpg); */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.steps .steps-item {
    position: relative;
    background: var(--bs-secondary);
    border-radius: 10px;
}

.steps .steps-item h4,
.steps .steps-item p {
    color: var(--bs-white);
}

.steps .steps-item .setps-number {
    position: absolute;
    width: 64px;
    height: 64px;
    bottom: 0;
    right: 40px;
    font-weight: 900;
    border: 1px solid var(--bs-white);
    border-radius: 64px;
    transform: translateY(50%);
    color: var(--bs-white);
    background: var(--bs-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* hover effect  */
.steps .steps-item {
    position: relative;
    background: var(--bs-secondary);
    border-radius: 10px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.steps .steps-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.steps .steps-item h4,
.steps .steps-item p,
.steps .steps-item .setps-number {
    transition: all 0.3s ease;
}

.steps .steps-item:hover h4,
.steps .steps-item:hover p,
.steps .steps-item:hover .setps-number {
    color: #fff;
}

/* hover end */
/*** Process End ***/


/*** Blog Start ***/

/* BLOG CARD (PREMIUM STYLE) */
/* ============================= */
.blog .blog-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Shine effect */
.blog .blog-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0) 100%);
    transition: 0.6s;
    z-index: 1;
}

.blog .blog-item:hover::before {
    left: 100%;
}

/* Hover lift */
.blog .blog-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* Gradient border */
.blog .blog-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(120deg, #3087F7, #6EE7B7, #FACC15);

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
    z-index: 2;
}

.blog .blog-item:hover::after {
    opacity: 1;
}

/* ============================= */
/* IMAGE (PERFECT FIT) */
/* ============================= */
.blog .blog-item .blog-img {
    position: relative;
    width: 100%;
    height: 220px;
    /* 🔥 control image height */
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.3);
    transition: 0.5s;
    z-index: 2;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🔥 perfect fit */
    object-position: center;
    display: block;
    transition: 0.5s;
}

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

/* ============================= */
/* CONTENT */
/* ============================= */
.blog .blog-item .blog-content {
    background: #f9fafb;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Text */
.blog .blog-item .blog-content h4,
.blog .blog-item .blog-content p {
    transition: 0.3s;
}

/* Button bottom align */
.blog .blog-item .blog-content a:last-child {
    margin-top: auto;
}

/* hove link */
.blog .blog-item .blog-content a:hover {
    color: #0c4461 !important;
}

/*  */
/*** Blog End ***/


/*** Banner Start ***/
.banner .banner-item {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.banner .banner-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, .6);
    z-index: 2;
}

.banner .banner-item .banner-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    margin-left: 0;
    margin-bottom: 0;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    z-index: 5;
}

@media (min-width: 992px) {
    .banner .banner-item .banner-content h2 {
        font-size: 45px;
        margin-bottom: 20px;
    }

    .banner .banner-item .banner-content h1 {
        font-size: 72px;
        margin-bottom: 20px;
    }

    .banner .banner-item .banner-content p {
        font-size: 40px;
        margin-bottom: 20px;
    }
}

/*** Banner End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    text-align: center;
    border-radius: 10px;
    margin-top: 100px;
    background: var(--bs-light);
    transition: 0.5s;
    z-index: 1;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-secondary);
    z-index: 2;
    transition: 0.5s;
}

.team .team-item:hover::after {
    height: 100%;
}

.team .team-item .team-content {
    position: relative;
    z-index: 5;
}

.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-content p {
    color: var(--bs-white);
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    top: -100px;
    margin-bottom: -100px;
    border-radius: 10px;
    z-index: 3;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

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

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .3);
    z-index: 4;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}

/*** Team End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-right: -1px;
}

.testimonial .testimonial-item {
    position: relative;
    margin-top: 35px;
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
}

.testimonial .testimonial-item .testimonial-quote {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 0;
    right: 25px;
    transform: translateY(-50%);
    border-radius: 70px;
    color: var(--bs-white);
    background: var(--bs-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    align-items: center;
    background: var(--bs-light);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.testimonial .testimonial-item .testimonial-inner img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    border: 4px solid var(--bs-white);
}

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

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}

/*** Testimonial End ***/

/*** Contact Start ***/
.contact .contact-add-item {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.contact .contact-add-item .contact-icon {
    width: 90px;
    height: 90px;
    border-radius: 67% 33% 29% 71% / 39% 46% 54% 61%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--bs-primary);
    animation-name: icon-animat;
    animation-duration: 5s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

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

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

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

.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(255, 255, 255, 0.08);
    background: var(--bs-dark);
}

/*** copyright end ***/

.bi {
    color: white;
}

.tms-banner {
    /* background: linear-gradient(to right, #000046, #1cb5e0); */
    /* Example gradient */
    /* background-color: #040d3d; */

    background-size: cover;
    background-position: center;
    /* Replace with your circuit pattern image */
    background-image: url('your-circuit-pattern.png');
    background-size: cover;
    min-height: 500px;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 50px 0;
}

/* Image Positioning */
.device-container {
    position: relative;
}

.desktop-img {
    width: 100%;
    max-width: 500px;
    z-index: 2;
    position: relative;
}

.laptop-img {
    width: 60%;
    position: absolute;
    bottom: -20px;
    right: -10px;
    z-index: 3;
}

.floating-ui {
    position: absolute;
    left: -80px;
    top: 50px;
    width: 50%;
    z-index: 1;
    opacity: 0.8;
    transform: rotate(-5deg);
}

.text-section h1 {
    font-weight: 700;
    color: #3087f7 !important;
}

.text-section p {
    font-size: 1.2rem;
    max-width: 500px;
}