* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1622737133809-d95047b9e673?q=80&w=1932&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 150px;
    background-color: transparent;
}

.navbarleft img {
    width: 100%;
    height: 50px;
    mix-blend-mode: lighten;
}

.navbarright ul {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.navbarright ul li a {
    color: white;
    font-weight: bold;
    font-size: 10px;
    background-color: transparent;
    box-shadow: 0px 0px 8px white;
    padding: 10px;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
}

.navbarright ul li {
    transition: 0.3s;
}

.navbarright ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Projects Section */
.projects {
    padding: 20px 100px;
    background-color: transparent;
    box-shadow: 0px 0px 8px rgb(104, 104, 104);
    margin: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects h2 {
    font-size: 32px;
    color: #f7fffb;
    margin-bottom: 40px;
    text-align: center;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.project-card {
    background-color: transparent;
    box-shadow: 0px 0px 8px rgb(78, 77, 77);
    border: 2px solid white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
    flex: 1 1 300px; /* Allow cards to grow or shrink */
    max-width: 350px; /* Prevent too wide cards */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.project-card h3,
.project-card p {
    color: #ffffff;
}

.project-card p {
    font-size: 14px;
    margin-bottom: 10px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background-color: #008ff5;
    padding: 5px 10px;
    border-radius: 8px;
    display: inline-block;
}

.video-frame {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.5);
}

/* Course Section */
.course-section {
    padding: 50px 100px;
    backdrop-filter: blur(10px);
    background-color: transparent;
    margin: 50px;
    border-radius: 20px;
    box-shadow: 0px 0px 8px #aaa;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.course-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #f1f1f1;
}

.course-card {
    display: flex;
    gap: 30px;
    background-color: rgba(27, 26, 26, 0.8);
    border: 2px solid #ffffff30;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0px 0px 10px #00000050;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
}

.course-image img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 0px 10px #000;
}

.course-content {
    flex: 1;
    min-width: 280px;
}

.course-content h3 {
    font-size: 22px;
    color: #00f7ff;
    margin-bottom: 15px;
}

.course-content p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
}

.learn-list {
    margin: 15px 0;
    padding-left: 20px;
}

.learn-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #fff;
}

.price-tag {
    font-size: 18px;
    font-weight: bold;
    background-color: #007acc;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 8px;
    color: white;
}

.enroll-info a {
    color: #00e1ff;
    text-decoration: none;
    font-weight: bold;
}

/* Technologies Section */
.technologies {
    padding: 50px 100px;
    margin: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0px 0px 8px #aaa;
    color: #fff;
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.tech-card {
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.tech-card:hover {
    transform: scale(1.05);
}

.tech-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    object-fit: contain;
}

.tech-card p {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

/* Footer */
.footer {
    background: transparent;
    color: white;
    padding: 40px 100px 20px;
    font-size: 14px;
    margin: 50px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid #444;
    padding-bottom: 30px;
}

.footer-left img {
    width: 50%;
    height: 50px;
    mix-blend-mode: lighten;
    margin: 10px;
}

.footer-left p {
    color: #ccc;
    max-width: 300px;
}

.footer-center h4,
.footer-right h4 {
    margin-bottom: 10px;
    color: #00eaff;
}

.footer-center p,
.footer-right p {
    margin: 5px 0;
    color: #ccc;
}

.footer-center i,
.footer-right i {
    margin-right: 8px;
    color: #00eaff;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
    transition: 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #00eaff;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #888;
    font-size: 13px;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px 30px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    }

    .navbarleft img {
        width: 120px;
        height: auto;
        margin-bottom: 15px;
    }

    .navbarright ul {
        gap: 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .navbarright ul li a {
        font-size: 14px;
        padding: 12px;
        width: 100%;
        text-align: left;
    }

    .projects, .course-section, .technologies, .footer {
        padding: 30px 20px;
        margin: 20px;
    }

    .project-card {
        width: 100%;
        padding: 15px;
        margin: 10px 0;
        max-width: none; /* Remove max-width constraint */
    }

    .video-frame {
        height: 180px;
    }

    .course-card {
        width: auto;
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }

    .course-image img {
        width: 80%;
    }

    .course-content {
        width: auto;
        text-align: left;
        padding: 10px;
    }

    .tech-card {
        width: 120px;
        height: 120px;
    }

    .tech-card img {
        width: 40px;
        height: 40px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
    }

    .social-icons a {
        margin: 0 10px;
    }
}

#visitor-count {
    font-weight: bold;
    color: #f1c40f;
    font-size: 16px;
    margin-bottom: 5px;
}
