html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.card-products {
    transition: all 0.3s ease;
}

.card-products .card-body {
    padding-bottom: 3.5rem;
}


.card-products:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(48, 105, 193, 255);
}

.card-img-top {
    object-fit: cover;
    height: auto;
    transition: transform 0.3s ease;
}

.card-products:hover .card-img-top {
    transform: scale(1.05);
}

.hover-reveal .hover-button {
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.hover-reveal:hover .hover-button {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.card-payment {
    transition: all 0.2s ease-in-out;
}

.btn-check:checked+.card-payment,
.btn-check+.card-payment:hover {
    border: 2px solid #3069c1;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 255, 0.154);
}



[data-aos] {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    /* Safari iOS */
}

@media (max-width: 576px) {
    .card-products .card-title {
        font-size: 0.9rem;
    }

    .card-products .card-text {
        font-size: 0.85rem;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .card-products .hover-button {
        opacity: 1 !important;
        transform: none !important;
    }

    .text-truncate-mobile {
        max-width: 220px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        vertical-align: middle;
    }
}

.divider {
    margin: 3rem 0;
    position: relative;
}

/* Simple Line with Text */
.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
}

.divider-text::before,
.divider-text::after {
    content: "";
    flex: 1;
    border-top: 1px solid #dee2e6;
}

.divider-text span {
    padding: 0 1rem;
}

/* Gradient Divider */
.divider-gradient {
    height: 3px;
    background: linear-gradient(to right, transparent, #3069c1, transparent);
}

/* Wave Divider */
.divider-wave {
    height: 100px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%233069c1' fill-opacity='0.15' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") center/cover no-repeat;
}

/* Icon Divider */
.divider-icon {
    text-align: center;
    height: 20px;
    position: relative;
}

.divider-icon::before,
.divider-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background-color: #dee2e6;
}

.divider-icon::before {
    left: 0;
}

.divider-icon::after {
    right: 0;
}

/* Double Line */
.divider-double {
    height: 4px;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

/* Dashed */
.divider-dashed {
    border: none;
    height: 1px;
    background: repeating-linear-gradient(to right, #dee2e6 0, #dee2e6 8px, transparent 8px, transparent 16px);
}

/* Angled Divider */
.divider-angled {
    height: 50px;
    background:
        linear-gradient(45deg, transparent 49.5%, #3069c1 49.5%, #3069c1 50.5%, transparent 50.5%),
        linear-gradient(-45deg, transparent 49.5%, #3069c1 49.5%, #3069c1 50.5%, transparent 50.5%);
    background-size: 30px 30px;
    opacity: 0.1;
}

/* Fade Divider */
.divider-fade {
    height: 1px;
    background: linear-gradient(to right, transparent, #6c757d, transparent);
}

/* Content Sections */
.content-section {
    padding: 2rem;
    background-color: #f8f9fa;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

/* Navbar Active */
.navbar .nav-link.active {
    border-bottom: 2px solid #3069c1;
    font-weight: 500;
}