:root {
    --orange: #ffc107;
    --blue: #1E3A8A;
    --light-purple: #E6E6FA;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #D3D3D3;
    --yellow: #ffc107;
    --button-blue: #007BFF;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--light-purple);
}

header {
    background: var(--blue);
    padding: 20px;
    display: flex;
    align-items: center;
}

.brand-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--white);
    /*text-transform: uppercase;*/
}

nav {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: auto;
}

.back-link {
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
}

.back-link:hover {
    color: var(--orange);
}

.job-section {
    padding: 50px 0;
}

.wrapper {
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    text-align: center;
    color: #ED0B0E;
    margin-bottom: 30px;
    font-size: 28px; /* Adjusted to match site aesthetic */
    animation: blink 3s ease infinite; /* Continuous 2-second blink */
}

#referral-heading {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation: blink 2s ease infinite, glow 2s infinite alternate; /* Combine blink and glow */
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; } /* Fully disappear */
    100% { opacity: 1; }
}

@keyframes glow {
    0% { box-shadow: 0 4px 8px rgba(0,0,0,0.2); }
    100% { box-shadow: 0 6px 12px rgba(255, 193, 7, 0.5); }
}

/* Disable animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
    h1, #referral-heading {
        animation: none; /* Remove animations */
        opacity: 1; /* Ensure text is visible */
        box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Static shadow for referral-heading */
    }
}

.job-list {
    list-style: none;
    padding: 0;
}

.job-list li {
    margin-bottom: 20px;
}

.job-link {
    font-size: 24px;
    font-weight: bold;
    color: var(--blue);
    text-decoration: none;
    animation: flash 1s infinite alternate;
}

.job-link:hover {
    color: var(--orange);
}

@keyframes flash {
    0% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Responsive */
@media (max-width: 800px) {
    h1 {
        font-size: 21px;
    }

    #referral-heading {
        font-size: 21px;
    }

    .job-link {
        font-size: 19px;
    }
}