* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background: #ff0000;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.education-section {
    padding: 50px 0;
    background-color: white;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.education-item {
    background: #f4f4f4;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.education-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.education-item h3 {
    color: #3F51B5;
    margin-bottom: 10px;
}

.education-item p {
    color: #555;
}

footer {
    background: #ff0000;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.8rem;
    }
}
