/* General Styles */
.hero-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* Course Section */
.course-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    flex-direction: row;
    width: 100%;
}

/* Column Section */
.course-column-section {
    /* flex: 1; */
    /* min-width: 300px; */
    padding: 20px;
    /* width: 48%; */
}

/* Text Styling */
.view-text {
    /* max-width: 90%; */
    text-align: center;
    margin: 20px auto;
}

.view-text p {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #000;
    text-align: center;
}

.small-text,
.small-anothertext {
    /* max-width: 90%; */
    text-align: center;
    margin: 15px auto;
}

.small-text p,
.small-anothertext p {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #585858;
    text-align: justify;
}

/* Row Section */
.course-row-section {
    display: flex;
    justify-content: center;
    /* width: 48%; */
    margin-top: 30px;
}

/* Project Section */
.project {
    text-align: center;
    width: 100%;
}

.live-project {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 15px auto;
}

/* Project Card */
.project-item {
    /* width: 90%; */
    max-width: 280px;
    background-color: #21346B;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

.project-item1 {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
}

/* Top Section */
.top-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.top-item-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #21346B;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.top-item-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Middle Section */
.middle-item {
    background-color: #21346B;
    padding: 15px;
    color: #fff;
    text-align: center;
}

.middle-text-left span {
    color: #F8A32F;
    font-size: 1rem;
}

/* Button */
.buttom-item {
    background-color: #F8A32F;
    padding: 10px;
    border-radius: 5px;
    
}


.buttom-text {
    background-color: #21346B;
    padding: 10px;
    border-radius: 8px;
    display: inline-block;
}
.enroll-now{
    background: none;
    border: none;
    color: white; /* Ensure text is visible */
    font-size: 16px;
    cursor: pointer;
}

.buttom-text a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* ---------------- MEDIA QUERIES ---------------- */

/* Tablets */
@media screen and (max-width: 1024px) {
    .course-section {
        flex-direction: column;
        align-items: center;
    }

    .project-item {
        width: 80%;
    }

    .view-text p {
        font-size: 1.8rem;
    }

    .small-text p,
    .small-anothertext p {
        font-size: 1.0rem;
        text-align: justify;
    }
    .course-column-section {
        /* flex: 1; */
        min-width: 300px;
        padding: 20px;
        width: 90%;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .view-text p {
        font-size: 1.5rem;
    }

    .small-text p,
    .small-anothertext p {
        font-size: 1.0rem;
        text-align: justify;
    }

    .project-item {
        width: 90%;
        max-width: 300px;
    }

    .top-item-circle {
        width: 60px;
        height: 60px;
    }

    .middle-text-left span {
        font-size: 0.9rem;
    }

    .buttom-text {
        padding: 8px;
    }
    .course-column-section {
        flex: 1;
        min-width: 300px;
        padding: 20px;
        width: 90%;
    }
    
}
