﻿:root {
    --primary: #4B3F92;
    --accent: #7D162B;
    --success: #28a745;
    --warning: #f39c12;
    --white: #ffffff;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    font-size: 14.5px;
}

section {
    margin-bottom: 2px;
}

/* Marquee */
.marquee-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4B3F92, #3949AB, #5C6BC0);
    padding: 5px 0;
    border-radius: 5px;
    height: 30px;
    width: 100%;
}

.marquee-text {
    font-size: 18px;
    font-weight: bold;
    color: white;
    white-space: nowrap;
    display: inline-block;
    animation: fadeAndMove 25s linear infinite;
}

@keyframes fadeAndMove {
    0% {
        transform: translateX(100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Footer */
.footer {
    background-color: var(--primary);
    text-align: center;
    color: var(--white);
}

.nav-footer {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .nav-footer li {
        display: inline-block;
        margin: 0 10px;
    }

.footer .social-icons a {
    font-size: 20px;
    color: var(--white);
    margin: 0 10px;
    transition: transform 0.3s ease;
}

    .footer .social-icons a:hover {
        transform: scale(1.2);
        color: var(--accent);
    }

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 45px;
    height: 45px;
    font-size: 20px;
    border: none;
    border-radius: 50%;
    background-color: #ffc107;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

    #scrollTopBtn:hover {
        background-color: #e0a800;
    }

/* Contact Section */
#contact h2 {
    font-size: 2rem;
}

#contact .form-control {
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
}

#contact .btn-primary {
    background-color: var(--primary);
    border: none;
    border-radius: 8px;
    font-weight: bold;
}

    #contact .btn-primary:hover {
        background-color: #372f6b;
    }

/* Page Title */
.page-title {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(243,243,243,0.95));
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border-radius: 0 0 16px 16px;
}

    .page-title h1 {
        font-size: 2.2rem;
        font-weight: 600;
        color: var(--accent);
        margin-bottom: 0;
    }

    .page-title .underline {
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, #7D162B, #C02425);
        margin: 12px auto 0;
        border-radius: 5px;
        transition: width 0.3s ease;
    }

    .page-title:hover .underline {
        width: 100px;
    }

/* Icon Boxes */
.icon-box {
    border: 2px solid var(--accent);
    border-radius: 12px;
    background: rgba(125, 22, 43, 0.03);
    transition: all 0.3s ease;
}

    .icon-box i {
        color: var(--accent) !important;
        font-size: 2.2rem;
        transition: transform 0.3s ease;
    }

    .icon-box h5 {
        font-weight: 600;
        margin-bottom: 10px;
    }

    .icon-box p {
        font-size: 0.95rem;
    }

    .icon-box:hover {
        background-color: rgba(125, 22, 43, 0.08);
        box-shadow: 0 6px 18px rgba(125, 22, 43, 0.15);
        transform: translateY(-5px);
    }

/* Volunteer Button */
.btn-volunteer {
    background-color: var(--success);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

    .btn-volunteer:hover {
        background-color: #218838;
        color: white;
    }
/* Top Bar */
.top-section {
    background-color: var(--primary);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 2px 0;
    margin-bottom: 0;
}

    .top-section .container {
        padding-top: 0;
        padding-bottom: 0;
    }

.icon-colored {
    color: #C02425; /* replace with your actual header/footer color */
}