body {
    margin: 0 !important;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
    background-color: #f5f5f5 !important;
    flex-direction: column !important;
    padding-top: 115px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 80px;
}

.content {
    padding: 50px 20px;
    text-align: center;
    flex: 1;
}

#footer-container {
    margin-top: auto !important;
}

.new_footer_area {
    background: white;
    margin-top: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.new_footer_area .footer_bottom {
    padding-top: 10px;
    padding-bottom: 15px;
}

.footer_bottom {
    background-color: #2c4a66;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    color: white;
    padding: 27px 0px;
    margin: 0;
}

.footer-main {
    background-color: #2c4a66;
    color: white;
    padding: 10px 20px;
    font-size: 15px;
    margin: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-right {
    text-align: right;
}

.footer-link {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    margin-left: 20px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 5px;
    transition: 0.3s ease-in-out;
}

.footer-link:hover {
    color: #ddd;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content h3 {
    color: #2c4a66;
    border-bottom: #000 solid 3px;
}

.modal-content a {
    color: #2c4a66;
    text-decoration: none;
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    width: 800px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: left;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
}

.scroll-container {
    overflow-y: auto;
    padding-right: 10px;
    position: relative;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: #2c4a66 #e0e0e0;
    max-height: 50vh;
}

.scroll-container::-webkit-scrollbar {
    width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: #2c4a66;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.scroll-container::before,
.scroll-container::after {
    content: "";
    position: sticky;
    left: 0;
    right: 0;
    height: 20px;
    pointer-events: none;
    z-index: 10;
}

.scroll-container::before {
    top: 0;
    background: linear-gradient(to bottom, white, transparent);
}

.scroll-container::after {
    bottom: 0;
    background: linear-gradient(to top, white, transparent);
}

.close-button {
    margin-top: 20px;
    background-color: #2c4a66;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.close-button:hover {
    background-color: #1f3550;
}

.hidden {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right {
        text-align: left;
        margin-top: 10px;
    }

    .footer-link {
        margin-left: 0;
        font-size: 14px;
    }

    .footer-main {
        font-size: 14px;
        padding: 15px 10px;
    }

    .modal-content {
        width: 360px;
        height: 430px;
        margin-top: 75px;
    }
}