* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f9f9f9;
}

nav {
    background: #6624A0;
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    z-index: 1000;
}

label.logo {
    color: white;
    font-size: 35px;
    font-weight: bold;
    margin-left: 20px;
}

nav ul {
    float: right;
    margin-right: px;

}

nav ul li {
    display: inline-block;
    line-height: 50px;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    font-size: 19px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
    text-decoration: none;
}

nav ul li a:hover {
    background: #1b9bff;
    transition: .5s;
}


a:hover {
    background: #1b9bff;
    transition: .5s;
}

.banner-card {
    position: relative;
    font-size: 1.6rem;
    text-align: center;
    margin-top: 80px; /* Adjust for fixed nav */
}

.banner-card img {
    width: 100%;
    height: auto;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.banner-text h4 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, #ff4081, #ff80ab);
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #ff80ab, #ff4081);
    box-shadow: 0 4px 10px rgba(255, 64, 129, 0.5);
    transform: scale(1.05);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #333;
}

.header p {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    flex: 1;
    min-width: 250px;
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin: 20px auto;
    gap: 20px;
}

.text-content {
    flex: 2;
    padding-right: 20px;
}

.text-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

.image-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact-section {
    position: relative;
    width: 100%;
    height: 40vh;
    background: url('img/page-background.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 8, 8, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    line-height: 2rem;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: rgb(245, 245, 245);
}

.icon {
    cursor: pointer;
    height: 2rem;
    margin: 0 10px;
}

.icon:hover {
    opacity: 0.6;
}

.courses-section {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
}

.courses-section h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.courses-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.course-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: calc(25% - 20px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.course-card h3 {
    font-size: 1.2rem;
    margin: 15px 10px 10px;
    color: #333;
}

.course-card p {
    margin: 5px 10px;
    color: #666;
    font-size: 0.9rem;
}

.course-card .price {
    color: green;
    font-weight: bold;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .features {
        flex-direction: column;
    }

    .course-card {
        width: calc(50% - 20px);
    }

    .about-section {
        flex-direction: column;
    }

    .text-content {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .course-card {
        width: 100%;
    }
}