@import url("https://fonts.googleapis.com/css2?family=Play:wght@400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@300..700&display=swap");

* {
    font-family: "poppins", "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
}

.text-muted-sm {
    color: #aaa;
    font-size: 14px;
    color: #646464;
    font-size: 30px;
}

@media (max-width: 992px) {
    .scroll-card {
        min-width: 220px;
    }

    .card-img {
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .scroll-card {
        min-width: 180px;
    }

    .card-img {
        max-height: 200px;
    }
}

.scroll-card img,
.swiper-slide img {
    border-radius: 30px;
}

.custom-box {
    background-color: #f0f0f0;
    padding: 80px;
    border-radius: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03);
    font-weight: 42px;
}

.product-slider {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: auto;
    height: 500px;
}

.product-card {
    position: absolute;
    margin: auto;
    max-width: 450px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    pointer-events: none;
}

.product-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.product-card img {
    width: 100%;
    height: 500px;
    display: block;
    object-fit: cover;
}

.nav-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 24px;
    border: none;
}

.btn-light-custom {
    background-color: #f3f3f3;
    color: black;
}

.btn-dark-custom {
    background-color: #1a1a1a;
    color: white;
}

.left-arrow {
    font-weight: 500;
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
}

.right-arrow {
    font-weight: 500;
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .container.d-flex.justify-content-center.align-items-center.flex-wrap.gap-5.mt-5 {
        flex-direction: column;
        gap: 2rem !important;
    }

    .product-card {
        max-width: 90vw;
        margin: auto;
    }

    .product-card img {
        width: 100%;
        height: auto;
    }

    .overlay h5 {
        font-size: 1.5rem;
    }

    .overlay p {
        font-size: 1rem;
    }

    .overlay a {
        font-size: 0.9rem;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .left-arrow,
    .right-arrow {
        font-size: 1rem;
    }

    .text-center {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .name-text {
        font-size: 1rem !important;
    }

    .email-text {
        font-size: 0.95rem !important;
    }
}