html {
    scroll-behavior: smooth;
}

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

.section-title {
    font-size: 40px;
    font-weight: 550;
    line-height: 120%;
    letter-spacing: 0.5px;
}

/* Banner Section Style */

.hero-banner-container {
    background-image: var(--desktop-bg);
    height: 536px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-banner-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    inset: 0;
}

.hero-banner-content {
    position: relative;
    display: flex;
    padding: 100px 0;
    align-items: end;
    gap: var(--teflie-space-md);
}

.hero-banner-content .hero-banner-text {
    flex: 0 0 60%;
}

.hero-banner-content .hero-banner-accreditation {
    flex: 0 0 40%;
}

.hero-banner-slider .ast-container {
    height: 100%;
}

.hero-banner-title {
    color: var(--teflie-white);
    font-weight: var(--teflie-font-weight-semibold);
    font-size: 56px;
    line-height: 130%;
    letter-spacing: 0.5px;
    margin-bottom: var(--teflie-space-sm);
}

.hero-banner-summary {
    font-size: 18px;
    color: var(--teflie-white);
    font-weight: var(--teflie-font-weight-regular);
    margin-bottom: var(--teflie-space-lg);
    line-height: 1.5;
    letter-spacing: 0;
}

.hero-banner-buttons {
    display: flex;
    align-items: center;
    gap: var(--teflie-space-sm);
}

.hero-banner-buttons>* {
    min-width: 240px;
}

.hero-banner-ratings {
    margin-top: var(--teflie-space-md);
}

.hero-banner-ratings img {
    width: 200px;
}

.rating-image {
    margin-right: var(--teflie-space-sm);
}

.accreditation-text {
    line-height: 1.5;
    font-size: 16px;
    color: var(--teflie-white);
    margin-bottom: var(--teflie-space-md);
    font-weight: var(--teflie-font-weight-regular);
}

.accreditation-logos {
    display: inline-flex;
    align-items: center;
    gap: var(--teflie-space-md);
}

/* .accreditation-logo img {
    max-height: 36px;
    object-fit: contain;
} */

/* Offer Time Section */

section.offer-time-section {
    padding: 50px 20px;
}

.offer-time-section .ast-container {
    background: var(--teflie-teal);
    border-radius: 24px;
    padding: 20px;
    background-image: url('/wp-content/uploads/2025/11/left-side-bg.png'), url('/wp-content/uploads/2025/11/right-side-bg.png');
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: auto 100%, auto 100%;
    align-items: center;
    justify-content: center;
    gap: 140px;
}

.offer-time-section .ast-container .mobile-icon {
    display: none;
}

.offer-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.text-content .section-title {
    font-size: 24px;
    font-weight: 450;
    color: var(--teflie-white);
}

.text-content .subtitle {
    font-size: 16px;
    color: var(--teflie-white);
    margin-bottom: 0;
}

/* COUNTDOWN TIMER */

.clock {
    display: flex;
    /*justify-content: center;*/
    font-weight: 500;
    padding: 12px 30px;
    background: #FDEBC5;
    border-radius: 16px;
    gap: 15px;
    /*width: 250px;*/
}

.countdown .offer-ends {
    display: none;
}

.clock-inner {
    display: flex;
    justify-content: center;
}

.clock-inner .base {
    font-size: 24px;
    line-height: 140%;
    font-weight: 600;
    color: var(--teflie-text-primary-dark);
}

.digit-text {
    font-size: 14px;
    font-weight: 400;
    color: #2D3F40CC;
}

.clock-inner .digit {
    text-align: center;
    display: flex;
    justify-content: center;
    /* text-indent: 0.3em; */
    width: auto;
    color: var(--color-primary);
}

.clock>div {
    padding: 0 20px 0 0;
    text-align: center;
    width: 100%;
    border-right: 1px dashed #00000026;
}

.clock>div:last-child {
    border: none;
    padding: 0 !important;
}

.clock-day {
    padding-left: 0px !important;
}

.offer-ends {
    text-transform: uppercase;
    margin-bottom: 0px !important;
    font-weight: 700;
    font-size: 0.75rem;
}


/* Courses CTA Section */

.courses-cta-section {
    padding: 20px 0;
}

.courses-cta-section>.ast-container {
    display: block;
    position: relative;
}

.courses-cta-section .section-title {
    text-align: center;
}

.courses-cta-section .section-description {
    text-align: center;
    margin: 15px auto 30px;
    width: 450px;
    font-size: 18px;
}

.courses-cta-section__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--teflie-space-sm);
}

.course-card {
    border-radius: 1.5rem;
    overflow: hidden;
}

.course-card__main {
    min-height: 530px;
    display: flex;
    align-items: end;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    position: relative;
}

.course-label {
    position: relative;
    top: -1rem;
    left: 0;
    background: var(--teflie-white);
    padding: var(--teflie-space-xs);
    border-radius: var(--teflie-radius-md);
    color: var(--teflie-text-primary);
    font-weight: var(--teflie-font-weight-semibold);
    font-size: 14px;
}

.course-card__content {
    position: relative;
    padding: var(--teflie-space-md);
    background: url('/wp-content/uploads/2025/10/Blur.png');
    background-size: cover !important;
}

.course-card__content-top {
    display: inline-flex;
    align-items: start;
    justify-content: space-between;
    padding-bottom: var(--teflie-space-sm);
    border-bottom: 1px solid #ffffff10;
    gap: var(--teflie-space-xs);
}

.courses-cta-section__container::after {
	content: "";
	background-image: url('/wp-content/uploads/2026/01/spark-sparkle-27.png');
	background-position: center;
	background-size: cover;
	width: 150px;
	height: 150px;
	display: block;
	position: absolute;
	right: 0;
	margin: -90px -50px 0 0;
}

@media(max-width:545px){
    .courses-cta-section__container::after {
        display: none;
    }
}



.course-title {
    margin: 0;
    color: var(--teflie-white);
    font-weight: var(--teflie-font-weight-bold);
    line-height: 130%;
    letter-spacing: -0.5px;
}

.course-price del {
    display: none;
}

.course-price .wcpbc-price {
    color: var(--teflie-white);
    font-size: 18px;
    font-weight: var(--teflie-font-weight-bold);
    line-height: 140%;
    letter-spacing: -0.5px;
}

.course-card__content-middle.course-summary {
    padding-top: var(--teflie-space-sm);
    color: var(--teflie-white);
    font-size: 16px;
    font-weight: var(--teflie-font-weight-medium);
    padding-bottom: var(--teflie-space-sm);
}

.course-card__content-bottom {
    display: flex;
    gap: var(--teflie-space-xs);
}

.course-card__content-bottom>* {
    flex: auto;
}

.course-card__content-bottom>a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.course-card__content-bottom .btn-glass {
    flex-direction: row-reverse;
}

.compare-courses.teflie-btn.btn-secondary {
    margin: var(--teflie-space-lg) auto;
    display: block;
    width: max-content;
}

.course-cta-klarna{
    display: flex;
    background-color: var(--teflie-light-pink);
    padding: 9px 26px;
    gap: 12px;
    font-weight: var(--teflie-font-weight-semibold);
}


/* Why Us Section */

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

.why-us-section {
    /* background: var(--teflie-background-vanilla); */
    padding: 60px 0;
}

.why-us-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.why-us-section__row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}

.feature-benefit-card__title {
    font-size: 18px;
    font-weight: var(--teflie-font-weight-semibold);
    line-height: 1.2;
}



/* Review Section */

.review-section {
    padding: 80px 20px;
    text-align: center;
}

.review-section .ast-container {
    display: block;
}

.review-section .subtitle {
    margin-top: 15px;
}

.review-section .subtitle span {
    font-size: 16px;
    color: var(--teflie-text-primary);
}

.review-section .subtitle img {
    margin-bottom: 6px;
}

/* Journey Section */

.journey-section {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center -50px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    background-repeat: no-repeat;
}

.journey-section::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 10%;
    background: linear-gradient(180deg, #faf7f0 26.82%, rgba(255, 251, 243, 0) 100%);
}

.journey-section::after {
    content: "";
    position: absolute;
    bottom: -50px;
    width: 100%;
    height: 60%;
    background: linear-gradient(0deg, #0E1615 32.72%, rgba(14, 22, 21, 0.538294) 55%, rgba(14, 22, 21, 0) 100%);
}

.journey-section .ast-container {
    z-index: 2;
    padding: 40px 0 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* .journey-section .teflie-btn {
    width: 25%;
} */


@media screen and (max-width:768px) {
    .section-title {
        font-size: 24px;
    }

    .hero-banner-slider .ast-container {
        height: 100%;
        padding-left: var(--teflie-space-sm) !important;
        padding-right: var(--teflie-space-sm) !important;
    }

    /* Banner Section Style */

    .hero-banner-container {
        height: 100vh;
        min-height: 600px;
        background-image: var(--mobile-bg) !important;
    }

    .hero-banner-overlay {
        background: none;
    }

    .hero-banner-content {
        flex-direction: column;
        padding: 40px 0 60px;
        justify-content: flex-end;
        height: 100%;
        gap: var(--teflie-space-lg);
        overflow: hidden;
    }

    .hero-banner-content .hero-banner-text {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: 100%;
    }

    .hero-banner-content .hero-banner-accreditation {
        flex: 0 0 auto;
        width: 100%;
    }

    .hero-banner-title {
        font-size: 32px;
        line-height: 120%;
        margin-bottom: var(--teflie-space-md);
    }

    .hero-banner-buttons {
        gap: 8px;
    }

    .hero-banner-buttons>* {
        width: 100%;
        padding: 12px;
    }

    .hero-banner-ratings {
        margin-top: var(--teflie-space-sm);
        display: flex;
        flex-wrap: wrap;
        gap: var(--teflie-space-xs);
    }

    .rating-image {
        margin-right: 0;
    }

    .rating-image img {
        max-height: 24px;
    }

    .accreditation-text {
        font-size: 14px;
        margin-bottom: var(--teflie-space-sm);
    }

    .accreditation-logos {
        flex-wrap: wrap;
        gap: var(--teflie-space-sm);
    }

    /* .accreditation-logo img {
        max-height: 28px;
    } */

    /* Offer Time Section */

    section.offer-time-section {
        padding: 0 0 40px;
    }

    .offer-time-section .ast-container {
        padding: 70px 30px;
        background: #FCE7EE;
        border-radius: 0;
        background-position: center top, center bottom;
        background-size: 100% auto, 0% auto;
        position: relative;
        display: flex;
        gap: 40px;
    }

    .offer-time-section .ast-container .mobile-icon {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 80px;
    }

    .offer-left {
        flex-direction: column;
        gap: 18px;
        padding: 0 10px;
    }

    .offer-time-section .desktop-icon {
        display: none;
    }

    .text-content .section-title {
        margin-bottom: 12px;
    }

    .text-content .section-title,
    .text-content .subtitle {
        color: var(--teflie-navy-blue);
        line-height: 140%;
    }

    .clock {
        padding: 20px 30px;
        background: #FFFFFF;
    }

    /* Courses CTA Section */

    .courses-cta-section {
        position: relative;
    }

    .course-card__content-top,
    .course-card__content-bottom {
        flex-direction: column;
    }

    .course-card__content-bottom>a {
        justify-content: center;
    }

    /* Why Us Section */

    .why-us-section .section-title {
        margin-bottom: 30px;
    }

    .why-us-section__row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
        justify-items: center;
        column-gap: 10px;
    }

    

    /* Journey Section */

    .journey-section {
        height: auto;
    padding: 40px 20px 140px;
    justify-content: center;
    align-items: center;
    background-size: 300%;
    background-position: bottom;
    }


    .journey-section .ast-container {
        padding: 0;
        text-align: center;
    }

    .journey-section .teflie-btn {
        width: 50%;
        margin-top: 20px;
    }
}

/* Course Slider on mobile*/

@media screen and (max-width:768px) {

    .custom-slider,
    .custom-slider-blog {
        position: relative;
    }

    .slider-container {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 10px;
    }

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

    .slider-item {
        flex: 0 0 90%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        flex-shrink: 0;
    }

    .slider-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .slider-nav-btn {
        background: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .slider-nav-btn img {
        width: 40px;
        height: 40px;
        transition: transform 0.3s ease;
    }

    .slider-prev img,
    .slider-prev-blog img {
        transform: rotate(180deg);
    }

    .slider-nav-btn:hover:not(.disabled),
    .slider-nav-btn:focus:not(.disabled) {
        background: #000;
        transform: scale(1.05);
    }

    .slider-nav-btn:hover:not(.disabled) img,
    .slider-nav-btn:focus:not(.disabled) img {
        filter: brightness(0) invert(1);
    }

    .slider-nav-btn.disabled,
    .slider-nav-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
        border-color: #ccc;
    }

    .slider-nav-btn.disabled:hover,
    .slider-nav-btn:disabled:hover {
        background: #fff;
        transform: none;
    }

    .slider-nav-btn:active:not(.disabled) {
        transform: scale(0.95);
    }

    .teaching-card {
        min-height: 200px;
    }
}

/* Read More */

.course-summary {
    height: 65px;
    overflow: hidden;
    transition: height 0.35s ease;
    color: var(--teflie-white);
    font-size: 16px;
    line-height: 1.5;
    font-weight: var(--teflie-font-weight-medium);
}

.course-summary.expanded {
    height: 252px;
    overflow-y: scroll;
}

.read-more {
    display: inline-block;
    margin-top: 6px;
    cursor: pointer;
    color: var(--teflie-turquoise);
    font-weight: var(--teflie-font-weight-medium);
    margin-bottom: 13px;
}
.course-card_main.expanded {
    height: auto;
}

.course-summary.expanded {
    height: 252px;
    overflow-y: auto;
    padding-right: 6px; /* space for scrollbar */
}
.course-summary.expanded ul li {
    list-style-type: disc;
}

@media(max-width: 545px){
    .course-summary.expanded{
        height: 200px;
    }
}

/* Chrome, Edge, Safari */
.course-summary.expanded::-webkit-scrollbar {
    width: 6px;
}

.course-summary.expanded::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.course-summary.expanded::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--teflie-turquoise),var(--teflie-turquoise));
    border-radius: 10px;
}

.course-summary.expanded::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,var(--teflie-turquoise),var(--teflie-turquoise));
}

/* Firefox */
.course-summary.expanded {
    scrollbar-width: thin;
    scrollbar-color:var(--teflie-turquoise) rgba(255, 255, 255, 0.00);
}


/* Bonus Gift Section */


.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: -40px;
    left: -40px;
    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 {
        margin-bottom: 0;
        position: relative;
        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;
    }
}


    .journey-section::before {
        content: "";
        position: absolute;
        top: 0;
        width: 100%;
        height: 10%;
        background: linear-gradient(180deg, #faf7f0 26.82%, rgba(255, 251, 243, 0) 100%);
}
