* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0 auto;
    gap: 25px;
}

.nav-links li {
    margin: 0 12px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.banner {
    background: #ff5252;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.banner h1 {
    font-size: 40px;
}

.featured-programs {
    padding: 20px 0 60px 0;
    text-align: center;
}

.featured-programs h1 {
    margin-top: 60px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.course-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: 0.3s;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-weight: bold;
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.course-card h3 {
    font-size: 17px;
    color: #1e2963;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 48px;
}

.description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.view-btn {
    display: block;
    width: 100%;
    background: #FF0000;
    color: #fff;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: auto;
}

.footer {
    background: #23282d;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 25px;
    border-bottom: 2px solid #FF0000;
    display: inline-block;
    padding-bottom: 5px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
}

.footer a:hover {
    color: #FF0000;
}

.footer-logo {
    height: 100px;
    margin-bottom: 5px;
    margin-right: 20px;
    filter: brightness(0) invert(1);
}

.footer-contact p {
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: #FF0000;
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    background: #333;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #3d4144;
    color: #888;
    font-size: 13px;
}

@media (max-width: 992px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .course-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer h3 {
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }


    @media (max-width: 600px) {
        .navbar {
            flex-direction: column;
            padding: 10px;
            gap: 10px;
        }

        .nav-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            padding: 0;
        }

        .nav-links a {
            font-size: 13px;
            padding: 5px;
        }

        .logo img {
            height: 35px;
        }
    }
}