@font-face {
    font-family: 'Gilroy';
    src: url('assets/font/gilroy/SVN-Gilroy-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/font/gilroy/SVN-Gilroy-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/font/gilroy/SVN-Gilroy-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/font/gilroy/SVN-Gilroy-SemiBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('assets/font/gilroy/SVN-Gilroy-Bold.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

.--border-radius-10 {
    border-radius: 10px;
}

.--border-radius-20 {
    border-radius: 20px;
}

body {
    background-color: #fff;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-blue-dark);
    text-align: center;
}

h2 {
    color: #2E548C;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
}

.object-detail h2 {
    font-size: 28px;
}

.number-focus__inner {
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px 25px;
    margin: 35px;
    height: 180px;
}

.number-focus__inner.first {
    background: #FFE5F1;
}

.number-focus__inner.second {
    background: #CEE2FF;
}

.number-focus__inner.third {
    background: #F7E9FF;
}

.number-focus__inner.fourth {
    background: #FFF0D2;
}

.number-focus-inner__title {
    color: #505050;
    font-weight: 700;
    font-size: 40px
}

.number-focus-inner__description {
    color: #505050;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
}

.card-course__banner {
    height: 250px;
}

.courses-section {
    padding: 30px 0;
    background-image: url("/assets/images/proficiency/courses/background/background.png");
}

.objects {
    /* width: 70%; */
    justify-content: center;
    margin: 0 auto;
}

.active-img {
    display: none;
}

.object__title {
    color: #151836;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
}

.object__inner.active .object__title,
.object__inner:hover .object__title {
    color: var(--color-blue-dark);
}

.object__inner.active .normal-img,
.object__inner:hover .normal-img {
    display: none;
}

.object__inner.active .active-img,
.object__inner:hover .active-img {
    display: block;
}

.object-content {
    padding-top: 50px;
}

.object-detail {
    display: none;
    /* Hide all by default */
}

.object__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
}

.object__inner img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.card-course {
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.card-course__image {
    height: 220px;
    max-width: 100%;
    border-radius: 10px;
}

.card-couse__info .sub-title {
    color: #7A7A87;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
}

.card-couse__info .title {
    color: var(--color-blue-dark);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
}

.card-couse__info .teacher {
    color: #333;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
}

.card-couse__info .sale-price {
    color: var(--color-blue-dark);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    padding-right: 10px;
}

.card-couse__info .original-price {
    color: #BBBBBD;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    text-decoration-line: line-through;
}

.card-couse__info .btn-solid-course {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #EEF4FF;
    color: var(--color-blue-dark);
}

.competency-list {
    display: flex;
    flex-direction: column;
    align-items: self-start;
    gap: 1rem;
    margin-top: 20px;
}

.competency-detail {
    padding: 9px 10px;
    border-radius: 29px;
    border: 0.5px solid #284D9C;
    background: #EEF4FF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.competency-detail:hover,
.competency-detail.active {
    background-color: #284D9C;
    color: #fff;
    transform: translateX(5px);
}

.competency-detail:hover p,
.competency-detail.active p {
    color: #fff;
}

.competency-detail p {
    color: #0270D9;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    margin: 0 auto;
    transition: color 0.3s ease;
}

.value-section {
    background-color: #fff;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.value-section__values {
    height: 415px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.value-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-container p {
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
}

.btn-gradient a:not(.cancel-learning) {
    background: linear-gradient(90deg, #F91366 0%, #FF6F42 100%);
    border-radius: 22px;
    color: #fff;
    border: none;
    padding: 10px 40px;
    text-align: center;
    transition: all 300ms;
    font-size: 12px;
    font-weight: 700;
    line-height: normal;
}


a:not(.cancel-learning).btn-gradient {
    background: linear-gradient(90deg, #F91366 0%, #FF6F42 100%);
    border-radius: 22px;
    color: #fff;
    border: none;
    padding: 10px 40px;
    text-align: center;
    transition: all 300ms;
    font-size: 12px;
    font-weight: 700;
    line-height: normal;
    white-space: nowrap;
}

a:hover:not(.cancel-learning).btn-gradient {
    background: var(--color-blue-dark);
}

.btn-gradient_container {
    text-align: center;
    margin-top: 4rem;
}

.btn-gradient_container a:not(.cancel-learning).btn-gradient {
    font-size: 24px;
    font-weight: 700;
    padding: 20px 20px;
}

.btn-gradient a:hover:not(.cancel-learning) {
    background: var(--color-blue-dark);
}

.customer {
    background-image: url("/assets/images/proficiency/customer/background.png");
    padding: 50px 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.customer h2 {
    color: var(--color-blue-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.customer-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 15px;
    border: 1px solid #E8E8E8;
    height: 350px;
}

.customer-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.customer-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-card__name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.customer-card__role {
    color: #666;
    font-size: 14px;
}

.customer-card__rating {
    color: #DFCC20;
    font-size: 16px;
}

.customer-card__rating i {
    margin-right: 2px;
}

.customer-card__text {
    color: #363230;
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    max-height: 165px;
    /* 18px * 1.5 line-height * 4 lines */
    overflow-y: auto;
    /* add vertical scrollbar when needed */
    line-height: 1.5;
    padding-right: 5px;
    /* space for scrollbar */
}

/* Style the scrollbar for webkit browsers */
.customer-card__text::-webkit-scrollbar {
    width: 4px;
}

.customer-card__text::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.owl-theme .owl-nav {
    font-size: 30px;
    background: transparent;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: transparent;
    color: var(--color-blue-dark);
}

.owl-carousel .owl-item {
    transition: all 0.3s ease;
}

.my-progress {
    border-radius: 10px;
    border: 1px solid #CACACA;
}

.card-title-left {
    color: #465159;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
}

.card-title-right a {
    color: #465159;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
}

.card-title-right a:hover {
    color: #2E548C;
}

.btn-gradient.my-progress-btn a {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    font-family: "Roboto", sans-serif;
    padding: 20px 110px;
}

.btn-gradient.my-progress-btn .cancel-learning {
    color: #465159;
}

.btn-gradient.my-progress-btn .cancel-learning:hover {
    color: var(--color-blue-dark);
}

.course-info {
    border-right: 2px solid #F4F4F4;
}

.course-info__detail-title {
    color: var(--color-blue-dark);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}

.info-progress {
    color: #1F2937;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.info-progress span {
    font-weight: 700;
    font-family: "Inter";
}

.progress {
    border-radius: 999px;
}

.progress-bar {
    border-radius: 999px;
}

.course-info__detail-link {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #F3F4F6;
    background: #E1EBFB;
    display: inline-block;
    color: #274D99;
}

.course-info__detail-progress {
    gap: 20px;
}

.card-course__image img,
.card-couse__info .title,
.card-couse__info .sub-title,
.card-couse__info .teacher,
.card-couse__info .price {
    transition: all 0.3s ease-in-out;
}

.card-course__image img {
    transition: opacity 0.3s ease-in-out;
}

.course-info__detail-progress-inner {
    align-items: center;
}

#otherCoursesModal .btn-gradient.my-progress-btn > div {
    flex-direction: column;
}

.object-detail .accordion-parent .card {
    background: transparent;
    border: none;
    width: 100%;
}

.object-detail .accordion-parent .btn-link:focus {
    text-decoration: unset;
}

.object-detail .accordion-parent .card-header {
    border-radius: 29px;
    border: 0.5px solid #284D9C;
    background: #EEF4FF;
    transition: background 0.3s ease-in-out;
}

.object-detail .accordion-parent .card .card-body {
    padding-left: 0;
    padding-right: 0;
}

.object-detail .accordion-parent .card .card-header__left {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: auto 0;
    flex-basis: 90%;
}

.object-detail .accordion-parent .card .card-header__right {
    width: 30px;
    height: 30px;
    flex-basis: 10%;
}

.object-detail .accordion-parent .card .card-header__left p {
    margin: 0 10px;
    text-align: left;
    color: #0270D9;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.1px;
}

.object-detail .accordion-parent .card:has(.collapse.show) .card-header {
    background: #284D9C;
    border-radius: 29px;
}

.object-detail .accordion-parent .card:has(.collapse.show) .card-header__right {
    rotate: 180deg;
}

.object-detail .accordion-parent .card:has(.collapse.show) .card-header__left {
    color: #fff;
}

.object-detail .accordion-parent .card:has(.collapse.show) .card-header__left p {
    color: #fff;
}

.object-detail .accordion-parent .card .card-course__banner {
    height: 200px;
    border-radius: 10px;
    margin-top: 20px;
}

.object-detail .accordion-parent .card .card-course {
    box-shadow: none;
    border: 0.5px solid #D2D2D2;
}

.object-detail.show {
    display: flex;
}

@media (min-width: 320px) and (max-width: 480px) {
    .value-section__banner {
        margin-top: 150px;
    }

    .value-section__banner img {
        border-radius: 40px;
    }
}

/* Mobile devices */
@media (max-width: 819.98px) {
    h2 {
        font-size: 24px;
    }

    .banner__inner--mobile {
        background-size: contain;
        height: 300px;
        min-height: 300px;
    }

    .courses-section h2 {
        font-size: 20px;
        text-align: center;
    }

    .number-focus__inner {
        margin: 0;
        border-radius: 26.614px;
    }

    .number-focus-inner__title {
        font-size: 32px;
        font-family: 'Gilroy', sans-serif;
        font-weight: 700;
    }

    .number-focus-inner__description {
        font-weight: 400;
    }

    .objects {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        scroll-snap-type: x mandatory;
        justify-content: unset;
        width: auto;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    /* Hide scrollbar for Chrome, Safari, and Opera */
    .objects::-webkit-scrollbar {
        display: none;
    }

    .object-content {
        padding-top: 0px;
    }

    .object {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .courses-section h1 {
        font-size: 1.5rem;
    }

    .object-detail {
        flex-direction: column;
    }

    .competency-detail {
        padding: 0.5rem;
    }

    .competency-detail p {
        font-size: 0.9rem;
    }

    .card-course {
        margin-top: 1rem !important;
    }

    .price {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .original-price {
        margin-top: 0.25rem;
    }

    .value-section__values {
        height: auto;
        padding: 2rem 0 0 0;
    }

    .btn-gradient_container a:not(.cancel-learning).btn-gradient {
        font-size: 20px;
    }

    .btn-gradient a:hover:not(.cancel-learning) {
        background: linear-gradient(90deg, #F91366 0%, #FF6F42 100%);
    }

    .value-section__banner {
        margin-top: 130px;
    }

    .value-section__banner img {
        border-radius: 40px;
    }

    .value-section__values h2 {
        padding: 1rem 0;
        text-align: center;
    }

    .course-info__detail {
        margin: 20px 0 30px 0;
    }

    .course-info__detail-progress {
        margin: 10px auto;
    }

    .btn-gradient.my-progress-btn a {
        padding: 10px 30px;
    }

    .course-info {
        border: unset;
        margin: 0 auto;
    }

    .course-info__detail-link {
        background-color: unset;
        padding: unset;
        border: none;
    }

    #otherCoursesModal .continue-learning {
        order: 2;
        padding: 10px 45px;
        line-height: 1.5;
    }

    #otherCoursesModal .cancel-learning {
        order: 1;
        border-radius: 6px;
        border: 1px solid #F3F4F6;
        font-size: 14px;
        font-weight: 500;
        padding: 10px 15px;
    }

    #otherCoursesModal .btn-gradient.my-progress-btn > div {
        flex-direction: row;
        justify-content: space-between;
    }

    .value-container p {
        font-size: 16px;
    }

    .value-container .btn-gradient {
        text-align: center;
    }

    .value-section__banner {
        margin-top: 0;
    }

    .value-section__banner img {
        border-radius: 40px;
    }

    .object__title  {
        font-size:  18px;
    }

    .card-couse__info .sub-title,
    .card-couse__info .teacher  {
        font-size:  12px;
    }

    .card-couse__info .sale-price,
    .card-couse__info .original-price  {
        font-weight: 400;
    }

    .customer-card .customer-card__name,
    .customer-card .customer-card__text  {
        font-size: 16px;
    }


    .customer-card .customer-card__description  {
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    .courses-section h1 {
        font-size: 2rem;
    }

    .object {
        margin-bottom: 1.5rem;
    }

    .card-course {
        flex-direction: column;
    }

    .card-course__image,
    .card-couse__info {
        width: 100% !important;
        height: auto !important;
    }

    .object-content .object-detail .card-course .card-course__image img {
        width: 100%;
    }

    .btn-solid-course {
        width: 100% !important;
    }

    .competency-list {
        margin-top: 2rem;
    }

    .value-banner {
        padding-top: 50px;
    }

    .course-info__detail-progress {
        margin: 10px auto;
    }

    .course-info__detail-progress-inner {
        align-items: unset;
        flex-direction: column-reverse;
    }

    .btn-gradient.my-progress-btn a {
        padding: 10px 30px;
    }

    .object-content {
        padding-top: 0px;
    }
}

@media only screen and (min-device-width: 819.98px) and (max-device-width: 1024px) {
    .value-section__banner {
        margin-top: 30px;
    }

    .value-section__banner img {
        border-radius: 40px;
    }

    .number-focus__inner {
        margin: 0;
        padding: 0;
    }

    .objects {
        width: 100%;
    }

    .object-content {
        width: 100%;
    }

    .object-content {
        padding-top: 0px;
    }

    .value-container {
        align-items: center;
    }

    .object-detail {
        flex-direction: row;
    }

    .object-detail h2 {
        text-align: center;
    }

    .value-section__values h2 {
        text-align: center;
        text-transform: uppercase;
    }
}

/* Large Devices (Desktops, 1024px and up) */
@media screen and (min-width: 1023.98px) and (max-width: 1279px) {
    .border-right-lg {
        border-right: 2px solid #F4F4F4;
    }

    .info-progress {
        padding-left: 1rem;
    }

    .btn-gradient.my-progress-btn a {
        padding: 10px 40px;
    }

    .number-focus__inner {
        margin: 0;
        padding: 0;
    }

    .objects {
        width: 100%;
    }

    .object-content {
        width: 100%;
    }

    .accordion-parent {
        width: 100%;
    }

    .value-container {
        align-items: center;
    }
}

/* Extra Large Devices (Large desktops, 1280px and up) */
@media screen and (min-width: 1280px) {
    .border-right-lg {
        border-right: 2px solid #F4F4F4;
    }
    .object__inner{
        width: 230px;
    }
    .info-progress {
        padding-left: 1rem;
    }
}