/* Hero swiper */
.swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-swiper-slide video,
.hero-swiper-slide img {
    display: block;
    width: 100%;
    height: 75vh;
    object-fit: cover;
}

@media (max-width: 520px) {
    .hero-swiper-slide video,
    .hero-swiper-slide img {
        height: 50vh;
    }
}

.swiper-pagination {
    margin-bottom: 60px;
}


.swiper-pagination .swiper-pagination-bullet-active {
    background-color: #ffc02b;
}

.video-controls {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    inset-inline-start: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.play-pause-btn,
.mute-btn {
    pointer-events: auto;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-swiper-slide:hover .play-pause-btn,
.hero-swiper-slide:hover .mute-btn {
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
}

.mute-btn {
    position: absolute;
    top: 10px;
    inset-inline-start: 50px;
}

.play-pause-btn {
    border: 2px solid white;
    border-radius: 50%;
    padding: 12px;
    box-sizing: content-box;
}

.service-swiper-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    /*font-family: "Inter", sans-serif;*/

}

/* services */
.services-cards-wrapper {
    display: flex;
    /*gap: var(--gap);*/
    padding-bottom: 30px;
    align-items: stretch;

}

.swiper-pagination .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    backdrop-filter: blur(12.5px);
}

.service-swiper-wrapper .swiper-pagination {
    margin-bottom: -10px;
}
.services-cards-wrapper .swiper-wrapper {
    align-items: stretch;
}
.services-cards-wrapper .swiper-slide {
    height: auto;
    display: flex;
}
.services-card {
    position: relative;
    display: flex !important;
    padding: 38px;
    /*max-height: 178px;*/
    height:100%;
    background-color: white;
    border-radius: var(--radius);
    gap: 10px;
    border: 0.5px solid #0000000d;
    box-shadow: 0px 4px 15px 0px #0000000a;
    transition: 0.4s;
}

.services-card:hover {
    /* cursor: pointer; */
    box-shadow: 0px 4px 15px 0px #0000001a;
    /* border: 1px solid var(--yellow); */
    color: var(--yellow);
}

.services-card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.services-card svg {
    width: 170px;
    height: 100px;
    color: var(--card-title);
    transition: 0.4s;
}

.services-card:hover svg {
    color: var(--yellow);
}

.services-card:hover .services-card-title {
    color: var(--yellow);
}

.services-card-title {
    color: var(--card-title);
    transition: 0.4s;
}

.services-card-text {
    font-weight: 300;
}

.services-card-bg {
    position: absolute;
    inset-inline-end: 0;
    bottom: 0;
}

/* Products */
.products-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: var(--gap);
    justify-content: center;
    height: 600px;
    /*align-items: start;*/
    /*flex-wrap: wrap;*/
    /*font-family: "Inter", sans-serif;*/
    padding: 4px;

}

.products-card:nth-child(2) {
    grid-column-start: 4;
}

.products-card {
    position: relative;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 1px 4px 0 #0000001a;
    border-radius: var(--radius);
    /*min-height: 605px;*/
    flex: 1 1 0;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.products-card .card-inner {
  padding: 20px;
  margin-bottom: 10px;
}

.products-card .image-wrapper {
  margin-top: auto;
  aspect-ratio: 0.9722 / 1;
  overflow: hidden;
}

.products-card .image-wrapper img {
  max-width: 100%;
}

.products-card-name {
    color: var(--yellow);
    margin-bottom: 10px;
}

.products-card-title {
    color: #898989;
}

.products-card-text {
    font-size: 15px;
    font-weight: 300;
    color: var(--secondary);
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vatika {
    /*position: absolute;*/
    bottom: -25%;
    inset-inline-end: -10%;
}

.vatika-cream {
    /*position: absolute;*/
    bottom: -10%;
    inset-inline-end: -40%;
}

.video-card {
    grid-column: span 2 / span 2;
    position: relative;
    flex: 0 0 700px;
    /*height: 605px;*/
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(0deg, #e3e8e2, #e3e8e2),
    linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
}

.video-wrapper {
    width: 100%;
    height: 100%;
}

.video-bg {
    width: 100%;
    height: 100%;
    /*object-fit: contain;*/
}

.video-overlay {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.3);
}

.video-content {
    position: absolute;
    bottom: 5%;
    inset-inline-start: 5%;
}

.video-text {
    color: var(--yellow);
}

.video-desc {
    color: white;
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .products-cards-wrapper {
        grid-template-columns: repeat(2, 1fr );
        grid-template-rows: repeat(3, 250px);
    }

    .products-card:nth-child(2) {
        grid-row-start: 3;
    }

    .products-card {
        grid-row-start: 3;
        height: 250px;
        min-height: 250px;
    }


    .vatika {
        position: absolute;
        bottom: -25%;
        height: 100%;
        inset-inline-end: -3%;
    }

    .vatika-cream {
        position: absolute;
        bottom: -10%;
        height: 70%;
        inset-inline-end: -10%;
    }

    .products-card-text {
        width: 60%;
    }

    .video-card {
        height: 500px;
        grid-column: span 2 / span 2;
        grid-row: span 2 / span 2;
    }
}

@media (max-width: 1023px) {
    .products-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 250px);
    }


    .products-card {
        height: 250px;
        min-height: 250px;
    }

    .products-card:nth-child(1) {
        grid-column: span 2 / span 2;
        grid-row-start: 3;
    }

    .products-card.second-card {
        grid-column: span 2 / span 2;
        grid-row-start: 4;
    }

    .vatika {
        position: absolute;
        bottom: -25%;
        height: 100%;
        inset-inline-end: -3%;
    }

    .vatika-cream {
        position: absolute;
        bottom: -10%;
        height: 70%;
        inset-inline-end: -10%;
    }

    .products-card-text {
        width: 60%;
    }

    .video-card {
        height: 500px;
        grid-column: span 2 / span 2;
        grid-row: span 2 / span 2;
    }
}

@media (max-width: 540px) {
    .vatika {
        display: none;
        position: absolute;
        bottom: -30%;
        height: 100%;
        inset-inline-end: -12%;
    }

    .products-card-text {
        width: 100%;
    }

    .vatika-cream {
        display: none;
        position: absolute;
        bottom: -20%;
        height: 70%;
        inset-inline-end: -25%;
    }
}

/* ----------------------------brands----------------------------- */
.slider {
    width: 100%;
    height: var(--height);
    overflow: hidden;
    /* mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent); */
}

.slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}

.slider .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute;
    inset-inline-start: 100%;
    animation: autoRun 40s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc(
            (40s / var(--quantity)) * (var(--position) - 1) - 40s
    ) !important;
    border: 0.25px solid #abb8c040;
    background-color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .list .item img {
    width: 100px;
    height: auto;
}

@keyframes autoRun {
    from {
        inset-inline-start: 100%;
    }
    to {
        inset-inline-start: calc(var(--width) * -1);
    }
}

.slider:hover .item {
    animation-play-state: paused !important;
    /* filter: grayscale(1); */
}

.slider .item:hover {
    cursor: pointer;
    /* filter: grayscale(0); */
}

.slider[reverse="true"] .item {
    animation: reversePlay 40s linear infinite;
}

@keyframes reversePlay {
    from {
        inset-inline-start: calc(var(--width) * -1);
    }
    to {
        inset-inline-start: 100%;
    }
}

/* -------------------Statistics grid-------------------------------- */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: var(--gap);
    font-family: "Poppins", sans-serif;
}


.customers {
    position: relative;
    grid-row: span 2 / span 2;
    background: linear-gradient(
            159.67deg,
            #fcb040 1.13%,
            #fcb750 34.15%,
            #ffffff 99.82%
    );
    overflow: hidden;
}

.customers-title {
    color: white !important;
}

.customers-number {
    color: white !important;
}

.statistics-customers-img {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    transform: translateY(100%);
    transition: 0.7s;
}

.storage-img {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
}

.cart-img {
    position: absolute;
    inset-inline-start: 30%;
    bottom: 0;
    transform: translateX(-300%);
    transition: 2s;
}

[dir="rtl"] .cart-img {
    transform: translateX(300%);
}

.map-svg {
    position: absolute;
    inset-inline-end: 0;
}

[dir='rtl'] .map-svg {
    transform: scaleX(-1);
    min-width: 315px;
    height: 80px;
}

.map-pin {
    position: relative;
    transition: 1s;
    transform: scale(0.3);
}

.pin1 {
    inset-inline-end: -27%;
    bottom: 40%;
}

.pin2 {
    inset-inline-end: 10%;
    bottom: -5%;
}

.pin3 {
    inset-inline-start: -55%;
    bottom: 28%;
}

.storage {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
}

.products {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-column: span 2 / span 2;
    grid-column-start: 4;
}

.selling-points {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-column: span 2 / span 2;
    grid-column-start: 4;
    grid-row-start: 2;
}


.statistics-card {
    position: relative;
    overflow: hidden;
    background-color: white;
    box-shadow: 0px 4px 15px 0px #0000000d;
    padding: 30px;
    border-radius: var(--radius);
}

.statistics-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    position: relative;
    z-index: 10;
}

.statistics-number {
    font-size: 65px;
    font-weight: 200;
    color: #595959;
    position: relative;
    z-index: 10;
}


/* At Orient */
.at-orient {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
}

.orient-img {
    position: relative;
}

.at-orient-content {
    position: absolute;
    padding: 115px 0;
    color: white;
    text-align: center;
}

.at-orient-title {
    font-size: 50px;
    font-weight: 700;
}

.at-orient-text {
    font-size: 25px;
    font-weight: 400;
}

.orient-swiper {
    width: 100%;
    height: 380px;
}

.orient-swiper-slide {
    height: 380px;
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orient-swiper-slide img {
    display: block;
    width: 100vw;
    height: 380px;
    object-fit: cover;
}


@media (min-width: 680px) and (max-width: 1024px) {
    .statistics-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .customers {
        grid-row: span 2 / span 2;
        grid-column: span 2 / span 2;
    }

    .storage {
        grid-column: span 4 / span 4;
        grid-row: span 2 / span 2;
        grid-column-start: 3;
    }

    .products {
        grid-column: span 3 / span 3;
        grid-row-start: 3;
    }

    .selling-points {
        grid-column: span 3 / span 3;
        grid-column-start: 4;
        grid-row-start: 3;
    }

}

@media (max-width: 679px) {
    .statistics-grid {
        display: flex;
        flex-direction: column;
    }
    .storage-img{
        width: 40%;
    }
    .cart-img {
        position: absolute;
        inset-inline-start: 60%;
        bottom: 0;
        transform: translateX(-300%);
        transition: 2s;
        width: 10%;
    }
}

.orient-swiper .swiper-pagination-vertical.swiper-pagination-bullets, .swiper-vertical>.swiper-pagination-bullets{
    inset-inline-end: var(--swiper-pagination-right, 8px) !important;
    inset-inline-start: var(--swiper-pagination-left, auto) !important;
}
.orient-swiper .swiper-wrapper .at-orient-content {
    padding: 0 20px;
}
