*   {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

:root {
    --primary-blue: #2282c7;
    --dark-blue: #1a5fa0;
    --secondary-green: #059669;
    --accent-gold: #f59e0b;
    --bg-light-gray: #e8eaed;
    --bg-lighter: #f9fafb;
    --border-gray: #d0d0d0;
    --bg-card: #f0f2f5;
    --dark-bg: #1f2937;
    --text-dark: #111827;
    --text-light: #6b7280;
    --white: #ffffff;
    --success-green: #10b981;
    --error-red: #ef4444;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-lighter);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    border-radius: 50%;
}
.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--white);
}

.brand-name span {
    color: var(--accent-gold);
}

nav { 
    background: var(----new-primary); 
    padding: 1rem 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

nav ul { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
}
nav a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.8rem;
}
nav a:hover {
    color: var(--accent-gold);
}

       


    /* Hero Section */    
.hero {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.hero-slide { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    animation: slideShow 24s infinite; /* 24s = 4 slides × 6s each */ 
}

.hero-slide-1 {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    background-image: url('https://res.cloudinary.com/ddatfadov/image/upload/v1768802579/edit_dashboard-overview_xn3xqx.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-slide-2 {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    background-image: url('https://res.cloudinary.com/ddatfadov/image/upload/v1768807387/BabaIjebu-_-GreenLotto-banner_e7se8n.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-slide-3 {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    background-image: url('https://res.cloudinary.com/ddatfadov/image/upload/v1768804893/Feature_Graphic_-_LCC_ta1ttr.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-slide:nth-child(3) {
    animation-delay: 12s;
} 

@keyframes slideShow {
    0% { opacity: 0; }
    5% { opacity: 1; }
    33% { opacity: 1; }
    38% { opacity: 0; }
    100% { opacity: 0; }
} 

.hero-content {
    position: relative;
    color: var(--white);
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(12, 33, 52, 0.947), rgba(32, 63, 85, 0.947));
    z-index: 2; /* ensures text sits above slides */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 0;
}

  /* Smooth Animation */
    @keyframes slideshow {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

     
/* Featured Articles */
.featured-section {
    background: var(--white);
    padding: 4rem 2rem;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    font-size: 1.2rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--bg-lighter);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(34, 130, 199, 0.15);
}

.article-image {
    width: 100%;

    height: 220px; 
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white); 
    font-size: 4rem;
    position: relative;
    overflow: hidden; 
    object-fit: contain;
    background-image: url("");
}
.article-image img {
    width: 100%;
    height: 100%;    
}

.article-content {
    padding: 2rem;
    background: var(--white);
}

.article-category {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.article-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: var(--primary-blue);
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-light-gray);
}

.article-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--dark-blue);
    gap: 0.75rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.newsletter-container {
    text-align: center;
}

.newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--accent-gold);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.newsletter-form button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Message Display */
.message {
    display: none;
    margin-top: 1rem 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.show {
    display: block;
}

.message.success {
    color: #fff;
    background-color: var(--success-green);
}

.message.error {
    color: #fff;
    background: var(--error-red);
}

/* Privacy Notice*/
.privacy-notice {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.85;
}
.privacy-notice a {
    color: var(--accent-gold);
    text-decoration: none;
}
.privacy-notice a:hover {
    text-decoration: underline;
}
        /* About Section */
        .about-section {
            max-width: 1200px;
            margin: 4rem auto;
            padding: 0 2rem;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text h2 {
            font-size: 2.5rem;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
        }

        .about-text p {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            font-size: 1.05rem;
            line-height: 1.8;
        }

        .about-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }

        .feature-item {
            background: var(--white);
            padding: 1.5rem;
            border-radius: 12px;
            border: 1px solid var(--border-gray);
            transition: all 0.3s;
        }

        .feature-item:hover {
            border-color: var(--primary-blue);
            box-shadow: 0 4px 12px rgba(34, 130, 199, 0.1);
        }

        .feature-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            display: block;
        }

        .pro-icon {
           display: block; 
           width: 2rem;
           height: 2rem;
           background-image: url("https://res.cloudinary.com/ddatfadov/image/upload/v1768802579/edit_dashboard-overview_xn3xqx.png");
           background-repeat: no-repeat;
           background-size: cover;
           background-position: center;
           /* box-shadow: 5px 0px 10px 2px #000; */
           border: 1px solid #33333349;
           
        }

        .feature-item h4 {
            color: var(--primary-blue);
            margin-bottom: 0.5rem;
        }

        .feature-item p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin: 0;
        }

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.footer-section p {
    font-style: italic;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-blue);
    padding-left: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #fff;
    background: var(--primary-blue);
    transform: translateY(-3px);
    padding-left: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

       

/* Responsive */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .brand-wrapper {
        display: flex;
    }
    .logo {
        width: 50px;
    }
    .brand-name {
        font-size: 1.2rem;
    }

    /* nav {
        background-color: #059669;
    } */

    nav ul {
        /* display: grid; */
        flex-direction: column;
        width: 100%;
        flex-wrap: wrap;
        /* grid-template-columns: 1fr 1fr; */
        gap: 1rem;
        margin: 0;
        text-align: center;
    }
    nav ul li a {
        font-size: 0.7rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .newsletter h2 {
        font-size: 1.8rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
    width: 100%;
    }
}

