/* Footer Styles - E-Ligtas Binalbagan */
:root {
    --background-color: #F8F7F2;
    --heading-color: #1A05A2;
    --accent-color: #D53E0F;
    --text-color: #333;
}

#hrmo-pledge-bin-statement-section {
    margin-top: 120px;
    margin-bottom: 0px;
    width: 100%;
    background-image: linear-gradient(rgba(248, 247, 242, 0.7), rgba(248, 247, 242, 0.7)), url('../img/samp.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll; 
    padding: 100px 20px;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    text-align: center;
    transform: none !important;
    transition: none !important;
}

#hrmo-pledge-bin-statement-section:hover {
    transform: none !important;
}

.hrmo-pledge-bin-header {
    font-family: 'Raleway', sans-serif;
    color: var(--heading-color);
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hrmo-pledge-bin-accent-line {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto 60px;
}

.hrmo-pledge-bin-commitment-container {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.hrmo-pledge-bin-commitment-statement {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: 0.3s;
}

.hrmo-pledge-bin-message-container {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 40px;
    border-left: 5px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.25);
    text-align: left;
    opacity: 1;
    transform: translateX(-20px);
    animation: fadeInRight 0.8s forwards;
    animation-delay: 0.6s;
}

.hrmo-pledge-bin-message-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.hrmo-pledge-bin-message-text {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--heading-color);
    line-height: 1.6;
}

.hrmo-pledge-bin-sig-container {
    display: flex;
    justify-content: center;
    gap: 150px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 51, 102, 0.1);
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Seal Watermark */
.hrmo-pledge-bin-sig-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/Seal_of_Binalbagan.png/600px-Seal_of_Binalbagan.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.hrmo-pledge-bin-sig-box {
    text-align: center;
    min-width: 250px;
}

.hrmo-pledge-bin-sig-placeholder {
    height: 55px;
    border-bottom: 2px solid var(--heading-color);
    margin-bottom: 15px;
    font-family: 'Brush Script MT', cursive;
    font-size: 1.7rem; /* Reduced desktop cursive size */
    color: var(--heading-color);
    opacity: 0.85;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hrmo-pledge-bin-name {
    font-family: 'Raleway', sans-serif;
    font-variant: small-caps;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.hrmo-pledge-bin-title {
    font-family: 'Roboto', sans-serif;
    font-variant: small-caps;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 1px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    #hrmo-pledge-bin-statement-section {
        background-attachment: scroll;
        margin-top: 60px;
        padding: 60px 15px;
    }

    .hrmo-pledge-bin-header { font-size: 2rem; }
    .hrmo-pledge-bin-commitment-statement { font-size: 1.4rem; }
    .hrmo-pledge-bin-message-text { font-size: 1.2rem; }
    
    .hrmo-pledge-bin-sig-container { 
        flex-direction: column; 
        gap: 30px; 
        padding: 25px 15px; 
    }
    
    .hrmo-pledge-bin-sig-box {
        min-width: 100%;
    }

    /* Scaled down even further for mobile devices */
    .hrmo-pledge-bin-sig-placeholder {
        font-size: 1.2rem; 
        height: 35px;
        padding-bottom: 4px;
    }

    .hrmo-pledge-bin-message-container { margin-bottom: 60px; padding: 20px; }
}