* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f7f7f7;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.app-header {
    top: 0;
    background-color: #238caf;
    color: white;
    font-size: 1em;
    width: 100%;
    padding: 15px;
    text-align: center;
}



/* Top Menu */
.menu {
    display: flex;
    justify-content: space-around;
    background-color: #f7d244; /* Slightly adjusted yellow */
    padding: 15px 10px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    width: 90px;
    height: 120px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.menu-item:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.menu-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.menu-item p {
    font-size: 0.9em;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/* Filter Section */
.filter-section {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #fff;
    margin: 10px 0;
}

.filter-section select {
    padding: 10px;
    font-size: 1em;
    width: 45%;
}

/* Courses Section */

.courses {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 15px;
}

.course-card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 10px;
    margin: 4px;
    width: 200px;
    border-radius: 10px;
    text-align: left; /* Left-aligned content */
    overflow: hidden;
    position: relative; /* For positioning the discount tag */
}


.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.course-card img {
    width: 100%;
    border-radius: 8px;
}

.course-card h3 {
    font-size: 1.2em;
    margin: 15px 0 10px 0;
    color: #333;
    font-weight: bold;
    line-height: 1.2;
}

.course-card p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

/* Discount Tag */

.discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff3b30;
    color: white;
    padding: 3px 10px;
    font-size: 0.8em;
    border-radius: 5px;
    font-weight: bold;
}

/* Pricing Section */
.price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price del {
    color: #999;
    font-size: 0.85em;
}

.price span {
    font-size: 1.1em;
    font-weight: bold;
    color: #28a745; /* Green color for discount price */
}