body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* Background Image Layer */
.bg {
    background-image: url("assets/images/bg1.png"); /* Corrected path assumption */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed; /* Fixes background layer */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* Reduced opacity for better readability */
    z-index: -1; /* Puts it behind content */
}

/* Main Content Wrapper */
.main-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically in the available space */
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Title Styling */
.erp-title {
    font-size: 2.5rem; /* Larger font size */
    color: #F08000 !important; /* Use a primary color for the title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Module Cards */
.module-card {
    border: none;
    border-radius: 15px; /* Rounded corners */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.module-card:hover {
    transform: translateY(-5px); /* Lift on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.module-img {
    height: 150px; /* Fixed height for image consistency */
    object-fit: cover;
}

.card-body .btn-primary {
    background-color: #F08000; /* Use the brand color */
    border-color: #F08000;
    transition: background-color 0.3s;
}

.card-body .btn-primary:hover {
    background-color: #ff8800;
    border-color: #ff8800;
}

/* Footer Styling (based on your original .container-footer) */
/* Assuming footer.php contains a div with class 'container-footer' */
.container-footer {
    width: 100%;
    background-color: #F08000;
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 10px 5px; /* Added more vertical padding */
    margin-top: auto; /* Pushes the footer to the bottom */
}

.container-footer {
    width: 100%;
    background-color: #F08000;
    color: white;
    text-align: center;
    font-size: 14;
    padding: 5px;
}

.bg {
    background-image: url("../images/bg1.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.3;
}

.container-head {
    width: 100%;
    background-color: #F08000;
    border-radius: 10px;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container-side {
    width: 100%;
    background-color: #F08000;
    border-radius: 10px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
}

.custom-hover {
    color: white;
    transition: all 0.3s;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.custom-hover:hover {
    color: #53ff47;
    font-size: 15px;
    cursor: pointer;
}

.container-full {
    width: 100%;
    border: 3px solid #F08000;
    border-radius: 10px;
    padding: 10px;
    margin: 0 auto;
}

.container-border {
    width: 100%;
    border: 1px solid #F08000;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
}

.container-border-bg {
    width: 100%;
    border: 1px solid #F08000;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    background-color: #39cfed2a;
}