﻿.site-card-custom {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    height: 100%;
}

.back-side-card-custom {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-radius: 10px;
    height: 100%;
}

.site-button-custom {
    color: rgba(var(--text-color), 1);
    padding: 0.5rem 1rem;
    border: 2px double transparent;
    background-image: linear-gradient(rgb(13, 14, 33), rgb(13, 14, 33)), radial-gradient(circle at left top, rgb(0, 255, 255), rgb(255, 245, 195));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 0.375rem;
    display: inline-block;
}

    .site-button-custom:hover {
        box-shadow: 0 0 3px 2.5px rgba(0, 255, 255, 0.4);
    }

#product-slider {
    /*    outline: 2px solid red;*/
    transition: transform 0.5s ease;
    scroll-padding-right: 15px;
    -ms-overflow-style: none; 
    scrollbar-width: none;
}
    #product-slider::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

    #product-slider > .card {
        flex: 0 0 calc(33.333% - 1.5rem) !important;
        margin: 0 0.75rem;
    }

    #product-slider img {
        height: 80%;
        object-fit: cover;
        width: 100%;
    }

.card-wrapper {
    perspective: 1000px;
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: calc(33.333% - 1.5rem);
    max-width: calc(33.333% - 1.5rem);
    min-height: 50vh;
    position: relative;
    margin: 0 0.75rem;
}

/* Tablet styles (2 columns) */
@media (min-width: 689px) and (max-width: 992px) {
    #product-slider > .card,
    .card-wrapper {
        flex: 0 0 calc(50% - 1.5rem) !important;
        min-width: calc(50% - 1.5rem) !important;
        max-width: calc(50% - 1.5rem) !important;
        margin: 0 0.75rem;
    }
}

/* Mobile styles (1 column) */
@media (max-width: 688px) {
    #slider-container {
        width: 100% !important;
        padding-right: 15px;
    }

    #product-slider > .card {
        flex: 0 0 100% !important;
        margin: 0 5px;
    }

    .btn-outline-light {
        padding: 0.8rem !important;
        font-size: 0.9rem;
    }

    .card-wrapper {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
    }
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.card-wrapper:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/*.card-wrapper {
    outline: 2px solid red;
}

    .card-wrapper:last-child {
        outline: 2px solid lime;
    }*/

/*Animated Box*/

.product-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
    overflow: hidden;
}

.floating-box {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    animation: animate 5s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.box1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(#f9d924, #ff2c24);
}

.box2 {
    top: 20%;
    left: 75%;
    background: linear-gradient(#01d6ff, #0f24f9);
    animation-delay: -2.5s;
}

.box3 {
    top: 50%;
    left: 90%;
    background: linear-gradient(#e0c3fc, #8ec5fc);
    animation-delay: -1.5s;
}

.box4 {
    bottom: 20%;
    left: 75%;
    background: linear-gradient(#00ff87, #60efff);
    animation-delay: -3s;
}

.box5 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(#ff7eb3, #ff758c);
    animation-delay: -1s;
}

.box6 {
    bottom: 15%;
    left: 25%;
    background: linear-gradient(#ffe29f, #ffa99f);
    animation-delay: -2s;
}

.box7 {
    bottom: 50%;
    left: 10%;
    background: linear-gradient(#f9f586, #e2ffb3);
    animation-delay: -3.5s;
}

.box8 {
    top: 15%;
    left: 25%;
    background: linear-gradient(#8fd3f4, #84fab0);
    animation-delay: -4s;
}

.box9 {
    top: 35%;
    left: 40%;
    background: linear-gradient(#fccb90, #d57eeb);
    animation-delay: -1.8s;
}

.box10 {
    top: 35%;
    left: 60%;
    background: linear-gradient(#c6ffdd, #fbd786, #f7797d);
    animation-delay: -2.2s;
}

@keyframes animate {
    0%, 100% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(-20px);
    }
}


/*Gradient Underline*/

.gradient-underline {
    position: relative;
    display: inline-block;
    color: inherit;
}

    .gradient-underline::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -4px;
        width: 100%;
        height: 3px;
        /* new gradient from #ff00cc → #333399 */
        background: #ff00cc;
        background: -webkit-linear-gradient(to right, #ff00cc, #333399);
        background: linear-gradient(to right, #ff00cc, #333399);
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        transition: transform 0.4s ease;
    }

    .gradient-underline:hover::after {
        transform: translateX(-50%) scaleX(1);
    }