@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Open+Sans:wght@400;500&display=swap');

:root {
    --corporate-blue: #005B99;
    --light-blue-gray: #E6F0FA;
    --deep-blue: #003366;
    --muted-gold: #FFD700;
    --dark-slate: #2D3748;
    --slate-gray: #718096;
    --white: #FFFFFF;
    --border: #CBD5E0;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
    --error-red: #DC3545;
    --success-green: #28A745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--light-blue-gray);
    color: var(--dark-slate);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--corporate-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header.scrolled {
    box-shadow: var(--shadow-hover);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

header .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

header img {
    height: 48px;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-slate);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--corporate-blue);
}

.btn-primary {
    background: linear-gradient(90deg, var(--muted-gold), #FFE082);
    color: var(--dark-slate);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
    min-width: 180px;
    justify-content: center;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #FFE082, var(--muted-gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: linear-gradient(90deg, var(--corporate-blue), #004080);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
    min-width: 180px;
    justify-content: center;
}

.btn-secondary:hover {
    background: linear-gradient(90deg, #004080, var(--corporate-blue));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('hero-bg.jpg') no-repeat center center/cover;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--corporate-blue);
    opacity: 0.8;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero .btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero .btn-container button {
    width: 100%;
    max-width: 250px;
}

.section {
    padding: 100px 0;
}

.section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    text-align: justify;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    stroke: var(--corporate-blue);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: var(--slate-gray);
}

.testimonial-card {
    background: var(--light-blue-gray);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.testimonial-card img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.testimonial-card p {
    font-size: 1rem;
    color: var(--slate-gray);
    font-style: italic;
}

.testimonial-card p:last-child {
    font-weight: 500;
    color: var(--dark-slate);
    font-style: normal;
    margin-top: 10px;
}

.hr-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, var(--muted-gold), var(--corporate-blue));
    margin: 40px 0;
}

footer {
    background: var(--deep-blue);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

footer p {
    font-size: 1rem;
    margin-bottom: 20px;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .social-links a {
    color: var(--white);
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-links a:hover {
    color: var(--muted-gold);
    transform: scale(1.1);
}

footer .social-links svg {
    width: 24px;
    height: 24px;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

form {
    width: 80vw;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

form h2, form h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

form h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

form .form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

form .form-section {
    margin-bottom: 20px;
}

form input, form select, form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--dark-slate);
    background: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus, form select:focus, form textarea:focus {
    outline: none;
    border-color: var(--corporate-blue);
    box-shadow: 0 0 0 3px rgba(0, 91, 153, 0.1);
}

form label {
    font-weight: 600;
    color: var(--dark-slate);
}

form button {
    align-self: center;
    margin-bottom: 20px;
}

form .checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

form .checkbox-container input {
    width: 16px;
    height: 16px;
}

form .error {
    color: var(--error-red);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 10px;
}

form .success {
    color: var(--success-green);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 10px;
}

form .forgot-link {
    text-align: center;
    margin-top: 10px;
}

form .forgot-link a {
    color: var(--corporate-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

form .forgot-link a:hover {
    color: var(--muted-gold);
}

form .already-link {
    text-align: center;
    margin-top: 10px;
}

form .already-link a {
    color: var(--corporate-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

form .already-link a:hover {
    color: var(--muted-gold);
}

.collapsible-content {
    display: none;
}

.collapsible-content.active {
    display: block;
}

.collapsible-button {
    margin-top: 40px;
}

#contribution-form {
    margin-top: 40px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    width: 80vw;
    max-width: 600px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.modal-content form {
    width: 100%;
    padding: 0;
    box-shadow: none;
}

.modal-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-slate);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-content .close-btn:hover {
    color: var(--corporate-blue);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--white);
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--light-blue-gray);
    font-weight: 600;
    color: var(--corporate-blue);
}

tr:hover {
    background: #F9FAFB;
}

tr[status="Approved"] td.status {
    color: var(--success-green);
    font-weight: 600;
}

tr[status="Rejected"] td.status {
    color: var(--error-red);
    font-weight: 600;
    cursor: pointer;
}

tr[status="Pending"] td.status {
    color: #D69E2E;
    font-weight: 600;
}

.filter-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero .btn-container {
        flex-direction: row;
    }

    .hero .btn-container button {
        width: auto;
    }
}

@media (max-width: 767px) {
    main {
        padding-top: 30px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 10px;
        font-size: 1rem;
        color: var(--dark-slate);
        text-align: center;
    }

    .nav-menu a.btn-primary {
        background: none;
        box-shadow: none;
        min-width: auto;
        padding: 10px;
        color: var(--dark-slate);
    }

    .nav-menu a.btn-primary:hover {
        background: none;
        transform: none;
        color: var(--corporate-blue);
    }

    .nav-menu a.btn-primary svg {
        display: none;
    }

    #menu-toggle {
        display: block;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.75rem;
    }

    form h2, form h3 {
        font-size: 1.5rem;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }
}