html, body {
    overflow-x: hidden;
    background-color: #f5f5f5;
    font-family: 'Lato', sans-serif;
    color: #333333;
}

.logo {
    width: 80%;
    padding: 25px;
    max-width: 500px;
}

.contact-button {
    width: auto !important;
}

.container, .container-fluid {
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    width: 100%;
    padding: 5rem 0;
    background-color: #ffffff;
    color: #333333;
}

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: none;
}

.btn-white {
    background-color: #dd1d22;
    color: #ffffff;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: #bb1a1e;
    color: #ffffff;
    text-decoration: none;
}

.btn-white:active {
    background-color: #aa171b !important;
}

.home-content {
    position: relative;
}

.home-content-inner {
    position: relative;
    display: flex;
    min-height: 100vh;
    z-index: 10;
}

.footer {
    bottom: 1rem;
    position: absolute;
    text-align: center;
    width: 100%;
    background-color: #dd1d22;
    color: #ffffff;
}

.footer .footer-link {
    font-size: 0.85em;
    color: #ffffff;
}

.copyright-text {
    font-size: 0.75em;
    margin: 0;
    color: #ffffff;
}

.agreement-all {
    font-size: 0.9rem;
    text-align: justify;
    text-justify: inter-word;
    background-color: #ffffff;
    color: #333333;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.agreement-body {
    font-size: 0.9rem;
    text-align: justify;
    text-justify: inter-word;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.8;
}

.agreement-header {
    font-size: 1.75rem;
    font-weight: bold;
    text-align: center;
    color: #dd1d22;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.agreement-sub-header {
    font-size: 1.1rem;
    font-weight: bold;
    color: #505050;
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .agreement-all {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .agreement-header {
        font-size: 1.5rem;
    }
    
    .agreement-sub-header {
        font-size: 1rem;
    }
    
    .agreement-body {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .agreement-all {
        padding: 1rem;
        margin: 0;
        border-radius: 4px;
    }
    
    .agreement-header {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .agreement-sub-header {
        font-size: 0.95rem;
        margin-top: 1.5rem;
    }
    
    .agreement-body {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .btn-white {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .home-content {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    body.home-layout-center .home-content-inner {
        margin-left: auto;
        margin-right: auto;
        max-width: 960px;
        transition: transform 0.8s cubic-bezier(0.5, 0, 0.2, 1) 0s;
        will-change: transform;
    }
}

@media (min-width: 1400px) {
    body.home-layout-center .home-content-inner {
        max-width: 50%;
    }
}
