
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar */
html {
    scroll-padding-top: 100px; /* Adjust this value based on your navbar height */
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right , #00368A,#0077ae);
    padding: 15px 30px;
    position:fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 45px; /* Adjust this size based on your logo */
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    /* font-family: 'Fredoka One', cursive;*/
    font-family: Arial, sans-serif;
    position: relative; /* Necessary for the underline effect */
    transition: background-color 0.3s ease-in;
}

/********************************************************************************
/* Hover Effect */
.nav-links li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px; /* Positions the underline below the text */
    left: 0;
    background-color: #fbb923; /* The underline color */
    transition: width 0.1s ease-in-out; /* Animation for underline */
}

/* When hovered */
.nav-links li a:hover {
    color: #fbb923; /* Change text color on hover */
}

.nav-links li a:hover::before {
    width: 100%; /* Animate the underline to full width */
}
/***********************************************************************

/* Burger Menu for Mobile */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #333;
        width: 100%;
        text-align: center;

        
    }

    .nav-links a:hover {
        color: #0077ae;
        background: transparent;
    }
    .nav-links li a::before {
        content: '';
        position: absolute;
        width: 0;
        height: 3px;
        bottom: -5px; /* Positions the underline below the text */
        left: 0;
        background-color:hsla(9, 100%, 64%, 0); /* The underline color */
        transition: width 0.1s ease-in-out; /* Animation for underline */
    }

    .nav-links.nav-active {
        display: flex;
    }

    .burger {
        display: block;
    }
    .nav-links li {
        margin-top: 15px;
        margin-bottom:10px;
    }
    .logo img {
        height: 30px; /* Adjust this size based on your logo */
        display: block;
    }
}

/* ************************** courses css *************************************************************************/
/* Courses Section */
.courses-section {
    padding: 50px 0;
    background-color: #f9f9f9;
    margin-top: 70px;
}

.courses-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #00368A; /* Main color */
}

.courses-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.course-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 250px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.course-card h3 {
    font-size: 1.5rem;
    color: #0077ae;
    margin-bottom: 10px;
}

.course-card p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.course-card button {
    background-color: #0077ae;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease-in-out;
}

.course-card button:hover {
    background-color: #00368A;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 800px) {
    .courses-container {
        flex-direction: column;
        align-items: center;
    }

    .course-card {
        max-width: 90%;
    }
    .course-card img.course-image {
        max-width: 50%;
    height: auto;

}
}
.course-card img.course-image {
    width: 50%;
    height: auto;
    border-radius: 10px 10px 0 0; /* Makes the top corners rounded, matching the card */
    margin-bottom: 15px; /* Adds space below the image */
}
/*****************new courses*******************/
.ai-section {
    background-color: #e7f3ff; /* Light blue background for the AI section */
    padding: 50px 0; /* Extra padding for this section */
    border-top: 5px solid #0077ae; /* Decorative top border */
}

.ai-section h2 {
    text-align: center;
    color: #00368A; /* Darker blue for the heading */
    margin-bottom: 30px;
    font-size: 2.5rem; /* Slightly larger font size */
}

.new_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.new_card {
    background-color: #fff; /* White background for the card */
    border: 1px solid #0077ae; /* Border color matching the section */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    max-width: 300px; /* Wider card for more content */
    margin: 0 20px; /* Margin for spacing between cards */
    text-align: center; /* Centered text */
}

.new_card:hover {
    transform: translateY(-10px); /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
}


/* ************************** footer css **************************************************************************/
.footer {
    background: linear-gradient(to right , #00368A,#0077ae);
    color: #fff;
    padding: 40px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    font-size: 1.4rem;
    color: #FBB923;
    margin-bottom: 15px;
}

.footer p, .footer a {
    font-size: 1rem;
    color: #ddd;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #00AEFF;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
}

.footer-column a {
    display: inline-block;
    margin-right: 10px;
    color: #ddd;
    font-size: 1rem;
}

.footer-column a:hover {
    color: #00AEFF;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
        margin-bottom: 20px;
    }
}
.lang i  {

    margin-right: 5px;
} 