@import "fonts/fonts.css";


.offcanvas-backdrop.show {
    background-color: rgba(0, 0, 0);
    opacity: 0.75;
}
.social-icons {
    transition: 0.4s ease-in-out;

    .social-svg svg {
        transition: 0.4s ease-in-out;
    }

    .social-svg:hover {
        svg {
            fill: rgba(var(--bs-danger-rgb));
        }
    }
}

.services-img {
    height: 645px;
}

@media (max-width: 1199px) {
    .services-img {
        height: 768px;
    }
}

@media (max-width: 991px) {
    .hover-flip-parent {
        top: 120% !important;
        left: 0%;
        right: unset;
        width: fit-content;
    }

    .translate-padding {
        padding-top: 600px !important;
    }
}

@media (max-width: 767px) {
    .services-img {
        height: auto;
    }

    .translate-padding {
        padding-top: 400px !important;
    }
}

/* KEYFRAMES */
@keyframes moveY {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

@keyframes floatRotate {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    25% {
        transform: translateX(20px) rotate(10deg);
    }

    50% {
        transform: translateX(0) rotate(0deg);
    }

    75% {
        transform: translateX(-20px) rotate(-10deg);
    }

    100% {
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes squareMover {
    0%,
    100% {
        transform: translate(0, 0) rotate(0);
    }

    20%,
    60% {
        transform: translate(20px, 40px) rotate(180deg);
    }

    30%,
    80% {
        transform: translate(40px, 60px) rotate(0deg);
    }
}

@keyframes circleMover {
    0%,
    100% {
        transform: perspective(400px) translateY(0) rotate(0deg) translateZ(0px)
            translateX(0);
    }

    50% {
        transform: perspective(400px) rotate(0deg) translateZ(20px)
            translateY(20px) translateX(20px);
    }
}

.circle-mover {
    animation-name: circleMover;
    -webkit-animation-duration: 9s;
    animation-duration: 9s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    z-index: -1;
}

.square-mover {
    -webkit-animation-name: squareMover;
    animation-name: squareMover;
    -webkit-animation-duration: 10s;
    animation-duration: 10s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-perspective: 100px;
    perspective: 100px;
    -webkit-transform-origin: center center;
    transform-origin: center center;
}

/* ------------------------------------------------------ */

/* custom aos classes */
/* Custom modifier for AOS fade-left */
[data-aos="fade-left"].aos-far-left {
    transform: translateX(200%);
    /* default is 100px, increase for more distance */
    opacity: 1 !important;
}

/* When animation is triggered (AOS adds this class) */
[data-aos="fade-left"].aos-far-left.aos-animate {
    transform: translateX(0);
}

.slide-img {
    filter: brightness(0.33);
    transition: all 5s cubic-bezier(0.77, 0, 0.175, 1);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1.2) !important;
}

[data-aos="drop-in-right"] {
    transform: translateX(70vw);
    transition-property: transform, opacity;
}

[data-aos="drop-in-right"].aos-animate {
    transform: translateX(0);
}

/* animation */
.floater-10 {
    animation: floatRotate 10s ease-in-out infinite;
}

.floater-20 {
    animation: floatRotate 20s ease-in-out infinite;
}

@media (min-width: 575px) {
    .service-img-col:hover::before {
        animation: 0.75s ease 0s 1 normal none running circle;
    }

    .service-img-col::before {
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        content: "";
        width: 0px;
        height: 0px;
        transform: translate(-50%, -50%);
        opacity: 0;
        z-index: 10;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
    }

    .custom-splide-arrows {
        width: 50px;
        height: 50px;
    }

    .main-splide > img {
        max-width: 100% !important;
        height: auto !important;
    }
}

.splide__pagination__page {
    background: #ffffff25;
    opacity: 1;
    border: 2px solid #00000000;
    transform: scale(1.3);
}

.splide__pagination__page.is-active {
    background: #ffffff25;
    border: 2px solid #fff;
    transform: scale(1.3);
}

.project-splide .splide__pagination__page {
    background: #cecece;
}

.project-splide .splide__pagination__page.is-active {
    background: #fff;
    border: 2px solid rgb(var(--bs-danger-rgb)) !important;
}

.splide__slide.is-visible {
    .caption {
        opacity: 1 !important;
    }

    .caption > div > .animate-1 > p {
        animation: moveY 1.5s ease;
    }

    .caption > div > .animate-2 > h2 {
        animation: moveY 2s ease;
    }

    .caption > div > .animate-3 > a {
        animation: moveY 1.6s ease;
    }
}

.splide:not(.is-overflow) .splide__list {
    justify-content: center;
}

.translate-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.03;
}

.translate-padding {
    padding-top: 232px;
}

@media (min-width: 768px) {
    .hover-flip:hover {
        img {
            transform: rotateY(180deg);
        }
    }

    .video-section {
        bottom: -126px;
    }
}

/* PROGRESSBAR */
.circle-progress {
    width: 120px;
    height: 120px;
}

.circle-progress svg {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.circle-progress circle {
    fill: none;
    stroke-width: 6;
}

.circle-progress circle.bg {
    stroke: #e8e8e8;
    /* background color */
}

.circle-progress circle.progress {
    stroke: rgb(var(--bs-danger-rgb));
    /* progress color */
    stroke-dasharray: 339.292;
    /* 2 * PI * r (approx for r=54) */
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1s linear;
}

/* PROGRESSBAR */

.triplets {
    &::before {
        transition: all 0.5s ease-in-out;
        content: "";
        background: #0d0d0dd2;
        width: 95%;
        height: 95%;
        /* margin: 10px; */
        position: absolute;
        top: 2.5%;
        left: 2.5%;
        opacity: 0;
        transform: translateY(-30%);
        z-index: 1;
    }

    img {
        transition: scale 0.5s ease-in-out;
    }

    &:hover {
        img {
            scale: 1.05;
        }

        &::before {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.tri-plus {
    .triple-plus {
        &::before {
            transition: all 0.5s ease-in-out;
            content: "+";
            background: #0d0d0d4f;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transform: translateY(-30%);
            z-index: 1;
            font-weight: 250;
            margin: 0px;
            text-align: center;
            align-content: center;
            font-size: 42px;
            color: rgb(var(--bs-danger-rgb));
            pointer-events: none;
        }

        img {
            transition: scale 0.5s ease-in-out;
        }
    }

    .read-dropper {
        transform: scaleY(0);
        transition: transform 0.3s ease-in-out;
        transform-origin: top;
    }

    &:hover {
        .read-dropper {
            transform: scaleY(1);
        }

        img {
            scale: 1.05;
        }

        .triple-plus::before {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.parallax-section {
    min-height: 664px;
    background-image: url("https://sominx-html.vercel.app/assets/images/backgrounds/inspire-bg.jpg");
    /* replace with your image */
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
}

/* Optional overlay */
.parallax-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(var(--bs-danger-rgb), 0.9);
    /* dark overlay */
    z-index: 2;
}

.slide-triplets {
    .position-relative {
        z-index: 3;

        &::before {
            transition: all 0.5s ease-in-out;
            content: "";
            background-color: rgb(var(--bs-danger-rgb));
            bottom: -100%;
            left: -100%;
            width: 100%;
            height: 100%;
            position: absolute;
            z-index: -1;
        }
    }

    * {
        transition: all 0.5s ease-in-out;
    }
}

.slide-triplets {
    &:hover {
        .position-relative {
            .bg-secondary-subtle {
                background: #000 !important;
            }

            &::before {
                bottom: 0;
                left: 0;
            }

            * {
                color: #fff !important;
            }

            svg path {
                stroke: #fff !important;
            }
        }
    }
}

.slide-triplets::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    background-color: rgba(0, 0, 0, 0.3);
    transform: scale(1, 0);
    transition: transform 500ms ease;
    transform-origin: top center;
    z-index: 1;
}

.slide-triplets:hover::before {
    transform: scale(1, 1);
    transform-origin: bottom center;
}

.brand-hover {
    img {
        transition: filter 0.3s ease-in-out;
        filter: opacity(0.3);
    }

    &:hover {
        img {
            filter: opacity(1);
        }
    }
}
