body {
    background: var(--teflie-background-warm) !important;
    color: var(--teflie-text-primary);
}

p {
    line-height: 1.2;
}

.diploma-course-summary ul li{
    list-style-type: disc;
}

.hero-course .accredation-wrapper{
    max-width: 100%;
}

/* Quiz section styles */
.quiz-image {
    width: 35%;
    position: relative;
}

.quiz-image img {
    width: 400px;
    border-radius: 25px;
}

.quiz-image .sparkle-image {
    position: absolute;
    top: -57px;
    right: -45px;
    width: 95px;
    height: auto;
    rotate: (45deg);
    transform: rotate(-2deg);
}

.quiz-container {
    gap: 60px;
    align-items: center;
}

.quiz-content {
    width: calc(100% - 35% - 60px);
}

.quiz-content .button-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media(max-width:545px) {
    .quiz-content .button-wrapper {
        flex-wrap: wrap;
        gap: 10px;
        row-gap: 15px;
        margin: 20px 0 25px;
    }
}
/* Quiz section styles  */

/* practice course section  */
.practice_course_container {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media(max-width:545px) {

    .column-8 {
        width: 100% !important;
    }

    .quiz-image .sparkle-image {
        display: none;
    }

}

.c_price {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: end;
    padding: 4px 10px;
}

.course-background {
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

.card{
    height: 100%;
}

@media(min-width: 545px){
   section:not(#specialist_courses) .splide__list {
    width: 868px;
  }
}


.course-card-wrapper {
    padding: 30px;
}

/* English test section style  */

.second-quiz {
    background-color: var(--teflie-background-light-blue);
    padding-top: var(--teflie-space-xl);
    padding-bottom: var(--teflie-space-xl);
    margin-top: var(--teflie-space-lg);
}

@media(max-width:545px) {
    .second-quiz {
        padding-top: var(--teflie-space-lg);
        padding-bottom: var(--teflie-space-md);
    }
}
/* English test section style  */

/* App section style*/
.tefl-app-section {
    background: linear-gradient(135deg, #d4f1f4 0%, #b8e6ea 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    z-index: -1;
}

.tefl-app-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 80px;
    width: 150px;
    height: 2px;
    background: #7ec8d0;
    transform: translateY(-50%);
}

.tefl-app-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 60px;
    width: 40px;
    height: 40px;
    background-image: url('/wp-content/uploads/2025/09/Vector(5).svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.6;
}

.content-left {
    flex: 1;
    padding-left: 60px;
}

.content-left h2 {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.content-left p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 450px;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-buttons a {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.app-buttons img {
    height: 50px;
    width: auto;
}

.phone-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-frame {
    position: relative;
    width: 320px;
    height: 640px;
    background: #1a1a1a;
    border-radius: 45px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-notch {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 968px) {

    .content-left {
        padding-left: 0;
    }

    .content-left h2 {
        font-size: 36px;
    }

    .content-left p {
        margin: 0 auto 30px;
    }

    .app-buttons {
        justify-content: center;
    }

    .tefl-app-section::before,
    .tefl-app-section::after {
        display: none;
    }

    .phone-frame {
        width: 280px;
        height: 560px;
    }
}

@media (max-width: 480px) {
    .tefl-app-section {
        padding: 60px 15px;
    }

    .content-left h2 {
        font-size: 32px;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .app-buttons img {
        height: 45px;
    }
}

/*App section styles*/

.ast-row {
    display: flex;
    gap: 40px;
    max-width: 1200px;
}

.column-7 {
    width: 70%;
}

.column-5 {
    width: 50%;
}


/* Responsive */
@media (max-width: 768px) {
    .ast-row {
        flex-direction: column;
    }

    .column-7,
    .column-5 {
        width: 100%;
    }

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

    #specialist_courses .custom-arrows {
        left: 65%;
    }
}

@media(max-width:745px) {
    .quiz-container {
        flex-direction: column;
        gap: 40px;
    }

    .quiz-image,
    .quiz-content,
    .column-4 {
        width: 100%;
    }

}

.short_wrapper {
    display: flex;
}



#specialist_courses {
    background: var(--teflie-background-vanilla);
    padding: var(--teflie-space-xl) 0;
}

.card-image {
    height: 280px;
    object-fit: contain;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0px 0px;
    position: relative;
    overflow: hidden;
}

.specialist_courses .card-image {
    height: 350px;
    border-radius: 1rem;
    background-size: cover;
}

.card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 91.09%);
}

.custom-arrows {
    position: relative;
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

#specialist_courses .custom-arrows {
    position: absolute;
    bottom: 10px;
    left: 120px;
    display: flex;
    gap: 14px;
    margin-top: 0;
    width: auto;
}

.custom-arrow,
.custom-arrow:hover {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
}

.custom-arrow img {
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease;
}

.splide__arrow {
    width: 5em !important;
    height: 5em !important;
}

.custom-arrow--prev img {
    transform: rotate(180deg);
}

.custom-arrow--prev:hover img {
    transform: rotate(180deg) scale(1.1);
}

.custom-arrow--next:hover img {
    transform: scale(1.1);
}

.custom-arrow.custom-arrow--prev {
    left: auto;
    right: 6.5em;
}

@media screen and (max-width:768px) { 
    .custom-arrows {
        position: absolute;
        bottom: 10px;
        left: 64%;
        bottom: -5px;
        display: flex;
        gap: 14px;
        margin-top: 0;
        width: auto;
    }

    #specialist_courses .custom-arrows {
        left: 64%;
    }
}

@media(max-width: 545px) {
    .card-image {
        width: inherit;
    }

    .course-btn-container {
        display: flex;
    }
}

/* New: Blur overlay styling */
.blur-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    border-radius: 0 0 10px 10px;
}

.card {
    border-radius: 24px;
    box-shadow: 0px 2px 4px 0px #00000026!important;
    background-color: var(--teflie-white);
    display: flex;
    flex-direction: column;
}

.card ul {
    margin: 1em 0 1em 1.5em;
}

.course-card-container .splide__slide {
    margin-bottom: 40px;
}

ul#diploma-teaching-slider-list, ul#diploma-teaching-slider-list *,
ul#accredited-slider-list, ul#accredited-slider-list *,
ul#diploma-slider-list, ul#diploma-slider-list *{
    box-shadow: none;
}

.practice_course_feature ul {
    margin: var(--teflie-space-md) auto var(--teflie-space-lg);
}

.course-btn-container {
    padding: 5px 13px 20px;
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.klarna-container {
    background: linear-gradient(90deg, #FCE7EE 0%, #FCE7EE 60%, #FCE7EE 100%);
}

.course-overview {
    width: 100%;
    position: absolute;
    bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 10px;
    color: var(--teflie-white);
    font-weight: var(--salmond-bold);
    padding-left: 24px;
    padding-right: 24px;
    z-index: 2;
}

.course_sub_heading b {
    line-height: 1.5em;
}

.course-tag-container {
    position: relative;
    top: 10px;
    display: flex;
    justify-content: flex-end;
    padding-left: 10px;
    padding-right: 10px;
}

.course-duration {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 5px;
}

.course-price-container .woocommerce-Price-currencyCode {
    display: none;
}

.regular_price {
    color: #FFFFFFCC;
    font-size: 12px;
}

.discount_price {
    font-size: 12px;
    color: var(--teflie-discount-color);
}

.primary-tag {
    background-color: #E67529;
    color: var(--teflie-white);
}

.secondary-tag {
    background-color: #FFFFFF;
    color: #2B2D42;
}

.primary-tag,
.secondary-tag {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 8px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4);
}

.klarna-container {
    font-weight: var(--salmond-semibold);
    padding: 6px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-details ul,
.practice_course_feature ul {
    list-style: none;
}

.card-details ul {
    margin-left: 24px;
    margin-right: 24px;
}

.card-details ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.card-btn {
    min-width: calc(50% - 6px);
    justify-content: center;
    padding: 12px;
}

@media(max-width: 1240px) {
    .card-btn {
        font-size: var(--teflie-font-base);
    }
}

.enrolnow-btn img {
    width: 12px;
    height: auto;
}

.downloadguide-btn{
    border: 1px solid var(--teflie-text-primary-dark);
}
.downloadguide-btn:hover{
    border: 1px solid var(--teflie-light-red);
}

.downloadguide-btn img {
    width: 15px;
    height: auto;
}

.card .course-btn-container a:not(.card-btn) {
    display: none;
}

.course_sub_details,
.course_sub_details p {
    line-height: 1.5;
}

@media(max-width: 545px) {
    .course-details-container {
        width: 100%;
    }

    .course_sub_details {
        padding-right: 0px;
    }
}

.teaching-tabs__buttons {
    display: inline-flex;
    gap: var(--teflie-space-xs);
    justify-content: center;
    margin: 0 auto var(--teflie-space-lg);
    background: #00000012;
    border-radius: 12px;
    padding: 4px;
}

.teaching-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    color: var(--teflie-text-primary-dark);
}

#tab-abroad:checked~.teaching-tabs__buttons label[for="tab-abroad"],
#tab-online:checked~.teaching-tabs__buttons label[for="tab-online"] {
    background: var(--teflie-white);
    font-weight: 600;
}

.course-duration-container {
    width: 60%;
    font-size: 22px;
    line-height: 120%;
    letter-spacing: -0.5px;
}

.course-price-container {
    width: 40%;
    text-align: end;
}

/*Course Section*/

#course-highlight {
    padding-top: var(--teflie-space-lg);
    padding-bottom: var(--teflie-space-lg);
}

#course-highlight .content-box.content-box-practice-course {
    background: var(--teflie-background-vanilla);
    padding: var(--teflie-space-md);
    border-radius: 1rem;
}

#course-highlight .content-box.content-box-diploma-course {
    background-color: var(--teflie-light-pink);
    padding: var(--teflie-space-md);
    border-radius: 1rem;
}

@media screen and (min-width:769px) {
    #course-highlight .content-box.content-box-practice-course {
        margin-right: 50%;
    }

    #course-highlight .content-box.content-box-diploma-course {
        margin-left: 50%;
    }
}

.sale_price {
    font-size: 24px;
    color: var(--teflie-navy-blue);
    font-weight: var(--teflie-font-weight-bold);
}

.practice_course_title {
    font-size: 28px;
    font-weight: var(--teflie-font-weight-bold);
    line-height: 1.3;
    letter-spacing: -.5px;
    color: var(--teflie-text-primary-dark);
    flex: 0 0 70%;
}

.practice_course_title.diploma-course-title {
    margin: var(--teflie-space-sm) auto var(--teflie-space-xs);
}

.practice_course_feature {
    border-top: 1px solid #00000033;
}

.diploma-course-summary {
    font-weight: var(--teflie-font-weight-medium);
    font-size: 16px;
}

.practice_course_feature ul li {
    display: flex;
    align-items: flex-start;
    gap: var(--teflie-space-xs);
    font-weight: var(--teflie-font-weight-medium);
    font-size: 18px;
}

.practice_course_feature ul li:not(:last-of-type) {
    margin-bottom: var(--teflie-space-sm);
}

.content-box.content-box-diploma-course .teflie-btn {
    min-width: 50%;
}

.course-flag {
    min-width: 80px;
    display: inline-block;
    font-size: var(--teflie-font-xs);
    font-weight: 600;
    background-color: var(--teflie-light-red);
    border-radius: 8px;
    color: var(--teflie-white);
    padding: 5px 20px;
    text-align: center;
    position: relative;
}

.course-flag img {
    position: absolute;
    width: 40px;
    height: 40px;
    object-fit: contain;
    right: -25px;
    top: -25px;
    transform: rotate(18deg);
}

.practice_course_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.practice-course-price .wcpbc-price,
.course-price-container .wcpbc-price {
    display: flex;
    flex-direction: column-reverse;
    align-items: end;
}

.practice-course-price .woocommerce-Price-currencyCode {
    display: none;
}

.practice-course-price del,
.course-price-container del {
    font-size: 12px;
    font-weight: var(--teflie-font-weight-regular);
    text-decoration: unset;
}

.practice-course-price del {
    color: #2D3F4080;
}

.course-price-container del {
    color: #FFFFFF99;
}

del span.woocommerce-Price-amount {
    text-decoration: line-through;
}

.practice-course-price del span.save-badge,
.course-price-container del span.save-badge {
    color: var(--teflie-discount-color);
    font-size: 12px;
    margin-left: 5px;
}

.course-price-container del span.save-badge {
    color: var(--teflie-yellow);
}

.practice-course-price ins,
.course-price-container ins {
    font-size: 22px;
    color: var(--teflie-text-primary-dark);
    font-weight: var(--teflie-font-weight-bold);
}

.practice-course-price ins {
    margin-bottom: 5px;
}

.course-price-container ins {
    color: var(--teflie-white);
    margin-bottom: 8px;
}

.cta-btn-wrapper {
    gap: var(--teflie-space-xs);
}

.cta-btn-wrapper>a {
    flex: auto;
}

.story-card .teflie-btn {
    justify-content: center;
}

.filter-section {
    padding-top: 60px;
}

.section-title,
.section-title > p {
    font-family: var(--teflie-font-headings) !important;
    font-size: 40px;
    font-weight: var(--salmond-regular);
    line-height: 125%;
    margin-bottom: var(--teflie-space-md);
}

.section-summary {
    font-size: 16px !important;
    margin-bottom: var(--teflie-space-md);
    line-height: 1.5;
    font-size: 18px;
}

#elt_quiz .section-summary {
    font-size: 18px !important;
}

.filter-list {
    display: flex;
    gap: 70px;
    width: 100%;
}

.filter-container {
    border-bottom: 1px solid #0000001A;
}

.filter-value {
    font-size: 16px;
    padding-bottom: 10px;
    cursor: pointer;
    white-space: nowrap;
}

.filter-value.active {
    font-weight: var(--salmond-bold);
    border-bottom: 2px solid var(--teflie-border-2);
}

.course-name {
    font-family: var(--teflie-font-headings) !important;
    font-size: 24px;
    font-weight: var(--salmond-semibold);
    margin-bottom: 0px;
}

.couse-type {
    font-family: var(--teflie-font-headings) !important;
    font-size: 24px;
    font-weight: 450;
}

.couse-type b,
.couse-type strong {
    font-weight: 600;
}

.teaching-tab-btn.active {
    background-color: var(--teflie-white);
    font-weight: var(--salmond-bold);
}

@media (max-width: 768px) {

    .desktop-slide-only {
        display: none;
    }
    .filter-section {
        padding-bottom: 0 !important;
    }

    #accredited_course {
        padding-top: 20px;
    }

    .practice-course-price .wcpbc-price,
    .course-price-container .wcpbc-price {
        align-items: start;
    }

    .bonus-mid img {
        margin-bottom: 0 !important;
    }
}

/* Job Oppurtunities */
section.feature-benefits-section {
    padding-bottom: var(--teflie-space-xl);
    padding-top: var(--teflie-space-xl);
}

section.feature-benefits-section {
    margin-top: 3rem;
}

@media screen and (max-width: 768px) {
    section.feature-benefits-section {
        padding-bottom: 0;
    }
}

section.internships-section {
    padding: var(--teflie-space-xl) 0;
    background: var(--teflie-background-vanilla);
}

.internships-section>.ast-container {
    display: block;
}

.internships-section__row {
    display: flex;
    align-items: center;
    gap: var(--teflie-space-2xl);
}

.internships-section__row--header {
    flex: 0 0 30%;
}

.internships-slider-container {
    flex: auto;
    position: relative;
    overflow: visible;
}

.internships-slider-container .swiggly-arrow {
    position: absolute;
    left: -120px;
    top: 25px;
}

@media screen and (min-width:769px) {
    .internships-slider-container {
        margin-left: 50px;
    }
}

.slider-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: calc(-1 * var(--teflie-space-xl));
    padding-right: var(--teflie-space-xl);
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    gap: var(--teflie-space-md);
}

.internship-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 415px;
    background-position: center !important;
    background-size: cover !important;
    padding: var(--teflie-space-sm);
    scroll-snap-align: center;
    transition: transform 0.3s ease;
}

.internship-card .teflie-btn {
    min-width: 130px;
    font-size: var(--teflie-font-base);
    justify-content: center;
}

img.internship-flag {
    position: absolute;
    top: var(--teflie-space-sm);
    left: var(--teflie-space-sm);
    width: 50px;
}

.internship-card-content {
    display: flex;
    flex-direction: column;
    gap: var(--teflie-space-xs);
    width: 100%;
}

.internship-card-content>* {
    color: var(--teflie-white);
}

.internship-title {
    font-size: 22px;
    font-weight: var(--teflie-font-weight-bold);
    line-height: 1.3;
    letter-spacing: -0.5px;    
}

.internship-pay {
    font-weight: var(--teflie-font-weight-medium);
    margin-bottom: 5px;
}

.splide__pagination.internships-slider__pagination.splide__pagination--ltr {
    justify-content: flex-start;
    bottom: revert;
    margin: 1rem 0 0 4rem;
}

.splide__pagination.internships-slider__pagination .splide__pagination__page.is-active {
    background: var(--teflie-turquoise);
    transform: none;
    z-index: 1;
}

.splide__pagination.internships-slider__pagination .splide__pagination__page {
    background: #00000026;
}

.splide__arrows.internships-slider__arrows {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--teflie-space-sm);
    margin-top: var(--teflie-space-xl);
}

.splide__arrows.internships-slider__arrows button {
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    left: auto;
    right: auto;
    opacity: 1;
    width: 40px;
}

.splide__arrows.internships-slider__arrows button img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.splide__arrows.internships-slider__arrows button.splide__arrow--prev img {
    transform: rotate(180deg);
}

.splide__arrows.internships-slider__arrows button.disabled,
.splide__arrows.internships-slider__arrows button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #ccc;
}

@media (max-width: 768px) {
    .splide__arrows.internships-slider__arrows {
        justify-content:center;
        gap: var(--teflie-space-xs);
    }
}
/* Reviews Section */

.student-reviews-section .section-title {
    text-align: center;
    font-size: 40px;
    font-weight: var(--teflie-font-weight-regular);
    line-height: 1.2;
}

.section-title b {
    font-weight: var(--salmond-bold);
}

.student-reviews-section {
    padding: var(--teflie-space-2xl) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 15.27%, #FFFFFF 84.73%, #F8F2E7 100%);
}

.student-reviews-wrapper {
    display: flex;
    gap: var(--teflie-space-sm);
}

.student-reviews-section__row .section-header {
    margin-bottom: var(--teflie-space-md);
}

.student-reviews-section__row .section-summary {
    text-align: center;
    line-height: 1.5;
}

.review-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
}

img.review-card__thumbnail {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.review-card::after {
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    position: absolute;
    inset: 20% 0 0 0;
    border-radius: 2rem;
}

.review-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 80%;
    display: flex;
    justify-content: space-between;
    padding: var(--teflie-space-sm) var(--teflie-space-md);
    color: var(--teflie-white);
    align-items: center;
    z-index: 2;
    /* border-radius: 0 0 2rem 2rem; */
}

.review-card__title {
    font-size: var(--teflie-font-xxl);
    font-weight: var(--teflie-font-weight-bold);
}

.review-play-btn {
    width: 45px;
}

@media screen and (min-width:769px) {
    #elt_quiz .section-title {
        max-width: 80%;
    }

    #elt_quiz .quiz-container {
        max-width: 80%;
        margin: auto;
    }

    .button-wrapper .btn-glass {
        margin-left: var(--teflie-space-xs);
    }
}

#course-highlight .course-card-wrapper {
    width: 100%;
    padding: var(--teflie-space-md);
    border-radius: 1rem;
    background-size: cover !important;
}

.courses-container-wrapper {
    display: flex;
    gap: var(--teflie-space-lg);
}

section:not(#specialist_courses) .courses-container-wrapper .splide__track {
    padding-bottom: 0;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.course-details-container {
    flex: 0 0 25%;
}

.course-card-container {
    flex: auto;
}

.courses-container-wrapper {
    display: flex;
    gap: var(--teflie-space-lg);
}

@media (max-width: 768px) {
    section>.ast-container {
        padding-left: var(--teflie-space-sm) !important;
        padding-right: var(--teflie-space-sm) !important;
    }

    .practice_course_heading {
        flex-direction: column;
        align-items: baseline;
        gap: var(--teflie-space-sm);
    }

    .practice_course_title {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .cta-btn-wrapper {
        flex-direction: column;
    }

    .content-box.content-box-diploma-course .teflie-btn {
        width: 100%;
    }

    #elt_quiz>.ast-container,
    .internships-section>.ast-container,
    .student-reviews-section>.ast-container,
    .app-download-section>.ast-container,
    #course-highlight>.ast-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .internships-section__row {
        display: block;
    }

    .internships-section__row--header {
        margin-bottom: var(--teflie-space-lg);
    }

    .internship-title {
        font-size: 1.25rem;
    }

    .internship-pay {
        font-size: 1rem;
    }

    .accred-partners-section .accred-logos-container,
    .resources-guides-card-container,
    .student-reviews-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .resources-guides-card-container {
        gap: var(--teflie-space-sm);
    }

    .review-card {
        scroll-snap-stop: always;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .review-card img {
        height: 280px;
        object-position: top center;
    }

    .filter-container {
        padding: 15px 0;
        border-bottom: none;
    }

    .filter-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-bottom: 1px solid #0000001A;
    }

    .internships-slider-container .swiggly-arrow {
        position: absolute;
        right: 20%;
        top: -65px;
        transform: rotate(70deg);
        width: 50px;
    }

    /* Hide scrollbar */
    .filter-list::-webkit-scrollbar {
        display: none;
    }

    .filter-value {
        font-size: 14px;
        flex-shrink: 0;
        padding: 8px 16px;
    }

    .course-btn-container {
        gap: 8px;
        padding: 0 15px 10px;
        flex-direction: column;
    }

    .courses-container-wrapper {
        flex-direction: column;
    }

}

@media (max-width: 480px) {
    .filter-value {
        padding: 8px 14px;
    }
}

/* Bonus Gift Section */

.bonus-section {
    margin: 50px 0 100px;
}

.bonus-section .bonus-wrapper {
    background-color: var(--teflie-background-vanilla);
    border-radius: 24px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.bonus-left {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 520px;
}

.gift-icon {
    position: relative;
}

.gift-icon .sparkle-image{
    position: absolute;
    top: -70px;
    left: -66px;
    width: 230px;
    height: auto;
}

.gift-icon img {
    width: 150px;
    height: auto;
    position: relative;
}

.bonus-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--teflie-text-primary-dark);
}

.bonus-mid img {
    margin-bottom: 30px;
}

.bonus-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 0;
}

.bonus-right .right-content {
    position: relative;
}

.bonus-right .right-content p {
    margin-bottom: 0;
    position: relative;
    white-space: nowrap;
}

@media(max-width:545px){
    .bonus-right .right-content p {
        white-space:wrap;
    }
    .bonus-mid{
        display: none;
    }
}

.bonus-right .star-img {
    position: absolute;
    top: 4px;
    left: -15px;
    width: 10px;
    height: auto;
}

@media (max-width:767px) {
    .button-wrapper .btn-glass{
        margin-top: var(--teflie-space-sm);
    }
    .bonus-section .bonus-wrapper {
        flex-direction: column;
        gap: 20px;
        margin: 0 10px;
    }

    .bonus-left {
        flex-direction: column;
        width: 100%;
    }

    .gift-icon img {
        width: 100px;
    }

    .bonus-text h3 {
        font-size: 18px;
    }

    .bonus-right {
        grid-template-columns: 1fr;
    }

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

    .course-overview>*{
        width: 100%;
    }
}

.wellness-guide-section {
    padding: 7rem 0 5rem;
    background: transparent;
    width: 100%;
}

.wellness-guide-card {
    background: #FCE9C6;
    border-radius: 20px;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow: visible;
}

.wellness-guide-image {
    flex: 0 0 300px;
    margin-bottom: -114px;
    margin-top: -200px;
}

.wellness-guide-image img {
    display: block;
    width: 100%;
    height: auto;
    transform: rotate(-3.8deg);
    transform-origin: center center;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.18));
}

.wellness-guide-content {
    flex: 1;
    max-width: 760px;
    padding-top: 2px;
}

.wellness-guide-content h2 {
    font-size: 18px;
    font-weight: 600;
}

.wellness-guide-content p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: revert-layer;
    max-width: 760px;
}

.wellness-guide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 40px;
    padding: 0 30px;
    border: 1.5px solid #31434a;
    border-radius: 999px;
    background: transparent;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wellness-guide-button:hover {
    background: #31434a;
    color: #ffffff;
}

.wellness-guide-button::before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2331434a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
}

.wellness-guide-button:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
}

@media (max-width: 1199px) {
    .wellness-guide-card {
        padding: 24px 32px;
        gap: 34px;
    }

    .wellness-guide-image {
        flex: 0 0 360px;
        margin-top: -86px;
    }

    .wellness-guide-content h2 {
        font-size: 28px;
    }

    .wellness-guide-content p {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .wellness-guide-card {
        flex-direction: column;
        text-align: center;
        padding: 34px 24px 28px;
        gap: 18px;
    }

    .wellness-guide-image {
        flex: none;
        width: 100%;
        max-width: 340px;
        margin: -88px auto 0;
    }

    .wellness-guide-content {
        max-width: 100%;
    }

    .wellness-guide-content h2 {
        font-size: 26px;
    }

    .wellness-guide-content p {
        font-size: 20px;
        max-width: 100%;
    }
}