﻿.custom-card {
    width: 100%;
    max-width: 300px; /* Limit card width for better alignment */
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .custom-card:hover {
        transform: translateY(-5px);
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    }

.card-body i {
    display: block;
    margin-bottom: 10px;
}

.card-body h6 {
    font-size: 1rem;
    font-weight: 600;
}

.card-body p {
    font-size: 0.9rem;
}

.card-body .btn {
    border-radius: 20px;
}

.d-flex.flex-wrap {
    gap: 20px;
    justify-content: center;
}
/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Hidden by default */
    width: 50px;
    height: 50px;
    font-size: 24px;
    background-color: #4CAF50; /* Green background */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

    #scrollToTopBtn:hover {
        background-color: #45a049; /* Darker green on hover */
        transform: scale(1.1); /* Slight zoom effect */
    }
