.img-fluid {
    max-width: 100%;
    height: auto;
}

.index-image{
    height:300px;
    width: 450px;
}

/* Ensure the body takes up at least the full height of the viewport */
html, body {
    height: 100%;
}

/* Make the wrapper flex to push the footer to the bottom */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content area takes up remaining space */
.main-content {
    flex: 1;
    padding-top: 70px; /* Adjust for fixed navbar height */
    padding-bottom: 60px; /* Adjust for footer height */
}

.footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
    background: #f8f9fa;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.main-content {
    min-height: calc(100vh - 80px);
}
.fade-out {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
.spinner-container {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

.shadow-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}