body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #ffffff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #1c1c1c;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

nav a:hover {
    color: #2196F3;
}

.hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero .cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #2196F3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero .cta-button:hover {
    background-color: #1E88E5;
}

.courses {
    padding: 40px;
    text-align: center;
}

.courses h2 {
    margin-bottom: 20px;
}

.course-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.course-card {
    display: flex;
    background-color: #1c1c1c;
    border-radius: 10px;
    overflow: hidden;
    width: calc(50% - 10px);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-card img {
    width: 50%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    text-align: center;
}

.course-content h3 {
    margin: 0;
    line-height: 1.5em;
}

.course-content p {
    margin: 10px 0;
    line-height: 1.5em;
}

.learn-more-button {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 16px;
    background-color: #2196F3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    align-self: center;
}

.learn-more-button:hover {
    background-color: #1E88E5;
}

.about {
    background-color: #2c2c2c;
    padding: 40px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 10px;
}

.about-text {
    width: 100%;
}

.about h2 {
    margin-top: 0;
}

footer {
    background-color: #1c1c1c;
    padding: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    margin-top: 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #2196F3;
}

footer form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer form input,
footer form textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
}

footer form button {
    padding: 10px;
    background-color: #2196F3;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

footer form button:hover {
    background-color: #1E88E5;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.quick-links ul {
    width: 50%;
}

@media (max-width: 768px) {

    body {
        font-size: 10px;
    }

    .course-card {
        flex-direction: row;
        width: calc(100%);
    }

    .course-card img {
        width: 50%;
        height:100%;
    }

    .course-content {
        width: 50%;
        text-align: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about img,
    .about-text {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-column {
        width: 100%;
    }
            /* Updated hamburger menu styles */
            .hamburger {
                display: block;
                cursor: pointer;
            }

            .hamburger span {
                display: block;
                width: 25px;
                height: 3px;
                background-color: white;
                margin: 5px 0;
            }

            nav ul {
                display: none;
                position: fixed;
                top: 60px; /* Position below the header */
                left: 0;
                width: 100%;
                background-color: #000003;
                flex-direction: column;
                padding: 20px;
                box-sizing: border-box;
                max-height: calc(100vh - 60px); /* Limit height to viewport minus header */
                overflow-y: auto; /* Allow scrolling if menu is too long */
            }

            nav ul.show {
                display: flex;
            }

            nav li {
                margin: 10px 0;
            }
        
}