/* body, html {
    min-height: 100vh;
} */

body {
    display: flex;
    flex-direction: column;
    padding-top: 60px;
}

.content {
    flex: 1;
    min-height: 100vh;
}

/* Body for the splash page */
body#index {
    background-image: url('../../Images/Background2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 60px;
}

/* Container for all pages */
.container {
    flex: 1; /* Flex grow the main content area to take all available space */
}

/* Navbar */
.navbar {
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    margin-bottom: 60px;
    z-index: 9999;
}

/* Center-aligned Logo */
.navbar-brand {
    margin: 0 auto;
}

/* Header Logo */
.header-logo {
    max-height: 40px;
}

/* Modal Footer */
.modal-footer {
    border-top: none;
}

.modal-dialog {
    margin-top: 60px !important;
    z-index: 10000;
}

/* Footer and Header for every page */    
.footer, .header {
    background-color: rgba(248, 249, 250, 0.8); /* Semi-transparent background for header and footer */
}

.header {
    padding-left: 12px;
    padding-right: 12px;
}

/* Footer for every page */        
.footer {
    padding: 20px 0;
    margin-top: auto;
}

/* Splash Page */
.cta-button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.fade-container {
    position: relative;
    display: inline-block;
    width: 100%;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.fade-container img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    filter: grayscale(50%);
    transition: filter 0.3s ease;
}

.fade-container img:hover {
    filter: grayscale(0%);
}

.fade-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none; /* Allows clicks to pass through the pseudo-element */
}

.splash-section {
    padding: 20px 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.splash-text-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.splash-image {
    width: 100%;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Additional CSS for Homepage.php to make sidebar and navbar horizontal on mobile */
/* @media (max-width: 992px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }
    .navbar-nav {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
    .navbar-nav .nav-item {
        margin: 0 10px;
    }
    .sidebar {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        height: auto;
    }
    .sidebar a {
        padding: 10px 15px;
        flex-direction: column;
        text-align: center;
    }
    .sidebar a .fa {
        margin: 0 auto;
    }
} */