.about-course {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    padding: 64px 0;
    background: var(--primary-color-light);
}

.about-course .container {
    position: relative;
}

.about-course .content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;
    gap: 26px;
    max-width: 750px;
}

.about-course > div {
    display: flex;
    justify-content: start;
    align-items: center;
}

.about-course h1 .upper-title {
    color: var(--text-color-dark-secondary);
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.608px;
    font-family: var(--font-family-base);
}

.about-course h1 {
    color: var(--text-color-dark-secondary);
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.684px;
    font-family: var(--font-family-base-semibold);
}

.about-course p {
    color: var(--text-color-black);
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
    font-family: var(--font-family-base);
    max-width: 624px;
}

.course-description {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-description.collapsed {
    max-height: 135px;
    position: relative;
}

.course-description.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(transparent, var(--primary-color-light));
    pointer-events: none;
}

.course-description.expanded::after {
    display: none;
}

.course-description p {
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.toggle-description-btn {
    background: none;
    border: none;
    color: var(--text-color-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    padding: 4px 0;
    text-decoration: underline;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
    transform: translateY(0);
}

.toggle-description-btn:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-1px);
}

.about-course ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.about-course ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-color-black);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.304px;
    font-family: var(--font-family-base);
}

.about-course .content ul li::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--text-color-primary);
    border-radius: 50%;
    margin-right: 8px;
    margin-top: auto;
    margin-bottom: auto;
}
.about-course .buttons-container {
    width: 100%;
    display: flex;
    gap: 16px;
}

.about-course .add-to-cart {
    border: 1px solid #d5d7da;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0px 1px 0px 0px rgba(29, 100, 216, 0.2) inset;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 40px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-course .add-to-cart,
.about-course .add-to-cart span {
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
    line-height: 100%;
    font-family: var(--font-family-inter-bold);
}

.about-course .add-to-cart:hover {
    background: var(--gray-100, #f3f4f6);
    border-color: var(--gray-400, #9ca3af);
    transform: translateY(-2px);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.about-course .add-to-cart a {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.about-course .add-to-cart a svg {
    color: var(--gray-600);
    width: 16px;
    height: 16px;
}

.about-course .buttons-container.mobile {
    display: none;
}

.about-course ul li svg,
.about-course .property-icon {
    display: none;
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .about-course .content {
        max-width: 550px;
    }
    .about-course ul {
        gap: 20px;
        flex-direction: column;
        align-items: start;
    }
}

@media screen and (max-width: 992px) {
    .about-course {
        padding: 24px 0 32px 0;
    }
    .about-course .container {
        display: flex;
        justify-content: center;
        max-width: 90%;
    }

    .about-course .content {
        gap: 0px;
    }

    .about-course .content p {
        margin: 16px 0 32px 0;
    }

    .about-course .content ul {
        margin: 0 0 32px 0;
    }

    .about-course .content ul li::before {
        display: none;
    }

    .about-course ul li svg,
    .about-course .property-icon {
        display: block;
        width: 16px;
        height: 16px;
        color: var(--color-brand-500);
    }

    .about-course .buttons-container.mobile {
        display: flex;
    }

    .about-course .card-properties {
        display: none;
    }

    .about-course .course-card-details {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .about-course {
        padding: 60px 0 0 0;
    }
    .about-course .content {
        width: 100%;
    }

    .about-course h1 .upper-title {
        font-size: 24px;
    }

    .about-course .content h1 {
        font-size: 32px;
    }

    .about-course .content {
        gap: 0px;
    }

    .about-course .content p {
        margin: 0;
    }

    .about-course .content ul {
        margin: 24px 0 40px 0;
    }

    .about-course p {
        font-size: 16px;
        color: var(--gray-450);
    }

    .about-course ul {
        gap: 16px;
        flex-direction: column;
        align-items: start;
    }

    .about-course ul li {
        font-size: 14px;
    }

    .about-course .buttons-container.mobile {
        flex-direction: column-reverse;
    }

    .toggle-description-btn {
        font-size: 14px;
        margin-top: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .course-description.collapsed::after {
        height: 20px;
    }

    @media (prefers-reduced-motion: reduce) {
        .course-description,
        .toggle-description-btn {
            transition: none;
        }
    }
}
