/* --- Professional Homepage Styles --- */
body {
    overflow-x: hidden;
    background-color: #ffffff; /* A clean white background */
}

/* --- Animation Utility --- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Top Story Section --- */
.top-story-section {
    max-width: 1100px;
    margin: 1.5rem auto 2rem auto; /* Reduced bottom margin to decrease gap */
    padding: 0 1rem;
}

.top-story-card {
    display: grid;
    grid-template-columns: 1fr;
    text-decoration: none;
    color: inherit;
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

.top-story-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.top-story-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.top-story-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-story-card:hover .top-story-image-wrapper img {
    transform: scale(1.05);
}

.top-story-text {
    padding: 2rem;
}

.top-story-kicker {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0073e6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.top-story-headline {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 1rem 0;
    color: #1c1e21;
}

.top-story-subheadline {
    font-size: 1.1rem;
    color: #606770;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.top-story-meta {
    font-size: 0.9rem;
    color: #8a8d91;
    font-weight: 500;
}
.top-story-meta .top-story-author {
    color: #1c1e21;
    font-weight: 600;
}

/* --- Section Divider --- */
.section-divider {
    border: 0;
    height: 1px;
    background: #e5e7eb;
    margin: 0 auto 4rem auto;
    max-width: 1100px;
}

/* --- General Content Sections --- */
.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content-section {
    margin-bottom: 6rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Merriweather', serif;
    font-weight: 900;
    color: #1c1e21;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #606770;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- "In the News" Section --- */
.news-grid-full {
    display: grid;
    grid-template-columns: 1fr; /* Default to 1 column on mobile */
    gap: 2rem;
}

.news-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.news-card-image-wrapper {
    overflow: hidden;
    height: 220px;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image {
    transform: scale(1.08);
}

.news-card-text {
    padding: 1.5rem;
}

.news-card-headline {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 0.5rem 0;
}

.news-card-subheadline {
    font-size: 1rem;
    color: #606770;
    line-height: 1.6;
    margin: 0;
}

/* --- "Why Join Us?" Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .feature-icon {
    background-color: #e7f3ff;
    color: #0073e6;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover .feature-icon {
    background-color: #0073e6;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 115, 230, 0.4);
}

.feature-item .feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1c1e21;
}

.feature-item p {
    color: #606770;
    line-height: 1.7;
}

/* --- Final CTA Section --- */
.cta-section {
    background: #111827; /* Dark background for contrast */
    color: #fff;
    text-align: center;
    padding: 6rem 1.5rem;
}

.cta-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    opacity: 0.8;
}

.cta-button {
    background-color: #0073e6;
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #005bb5;
}

/* --- Responsive Design --- */
@media (min-width: 768px) {
    .top-story-card {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
    .top-story-image-wrapper {
        height: 100%;
        max-height: 450px;
    }
    .top-story-text {
        padding: 3rem;
    }
    /* NEW: Set grid to 2 columns on tablets and larger */
    .news-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .top-story-headline { font-size: 1.8rem; }
    .top-story-image-wrapper { height: 250px; }
    .cta-content h1 { font-size: 2.2rem; }
    .cta-content p { font-size: 1.1rem; }
    .content-wrapper { padding: 0 1rem; }
    .section-title { font-size: 2rem; }
}

/* --- NEW: Support CTA Banner at top of page --- */
.support-cta-banner {
    background-color: #111827;
    color: #f3f4f6;
    padding: 1rem 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.support-cta-banner p {
    margin: 0;
    font-weight: 500;
}

.support-cta-button {
    background-color: #FBBF24; /* A standout color like yellow/gold */
    color: #1c1e21;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.support-cta-button:hover {
    background-color: #F59E0B;
    transform: translateY(-2px);
}