* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background: linear-gradient(
        rgba(0, 0, 0, 0.5), 
        rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0');
    color: white;
}

h1 {
    text-align: center;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 70px;
    font-weight: normal;
    margin-top: 50px;
}

h2 {
    text-align: center;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 50px;
    font-weight: normal;
    margin-top: 50px;
}

.course-list {
    display: flex;
    justify-content: space-evenly;
    margin-top: 50px;
    gap: 60px;
}

.course-list a {
    text-decoration: none;
    color: white;
    transition: 0.2s;
}

.course-list a:hover {
    color: rgb(214, 214, 214);
    transition: 0.2s;
}

.course {
    width: 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.4s;
}

.course img {
    width: 25vw;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    border-top-right-radius: 50px;
    margin: 0;
    z-index: 0;
    box-shadow: 6px 6px beige;
}

.course-description {
    width: 25vw;
    height: 180px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 20px;
    background: linear-gradient(
        120deg,
        #4e7c7a 0%,
        #355e7c 60%,
        #22334a 100%
    );
    color: white;
    padding: 20px;
    margin-top: -10px;
    z-index: 1;
    position: relative;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    box-shadow: 6px 6px beige;
}

.course-description span {
    font-size: 30px;
    display: block;
    margin-bottom: 15px;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.indian-courses, .us-courses {
    margin-bottom: 150px;
    background-color: rgba(116, 177, 174, 0.2);
    padding-bottom: 50px;
    padding-top: 5px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
    transition: 0.5s;
}

.indian-courses:hover, .us-courses:hover {
    scale: 1.01;
    border: 0.5px solid white;
    transition: 0.5s;
}

.indian-courses {
    margin-top: 50px;
}

.course:hover {
    transform: scale(1.01);
    transition: 0.4s;
}

@media (max-width: 1200px) {
    .course-list {
        gap: 0;
    }
    .course img {
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
    .course-description span {
        font-size: clamp(1.3rem, 2vw, 2rem);
    }
    .course-description {
        font-size: clamp(0.8rem, 2vw, 1rem);
        height: 190px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
}

@media (max-width: 750px) {
    .course-description span {
        font-size: clamp(1.1rem, 2vw, 1.5rem);
    }
    .course-description {
        font-size: clamp(0.8rem, 2vw, 1rem);
    }
}

@media (max-width: 600px) {
    body {
        background: linear-gradient(
            rgb(23, 57, 77),
            rgb(90, 102, 109) 
        );
    }
    .course-list {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .course img {
        width: 115%;
    }
    .course-description span {
        font-size: 30px;
    }
    .course-description {
        width: 115%;
        font-size: 18px;
    }
}