*, *:hover {
    box-sizing: border-box !important;
    padding: 0;
    margin: 0;
    text-decoration: none !important;
    list-style: none !important;
}

a:hover {
    color: #000 !important;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: daum;
}


.f-bold {
    font-family: daum  !important;
}

.f-exbold {
    font-family: daum  !important;
}


.fn-reg {
    font-family: daum  !important;
}

.fn-bold {
    font-family: daum  !important;
}


.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    min-height: 100vh;
    /* Add space for the footer height */
}

.hero-section {
    width: 100%;
    height: inherit;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0px -70px;
}

.card:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.sub-content {
    border: 1px solid #ccc;
    padding: 15px;
    min-height: 400px;
}

ul.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    flex: 1 1 auto;
    text-align: start;
}

.nav-link-cus {
    color: #282828;
    background-color: transparent !important;
    padding:8px;
    min-height:44px;
    /* Remove background color */
}

.nav-link-cus.active {
    border-bottom-width: 2px;
    border-color: #e42315;
    color: #e42315 !important;
    /* Force the active link color */
}

@media (max-width: 768px) {
    .d-flex {
        flex-direction: column;
    }
}

.fixed-footer {
    width: 100%;
    color: white;
    padding: 0;
    position: fixed;
    height: max-content;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    bottom: 0;
}


.navbar {
    border: 1px solid #ccc
}

a {
    text-decoration: none;
    color: #000;
}

.avatar-div {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.avatar-div .avatar-img {
    border-radius: 16px;
    width: 80px;
    height: 80px;
}

.icon-nav-item {
    display: flex;
}

#customLoader {
    display: none;
    /* Ensures it's hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spacing-0 {
    letter-spacing: 0 !important;
}

.expand svg {
    transform: rotate(180deg);
}

