/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Main Header Section */
.main-header {
    background: #f8f9fa;
    padding: 30px 0;
    text-align: left;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-title {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.header-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0;
}

/* Navigation Bar */
.navigation-bar {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4b0082;
}

.dark-mode-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    background: #f0f0f0;
    color: #333;
}

.register-btn {
    background: #4b0082;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background: #3a0066;
    transform: translateY(-1px);
}

/* Top Stories Section */
.top-stories {
    background: linear-gradient(135deg, #20B2AA 0%, #48D1CC 100%);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.stories-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.stories-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.label-text {
    background: #4b0082;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.stories-slider {
    margin-left: 180px;
    overflow: hidden;
    position: relative;
}

.stories-track {
    display: flex;
    gap: 20px;
    animation: slideLeft 72s linear infinite;
    width: fit-content;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.story-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    min-width: 280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.story-card h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.story-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.story-buttons {
    display: flex;
    gap: 10px;
}

.read-more-btn,
.join-now-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn {
    background: #6c757d;
    color: white;
}

.read-more-btn:hover {
    background: #545b62;
}

.join-now-btn {
    background: #4b0082;
    color: white;
}

.join-now-btn:hover {
    background: #3a0066;
}

/* Action Buttons for Post Pages */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.register-action-btn {
    background: linear-gradient(135deg, #e91e63 0%, #4b0082 100%);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.register-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .whatsapp-btn,
    .register-action-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

.pause-play-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.pause-play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #20B2AA 0%, #00CED1 100%);
    padding: 60px 0;
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-desc {
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Card Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 400px;
}

.section-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.section-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.section-content {
    padding: 40px;
}

.section-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Boost Section - Green */
.boost-section {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.boost-section .section-content h2 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.income-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

/* Helalink Section - Orange/Yellow */
.Helalink-section {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
    color: white;
}
.kenya-section {
    /* Green, Red & Black tones for Kenya */
    background: linear-gradient(135deg, #006400 0%, #ff0000 50%, #000000 100%);
    color: white;
}

.ghana-section {
    /* Gold & Red mix for Ghana */
    background: linear-gradient(135deg, #ffcc00 0%, #ff4500 50%, #8b0000 100%);
    color: white;
}

.uganda-section {
    /* Yellow, Black & Purple for Uganda */
    background: linear-gradient(135deg, #ffd700 0%, #000000 50%, #800080 100%);
    color: white;
}


.stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stats span {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.stats i {
    margin-right: 8px;
}

/* App Section - Teal */
.app-section {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
}

/* Started Section - Dark Purple */
.started-section {
    background: linear-gradient(135deg, #4722b5 0%, #6f42c1 100%);
    color: white;
}

/* Videos Section - Pink/Purple */
.videos-section {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    color: white;
}

/* Money Section - Green */
.money-section {
    background: linear-gradient(135deg, #28a745 0%, #32cd32 100%);
    color: white;
}

/* Final Section - Teal */
.final-section {
    background: linear-gradient(135deg, #20B2AA 0%, #00CED1 100%);
    color: white;
}

/* Navigation Dots */
.navigation-dots {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    background: #f8f9fa;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #20B2AA;
    transform: scale(1.2);
}

.dot:hover {
    background: #20B2AA;
    transform: scale(1.1);
}

/* Blog Posts Section */
.blog-posts-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.post-category {
    background: #e91e63;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.post-title {
    color: #333;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-excerpt {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-buttons {
    display: flex;
    gap: 12px;
}

.post-buttons .read-more-btn,
.post-buttons .join-now-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.post-buttons .read-more-btn {
    background: #0fa050;
    color: white;
}

.post-buttons .read-more-btn:hover {
    background: #034920;
    transform: translateY(-1px);
}

.post-buttons .join-now-btn {
    background: #4b0082;
    color: white;
}

.post-buttons .join-now-btn:hover {
    background: #3a0066;
    transform: translateY(-1px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.page-number {
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.page-number:hover {
    background: #4b0082;
    color: white;
    border-color: #4b0082;
}

.page-number.current {
    background: #4b0082;
    color: white;
    border-color: #4b0082;
}

.next-page {
    padding: 10px 20px;
    background: #20B2AA;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.next-page:hover {
    background: #1a9693;
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-content p {
    margin: 0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .section-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-content h2 {
        font-size: 2rem;
    }
    
    .boost-section .section-content h2 {
        font-size: 3rem;
    }
    
    .nav-items {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-image,
    .section-content {
        padding: 20px;
    }
    
    .stats {
        flex-direction: column;
    }
    
    /* Blog Posts Mobile Responsive */
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-card {
        padding: 20px;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
    
    .post-excerpt {
        font-size: 0.95rem;
    }
    
    .post-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-buttons .read-more-btn,
    .post-buttons .join-now-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .page-number,
    .next-page {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .blog-posts-section {
        padding: 40px 0;
    }
    
    .blog-container {
        padding: 0 15px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .header-description {
        font-size: 1rem;
    }
    
    .stories-label {
        position: static;
        text-align: center;
        margin-bottom: 15px;
        transform: none;
    }
    
    .stories-slider {
        margin-left: 0;
    }
    
    .story-card {
        min-width: 250px;
    }
    
    .pause-play-btn {
        top: auto;
        bottom: 10px;
        right: 10px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-content h2 {
        font-size: 1.8rem;
    }
    
    .boost-section .section-content h2 {
        font-size: 2.5rem;
    }
    
    .section-content p {
        font-size: 1rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-content,
.section-image {
    animation: fadeInUp 0.8s ease-out;
}

/* Hover Effects */
.section-container:hover .section-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.section-image img {
    transition: transform 0.3s ease;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional Visual Enhancements */
.section-content h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    margin: 20px 0;
    border-radius: 2px;
}

/* Animation Controls */
.stories-track.paused {
    animation-play-state: paused;
}

/* Loading Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.income-badge:hover {
    animation: pulse 1s infinite;
}

/* Story Card Hover Effects */
.story-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}