body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #e0f2fe, #f0f8ff);
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.7;
}

header {
    background: #000000;
    color: white;
    padding: 8px 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header h1 a {
    color: white;
    text-decoration: none;
}

header h1 {
    margin: 0 30px;
    font-size: 2.0em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
    color: white;
    text-decoration: none;

}

.menu-toggle {
    display: none;
    font-size: 32px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    margin-right: 30px;
}

nav {
    flex-grow: 1;
    text-align: right;
}

nav ul {
    list-style: none;
    padding: 0 30px;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    transition: background-color 0.4s ease, transform 0.2s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        text-align: center;
        background: rgba(0, 0, 0, 0.9);
        padding: 15px 0;
        position: absolute;
        width: 100%;
        left: 0;
        top: 70px;
    }

    nav ul.show {
        display: flex;
    }
}

main {
    padding: 13px;
    margin-top: 0px;
    background-color: #ffffff;

}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1160px;
    margin: 0 auto;
    background-color: #ffffff;

}

.predictions-column,
.articles-column {
    padding: 20px;
}

.predictions-column h2,
.articles-column h2 {
    font-size: 1.6em;
    font-weight: 600;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
}

.prediction-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.article-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.article-list article {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.article-list article:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.article-list img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 20px;
    margin: 30px auto;
    border-radius: 10px;
    text-align: center;
    max-width: 700px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.article-title {
    font-weight: 700;
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #34495e;
}

.article-description {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.article-readmore {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 20px;
    border: 2px solid #4a90e2;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.article-readmore:hover {
    background-color: #4a90e2;
    color: white;
}

/* Prediction Styles */
.prediction-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.prediction-item h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
}

.prediction-item p {
    margin: 5px 0;
    color: #666;
    text-align: center;

}


}


main2 {
    padding: 0px;
    margin-top: 0px;
    background-color: #000000;

}

main3 {
    padding: 0px;
    margin-top: 0px;
    background-color: #000000;
    padding-left: 20px;
    padding-right: 20px;


}



.about-section {
    margin-top: 30px;
    padding-top: 20px;
    padding-bottom: 30px;
    background-color: #f8f8f8;


}

.about-section h2 {
    font-size: 1.1em;
    color: #000000;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center; 

}

.about-section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px;
    padding-left: 20px;
    padding-right: 20px;


}

/* ... rest of your CSS ... */
footer {
    background: #34495e;
    color: white;
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
}
