.table>thead>tr>th.active-plum {
    background-color: #8c1d58;
    color: #FFFFFF;
}

/* Scroll Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered delay for each goal */
div.animate-on-scroll:nth-of-type(1) {
    transition-delay: 0s;
}
div.animate-on-scroll:nth-of-type(2) {
    transition-delay: 0.3s;
}
div.animate-on-scroll:nth-of-type(3) {
    transition-delay: 0.45s;
}
div.animate-on-scroll:nth-of-type(4) {
    transition-delay: 0.60s;
}

/* Goal Modal Styles */
.modal-popup-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    transition: background-color 0.35s ease, visibility 0.35s;
}
.modal-popup-overlay.active {
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.6);
}
.modal-popup {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.modal-popup-overlay.active .modal-popup {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.modal-popup-header {
    background: linear-gradient(135deg, #8c1d58, #a52868);
    color: #fff;
    padding: 20px 25px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-popup-header h3 {
    margin: 0;
    font-size: 1.4em;
}
.modal-popup-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.modal-popup-close:hover,
.modal-popup-close:focus {
    opacity: 1;
}
.modal-popup-body {
    padding: 25px;
}
.modal-popup-body ul {
    margin: 0;
    padding-left: 20px;
}
.modal-popup-body li {
    line-height: 1.6;
    color: #333;
}
.modal-link {
    cursor: pointer;
    color: #8c1d58;
    text-decoration: underline;
}
.modal-link:hover,
.modal-link:focus {
    color: #a52868;
}