.navbar {
    background: #070F27;
    backdrop-filter: blur(15.899999618530273px);
}

.course-detail {
    margin-top: 100px;
    background: none;
}

.text-top,
.text-bottom {
    width: 100%;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    font-size: 5vw;
    padding-top: 20px;
    padding-bottom: 20px;
}

.text-bottom {
    color: #fff;
    height: 500px;
    align-items: normal;
    padding: 20px;
}


#typewriter,
#typewriter2 {
    font-weight: bold;
    display: inline-block;

}

.char {
    opacity: 0;
    display: inline-block;
    transform: translateY(20px);
    animation: fadeUp 0.5s forwards;
}

.course-name h2.title {
    line-height: 190px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mask-top {
    position: absolute;
    bottom: 10px;
    right: 0;
    z-index: -1;
}

#line-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    width: 30vw;
}

.mask-top::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #FEFAEF;
    z-index: 2;
    transition: width 1s ease-in-out;
}

.mask-top.reveal::before {
    width: 0%;
}

.mask-bottom {
    z-index: -10;
}

h2.title {
    font-size: 10vw;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
}


.mask-bottom {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
    width: 475px;
}

.mask-bottom img{
    width: 35vw;
}

.course-desc-text {
    font-weight: 400;
    font-size: 1.8vw;
    letter-spacing: 2px;
    text-align: justify;
}

.price {
    font-weight: 700;
    font-size: 4vw;
    letter-spacing: 0%;
    color: #850221;
    padding: 20px 0;
}

.discount {
    font-weight: 400;
    font-size: 1.2vw;
    line-height: 26px;
    letter-spacing: 0%;
    text-decoration: line-through;
    color: #000000;
}

.discount-text {
    font-weight: 700;
    color: #F6033C;
    font-size: 1.2vw;
    line-height: 26px;
}

.btn-course {
    padding: 1vw 1.736vw;
    background: #850221;
    border-radius: 100px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1vw;
    line-height: 30px;
    border: none;
}

.btn-course:hover {
    background: #070F27;
    color: #fff;
}

.image-stack-container {
    /* height: 100%; */
    width: 100%;
    padding-top: 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: end;
}

.image-stack-container img {
    /* width: 40vw;
    height: 60vh;
    display: block;
    object-fit: cover; */
}

.image-stack-container .img-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 80%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.image-stack-container .img-style {
    position: relative;
    width: 80%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.img-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.img-foreground {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.course-schedule {
    font-size: 20px;
    font-size: 1.4vw;
    line-height: 180%;
    letter-spacing: 0%;
    text-align: justify;
}

.course-blue-section {
    background: #070F27;
    z-index: -10;
}

.course-red-section {
    background: #850221;
}

.course-red-section,
.course-blue-section {
    padding: 50px 0;
    color: #fff;
}

.course-schedule2 {
    font-weight: 400;
    font-size: 1.4vw;
    letter-spacing: 0%;
    text-align: justify;
}

.top-index {
    z-index: 2;
    position: relative;
}

.bottom-index {
    position: absolute;
    top: 0;
    left: 50px;
    z-index: 0;
}

h3.header-title {
    width: 100%;
    font-size: 9.5vw;
    text-align: center;
    color: #850221;
    line-height: 150px;
}

.address-list {
    font-weight: 600;
    font-size: 20px;
    line-height: 40px;
    letter-spacing: 0%;
}

.address-title {
    font-weight: 800;
    font-size: 40px;
    line-height: 90px;
    letter-spacing: 7.5%;
    text-transform: uppercase;
}

.address-line {
    position: absolute;
    top: 0;
    left: -40px;
    z-index: -1;
    height: 100%;
}

.dance-banner {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.dance-banner img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.text-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    max-width: 100%;
}

.dance-banner:hover img {
    transform: scale(1.2);
}

.box-course-related .box-content {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 20px;
    /* background: #0000009e; */
    color: white;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 768px) {

    /* Text animations - mobile friendly */

    .course-name h2.title {
        line-height: 1.1;
    }

    .text-top{
        padding: 0;
    }

    .text-bottom {
        height: 200px;
        font-size: 24px;
        background-size: cover !important;
        background-position: center !important;
    }

    .char {
        display: inline;
        white-space: nowrap;
    }


    /* Course title */
    h2.title {
        font-size: 60px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    h4.title {
        font-size: 32px;
        line-height: 1.3;
    }

    .course-info {
        text-align: center;
    }

    /* Course description */
    .course-desc-text {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Price section */
    .price {
        font-size: 32px;
        line-height: 1.2;
        padding: 15px 0;
    }

    .discount,
    .discount-text {
        font-size: 16px;
    }

    .discount-price {
        flex-direction: column;
        align-items: center;
        gap: 5px !important;
    }

    /* Image stacks */
    .image-stack-container {
        margin-bottom: 20px;
    }

    .image-stack-container img {
        width: 315px;
        height: 315px;
    }

    /* Course sections */
    .course-blue-section,
    .course-red-section {
        height: auto;
        padding: 40px 15px;
    }

    .course-schedule,
    .course-schedule2 {
        font-size: 16px;
        line-height: 1.6;
        padding-left: 20px;
    }

    .course-schedule li,
    .course-schedule2 li {
        margin-bottom: 15px;
    }

    h3.header-title {
        font-size: 60px;
        height: auto;
        margin: 30px 0;
        line-height: 1.1;
    }

    .address-title {
        font-size: 28px;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 20px;
    }

    .address-list {
        font-size: 16px;
        line-height: 1.6;
    }

    .dance-banner {
        margin-bottom: 20px;
    }

    .mask-top,
    .mask-bottom,
    .bottom-index,
    .address-line,
    .arrow-image {
        display: none;
    }

    .img-background {
        position: relative;
    }

    .img-foreground {
        position: relative;
    }

    .image-stack-container img {
        width: 100%;
        height: auto;
    }

    .btn-course {
        font-size: 16px;
    }
}

.text-top {
    width: fit-content;
}

.image-stack-container img:hover {
    transform: scale(1.1);
}

.image-stack-container img {
    transition: transform 0.3s ease;
}

.img-foreground, .img-background {
    overflow: hidden;
}

.img-hover {
    overflow: hidden;
}

.img-hover img {
    transition: transform 0.4s ease;
}

.img-hover img:hover {
    transform: scale(1.2);
}

@keyframes shake-horizontal {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.arrow-image {
    animation: shake-horizontal 1s ease-in-out infinite;
    display: inline-block; /* để transform hoạt động đúng */
    margin-left:20px ;
}

@media (max-width: 1024px) {
}