    @font-face {
    font-family: 'Freigeist';
    src: url(fonts/Freigeist-Regular.ttf);
    font-weight: 400;
    }

    @font-face {
    font-family: 'Freigeist';
    src: url(fonts/Freigeist-Medium.ttf);
    font-weight: 500;
    }

    @font-face {
    font-family: 'Freigeist';
    src: url(fonts/Freigeist-Bold.ttf);
    font-weight: 700;
    }


    :root {
        --primaryColor: #0055D2;
        --whiteColor: #fff;
        --blackColor: #000;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Freigeist';
        font-size: 16px;
        font-weight: 400;
        /* overflow: hidden; */
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 0;
        font-weight: 700;
    }

    p,
    figure,
    label {
        margin: 0;
    }

    img {
        max-width: 100%;
        vertical-align: middle;
    }

    small {
        font-size: inherit;
    }

    a {
        display: inline-block;
        text-decoration: none;
        color: inherit;
        transition: 0.2s all ease;
        -webkit-transition: 0.2s all ease;
    }

    a:hover{
        text-decoration: none;
    }

    ul {
        list-style-type: none;
        padding: 0; 
        margin: 0;
    }

    input,
    button {
        background-color: transparent;
        border: 1px solid transparent;
        outline: none;
        transition: 0.2s all ease;
        -webkit-transition: 0.2s all ease;
    }

    input[type=number] {
        -moz-appearance: textfield;
        -webkit-appearance: textfield;
        appearance: textfield;
    }

    select {
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url(images/select-input-arrow.png);
        background-repeat: no-repeat;
        background-size: 15px;
        background-position: calc(100% - 15px) 50%;
    }

    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        appearance: none;
        margin: 0;
    }

    ::selection {
        color: var(--whiteColor);
        background: var(--primaryColor);
    }

    ::-webkit-selection {
        color: var(--whiteColor); 
        background: var(--primaryColor);
    }

    ::-moz-selection {
        color: var(--whiteColor); 
        background: var(--primaryColor);
    }

    .text-primary {
        color: var(--primaryColor) !important;
    }

    .font-medium {
        font-weight: 500 !important;
    }

    .font-semibold {
        font-weight: 600 !important;
    }

    .bg-included {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .absolute-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .flex-col-between {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .gap-x-26 {
        row-gap: 26px;
    }

    /*======= Header Section Here =======*/

    .header-top {
        padding: 12px 48px;
        background: #F8F8F9;
    }

    .header-top img {
        max-width: 100%;
    }

    .menu-section.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    animation: menuSticky 0.5s ease;
    }

    @keyframes menuSticky {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
    }

    .menu-section {
        padding: 20px 48px;
        background: #343940;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 50px;
        transition: all 0.3s ease;
    }

    .menu-items ul {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .menu-items ul li a {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 26px;
        font-weight: 700;
        color: #FEFEFE;
        font-family: 'Freigeist';
    }

    .menu-items ul li {
        position: relative;
    }

    .menu-items ul li ul {
        position: absolute;
        top: 100%;
        left: 0;
        background: #343940;
        display: flex;
        flex-direction: column;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: all 0.3s ease;
        padding: 20px 30px;
        z-index: 111;
    }

    .menu-items ul li ul li a {
        font-size: 22px;
    }

    .menu-items ul li:hover > ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-profile ul {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .menu-search {
        max-width: 300px;
        width: 100%;
        background: #fff;
        border-radius: 8px;
        padding: 8px 12px;
        padding-left: 60px;
        position: relative;
    }

    .menu-search img {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 12px;
        max-width: 36px;
    }

    .menu-search input {
        color: #9D9FA2;
        font-size: 24px;
        font-weight: 700;
        width: 100%;
    }

    .menu-search input::placeholder {
        color: #9D9FA2;
        font-size: 24px;
        font-weight: 700;
    }

    .menu-filter {
        display: none;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        color: #fff;
    }

    .menu-filter {
        font-size: 28px;
    }

    .menu-filter p {
        font-size: 20px;
        font-weight: 700;
    }

    .fiter-items {
        position: fixed;
        top: 0;
        left: -370px;
        width: 370px;
        height: 100vh;
        background: #fff;
        z-index: 10000;
        transition: 0.4s ease;
        overflow-y: auto;
    }

    .fiter-items.active {
        left: 0;
    }

    .close-sidebar {
        display: flex;
        justify-content: flex-end;
        font-size: 22px;
        cursor: pointer;
        margin-bottom: 20px;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 9999;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 9999;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .close-sidebar {
        margin-top: 20px;
        margin-right: 20px;
    }

    .close-sidebar i {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        color: #003C59;
        border: 1px solid #003C59;
        border-radius: 50%;
    }

    .mobile-bar {
        display: none;
        align-items: center;
        gap: 20px;
        color: #fff;
        font-size: 28px;
    }

    .mobile-bar i {
        cursor: pointer;
    }

    .mobile-menu-bar {
        margin-left: 20px;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 10000;
        transition: 0.4s ease;
        padding: 20px;
        overflow-y: auto;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 9999;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.mobile-open {
        overflow: hidden;
    }

    .close-mobile-menu i {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        color: #003C59;
        border: 1px solid #003C59;
        border-radius: 50%;
        cursor: pointer;
    }

    .mobile-menu-items {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu-items li a {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 22px;
        font-weight: 700;
        color: #000000;
    }

    .acc-body {
        display: grid;
        grid-template-rows: 0fr;
        transition: 0.3s ease;
        padding-left: 10px;
    }

    .acc-inner {
        overflow: hidden;
    }

    .has-sub.active .acc-body {
        grid-template-rows: 1fr;
        margin-top: 10px;
    }

    .has-sub.active .fa-caret-down {
        transform: rotate(180deg);
    }




    /* Main Section Here */

    .main-section {
        display: flex;
        border-top: 7px solid #E1E3EA;
        align-items: stretch;
    }

    .main-left {
        flex: 0 0 380px;
        background: #F3F3F6;
        position: sticky;
        top: 0;
    }

    .main-right {
        flex: 1;
        border-left: 7px solid #E1E3EA;
    }

    .main-left-top {
        padding: 20px 12px;
        border-bottom: 7px solid #E1E3EA;
    }

    .main-left-top-items {
        padding: 12px 18px;
        background: #fff;
        border: 2px solid #0055D2;
        border-radius: 12px;
    }

    .main-left-top-items-top {
        display: flex;
        gap: 18px;
        align-items: center;
    }

    .main-left-top-items-top img {
        background: #0055D2;
        padding: 8px 4px;
        border-radius: 8px;
    }

    .main-left-top-items-top h4 {
        font-size: 28px;
        font-weight: 700;
        color: #294EA5;
    }

    .main-left-top-items-top p {
        font-size: 18px;
        font-weight: 700;
        color: #545456;
    }

    .main-left-top .progress-wrap {
        margin-top: 12px;
        max-width: 100%;
    }

    .main-left-top .progress-value {
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        color: #515254;
    }

    .main-left-top .progress-range {
        width: 100%;
        height: 14px;
        appearance: none;
        background: #06A94A;
        border-radius: 50px;
        outline: none;
    }

    .main-left-top .progress-range::-webkit-slider-thumb {
        appearance: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #06A94A;
        cursor: pointer;
    }

    .main-left-top .progress-range::-moz-range-thumb {
        appearance: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #06A94A;
        cursor: pointer;
    }

    .main-left-second {
        padding: 20px 30px;
        display: flex;
        align-items: center;
        gap: 4px;
        border-bottom: 7px solid #E1E3EA;
    }

    .main-left-second h4 {
        font-size: 34px;
        font-weight: 700;
        color: #003C59;
    }

    .main-left-accordion {
        padding: 20px 30px;
        border-bottom: 7px solid #E1E3EA;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .accordion-body {
        display: none;
    }

    .accordion-item.active .accordion-body {
        display: block;
    }

    .accordion-head {
        cursor: pointer;
    }

    .accordion-head {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .accordion-head h3 {
        font-size: 30px;
        font-weight: 700;
        color: #00648B;
        transition: 0.2s;
    }

    .accordion-item.active .accordion-head h3 {
        color: #00B5F1;
    }

    .accordion-body {
        padding-top: 20px;
        padding-left: 12px;
    }

    .accordion-body ul {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .accordion-body ul li a {
        display: flex;
        align-items: center;
        gap: 4px;
        color: #5F6062;
        font-size: 24px;
        font-weight: 700;
    }

    .main-left-button {
        padding: 35px 30px;
        border-bottom: 7px solid #E1E3EA;
    }

    .main-left-button a img {
        max-width: 36px;
        margin-bottom: -8px;
    }

    .main-left-button a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: #0055D2;
        border-radius: 12px;
        font-size: 30px;
        font-weight: 700;
        color: #fff;
        padding: 12px 8px;
        transition: 0.2s;
    }

    .main-left-button a:hover {
        background: #013b92;
    }

    /* Right Side Code Here */
    .main-right {
        padding: 0 50px;
        background: #F8F9FA;
    }

    .caso-slider-area {
        padding-top: 50px;
        padding-right: 30px;
        width: 100%;
        position: relative;
    }

    .caso-swiper {
        width: 100%;
    }

    .swiper-wrapper {
        width: 100%;
    }

    .swiper-slide {
        width: 100% !important;
        flex-shrink: 0;
    }

    .caso-slider-items {
        width: 100%;
        height: 600px;
        position: relative;
        z-index: 2;
    }

    .caso-slider-items img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 30px;
        border: 8px solid #38C5F4;
        background: white;
    }

    .swiper-button-next::after, .swiper-button-prev::after {
        display: none !important;
    }

    .caso-slider-navigate {
        display: flex;
        flex-direction: column;
        gap: 40px;
        position: absolute;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 99;
    }

    .caso-slider-area {
        z-index: 90;
        position: relative;
    }

    .caso-prev,
    .caso-next{
        position: static !important;
        background: #0055D2;
        width: 60px;
        height: 60px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        z-index: 99;
    }

    .caso-prev img,
    .caso-next img{
        width: 22px;
        height: 30px;
        object-fit: contain;
    }

    .swiper,
    .swiper-wrapper,
    .caso-swiper {
        overflow: visible !important;
    }

    .caso-slider-items::after {
        content: "";
        position: absolute;
        top: 18px;
        left: 18px;
        right: -18px;
        bottom: -18px;
        border: 18px solid #B6B8B9;
        border-radius: 50px;
        z-index: -1;
        pointer-events: none;
    }

    .caso-slider-items-content {
        padding: 30px 50px;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .caso-slider-items-content img {
        width: initial;
        height: initial;
        object-fit: initial;
        display: initial;
        border-radius: initial;
        border: initial;
        background: initial;
    }

    .caso-slider-items-top a {
        padding: 12px 30px;
        font-size: 32px;
        font-weight: 700;
        color: #fff;
        border-radius: 8px;
        background: #349452;
        transition: 0.2s;
    }

    .caso-slider-items-top a:hover {
        background: #2c7242;
    }

    .caso-slider-items-bottom h3 {
        font-size: 50px;
        color: #FFF349;
        font-weight: 700;
    }

    .caso-slider-items-bottom h2 {
        font-size: 62px;
        color: #fff;
        font-weight: 700;
    }

    .caso-slider-items-button {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
    }

    .caso-slider-items-button a {
        padding: 12px 30px;
        font-size: 32px;
        font-weight: 700;
        color: #fff;
        border-radius: 8px;
        background: #0055D2;
        display: flex;
        align-items: center;
        gap: 15px;
        transition: 0.2s;
    }

    .caso-slider-items-button a:hover {
        background: #023075;
    }

    /* Duracion Section */
    .duracion-area {
        margin-top: 60px;
        background: #C7DAFA;
        border-radius: 24px;
        padding: 24px 40px;
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 24px;
    }

    .duracion-area-items {
        padding: 24px 20px;
        border: 4px solid #fff;
        border-radius: 20px;
    }

    .duracion-area-box {
        padding: 30px 48px;
        box-shadow: 0 10px 30px rgba(217,183,247,.8);
        background: #FFF9FB;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .duracion-area-box h4 {
        font-size: 22px;
        color: #00648B;
        font-weight: 700;
        text-transform: uppercase;
    }

    .duracion-area-box h3 {
        font-size: 30px;
        color: #231F20;
        font-weight: 700;
    }

    .duracion-area-box > div:first-child {
        flex: 0 0 46px;
    }

    /* Share Number */
    .share-number {
        margin-top: 48px;
        padding: 40px;
        border-radius: 16px;
        border: 3px solid #5C5D60;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        cursor: pointer;
    }

    .share-number-first {
        flex: 0 0 55px;
    }

    .share-number-top {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .share-number-last ul {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .share-number-last {
        flex: 0 0 118px;
    }

    .share-number-top h4 {
        font-size: 32px;
        font-weight: 700;
        color: #000000;
    }

    .share-number-top h4 span {
        color: #00A850;
    }


    .share-number-top p {
        font-size: 30px;
        font-weight: 700;
        color: #828487;
    }

    /* Contexto Area */
    .contexto-area {
        margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .contexto-area img {
        width: 100%;
        border-radius: 20px;
    }

    .contexto-area-para {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .contexto-area-para p {
        font-size: 29px;
        font-weight: 700;
        color: #828487;
    }

    /* Progress Bar */
    .progress-bar {
        text-align: right;
    }

    .progress-bar .slider-box {
        max-width: 390px;
        width: 100%;
    }

    .progress-bar .range-slider {
        width: 100%;
        -webkit-appearance: none;
        appearance: none;
        height: 6px;
        border-radius: 20px;
        background: linear-gradient(to right,#165DDB 50%,#D8E7F8 50%);
        outline: none;
    }

    .progress-bar .range-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #165DDB;
        cursor: pointer;
    }

    .progress-bar .range-slider::-moz-range-thumb {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #165DDB;
        border: none;
        cursor: pointer;
    }

    .progress-bar .labels {
        display: flex;
        justify-content: space-between;
        font-size: 28px;
        color: #8B8B8B;
        font-weight: 700;
    }

    .progress-content {
        margin-top: 30px;
        display: flex;
        justify-content: flex-end;
        gap: 30px;
    }

    .progress-content h4 {
        font-size: 28px;
        color: #725A00;
        font-weight: 700;
        text-align: end;
        margin-left: auto;
    }

    .share-number-top-tow h4 span {
        color: #D6088A;
    }

    /* Learning Section */
    .learning-area {
        padding-top: 50px;
        display: grid;
        grid-template-columns: 62% 38%;
    }

    .learning-left-first img {
        width: 100%;
        border-radius: 20px;
        border: 2px solid #006186;
    }

    .learning-left-second {
        margin-top: 20px;
        padding: 20px;
        border-radius: 16px;
        background: #EDEEEE;
    }

    .learning-left-second p {
        font-size: 18px;
        color: #565759;
    }

    .learning-left-third {
        padding: 20px 0;
        border-bottom: 3px solid #707070;
        margin-bottom: 20px;
    }

    .learning-left-third {
        display: flex;
        align-items: center;
        gap: 16px;
        justify-content: space-between;
    }

    .learning-left-third-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .learning-left-third-left-image {
        flex: 0 0 90px;
    }

    .learning-left-third-left h2 {
        font-size: 42px;
        font-weight: 700;
        color: #00AEEA;
    }

    .learning-left-third-left p {
        font-size: 26px;
        font-weight: 700;
        color: #231F20;
    }

    .learning-left-third-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .learning-left-third-right p {
        padding: 8px 22px;
        font-size: 18px;
        font-weight: 700;
        color: #2A2A2A;
        background: #EFEFF0;
        border-radius: 24px;
        cursor: pointer;
    }

    .learning-left-third-right-like {
        display: flex;
        align-items: center;
        background: #EFEFF0;
        border-radius: 24px;
    }

    .learning-left-third-right-like div:first-child {
        padding: 8px 22px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        font-weight: 700;
        color: #2A2A2A;
        border-right: 2px solid #797A7D;
        cursor: pointer;
        padding-right: 18px;
    }

    .learning-left-third-right-like div:nth-child(2) {
        padding: 8px 22px;
        cursor: pointer;
    }

    .learning-left-third-right-share {
        padding: 8px 22px;
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        cursor: pointer;
        background: #1373E6;
        border-radius: 24px;
    }

    .learning-left-third-right-three {
        padding: 10px 16px;
        font-size: 18px;
        font-weight: 700;
        color: #2A2A2A;
        background: #EFEFF0;
        border-radius: 50%;
        cursor: pointer;
    }

    .learning-left-fourth {
        padding: 20px;
        border: 1px solid #006186;
        border-radius: 24px;
    }

    .learning-left-fourth h3 {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 24px;
        font-weight: 700;
        color: #253572;
    }

    .learning-left-fourth ul {
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .learning-left-fourth ul li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 18px;
        color: #565759;
    }

    .learning-left-five {
        margin-top: 20px;
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .learning-left-five h3 {
        font-size: 26px;
        font-weight: 700;
        color: #231F20;
    }

    .learning-left-five h4 {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 20px;
        font-weight: 700;
        color: #231F20;
    }

    .learning-left-six {
        margin-top: 36px;
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .learning-left-six img {
        border-radius: 50%;
    }

    .learning-left-six div:first-child {
        flex: 0 0 54px;
    }

    .learning-left-six div:nth-child(2) {
        width: 100%;
    }

    .learning-left-six input {
        width: 100%;
        background: #EEEEEF;
        padding: 10px 12px;
        border-radius: 4px;
        font-size: 19px;
        font-weight: 700;
        color: #6B7280;
    }

    .learning-left-six input::placeholder {
        font-size: 19px;
        font-weight: 700;
        color: #6B7280;
    }

    .learning-left-six-input {
        padding-bottom: 8px;
        border-bottom: 4px solid #A5A7AA;
    }

    .learning-left-seven {
        margin-top: 30px;
        display: flex;
        gap: 18px;
    }

    .learning-left-seven a img {
        border-radius: 50%;
    }

    .learning-left-seven div:first-child {
        flex: 0 0 54px;
    }

    .learning-left-seven h4 {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 20px;
        font-weight: 700;
        color: #231F20;
    }

    .learning-left-seven p {
        font-size: 16px;
        color: #565759;
        padding: 8px 0;
    }

    .learning-left-seven h3 {
        display: flex;
        align-items: center;
        gap: 24px;
        font-size: 19px;
        font-weight: 700;
        color: #A5A7AA;
    }

    .learning-left-seven h3 span {
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .learning-right {
        padding-left: 20px;
    }

    .learning-right-top ul {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .learning-right-top ul li {
        padding: 8px 20px;
        background: #1473E6;
        border-radius: 32px;
        font-size: 20px;
        font-weight: 700;
        color: #fff;
    }

    .learning-right-top ul li:first-child {
        background: #E4E1E0;
        color: #828487;
    }

    .learning-right-divider {
        margin-top: 14px;
        margin-bottom: 24px;
        height: 10px;
        width: 100%;
        background: #A5A7AA;
        border-radius: 8px;
    }

    .learning-right-items {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .learning-right-items-left {
        flex: 0 0 12px;
    }

    .learning-right-items-left p {
        font-size: 20px;
        font-weight: 700;
        color: #808285;
    }

    .learning-right-items-right {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        align-items: center;
    }

    .learning-right-items-right img {
        border-radius: 12px;
        width: 100%;
    }

    .learning-right-items-right h3 {
        font-size: 17px;
        font-weight: 700;
        color: #000000;
    }

    .learning-right-items-right p {
        margin: 4px 0;
        font-size: 15px;
        font-weight: 400;
        color: #696A6D;
    }

    .learning-right-items-right h4 {
        font-size: 22px;
        font-weight: 700;
        color: #0066B3;
    }

    .learning-right-items-right div:first-child {
        position: relative;
    }

    .learning-right-items-right-time {
        position: absolute;
        right: 12px;
        bottom: 12px;
    }

    /* Filter  */
    .main-left-top .learning-progress-wrap {
        margin-top: 12px;
        max-width: 100%;
    }

    .main-left-top .learning-progress-value {
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        color: #515254;
    }

    .main-left-top .learning-progress-range {
        width: 100%;
        height: 14px;
        appearance: none;
        background: #06A94A;
        border-radius: 50px;
        outline: none;
    }

    .main-left-top .learning-progress-range::-webkit-slider-thumb {
        appearance: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #06A94A;
        cursor: pointer;
    }

    .main-left-top .learning-progress-range::-moz-range-thumb {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #06A94A;
        cursor: pointer;
        border: none;
    }

    /* To Day Area */
    .today-area {
        margin-left: -50px;
        margin-right: -50px;
    }

    .today-area img {
        width: 100%;
    }


    /* Footer Section Here */
    .footer-top {
        padding-top: 36px;
        padding-bottom: 100px;
        padding-left: 70px;
        padding-right: 70px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        background: #343940;
    }

    .footer-top h4 {
        font-size: 28px;
        font-weight: 700;
        color: #FFFFFF;
    }

    .footer-top ul {
        padding-top: 22px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .footer-top ul li a,
    .footer-top ul li {
        font-size: 24px;
        font-weight: 400;
        color: #fff;
    }

    .footer-top ul li a:hover {
        color: #ddd;
    }

    .footer-top ul li strong {
        font-weight: 500;
    }

    .footer-bottom {
        border-top: 2px solid #fff;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 32px;
        padding-bottom: 20px;
        background: #343940;
    }

    .footer-bottom p {
        text-align: center;
        font-size: 18px;
        color: #fff;
    }

    /* Progress Bar */
    .course-progress-bar {
        text-align: right;
    }

    .course-progress-bar .course-slider-box {
        max-width: 390px;
        width: 100%;
    }

    .course-progress-bar .course-range-slider {
        width: 100%;
        -webkit-appearance: none;
        appearance: none;
        height: 6px;
        border-radius: 20px;
        background: linear-gradient(to right, #165DDB 50%, #D8E7F8 50%);
        outline: none;
    }

    .course-progress-bar .course-range-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #165DDB;
        cursor: pointer;
    }

    .course-progress-bar .course-range-slider::-moz-range-thumb {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #165DDB;
        border: none;
        cursor: pointer;
    }

    .course-progress-bar .course-labels {
        display: flex;
        justify-content: space-between;
        font-size: 28px;
        color: #8B8B8B;
        font-weight: 700;
    }

    .course-progress-content {
        margin-top: 30px;
        display: flex;
        justify-content: flex-end;
        gap: 30px;
    }

    .course-progress-content h4 {
        font-size: 28px;
        color: #725A00;
        font-weight: 700;
        text-align: end;
        margin-left: auto;
    }

    .share-number-top-three h4 span {
        color: #0241A1;
    }

    /* Select Area */

    .select-area {
        padding-top: 28px;
        padding-bottom: 12px;
        max-width: 1300px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        align-items: center;
    }

    .select-area-first h2 {
        font-size: 30px;
        color: #000000;
        font-weight: 700;
    }

    .select-area-first h2 span {
        color: #E51E2C;
    }

    .select-area-first h2:last-child {
        color: #0241A1;
    }

    .select-area-common {
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .select-area-common h2 {
        font-size: 30px;
        color: #2E3192;
        font-weight: 700;  
    }

    .select-area-common h2:last-child {
        color: #00AEEF;
    }

    .select-area-common div:first-child {
        flex: 0 0 140px;
    }

    /* Chat Area */
    .chat-area {
        border: 4px solid #707070;
        border-radius: 18px;
    }

    .chat-area-top {
        padding: 12px 30px;
        background: linear-gradient(90deg, #221F20, #1775AE);
        border-top-left-radius: 14px ;
        border-top-right-radius: 14px ;
    }

    .chat-area-top h3 {
        font-size: 34px;
        font-weight: 700;
        color: #fff;
    }

    .chat-area-box {
        padding: 20px 30px;
        background: #F8F8F9;
        border-bottom-left-radius: 14px ;
        border-bottom-right-radius: 14px ;
    }

    .chat-area-wrapper {
        width: 100%;
        height: 900px;
        overflow: auto;
        border-bottom-left-radius: 14px ;
        border-bottom-right-radius: 14px ;
    }

    .chat-area-box {
        min-height: 1020px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .chat-area-box-items {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .chat-area-box-items-left {
        display: flex;
        align-items: center;
        gap: 16px;
        flex: 0 0 230px;
    }

    .chat-area-box-items-left img {
        cursor: pointer;
    }

    .chat-area-box-items-left .pro-box {
        flex: 0 0 70px;
    }

    .chat-area-box-items-left .pro-box img {
        width: 100%;
        border-radius: 50%;
    }

    .chat-area-box-items-left img {
        flex: 0 0 45px;
        width: 45px;
    }

    .chat-area-box-items-right img {
        width: 100%;
    }

    .chat-area-box-items-right {
        position: relative;
    }

    .chat-area-box-items-right-para {
        position: absolute;
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
        padding: 12px 30px;
    }

    .chat-area-box-items-right-para p {
        font-size: 26px;
        font-weight: 700;
        color: #231F20;
    }

    .chat-area-box-items-right-para-tow p {
        color: #828487;
    }

    /* Chat Progress */
    .chat-progress-bar {
        text-align: right;
    }

    .chat-progress-bar .chat-slider-box {
        max-width: 390px;
        width: 100%;
    }

    .chat-progress-bar .chat-range-slider {
        width: 100%;
        -webkit-appearance: none;
        appearance: none;
        height: 6px;
        border-radius: 20px;
        background: linear-gradient(to right, #165DDB 50%, #D8E7F8 50%);
        outline: none;
    }

    .chat-progress-bar .chat-range-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #165DDB;
        cursor: pointer;
    }

    .chat-progress-bar .chat-range-slider::-moz-range-thumb {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #165DDB;
        border: none;
        cursor: pointer;
    }

    .chat-progress-bar .chat-labels {
        display: flex;
        justify-content: space-between;
        font-size: 28px;
        color: #8B8B8B;
        font-weight: 700;
    }

    .chat-progress-content {
        margin-top: 30px;
        display: flex;
        justify-content: flex-end;
        gap: 30px;
    }

    .chat-progress-title {
        font-size: 28px;
        color: #725A00;
        font-weight: 700;
        text-align: end;
        margin-left: auto;
    }

    .share-number-top-four h4 span {
        color: #ED1C24;
    }

    /* Vocabulary Section */
    .vocabulary-area {
    border-radius: 18px;
}

    .vocabulary-area-top ul {
        display: flex;
        align-items: center;
    }

    .vocabulary-area-top ul li {
        font-size: 34px;
        font-weight: 700;
        color: #fff;
        padding: 10px 50px;
    }

    .vocabulary-area-top {
        padding: 0;
    }

    .vocabulary-area-top ul li:first-child {
        background: #fff;
        border-top-left-radius: 14px ;
        border-top-right-radius: 14px ;
        color: #161815;
    }


   .vocabulary-area-wrapper {
    width: 100%;
    /* height: 600px; */
    overflow: auto;
}


   .vocabulary-area-box {
    border: 4px solid #707070;
    border-radius: 18px;
    margin-top: 20px;
    overflow: visible;
}

    .vocabulary-area-wrapper-items-left {
        padding: 16px 30px;
        border-right: 4px solid #CEC8CC;
    }

    .vocabulary-area-wrapper-divide {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        height: 100%;
    }

    .vocabulary-area-wrapper-items-left {
        display: flex;
        align-items: center;
        gap: 46px;
    }

    .vocabulary-area-wrapper-items-left div:nth-child(2) {
        text-align: center;
    }

    .vocabulary-area-wrapper-items-left h2 {
        font-size: 42px;
        color: #0B57D0;
        font-weight: 700;
    }

    .vocabulary-area-wrapper-items-left p {
        font-size: 28px;
        color: #797A7D;
        font-weight: 700;
    }

    .vocabulary-area-wrapper-items-left ul {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 28px;
        margin-top: 20px;
    }

    /* Vocabulary Progress */
    .vocab-progress-shell {
        text-align: right;
    }

    .vocab-progress-shell .vocab-progress-box {
        max-width: 390px;
        width: 100%;
    }

    .vocab-progress-shell .vocab-progress-slider {
        width: 100%;
        -webkit-appearance: none;
        appearance: none;
        height: 6px;
        border-radius: 20px;
        background: linear-gradient(to right, #165DDB 50%, #D8E7F8 50%);
        outline: none;
    }

    .vocab-progress-shell .vocab-progress-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #165DDB;
        cursor: pointer;
    }

    .vocab-progress-shell .vocab-progress-slider::-moz-range-thumb {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #165DDB;
        border: none;
        cursor: pointer;
    }

    .vocab-progress-shell .vocab-progress-labels {
        display: flex;
        justify-content: space-between;
        font-size: 28px;
        color: #8B8B8B;
        font-weight: 700;
    }

    .vocab-progress-head {
        margin-top: 30px;
        display: flex;
        justify-content: flex-end;
        gap: 30px;
    }

    .vocab-progress-title {
        font-size: 28px;
        color: #725A00;
        font-weight: 700;
        text-align: end;
        margin-left: auto;
    }

    /* Explorador Area */
    .explorador-area {
        padding-top: 44px;
        padding-bottom: 32px;
    }

    .explorador-top {
        padding-bottom: 8px;
        display: flex;
        align-items: end;
        justify-content: space-between;
    }

    .explorador-top h2 {
        font-size: 56px;
        font-weight: 700;
        color: #000000;
    }

    .explorador-top p {
        font-size: 32px;
        font-weight: 700;
        color: #848689;
    }

















    .explorador-swiper {
        overflow: hidden !important;  /* override the global swiper visible rule */
        position: relative;
    }

    .caso-swiper,
    .caso-swiper .swiper-wrapper {
        overflow: visible !important;
    }

    /* Explorador navigation buttons */
    .explorador-area {
        position: relative;
    }

    .explorador-prev,
    .explorador-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: #0055D2;
        color: #fff;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 18px;
        transition: background 0.2s;
        margin-top: 30px; 
    }

    .explorador-prev:hover,
    .explorador-next:hover {
        background: #023b92;
    }

    .explorador-prev {
        left: -22px;
    }

    .explorador-next {
        right: -22px;
    }

  

    .learning-right-top ul li,
    .vocabulary-area-top ul li {
        transition: background 0.2s ease, color 0.2s ease;
        cursor: pointer;
    }

    .chat-area-top ul li {
        border-radius: 14px 14px 0 0;
    }


    .explorador-slider .item img{
        width:100%;
        display:block;
    }

    .explorador-slider .owl-nav{
        margin-top:0;
    }

    .explorador-slider .owl-prev,
    .explorador-slider .owl-next{
        position:absolute;
        top:50%;
        transform:translateY(-50%);
        width:52px;
        height:52px;
        border-radius:12px !important;
        background:#0D63D8 !important;
        color:#fff !important;
        font-size:28px !important;
        display:flex !important;
        align-items:center;
        justify-content:center;
    }

    .explorador-slider .owl-prev{
        left:12px;
    }

    .explorador-slider .owl-next{
        right:12px;
    }

    /* Prevent ANY element from causing horizontal page scroll */
    body {
        overflow-x: hidden;
    }
    
   
    .main-right {
        overflow-x: hidden;
    }
    
  
    .explorador-area {
        overflow: hidden;
    }
    
    .explorador-slider .owl-stage-outer {
        overflow: hidden !important;
    }
    
    /* Tab cursor transitions */
    .learning-right-top ul li,
    .vocabulary-area-top ul li {
        transition: background 0.2s ease, color 0.2s ease;
        cursor: pointer;
    }
    
    .menu-filter i,
    .mobile-bar i {
        font-size: 24px;
    }

    .footer-top ul li a, .footer-top ul li {
        font-size: 18px;
    }
    .footer-bottom p {
        font-size: 16px;
    }
    .learning-left-seven p {
        font-size: 18px;
    }
    .learning-left-third-right-share img {
        max-width: 16px;
    }
    .learning-left-third-right-like img {
        max-width: 18px;
    }

    /* New Code Added */
    .chat-area-box-items-right-dot {
        position: absolute;
        top: -12px;
        right: 5px;
    }

    .select-area-common div:first-child {
        flex: 0 0 140px;
    }

    .select-area-common img {
        width: 100%;
    }

    .select-area-common {
        cursor: pointer;
    }

    .select-area-common{
        cursor:pointer;
    }

    .tab-content {
        display: none;
        min-height: 1020px;
        flex-direction: column;
        gap: 20px;
    }

    .tab-content.active {
        display: flex;
    }

    .select-area-common-profile {
        position: relative;
    }

    .select-area-common-profile-image {
        position: absolute;
        top: 5px;
        right: 10px;
        display: none;
    }

    .select-area-common.active .select-area-common-profile-image {
        display: block;
    }

    .chat-box-record.recording{
        border-radius: 50%;
        animation: pulseBorder 1s infinite;
    }

    @keyframes pulseBorder{
        0%{
            box-shadow: 0 0 0 0 rgba(255,0,0,.7);
        }
        100%{
            box-shadow: 0 0 0 12px rgba(255,0,0,0);
        }
    }

    .share-toggle img {
        transition: 0.3s;
    }

    .share-number.active .share-toggle img {
        transform: rotate(180deg);
    }

    .main-tab-content-one,
    .main-tab-content-tow,
    .main-tab-content-three,
    .main-tab-content-four {
        display: none;
    }

    .main-tab-content-one.active,
    .main-tab-content-tow.active,
    .main-tab-content-three.active,
    .main-tab-content-four.active{ 
        display: block;
    }
    /* ── PASO 3 ─────────────────────────────────────────────── */
    @keyframes p3blink      { 0%,100%{opacity:1} 50%{opacity:.15} }
    @keyframes p3blinkfast  { 0%,100%{opacity:1} 50%{opacity:.1}  }
    .p3-blink      { animation: p3blink      .75s step-end infinite; }
    .p3-blink-fast { animation: p3blinkfast  .35s step-end infinite; }

    .p3-audio-btn,
    .p3-rec-btn {
    transition: transform .15s, opacity .15s;
    }
    .p3-audio-btn:hover,
    .p3-rec-btn:hover {
    transform: scale(1.1);
    }

    /* header icon smooth transitions */
    #step3-arrow-img, #step4-arrow-img {
    transition: filter .3s, transform .3s;
    }

    /* ── PASO 3 — Progress Bar (slider style) ─────────────────────── */

    .p3-pb-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 0 2px;
    }

    .p3-pb-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    min-width: 100px;
    }

    /* Track container (takes remaining width) */
    .p3-pb-track-wrap {
    flex: 1;
    }

    /* The grey rail */
    .p3-pb-track {
    position: relative;
    height: 6px;
    background: #c9d8eb;
    border-radius: 3px;
    }

    /* Filled portion */
    .p3-pb-fill {
    height: 6px;
    border-radius: 3px;
    width: 0%;
    transition: width 0.6s ease, background 0.4s;
    background: #2563eb;
    }
    .p3-pb-fill--pass { background: #2563eb; }
    .p3-pb-fill--fail { background: #dc2626; }

    /* Circular thumb */
    .p3-pb-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.22);
    transform: translate(-50%, -50%);
    transition: left 0.6s ease, background 0.4s;
    }
    .p3-pb-thumb--pass { background: #2563eb; }
    .p3-pb-thumb--fail { background: #dc2626; }

    /* Scale labels: 0 … 100 */
    .p3-pb-scale {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
    padding: 3px 0 0;
    }

    /* Message below the bar */
    .p3-pb-msg {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    margin-top: 10px;
    padding: 4px 0;
    line-height: 1.45;
    }
    .p3-pb-msg--pass {
    color: #059669;    
    }
    .p3-pb-msg--fail {
    color: #dc2626;    
    }


    /* Blink animations (kept from previous) */
    @keyframes p3blink      { 0%,100%{opacity:1} 50%{opacity:.15} }
    @keyframes p3blinkfast  { 0%,100%{opacity:1} 50%{opacity:.1}  }
    .p3-blink      { animation: p3blink      .75s step-end infinite; }
    .p3-blink-fast { animation: p3blinkfast  .35s step-end infinite; }
    #step3-arrow-img, #step4-arrow-img { transition: filter .3s, transform .3s; }


    /* Step 1 Video Styles */
    .share-number-top-one h4 span {
        color: #FF6B35;
    }

    #step1-header {
        cursor: pointer;
    }

    #step1-header .share-number-last ul li:first-child {
        cursor: default;
    }

    /* Video Container */
    .video-container-wrapper {
        position: relative;
        width: 100%;
        border-radius: 20px;
        overflow: hidden;
        cursor: pointer;
        aspect-ratio: 16 / 9;
        background: #000;
    }

    .video-thumbnail-container {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
        overflow: hidden;
    }

    .video-poster-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .play-button-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease;
        z-index: 2;
        background: rgba(0, 0, 0, 0.1);
    }

    .play-button-overlay:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .play-button-overlay:hover .play-button-circle {
        transform: scale(1.1);
    }

    .play-button-circle {
        width: 80px;
        height: 80px;
        cursor: pointer;
        transition: transform 0.3s ease;
        filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
        z-index: 3;
    }

    .play-button-circle svg {
        width: 100%;
        height: 100%;
    }

    /* Video Embed Overlay */
    .video-embed-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 10000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
        backdrop-filter: blur(4px);
    }

    .video-embed-overlay.active {
        display: flex;
    }

    .video-embed-modal {
        position: relative;
        width: 85%;
        max-width: 900px;
        background: #000;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    }

    .video-embed-container {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    #videoPlayerWrapper {
        width: 100%;
        height: 100%;
        position: relative;
    }

    #videoPlayerWrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

    .video-close-btn {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.8);
        color: #fff;
        border: 2px solid rgba(255, 255, 255, 0.5);
        font-size: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 10;
        line-height: 1;
    }

    .video-close-btn:hover {
        background: rgba(255, 0, 0, 0.9);
        transform: scale(1.1);
        border-color: #fff;
    }

    /* Video Progress */
    .video-progress-wrapper {
        margin-top: 30px;
        padding: 20px 30px;
        background: #fff;
        border-radius: 16px;
        border: 2px solid #E1E3EA;
    }

    .video-progress-actions {
        display: flex;
        gap: 12px;
        justify-content: flex-end;
        margin-top: 16px;
    }

    .btn-check-video,
    .btn-reset-video {
        padding: 10px 28px;
        border: none;
        border-radius: 22px;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Freigeist', sans-serif;
    }

    .btn-check-video {
        background: #0055D2;
        color: #fff;
    }

    .btn-check-video:hover {
        background: #003C99;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 85, 210, 0.3);
    }

    .btn-reset-video {
        background: #E1E3EA;
        color: #515254;
    }

    .btn-reset-video:hover {
        background: #C8CACD;
        transform: translateY(-2px);
    }

    .video-status-message {
        margin-top: 16px;
        padding: 14px 20px;
        border-radius: 12px;
        text-align: center;
        font-size: 17px;
        font-weight: 700;
        display: none;
        animation: slideInMessage 0.5s ease;
    }

    .video-status-message.success {
        display: block;
        background: #E8F5E9;
        color: #2E7D32;
        border: 2px solid #4CAF50;
    }

    .video-status-message.success::before {
        content: "✅ ";
    }

    .video-status-message.fail {
        display: block;
        background: #FFEBEE;
        color: #C62828;
        border: 2px solid #EF5350;
    }

    .video-status-message.fail::before {
        content: "⚠️ ";
    }

    @keyframes slideInMessage {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ========================================
    MOBILE RESPONSIVE - NO BLACK BARS
    ======================================== */
    @media (max-width: 768px) {
        .play-button-circle {
            width: 60px;
            height: 60px;
        }
        
        .video-embed-modal {
            width: 90%;
            max-width: 90%;
            height: auto;
            background: #000;
        }
        
        .video-embed-container {
            position: relative;
            width: 100%;
            height: 85vh; 
            aspect-ratio: auto;
            min-height: 400px;
            overflow: hidden;
            background: #000;
        }
        
        #videoPlayerWrapper {
            width: 100%;
            height: 100%;
            position: relative;
            min-height: 400px;
            background: #000;
        }
        
        #videoPlayerWrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            min-height: 100%;
            display: block;
            border: none;
            
        }
        
        .video-close-btn {
            width: 40px;
            height: 40px;
            font-size: 20px;
            top: 12px;
            right: 12px;
            z-index: 20;
        }
    }

    /* For very small screens (phones) */
    @media (max-width: 480px) {
        .video-embed-modal {
            width: 95%;
            max-width: 95%;
        }
        
        .video-embed-container {
            height: 80vh;
            min-height: 350px;
        }
        
        #videoPlayerWrapper {
            min-height: 350px;
        }
        
        .play-button-circle {
            width: 50px;
            height: 50px;
        }
    }

    /* For landscape orientation on mobile */
    @media (max-width: 768px) and (orientation: landscape) {
        .video-embed-container {
            height: 90vh;
            min-height: 300px;
        }
        
        #videoPlayerWrapper {
            min-height: 300px;
        }
    }

  /* ========================================
   STEP 2 — DIALOGUE WITH SUBTITLES
   ======================================== */

/* ── Video Player ── */
#step2-video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
}

#step2-video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── Related Videos heading ── */
.related-videos-heading {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 20px 0 10px;
}

/* ── Related Video Overlay ── */
.related-video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.related-video-modal {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.related-video-modal .video-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    z-index: 10;
}

.related-video-modal .video-close-btn:hover {
    background: rgba(255, 0, 0, 0.9);
    transform: scale(1.1);
    border-color: #fff;
}

/* ── Progress Actions ── */
.video-progress-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 16px;
}

.btn-check-video,
.btn-reset-video {
    padding: 10px 28px;
    border: none;
    border-radius: 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Freigeist', sans-serif;
}

.btn-check-video {
    background: #0055D2;
    color: #fff;
}

.btn-check-video:hover {
    background: #003C99;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 85, 210, 0.3);
}

.btn-reset-video {
    background: #E1E3EA;
    color: #515254;
}

.btn-reset-video:hover {
    background: #C8CACD;
    transform: translateY(-2px);
}

/* ── Status Message ── */
#step2-status-message {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    animation: slideInMessage 0.5s ease;
}

#step2-status-message.success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 2px solid #4CAF50;
}

#step2-status-message.success::before { content: "✅ "; }

#step2-status-message.fail {
    background: #FFEBEE;
    color: #C62828;
    border: 2px solid #EF5350;
}

#step2-status-message.fail::before { content: "⚠️ "; }

@keyframes slideInMessage {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Toast ── */
.step2-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 9999;
    font-family: 'Freigeist', sans-serif;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: toastFadeInOut 2.5s ease forwards;
    pointer-events: none;
}

@keyframes toastFadeInOut {
    0%   { opacity: 0; transform: translateX(-50%) translateY(20px); }
    15%  { opacity: 1; transform: translateX(-50%) translateY(0); }
    85%  { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

/* ── Submit Comment Button ── */
.btn-submit-comment {
    padding: 8px 20px;
    background: #0055D2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 10px;
    font-family: 'Freigeist', sans-serif;
    transition: background 0.25s ease;
    white-space: nowrap;
}

.btn-submit-comment:hover {
    background: #003C99;
}

/* ── Comment Actions ── */
.comment-own-actions {
    display: inline-flex;
    gap: 4px;
    margin-left: 10px;
}

.edit-comment-btn,
.delete-comment-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    transition: transform 0.2s ease;
    line-height: 1;
}

.edit-comment-btn  { color: #0055D2; }
.delete-comment-btn { color: #ff0000; }

.edit-comment-btn:hover,
.delete-comment-btn:hover {
    transform: scale(1.2);
}

.comment-like,
.comment-dislike {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease;
}

.comment-like:hover,
.comment-dislike:hover {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .vocab-favorite-btn {
        width: 48px !important;
        height: 48px !important;
    }

    .vocab-favorite-btn svg {
        width: 36px !important;
        height: 36px !important;
    }
}
/* ── Responsive ── */
@media (max-width: 768px) {
    .related-video-modal {
        width: 95%;
    }

    .related-video-modal .video-close-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 12px;
        right: 12px;
    }

    .video-progress-actions {
        justify-content: center;
    }
}
/* ── Unified Progress Bar (Steps 1, 2, 4 — matches Step 3) ── */
.upb-shell { max-width: 600px; margin: 0 auto; padding: 4px 0; }
.upb-row { display: flex; align-items: center; gap: 16px; }
.upb-label { width: 110px; flex-shrink: 0; font-size: 15px; font-weight: 500; color: #6b5a3a; white-space: nowrap; }
.upb-track-wrap { flex: 1; position: relative; padding: 4px 0; }
.upb-track { position: relative; height: 6px; border-radius: 3px; background: #cfe0ee; overflow: visible; }
.upb-fill { position: absolute; top: 0; left: 0; bottom: 0; border-radius: 3px; background: #3b6ea5; width: 0%; transition: width 0.6s ease, background 0.4s ease; }
.upb-dot { position: absolute; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 1px 2px rgba(0,0,0,0.1); pointer-events: none; }
.upb-thumb { position: absolute; top: 50%; left: 0%; width: 18px; height: 18px; border-radius: 50%; background: #3b6ea5; border: 3px solid #fff; box-shadow: 0 0 0 1px #b9cfe2, 0 2px 6px rgba(0,0,0,0.15); transform: translate(-50%, -50%); transition: left 0.6s ease, background 0.4s ease; pointer-events: none; }
.upb-scale { display: flex; justify-content: space-between; font-size: 13px; color: #8a7d5f; margin-top: 6px; padding: 0 2px; }
.upb-fill.fail, .upb-thumb.fail { background: #d4302f; }
.upb-thumb.fail { box-shadow: 0 0 0 1px #f0bcbc, 0 2px 6px rgba(0,0,0,0.15); }
.upb-msg { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 50px; text-align: center; margin-top: 20px; padding: 4px 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.upb-msg.visible { display: flex; }
.upb-actions { display: flex; justify-content: flex-end; gap: 12px; margin-bottom: 20px; }
.upb-actions.hidden { display: none; }
.upb-section { padding: 24px 20px 20px; background: #ffffff; border-radius: 16px; margin-top: 12px; border: 1px solid #e8ecf4; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }

@media (min-width: 1279px) and (max-width: 1550px) {
    .vocabulary-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .vocab-card {
        padding: 12px 10px !important;
        gap: 8px !important;
    }
    
    .vocab-card h2 {
        font-size: 20px !important;
    }
    
    .vocab-card p {
        font-size: 14px !important;
    }

    .vocab-card > div:last-child {
        gap: 6px !important;
    }

    .vocab-card > div:first-child {
        flex: 0 0 40px !important;
    }
}

/* ========================================
   STEP 4 - VOCABULARY
   ======================================== */

.vocabulary-area-wrapper {
    width: 100%;
}

.vocabulary-area-box {

    border: 4px solid rgb(112, 112, 112);
    border-radius: 18px;
    margin-top: 8px;
    padding: 10px;
}

    
.vocabulary-area-box {
    border: 4px solid #707070;
    border-radius: 18px;
    margin-top: 20px;
}

/* Vocabulary Grid */
.vocabulary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    /* height: 420px; */
}


/* Vocabulary Card */
.vocab-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 18px;
    background: #fff;
    border-radius: 16px;
    border: 2px solid #E1E3EA;
    transition: all 0.3s ease;
    position: relative;
}
.vocab-card:hover {
    border-color: #0B57D0;
    box-shadow: 0 4px 20px rgba(11, 87, 208, 0.1);
}

.vocab-card h2 {
    font-size: 32px;
    color: #0B57D0;
    font-weight: 700;
    margin: 0;
}

.vocab-card p {
    font-size: 20px;
    color: #797A7D;
    font-weight: 700;
    margin: 4px 0 0;
}

.vocab-card-done {
    border-color: #22c55e !important;
    background: #f0fdf4 !important;
}

/* Speaker button hover */
.vocab-audio-btn:hover {
    background: #dce9ff !important;
    transform: scale(1.1);
}

/* Star button hover */
.vocab-favorite-btn:hover {
    transform: scale(1.2);
}

/* Filter Buttons */
.vocab-filter-btn,
.flashcard-filter-btn {
    padding: 8px 24px;
    border: 2px solid #0B57D0;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Freigeist', sans-serif;
    transition: all 0.3s ease;
    font-size: 15px;
}

.vocab-filter-btn.active,
.flashcard-filter-btn.active {
    background: #0B57D0;
    color: #fff;
}

.vocab-filter-btn:not(.active),
.flashcard-filter-btn:not(.active) {
    background: transparent;
    color: #0B57D0;
}

.vocab-filter-btn:hover,
.flashcard-filter-btn:hover {
    transform: scale(1.05);
}

/* Filter Buttons */
.vocab-filter-btn,
.flashcard-filter-btn {
    padding: 8px 24px;
    border: 2px solid #0B57D0;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Freigeist', sans-serif;
    transition: all 0.3s ease;
    font-size: 15px;
}

.vocab-filter-btn.active,
.flashcard-filter-btn.active {
    background: #0B57D0;
    color: #fff;
}

.vocab-filter-btn:not(.active),
.flashcard-filter-btn:not(.active) {
    background: transparent;
    color: #0B57D0;
}

.vocab-filter-btn:hover,
.flashcard-filter-btn:hover {
    transform: scale(1.05);
}

/* Flashcard items */
.flashcard-item {
    background: #fff;
    border-radius: 16px;
    border: 3px solid #E1E3EA;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    user-select: none;
    transform-style: preserve-3d;
    transition: transform 0.6s ease, background 0.4s ease, border-color 0.4s ease;
}

.flashcard-item:hover:not(.flipped) {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.flashcard-item.flipped {
    transform: rotateY(180deg);
    background: #0B57D0 !important;
    border-color: #0B57D0 !important;
}

.flashcard-item.flipped > * {
    transform: rotateY(180deg);
}

.flashcard-item .flashcard-english {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.flashcard-item .flashcard-sentence {
    font-size: 16px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
    transition: color 0.3s;
}

.flashcard-item .flashcard-spanish {
    font-size: 14px;
    color: #797A7D;
    margin-top: 12px;
    transition: color 0.3s;
}

.flashcard-item.flipped .flashcard-english {
    color: #fff !important;
}

.flashcard-item.flipped .flashcard-sentence {
    color: rgba(255, 255, 255, 0.85) !important;
}

.flashcard-item.flipped .flashcard-spanish {
    color: rgba(255, 255, 255, 0.7) !important;
}

.flashcard-item.flipped .flashcard-audio-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.flashcard-item.flipped .flashcard-audio-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

/* Flashcard speaker/listen button */
.flashcard-audio-btn {
    background: #f0f4ff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #0055D2;
    font-family: 'Freigeist', sans-serif;
    transition: background 0.2s, transform 0.2s;
    margin-top: 4px;
}

.flashcard-audio-btn:hover {
    background: #dce9ff;
    transform: scale(1.05);
}

/* Recording Pulse Animation */
@keyframes pulseBorder {
    0%   { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    100% { box-shadow: 0 0 0 12px rgba(255, 0, 0, 0); }
}

/* ========================================
   RESPONSIVE - 1 COLUMN ON MOBILE
   ======================================== */

@media (max-width: 992px) {
    .vocabulary-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .vocabulary-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .vocab-card {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
    }

    .vocab-card h2 { font-size: 24px; }
    .vocab-card p  { font-size: 18px; }

    .vocab-card > div:first-child {
        flex: 0 0 50px;
    }

    .flashcard-item {
        min-height: 140px;
        padding: 16px;
    }

    .flashcard-item .flashcard-english { font-size: 20px; }
    .flashcard-item .flashcard-sentence { font-size: 14px; }
    
    .vocabulary-area-wrapper {
        height: auto;
        max-height: 600px;
    }
}

@media (max-width: 480px) {
    .vocabulary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vocab-card h2 { font-size: 20px; }
    .vocab-card p  { font-size: 16px; }

    .vocab-card {
        padding: 12px 16px;
        gap: 12px;
    }

    .flashcard-item {
        min-height: 120px;
        padding: 12px;
    }

    .flashcard-item .flashcard-english { font-size: 18px; }
    .flashcard-item .flashcard-sentence { font-size: 13px; }

    .vocab-filter-btn,
    .flashcard-filter-btn {
        padding: 6px 16px;
        font-size: 13px;
    }

    .vocab-card > div:last-child {
        flex-wrap: wrap;
        justify-content: center;
    }
}



.v4-tab-header {
    display: flex;
    align-items: stretch;
    background: linear-gradient(90deg, #221F20, #098ddf);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    overflow: hidden;
    flex-wrap: wrap;
}

.v4-tab-btn {
    font-size: 28px;
    font-weight: 700;
    padding: 14px 40px;
    cursor: pointer;
    flex: 1;
    min-width: 120px;
    background: none;
    color: #fff;
    border: none;
    font-family: 'Freigeist', sans-serif;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.v4-tab-btn.active {
    background: none;
    color: #fff;
}

.v4-tab-btn:not(.active) {
    background: #fff;
    color: #0055D2;
}

.v4-tab-btn:hover {
    opacity: 0.85;
}

/* ========================================
   RESPONSIVE - TAB BUTTONS
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .v4-tab-btn {
        font-size: 24px;
        padding: 12px 30px;
        min-width: 100px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .v4-tab-header {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .v4-tab-btn {
        font-size: 20px;
        padding: 12px 20px;
        min-width: 80px;
        flex: 1 1 auto;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .v4-tab-header {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        flex-direction: row;
    }

    .v4-tab-btn {
        font-size: 16px;
        padding: 10px 12px;
        min-width: 60px;
        flex: 1;
        white-space: normal;
        word-break: break-word;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .v4-tab-btn {
        font-size: 14px;
        padding: 8px 10px;
        min-width: 50px;
    }
}

/* ==========================================================================
   STEP 5 — Material de Soporte
   ========================================================================== */

.share-number-top-five h4 span {
    color: #7C3AED;
}

/* Outer container that holds the file rows */
.support-list {
    background: #fff;
    border: 2px solid #E1E3EA;
    border-radius: 16px;
    padding: 8px 0;
    margin-top: 20px;
}

.support-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    border-bottom: 1px solid #EEF1F5;
}
.support-row:last-child {
    border-bottom: none;
}

.support-file-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F5F9;
    border-radius: 10px;
    font-size: 22px;
}

.support-file-info {
    flex: 1;
    min-width: 0;
}
.support-file-name {
    font-size: 16px;
    font-weight: 700;
    color: #1c2430;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.support-file-meta {
    font-size: 12px;
    color: #828487;
    font-weight: 600;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.support-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #0055D2;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.1s ease;
}
.support-download:hover {
    background: #003C99;
    transform: translateY(-1px);
}
.support-download--disabled {
    background: #E1E3EA;
    color: #828487 !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Empty state */
.support-empty {
    text-align: center;
    padding: 50px 24px;
    background: #fff;
    border: 2px dashed #E1E3EA;
    border-radius: 16px;
    margin-top: 20px;
}
.support-empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
}
.support-empty-title {
    font-size: 17px;
    font-weight: 700;
    color: #1c2430;
    margin-bottom: 6px;
}
.support-empty-desc {
    font-size: 14px;
    color: #828487;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 600px) {
    .support-row {
        flex-wrap: wrap;
        padding: 14px 16px;
    }
    .support-download {
        width: 100%;
        justify-content: center;
    }
    .share-number-top-five h4 span {
        display: inline;
    }
}