/* -- Location CSS  */
.location {
    width: 90%;
    margin: auto;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .location {
        margin-top: 2.5rem;
        width: 80%;
        font-size: 1em;
    }
}

/* -- H1 Heading  */
.h1 {
    width: 90%;
    line-height: 1.2em;
    margin: auto;
    font-size: 1.8em;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .h1 {
        font-size: 2.5em;
        width: 80%;
        line-height: 1.3em;
    }
}






/* -- Image Box  */
.course-container {
    width: 90%;
    margin: auto;
    padding-bottom: 0.75rem;
}

.course-image {
    width: 100%;
    display: block;
    margin: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.course-duration,
.course-difficulty {
    width: 95%;
    margin: auto;
    font-size: 1em;
    margin-bottom: 0.5rem;
}

.course-duration span,
.course-difficulty span {
    font-weight: 600;
}

.skills-section {
    width: 95%;
    margin: auto;
    display: grid;
    grid-template-columns: 110px calc(100% - 110px);
    margin-bottom: 0.5rem;
}

.skills-title {
    font-size: 1em;
    font-weight: 600;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    list-style: none;
}

.skills-list li {
    background-color: #e5e7eb;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    border-radius: 20px;
    font-size: 0.8em;
    cursor: pointer;
}

.skills-list li:hover {
    background-color: #d1d5db;
}

.buttons {
    width: 95%;
    margin: auto;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}

.download-btn,
.enroll-btn {
    display: inline-block;
    background-color: #facc15;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    color: black;
}

.download-btn:hover,
.enroll-btn:hover {
    background-color: #eab308;
}

@media (min-width: 1024px) {
    .course-container {
        width: 80%;
        white-space: nowrap;
        padding-bottom: 2rem;
    }

    .course-duration,
    .course-difficulty {
        font-size: 1.1em;
    }

    .skills-section {
        grid-template-columns: 120px calc(100% - 120px);
    }

    .skills-title {
        font-size: 1.1em;
    }

    .skills-list li {
        background-color: #e5e7eb;
        padding: 0 1rem;
        display: flex;
        align-items: center;
        border-radius: 20px;
        font-size: 0.9em;
        cursor: pointer;
    }

    .buttons {
        justify-content: start;
        margin-top: 1rem;
    }

    .download-btn,
    .enroll-btn {
        display: inline-block;
        background-color: #facc15;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        margin-right: 1.2rem;
        font-size: 1.1em;
        font-weight: 600;
        text-decoration: none;
        color: black;
    }
}


/* -- Desctiption  */
.des {
    width: 90%;
    margin: auto;
    color: #1a202c;
    margin-top: 2rem;
    border: 0;
    padding: 0;
}
@media (min-width: 1024px) {
    .des {
        width: 80%;
        max-width: 80%;
        margin: auto;
        color: #1a202c;
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
}



/* -- H2  */
.h2 {
    width: 90%;
    margin: auto;
    color: #333;
    border-left: 3px solid #2563EB; /* Tailwind's blue-600 */
    padding-left: 16px;
    margin-top: 20px;
    font-size: 1.5em;
    font-weight: 700;
}
/* -- H3  */
.h3 {
    width: 90%;
    margin: auto;
    color: #333;
    border-left: 3px solid #2563EB;
    padding-left: 16px;
    font-size: 1.2em;
    font-weight: 600;
    padding-top: 7px;
}
/* -- P Tag  */
.p {
    width: 90%;
    margin: auto;
    color: #333;
    border-left: 3px solid #2563EB;
    padding-left: 16px;
    font-size: 1em;
}
@media (min-width: 1024px) {
    .h2 {width: 80%;}
    .h3 {width: 80%;}
    .p {width: 80%;}
}


/* Custom List Style */
.ul {
    list-style-type: disc; 
    width: 90%;
    margin: auto;
    color: #333;
    border-left: 3px solid #2563EB; 
    padding-left: 16px;
}
.ul li {
    margin-left: 20px;
    font-size: 1em;
}
@media (min-width: 1024px) {
    .ul {
        width: 80%;
        
    }
}