/* styles.css */

/* General Styles */
body {
    font-family: "Outfit", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e0f7fa;
}

/* Header Section Styles */
.header {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    width: 150px;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-menu ul li {
    display: inline;
}

.nav-menu ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    padding: 8px 12px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
}

.nav-menu ul li a:hover {
    background-color: #E7E9EA;
    color: #000000;
}


/* ----------------------------------Course Listing Section Styles-------------------------- */
.course-listing {
    background-image: url('bg.png');
    background-color: #007bb5;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.course-listing h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #e0f7fa;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.course-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    width: 250px;
    transition: transform 0.3s, background-color 0.3s;
    color: #007bb5;
}

.course-card:hover {
    transform: translateY(-10px);
    background-color: #e1eff6;
}

.course-card img {
    width: 100%;
    border-radius: 10px 10px 0 0;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #007bb5;
}

.course-card p {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
}

.course-button {
    background-color: #1E5DA0;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.course-button:hover {
    background-color: #17508C;
}

/* --------------------------------- How it Works Section Styles-------------------------- */

.how-it-works {
    background-color: #F3F9FF;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.how-it-works h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #007bb5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background-color: #007bb5;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 10px;
    width: 250px;
    transition: transform 0.3s, background-color 0.3s;
    color: #007bb5;
}

.step-card:hover {
    transform: translateY(-10px);
    background-color: #006697;
}

.step-card img {
    width: 80px;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
}

.step-card p {
    font-size: 16px;
    color: #ffffff;
}



/* -----------------------------------Footer Section Styles------------------------------ */
.footer {
    background-color: #007bb5;
    color: white;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-section {
    width: 200px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #e0f7fa;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ffeb3b;
}

.footer-section p {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-section a {
    color: #ffeb3b;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffeb3b;
}

.social-media a img {
    width: 30px;
    margin: 0 10px;
    transition: transform 0.3s;
}

.social-media a img:hover {
    transform: scale(1.1);
}

.footer-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section form input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 200px;
}

.footer-section form button {
    background-color: #ff6f61;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer-section form button:hover {
    background-color: #e55c50;
}

.footer-bottom {
    background-color: #005a8b;
    padding: 20px;
    text-align: center;
    color: #e0f7fa;
}

.footer-bottom p {
    margin: 0;
}
