:root {
    --co-blue: #002855;
    --co-gold: #C5B358;
    --co-light-blue: #f0f7ff;
    --text-dark: #222;
    --white: #ffffff;
    --warning-red: #b22222;
    --gray-bg: #f4f4f4;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Top Bar Styling */
.top-bar-wrapper {
    background-color: #e6e6e6;
    border-bottom: 1px solid #ccc;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
    font-size: 11px;
    color: #333;
}

.access-link {
    color: var(--co-blue);
    text-decoration: none;
    font-weight: 700;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: var(--white);
    border-bottom: 4px solid var(--co-gold);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.state-logo {
    width: 120px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--co-blue);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: var(--co-blue);
}

.nav-apply {
    background-color: var(--co-blue);
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
}

.nav-apply:hover {
    background-color: #001a38;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding: 120px 10%;
    background: linear-gradient(rgba(0, 27, 82, 0.85), rgba(0, 32, 96, 0.85)),
                url('https://images.unsplash.com/photo-1560518883-ce155497367a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.secure-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.warning-box {
    background: rgba(194, 179, 88, 0.2);
    border-left: 5px solid var(--co-gold);
    padding: 15px 20px;
    margin-bottom: 40px;
    font-size: 16px;
    display: inline-block;
    text-align: left;
    border-radius: 0 5px 5px 0;
}

/* Enhanced Apply Button */
.cta-container {
    text-align: center;
    margin-top: 40px;
}

.apply-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: linear-gradient(145deg, #C5B358, #D4C16A);
    color: var(--co-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 6px 20px rgba(0, 40, 82, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.apply-btn:hover {
    background: linear-gradient(145deg, #B8A34A, #C7B158);
    transform: translateY(-3px);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.25),
        0 8px 25px rgba(0, 40, 82, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
    animation: none;
}

.apply-btn:active {
    transform: translateY(1px);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-text {
    margin-right: 10px;
    transition: all 0.3s ease;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(0, 40, 82, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.apply-btn:hover .btn-text {
    margin-right: 15px;
}

.apply-btn:hover .btn-icon {
    background: rgba(0, 40, 82, 0.2);
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.2),
            0 6px 20px rgba(0, 40, 82, 0.2);
    }
    50% {
        box-shadow:
            0 6px 12px rgba(0, 0, 0, 0.25),
            0 8px 25px rgba(197, 179, 88, 0.3);
    }
    100% {
        box-shadow:
            0 4px 8px rgba(0, 0, 0, 0.2),
            0 6px 20px rgba(0, 40, 82, 0.2);
    }
}

/* Eligibility Section */
.eligibility {
    padding: 80px 10%;
    text-align: center;
    background-color: var(--white);
}

.eligibility h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--co-blue);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.eligibility h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--co-gold);
    margin: 10px auto 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: 0.3s;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover {
    border-color: var(--co-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.card .icon {
    font-size: 40px;
    color: var(--co-blue);
    margin-bottom: 20px;
}

.card h3 {
    color: var(--co-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

/* Urgency Section */
.urgency {
    background-color: var(--co-blue);
    color: white;
    text-align: center;
    padding: 50px 10%;
    font-size: 20px;
}

/* Footer */
footer {
    background-color: var(--gray-bg);
    padding: 50px 10% 20px;
    border-top: 1px solid #ddd;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--co-blue);
    font-size: 18px;
}

.footer-links {
    margin: 20px 0;
    font-size: 14px;
}

.footer-links a {
    color: var(--co-blue);
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-address {
    font-size: 13px;
    color: #666;
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .apply-btn {
        padding: 15px 30px;
        font-size: 18px;
    }

    .btn-icon {
        width: 25px;
        height: 25px;
    }
}