/* public/css/landing-style.css */
:root {
    --primary-color: #0e1b31;
    --accent-color: #0099ff;
    --next-image: none;
}

/* --- Base Styles --- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f6f8;
    color: #1a202c;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

/* ADDED for the fix */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-image: var(--next-image, none); /* Controlled by JavaScript */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* ADDED for the fix */
.hero-section.fade-in::after {
    opacity: 1;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-content h1 > span {
    margin-right: 0.25em; /* Reduced spacing */
}


/* --- Content & Policy Grid --- */
.content-section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.voice-matters-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.voice-matters-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.content-section h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    font-weight: 600;
    color: #003366;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #0099ff;
    border-radius: 2px;
}

.policy-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.policy-card {
    width: 450px;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #ffffff;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 35px 0 rgba(0, 153, 255, 0.7);
}

.policy-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    background-color: #003366;
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}

.card-content h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
}

.more-to-come {
    text-align: center;
    margin-top: 3rem;
    color: #6c757d;
    font-style: italic;
    font-size: 1rem;
}

/* New: Styling for the site footer */
.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #e9ecef; /* Light background for the footer */
    color: #6c757d; /* Muted text color */
    font-size: 0.9rem;
}

.site-footer p {
    margin: 0;
}

/* --- Responsive Styles for Mobile --- */
@media (max-width: 768px) {
    .hero-section, .hero-section::after {
        background-position: center center;
        background-attachment: scroll;
    }
}