/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Typography */
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f0f0;
    padding-top: 80px; /* Add padding to account for fixed header */
}



/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(44, 62, 80, 0.9);
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    color: #3498db;
}

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1rem;
    position: relative;
}


nav ul li a:hover {
    color: #3498db;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.burger-menu div {
    width: 100%;
    height: 3px;
    background-color: #ecf0f1;
    position: absolute;
    transition: all 0.3s ease;
}

.burger-menu div:nth-child(1) { top: 0; }
.burger-menu div:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger-menu div:nth-child(3) { bottom: 0; }



@media screen and (max-width: 768px) {
    .burger-menu {
        display: block;
    }


    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        flex-direction: column;
        background-color: #2c3e50;
        width: 100%;
        text-align: center;
        transition: all 0.5s ease;
        padding: 20px 0;
        overflow-y: auto;

        opacity: 0;
        display: none;
        transform: translateY(-100%);
    }

    .burger-menu:hover + ul,
    nav ul:hover {
        opacity: 1;
        display: block;
        transform: translateY(0);
    }

    nav ul li {
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    .burger-menu:hover div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger-menu:hover div:nth-child(2) {
        opacity: 0;
    }

    .burger-menu:hover div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .header-content {
        padding: 10px 0;
    }
}



        /* Hero Section Styles */
        .hero {
            background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80');
            background-size: cover;
            background-position: center;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #ffffff;
            position: relative;
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 30px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }

        /* Button Styles */
        .btn {
            display: inline-block;
            background-color: #3498db;
            color: #ffffff;
            padding: 12px 30px;
            text-decoration: none;
            border-radius: 30px;
            transition: background-color 0.3s ease, transform 0.3s ease;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .btn:hover {
            background-color: #2980b9;
            transform: translateY(-3px);
        }

        /* Courses Section Styles */
        .courses {
            padding: 100px 0;
            background-color: #ffffff;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 3rem;
            color: #2c3e50;
        }

        /* Grid Layout for Courses */
        .course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
        }

        .course-card {
            background-color: #ecf0f1;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }

        .course-image {
            height: 200px;
            background-size: cover;
            background-position: center;
        }

        .course-info {
            padding: 20px;
            text-align: center;
        }

        .course-title {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #2c3e50;
        }

        .course-description {
            color: #7f8c8d;
            margin-bottom: 15px;
        }

        /* About Section Styles */
        .about {
            background-color: #ecf0f1;
            padding: 100px 0;
        }

        /* Flexbox Layout for About Content */
        .about-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .about-text {
            flex: 1;
            padding-right: 50px;
        }

        .about-image {
            flex: 1;
            height: 400px;
            /* Using a placeholder image for the about section */
            background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80');
            background-size: cover;
            background-position: center;
            border-radius: 10px;
        }

        /* Testimonial Section Styles */
        .testimonials {
            padding: 100px 0;
            background-color: #ffffff;
        }

        .testimonial-card {
            background-color: #ecf0f1;
            padding: 40px;
            border-radius: 10px;
            text-align: center;
            margin-top: 50px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 20px;
            font-size: 1.2rem;
            color: #2c3e50;
        }

        .testimonial-author {
            font-weight: 700;
            color: #3498db;
        }

        /* Footer Styles */
        footer {
            background-color: #2c3e50;
            color: #ffffff;
            padding: 80px 0 40px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            margin-bottom: 40px;
        }

        .footer-section {
            flex: 1;
            margin: 0 20px;
        }

        .footer-section h3 {
            margin-bottom: 20px;
            font-size: 1.5rem;
            color: #3498db;
        }

        .footer-section p {
            margin-bottom: 10px;
        }
        .footer-section a {
            color: #ffffff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: #3498db;
        }

        .social-icons a {
            color: #ffffff;
            font-size: 1.5rem;
            margin-right: 20px;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .social-icons a:hover:not(:first-child) {
            color: #3498db;
            transform: scale(1.1);
        }
        .social-icons a:hover:first-child {
            color: red;
            transform: scale(1.1);
        }
        .social-icons a i {
            margin-right: 15px;
        }

        .copyright {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
        }








        
        /* Pseudo-element for decorative effect */
        .section-title::after {
            content: "";
            display: block;
            width: 100px;
            height: 4px;
            background-color: #3498db;
            margin: 20px auto 0;
        }

        /* Media Queries for Responsive Design */
        @media (max-width: 768px) {
            .header-content {
                text-align: center;
            }


            nav ul li {
                margin: 0 10px;
            }

            .hero h1 {
                font-size: 3rem;
            }

            .hero p {
                font-size: 1.2rem;
            }

            .about-content {
                flex-direction: column;
            }

            .about-text {
                padding-right: 0;
                margin-bottom: 30px;
            }

            .footer-content {
                flex-direction: column;
            }

            .footer-section {
                margin-bottom: 30px;
            }
        }