/*  start slider */
.slider {
    /* height: 500px; */
    /* background-image: url("./../../images/bk.png"); */
    background-size: 100% 100%;
    transform: scaleX(-1);
}

.slider .container {
    transform: scaleX(-1);
}

.slider .head {
    border-left: 5px solid var(--sec);
    padding-left: 10px;
    width: 50%;
}

.slider .btn {
    border: 2px solid var(--sec);
    position: relative;
    z-index: 1;
}

.slider .btn::before {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--sec);
    transition: 0.8s;
    transition-timing-function: ease;
    z-index: 0;
}

.slider .btn:hover::before {
    width: 100%;
}

.slider .btn i {
    transform: rotate(45deg);
}

.slider .btn span,
.slider .btn i {
    z-index: 1;
    position: relative;
}

.slider .btn-services {
    color: white;
}

.slider .btn-services::before {
    width: 100%;
    background-color: var(--sec);
}

.slider .btn-services:hover::before {
    width: 0%;
}

/* .slider img {
    opacity: 0;
} */

/* end slider */
/* start des-section  */

.des-section .card-item {
    background-color: var(--primary);
    position: relative;
    box-shadow: #fff 20px 20px 0, var(--sec) 22px 22px 0px 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.des-section .card-item .icon,
.des-section .card-item .number {
    color: white;
    font-size: 40px;
}

.des-section .card-item .head {
    color: white;
    text-align: center;
}

.des-section .card-item:hover {
    box-shadow: #fff 0 0 0, var(--sec) -0 0 0px 1px;
    animation: shadow 1.5s;
    animation-timing-function: ease;
}

@keyframes shadow {
    0% {
        box-shadow: #fff 20px 20px 0, var(--sec) 22px 22px 0px 1px;
    }

    25% {
        box-shadow: #fff -0 0 0, var(--sec) 22px 22px 0px 1px;
    }

    50% {
        box-shadow: #fff -0 0 0, var(--sec) -0 22px 0px 1px;
    }

    75% {
        box-shadow: #fff -0 0 0, var(--sec) -0 0 0px 1px;
    }

    100% {
        box-shadow: #fff -0 0 0, var(--sec) -0 0 0px 0;
    }
}

.des-section .card-item::before {
    height: 100%;
    width: 100%;
    border-radius: 10%;
    box-shadow: #000 -20px 20px 0px, #fafafa -20px -15px 0px 2px;
    transition: 0.5s ease;
}

/* end start des-section */
/* start about-us */
.about-us .img {
    aspect-ratio: 1/1;
    object-fit: cover;
    height: 300px;
}

.about-us .small {
    color: #000;
    font-weight: 600;
}

.about-us .des {
    color: #636262;
    text-align: justify;
}

.about-us .btn-services {
    outline: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 180px;
    height: 50px;
    border-radius: 0.5em;
    box-shadow: 0 0.625em 1em 0 rgba(30, 143, 255, 0.35);
    overflow: hidden;
}

.about-us .btn-services div {
    transform: translateY(0px);
    width: 100%;
}

.about-us .btn-services,
.about-us .btn-services div {
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-us .btn-services div span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0.75em 1.125em;
}

.about-us .btn-services div:nth-child(1) {
    background-color: var(--primary);
}

.about-us .btn-services div:nth-child(2) {
    background-color: var(--sec);
}

.about-us .btn-services:hover {
    box-shadow: 0 0.625em 1em 0 rgba(33, 220, 98, 0.35);
}

.about-us .btn-services:hover div {
    transform: translateY(-50px);
}

.about-us .btn-services p {
    font-size: 17px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.about-us .btn-services:active {
    transform: scale(0.95);
}

.about-us .btn {
    background-color: var(--primary);
    color: white;
}

.about-us .btn i,
.services .btn i {
    transform: rotate(0);
    transition: 0.5s ease;
}

.about-us .btn:hover i,
.services .btn:hover i {
    transform: rotate(-45deg);
}

.about-us ul {
    list-style-type: none;
    padding-right: 0;
    text-align: justify;
}

.about-us li {
    position: relative;
}

.about-us li::before {
    content: "";
    position: absolute;
    background-color: var(--primary);
    width: 10px;
    height: 10px;
    left: -20px;
    top: 0;
    box-shadow: white 5px 5px 0, var(--sec) 5px 5px 0px 1px;
    transform: translate(-100%, 50%);
    transition: 0.5s ease;
}

.about-us li:hover::before {
    box-shadow: white 10px 10px 1px, var(--sec) 10px 10px 0px 1px;
}

/* end about-us */
/* start services */

.services .service_content .service {
    flex-direction: column !important;
}

/* :nth-of-type(even) styles */
.services .service_content:nth-of-type(even) .service {
    flex-direction: column-reverse !important;
}

.services .service_content .service .img {
    position: relative;
    transition: var(--main-transtion);
    height: 300px;
}

.services .service_content .service .img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    background: var(--primary);
    transform: translate(-5px, 0) scaleY(1.1);
    border-radius: 4px;
    transition: 0.5s;
}

/* Common styles for .img img */
.services .service_content .service .img img {
    height: 300px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.services .service_content .service:hover .img::before {
    transform: translate(-10px, -10px) scaleY(1);
}

@media (max-width: 900px) {
    .services .service_content:nth-of-type(even) .service {
        flex-direction: column !important;
    }
}

.services .service_content .service .service_desc .service_name {
    color: var(--sec);
}

.services .service_content .service .service_desc .service_par {
    color: #000;
    text-align: justify;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical;
}

.services .head {
    color: var(--sec);
}

.services .content {
    color: var(--primary);
}

.services .content-desc {
    color: #000;
    text-align: justify;
}

.services .services-button {
    --color: var(--sec);
    background-color: transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: 0.5s;
    font-weight: 400;
    font-size: 15px;
    border: 1px solid;
    font-family: inherit;
    text-transform: uppercase;
    color: var(--color);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.services .services-button::before,
.services .services-button::after {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    background-color: var(--color);
    transition: 1s ease;
}

.services .services-button::before {
    top: -1em;
    left: -1em;
}

.services .services-button::after {
    left: calc(100% + 1em);
    top: calc(100% + 1em);
}

.services .service:hover .services-button::before,
.services .service:hover .services-button::after {
    height: 410px;
    width: 410px;
}

.services .service:hover .services-button {
    color: white;
}

.services .service:hover i {
    color: white;
    transform: rotate(-45deg);
}

.services .services-button:active {
    filter: brightness(0.8);
}

/* end services */
/* start contact */
.contact {
    background-image: url("./../../images/contact-bg1.webp");
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: hsl(0deg 0% 0% / 70%);
}

.contact .container {
    z-index: 1;
    position: relative;
}

.contact .img {
    height: 400px;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.contact .haed {
    color: var(--sec);
}

.contact form button {
    color: var(--sec);
    border: 1px solid white;
    background-color: transparent;
    margin: auto;
}

.form-floating > .form-control {
    border: 0;
    border-bottom: 1px solid var(--sec);
    color: white;
    text-align: left;
    border-radius: 1px;
}

.form-floating > label {
    left: 0;
    right: auto;
    color: white;
}

.form-floating > .seral-number {
    padding-top: 1rem !important;
    height: calc(2.5rem + 2px);
    background: #ffffff00;
}

.form-floating > .chick-number {
    padding-top: 1rem !important;
    height: calc(2.5rem + 2px);
}

.btn-submit {
    /* font-family: inherit; */
    font-size: 20px;
    background: var(--primary);
    color: white;
    padding-left: 0.9em;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-submit:disabled {
    background: rgb(64 129 251 / 50%);
}

.btn-submit span {
    display: block;
    margin-left: 0.3em;
    transition: all 0.3s ease-in-out;
}

.btn-submit svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
}

.btn-submit:hover .svg-wrapper {
    animation: fly-1 0.6s ease-in-out infinite alternate;
}

.btn-submit:hover svg {
    transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

.btn-submit:hover span {
    transform: translateX(5em);
}

.btn-submit:active {
    transform: scale(0.95);
}

@keyframes fly-1 {
    from {
        transform: translateY(0.1em);
    }

    to {
        transform: translateY(-0.1em);
    }
}

/*projects*/
.projects {
    background-color: rgba(217, 217, 217, 0.27);
    position: relative;
}

.projects::before {
    content: "";
    position: absolute;
    width: 80%;
    height: 60%;
    left: 0;
    background: var(--primary);
    border-radius: 6px;
}

/* === removing default button style ===*/
.button-animation-text {
    margin: 0;
    height: auto;
    background: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
}

/* button styling */
.button-animation-text {
    --border-right: 6px;
    --text-stroke-color: rgba(255, 255, 255, 0.6);
    --animation-color: var(--sec);
    --fs-size: 2em;
    letter-spacing: 3px;
    text-decoration: none;
    font-size: var(--fs-size);
    position: relative;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-stroke-color);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .button-animation-text {
        --fs-size: 1.5em;
    }
}

/* this is the text, when you hover on button */
.hover-text {
    white-space: nowrap;
    position: absolute;
    box-sizing: border-box;
    content: attr(data-text);
    color: var(--animation-color);
    width: 0%;
    inset: 0;
    border-right: var(--border-right) solid var(--animation-color);
    border-radius: 4px;
    overflow: hidden;
    transition: 1s;
    -webkit-text-stroke: 1px var(--animation-color);
    animation: animation-text 5s infinite alternate;
}

/* animation */
@keyframes animation-text {
    0% {
        width: 00%;
        filter: drop-shadow(0 0 0 white);
    }

    100% {
        width: 100%;
        filter: drop-shadow(0 0 23px var(--animation-color));
    }
}

/* hover */
/* .projects:hover .hover-text {
    width: 100%;
    filter: drop-shadow(0 0 23px var(--animation-color));
}

.sliderBgSetting:hover .hover-text {
    width: 100%;
    filter: drop-shadow(0 0 23px var(--animation-color));
} */

.sliderBgSetting:hover .hover-text {
    width: 100%;
    filter: drop-shadow(0 0 23px var(--animation-color));
}

.projects .decs {
    border-left: 2px solid var(--sec);
    color: #fff;
    text-align: justify;
}

.projects .par {
    color: #fff;
}

.projects .head {
    color: var(--primary);
    -webkit-line-clamp: 1;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical;
}

.projects .proj {
    color: #000;
    text-align: justify;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow-y: clip;
    -webkit-box-orient: vertical;
}

.projects .card_project {
    background-color: #fff;
}

.projects .card_project .img {
    height: 300px;
}

.projects .owl-carousel .owl-nav {
    position: absolute;
    top: 0;
    height: 200px;
    right: 0;
}

.projects .owl-carousel .owl-nav.disabled {
    display: block;
}

.projects .owl-theme .owl-nav span {
    font-size: 25px;
    border-color: var(--primary) !important;
    background-color: none !important;
}

/* .owl-theme .owl-nav [class*="owl-"]:hover {
    background: none !important;
    text-decoration: none;
} */
.projects .owl-theme .owl-nav .owl-prev {
    /* margin-right: 30px; */
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border: 1px solid var(--sec);
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    position: absolute;
    top: -140px;
    right: 30px;
    color: var(--sec);
}

.projects .owl-theme .owl-nav .owl-next {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    position: absolute;
    top: -140px;
    right: 80px;
    border: 1px solid var(--primary);
    color: var(--primary);
    vertical-align: middle;
}

.projects .owl-theme .owl-nav .owl-prev:hover {
    border: 1px solid var(--primary);
    color: var(--primary);
    background-color: white;
}

.projects .owl-theme .owl-nav .owl-next:hover {
    border: 1px solid var(--sec);
    color: var(--sec);
    background-color: white;
}

@media (max-width: 900px) {
    .projects .owl-theme .owl-nav .owl-next {
        display: none !important;
    }

    .projects .owl-theme .owl-nav .owl-prev {
        display: none !important;
    }

    .projects::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 60%;
        right: 0;
        background: var(--primary);
        /* z-index: -1; */
    }
}

.projects .btn-projects {
    display: inline-block;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #333;
    padding: 0.5em 1.5em;
    font-size: 16px;
    border-radius: 0.5em;
    border: 1px solid var(--sec);
    box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
    width: fit-content;
    margin-left: auto;
}

.projects .btn-projects:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.projects .btn-projects:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.projects .btn-projects:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: var(--sec);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.projects .item:hover .btn-projects {
    color: #ffffff;
    border: 1px solid var(--sec);
}

.projects .item:hover .btn-projects:before {
    top: -35%;
    background-color: var(--sec);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.projects .item:hover .btn-projects:after {
    top: -45%;
    background-color: var(--sec);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

/*clients*/
.clients {
    /* background-color: rgb(248 248 248); */
}

.clients .head {
    color: #333;
    position: relative;
    width: fit-content;
}

.clients .head::before {
    position: absolute;
    content: "";
    width: 15px;
    height: 15px;
    background-color: var(--sec);
    bottom: -10px;
    left: 0;
    transform: translate(0, 10px);
}

.clients .head::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background-color: var(--sec);
    bottom: -5px;
    right: 0;
    transform: translate(0, 10px);
}

.clients .heading {
    color: var(--primary);
}

.clients .box-img {
    position: relative;
    width: 200px;
    min-height: 200px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients .box-img p {
    z-index: 2;
}

.clients .box-img::before {
    content: "";
    border: 8px solid #f8f8f8;
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-20deg);
    border-radius: 10px;
    background-color: #f8f8f8;
    z-index: 1;
}

.clients .box-img::after {
    content: "";
    border: 2px solid var(--primary);
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(20deg);
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.clients .box-img .absolute-span {
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(20deg);
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    z-index: 1;
}

.clients .box-img:hover::after {
    animation: trans 2s linear infinite;
}

@keyframes trans {
    0% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(75deg);
    }
}

@media (max-width: 768px) {
    .main-hed {
        font-size: 25px !important;
    }
}

@media (max-width: 567px) {
    .main-hed {
        font-size: 20px !important;
    }

    .p-descr {
        font-size: 15px;
    }
}

@media (max-width: 567px) {
    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets {
        display: none;
    }
}
