﻿/* Container */
.legal-container {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 25%) 0px 54px 55px, rgb(0 0 0 / 12%) 0px -12px 30px, rgb(0 0 0 / 12%) 0px 4px 6px, rgb(0 0 0 / 17%) 0px 12px 13px, rgb(0 0 0 / 9%) 0px -3px 5px;
    padding: 40px 30px;
    margin: 40px auto;
    max-width: 1200px;
}

/* Titles */
.act-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1c7c54;
    position: relative;
    text-transform: uppercase;
}

    .act-title::after {
        content: "";
        display: block;
        width: 100px;
        height: 3px;
        background: #ffd700;
        margin: 12px auto 0;
        border-radius: 2px;
        transition: width 0.3s ease;
    }

    .act-title:hover::after {
        width: 180px;
    }

.act-subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* Download Button */
.download-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.download-btn {
    display: inline-block;
    padding: 12px 25px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    border-radius: 8px;
    border: 0px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0px 0px 14px -7px #f09819;
    background-image: linear-gradient(45deg, #1c7c54 0%, #28a745 51%, #1c7c54 100%);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin-bottom: 25px;
}

    .download-btn:hover {
        background-position: right center;
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }
/* Layout */
.content-wrapper {
    display: flex;
    gap: 25px;
}

.nav-column {
    flex: 0 0 260px;
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
    overflow-y: auto;
}

.content-column {
    flex: 1;
    min-width: 320px;
}

/* Sidebar Navigation */
.legal-nav {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

    .legal-nav h5 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #1c7c54;
    }

    .legal-nav a {
        display: block;
        padding: 10px 14px;
        color: #1c5a82;
        text-decoration: none;
        border-radius: 6px;
        font-size: 14px;
        transition: all 0.25s;
    }

        .legal-nav a:hover, .legal-nav a.active {
            background: #f1f5f9;
            padding-left: 18px;
            font-weight: 600;
        }

/* Content Sections */
.legal-section {
    margin-bottom: 50px;
    padding: 30px 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-left: 6px solid #1c7c54;
}

.section-heading {
    font-size: 24px;
    font-weight: 700;
    color: #1c4e80;
    margin-bottom: 20px;
}

.section-content p, .section-content ul, .section-content ol {
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 12px;
}

.section-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.section-content ol {
    padding-left: 20px;
    list-style-type: decimal;
}

.section-content em {
    color: #555;
}

/* Back to top inside sections */
.btn-outline-primary {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 14px;
    border: 1px solid #1c5a82;
    border-radius: 6px;
    color: #1c5a82;
    font-size: 13px;
    transition: 0.3s;
}

    .btn-outline-primary:hover {
        background: #1c5a82;
        color: #fff;
    }

/* Scrollbar for sidebar */
.nav-column::-webkit-scrollbar {
    width: 6px;
}

.nav-column::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.1);
    border-radius: 3px;
}

.header-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* allows wrapping on small screens */
    text-align: center;
    margin-bottom: 30px;
}

    .header-line .logo {
        max-height: 100px;
        width: auto;
    }

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .nav-column {
        position: relative;
        height: auto;
        flex: 1;
    }

    .content-column {
        flex: 1;
        min-width: auto;
    }

    .legal-nav a {
        padding: 10px 12px;
    }

    .legal-container {
        padding: 20px 15px;
        margin: 20px 10px;
    }
}

@media (max-width: 576px) {
    .act-title {
        font-size: 24px;
    }

    .act-subtitle {
        font-size: 16px;
    }

    .download-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .section-heading {
        font-size: 20px;
    }

    .section-content p, .section-content ul, .section-content ol {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-line {
        flex-direction: column;
        gap: 15px;
    }

    .act-title {
        font-size: 24px;
    }

    .act-subtitle {
        font-size: 14px;
    }
}


/*=======================
======== WWA1991 ========
========================*/
.wwa-wrapper {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    box-shadow: rgb(0 0 0 / 25%) 0px 54px 55px, rgb(0 0 0 / 12%) 0px -12px 30px, rgb(0 0 0 / 12%) 0px 4px 6px, rgb(0 0 0 / 17%) 0px 12px 13px, rgb(0 0 0 / 9%) 0px -3px 5px;
    padding: 40px 30px;
    margin: 40px auto;
    max-width: 1200px;
}

.wwa-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    text-align: center;
}

.wwa-logo {
    max-height: 100px;
    width: auto;
}

.wwa-title h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1c7c54;
    position: relative;
    text-transform: uppercase;
}

.wwa-title h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background: #ffd700;
    margin: 12px auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.wwa-title h2:hover::after {
    width: 180px;
}

.wwa-title h2 {
    margin: 0;
    color: #1c7c54;
    font-size: 18px;
    font-weight: normal;
}

.wwa-content p {
    line-height: 1.7;
}

.wwa-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .wwa-table th, .wwa-table td {
        border: 1px solid #ccc;
        padding: 8px;
        text-align: center;
    }

.table-responsive {
    overflow-x: auto;
}

.wwa-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

    .wwa-images img {
        max-width: 100%;
        height: auto;
    }

/* Responsive */
@media (max-width: 768px) {
    .wwa-header {
        flex-direction: column;
    }

    .wwa-title h1 {
        font-size: 20px;
    }

    .wwa-title h2 {
        font-size: 16px;
    }
}