/* Roboto Font */
@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Mulish Font */
@font-face {
    font-family: "Mulish";
    src: url("../fonts/Mulish/static/Mulish-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Mulish";
    src: url("../fonts/Mulish/static/Mulish-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Mulish";
    src: url("../fonts/Mulish/static/Mulish-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Nunito Font */
@font-face {
    font-family: "Nunito";
    src: url("../fonts/Nunito/static/Nunito-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("../fonts/Nunito/static/Nunito-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito";
    src: url("../fonts/Nunito/static/Nunito-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* FZ Bonestay Font */
@font-face {
    font-family: "FZ Bonestay";
    src: url("../fonts/FzBonestay/Fz Bonestay.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Corinthia";
    src: url("../fonts/Corinthia/Corinthia-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Corinthia";
    src: url("../fonts/Corinthia/Corinthia-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #00455e;
    --dark-color: #090909;
    --secondary-color: #00455e61;
    --background-button-white: #f4f4f4;
    --background-card: #fbfaf8;
    --font-fz-bonestay: "FZ Bonestay", sans-serif;
    --font-roboto: "Roboto", sans-serif;
    --font-mulish: "Mulish", sans-serif;
    --font-nunito: "Nunito", sans-serif;
}

body {
    font-family: "Nunito", sans-serif;
}

.mt-50 {
    margin-top: 50px;
}

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

.section-title {
    font-size: 45px;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
}

.introducing {
    margin-top: 80px;
}

.btn-read-more-inline {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-left: 5px;
}

.btn-read-more-inline:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.read-more-content {
    animation: fadeIn 0.5s ease-in-out;
}

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

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

.introducing h2 {
    font-family: var(--font-fz-bonestay);
    font-weight: 400;
    color: var(--primary-color);
    font-size: clamp(40px, 8vw, 100px);
}

.introducing p {
    font-family: var(--font-nunito);
    font-weight: 500;
    font-size: clamp(18px, 4vw, 34px);
    line-height: 1.8;
    text-align: justify;
}

/* Update course card styles */
.course-card {
    height: auto;
    aspect-ratio: 4/3;
    width: 100%;
}

/* Update slider height */
.slider-container {
    height: clamp(400px, 80vh, 715px);
}

.banner-container {
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 100px;
    color: var(--primary-color);
}

.banner-container h1 {
    font-weight: 700;
    size: 45px;
    text-transform: UPPERCASE;
}

.banner-container p {
    font-family: var(--font-mulish);
    font-weight: 400;
    font-size: 24px;
}

/* Update pricing card padding */
.pricing-card {
    padding: clamp(15px, 3vw, 30px);
}

.pricing-card.active {
    margin-top: 0px;
}

.introducing p {
    font-family: var(--font-nunito);
    font-weight: 500;
    font-size: 34px;
    color: #000;
    line-height: 65px;
    letter-spacing: 0%;
}

.introducing p a {
    font-style: italic;
    text-decoration: underline;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.search-box {
    padding: 20px 30px;
    box-shadow: 0px 4px 26px 0px #00455e1f;
    border-radius: 24px;
    background: white;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-box .d-flex {
    gap: 16px;
    align-items: stretch;
}

.search-box .form-select {
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    width: max-content;
    padding-right: 35px;
    background-color: white;
    font-size: 14px;
    color: #6c757d;
}

.search-box .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 69, 94, 0.25);
}

.search-box .btn-primary-custom {
    padding: 12px 24px;
    border-radius: 12px;
    white-space: nowrap;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.searching h3 {
    font-family: var(--font-nunito);
    font-weight: 700;
    font-size: 25px;
    color: var(--primary-color);
    margin-bottom: 0;
    text-align: left;
}

.principle .container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.principle-content {
    display: flex;
    justify-content: space-between;
    min-height: 600px;
    position: relative;
    z-index: 2;
    gap: 120px;
}

.principle-left {
    flex: 1;
    text-align: right;
    max-width: 375px;
    margin-right: 20px;
    text-align: right;
    margin-top: 80px;
}

.principle-right {
    flex: 1;
    padding-left: 0;
    max-width: 375px;
    letter-spacing: 0.5px;
    line-height: 35px;
    font-size: 20px;
    text-align: justify;
    margin-top: 80px;
}

.principle-center-spacer {
    flex: 1;
    min-width: 100px;
    max-width: 300px;
}

.principle h3 {
    font-family: var(--font-nunito);
    font-weight: 700;
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.principle p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 768px) {
    .principle-content {
        flex-direction: column;
        gap: 30px;
    }

    .principle-left,
    .principle-right {
        padding: 0;
        text-align: center;
    }
}

.principle p {
    font-family: var(--font-nunito);
    font-weight: 400;
    font-size: 20px;
    color: var(--dark-color);
}

.quote p {
    font-family: var(--font-nunito);
    font-weight: 700;
    font-size: 35px;
    line-height: 70px;
    color: #ffff;
    margin-top: 30px;
    margin-bottom: 0;
}

.teacher-box-info {
    box-shadow: 0px 2px 17.7px 0px var(--secondary-color);
    border-radius: 200px;
}

.therapy {
    margin-top: 100px;
}

.therapy .section-title {
    text-transform: uppercase;
}

.therapy p {
    margin-top: 50px;
}

.therapy .btn-primary-custom {
    height: 40px;
    width: max-content;
    border-radius: 24px;
    margin-top: 0;
}

.courses {
    padding: 50px 0;
    position: relative;
}

.courses-slider {
    position: relative;
    overflow: hidden;
}

.courses-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    position: absolute;
    width: 100%;
}

.courses-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.courses-slide .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    place-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.course-card {
    height: 380px;
    width: 500px;
    border-radius: 25px;
    position: relative;
    overflow: hidden !important;
    /* Quan trọng: cho phép các phần tử con tràn ra ngoài */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.teacher-card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* HTML: <div class="inverted-radius"></div> */
.inverted-radius {
    position: relative;
    --r: 20px;
    --s: 30px;
    --x: 14px;
    --y: 10px;

    aspect-ratio: 1;
    border-radius: var(--r);
    --_m: /calc(2 * var(--r)) calc(2 * var(--r)) radial-gradient(#000 70%, #0000
                72%);
    --_g: conic-gradient(
        from 90deg at calc(100% - var(--r)) calc(100% - var(--r)),
        #0000 25%,
        #000 0
    );
    --_d: (var(--s) + var(--r));
    mask: calc(100% - var(--_d) - var(--x)) 100% var(--_m),
        100% calc(100% - var(--_d) - var(--y)) var(--_m),
        radial-gradient(var(--s) at 100% 100%, #0000 99%, #000 calc(100% + 1px))
            calc(-1 * var(--r) - var(--x)) calc(-1 * var(--r) - var(--y)),
        var(--_g) calc(-1 * var(--_d) - var(--x)) 0,
        var(--_g) 0 calc(-1 * var(--_d) - var(--y));
    mask-repeat: no-repeat;
}

.courses-slide .col-md-6 {
    width: 100%;
    padding: 0;
    display: flex;
}

.courses-slide .col-md-6.justify-content-end {
    margin-left: auto;
    margin-right: 0;
}

.courses-slide .col-md-6.justify-content-start {
    margin-left: 0;
    margin-right: auto;
}

.courses-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
}

.course-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 25px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 69, 94, 0) 0%, #00455e 100%);
    border-radius: 25px;
    background: var(--primary-color);
    opacity: 0;
    left: -100%;
    transition: all 0.5s ease;
}

.course-content .btn {
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    font-size: 0.95rem;
    color: var(--primary-color);
    background-color: #fff;
    opacity: 0;
    transform: translateY(50px);
    /* Start from below */
    transition: all 0.5s ease;
}

.course-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
    transform: translateY(0);
    transition: all 0.3s ease;
    opacity: 1;
}

.course-content p,
.course-content div {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.8;
    transform: translateY(0);
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.course-content .btn-collab:hover {
    border: 1px solid var(--primary-color);
}

.course-card:hover .course-overlay {
    opacity: 0.5;
    left: 0;
}

.course-card:hover .course-content {
    background: linear-gradient(
        180deg,
        rgba(0, 69, 94, 0.1) 0%,
        rgba(0, 69, 94, 0.8) 100%
    );
}

.course-card:hover .course-content h3 {
    opacity: 1;
    transform: translateY(-2px);
}

.course-card:hover .course-content p,
.course-card:hover .course-content div {
    opacity: 1;
    transform: translateY(-2px);
    -webkit-line-clamp: unset;
    max-height: none;
}

.btn-collab {
    opacity: 0;
    transform: translateY(50px);
    /* Start from below */
    transition: all 0.5s ease;
    color: var(--primary-color);
    background-color: #fff;
}

.box-btn-course {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 20px;
}

.flex-container__inner {
    width: 500px;
    height: 100%;
}

.course-btn {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: white;
    /* Thêm màu cho icon */
}

.course-btn:hover {
    border: 1px solid var(--primary-color);
    background-color: #fff;
    color: var(--primary-color);
    background-color: white;
}

.course-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    padding-right: 80px;
    color: white;
    background: linear-gradient(180deg, rgba(0, 69, 94, 0) 0%, #00455e 100%);
    transition: all 0.3s ease;
}

.navbar {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: #333;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    padding-bottom: 0.3rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 18px;
    /* color: #090909 !important; */
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Language Switch Styling */
.form-check-input.language-switch {
    width: 45px;
    height: 22px;
    margin-right: 10px;
}

.language-toggle-container {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.language-label {
    font-weight: 500;
    margin: 0 5px;
    font-size: 0.9rem;
}

.nav-left.d-flex.align-items-center {
    gap: 15px;
}

.btn-user {
    background-color: #00455e;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.user-menu {
    width: 196px;
    border: 0.5px solid #f4f4f4;
    border-radius: 8px;
    margin-top: 15px !important;
}

.user-menu .user-menu-item:hover {
    background-color: #fff;
    color: #333;
}

.user-menu .user-menu-item .border-bottom {
    transition: border-color 0.3s ease;
}

.user-menu .user-menu-item:hover .border-bottom {
    border-bottom: 2px solid #00455e !important;
}

.btn-search {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #333;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.language-switch-container {
    margin: 0;
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: flex;
    align-items: center;
    width: 60px;
    height: 30px;
}

.switch-label {
    position: relative;
    display: block;
    width: 100%;
    height: 30px;
    background-color: #e9ecef;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-label:before {
    content: "VI";
    position: absolute;
    width: 26px;
    height: 26px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Center the text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.switch-input:checked + .switch-label:before {
    content: "EN";
    transform: translateX(30px);
    color: var(--primary-color);
}

.switch-input:checked + .switch-label {
    background-color: var(--primary-color);
}

.switch-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    transition: opacity 0.3s;
    z-index: 1;
}

.switch-text.vi {
    left: 10px;
    opacity: 1;
}

.switch-text.en {
    right: 10px;
    opacity: 0;
}

.switch-input:checked + .switch-label {
    background-color: var(--primary-color);
}

.switch-input:checked + .switch-label:before {
    transform: translateX(30px);
}

.switch-input:checked ~ .switch-text.vi {
    opacity: 0;
}

.switch-input:checked ~ .switch-text.en {
    opacity: 1;
    color: white;
}

.language-switch-container {
    margin: 0 20px;
}

.btn-solid-primary {
    height: 100%;
    margin: 0 auto;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: white;
    border-radius: 12px;
    font-family: var(--font-roboto);
    font-weight: 500;
    font-size: 16px;
}

.btn-solid-primary.active {
    background-color: var(--primary-color);
    color: white;
}

.btn-solid-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.select-solid-primary {
    height: 100%;
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    padding: 12px 18px 12px 18px;
    font-size: 16px;
    font-weight: 400;
    color: #5e6368;
}

.btn-primary-custom {
    height: 40px;
    background-color: var(--primary-color);
    /* Change to green color */
    color: white;
    border-radius: 50px;
    /* Increase border radius for more rounded corners */
    padding: 0 20px;
    font-weight: 500;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary-color);
}

.btn-primary-custom:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-register {
    margin: auto;
}

.read-more-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-text.expanded {
    -webkit-line-clamp: unset;
}

.btn-register.btn-solid-primary {
    height: 40px;
    background-color: #fff;
    /* Change to green color */
    color: var(--primary-color);
    border-radius: 50px;
    /* Increase border radius for more rounded corners */
    padding: 0 20px;
    font-weight: 500;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary-color);
}

.btn-register.btn-solid-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-search-box .bi.bi-search {
    color: var(--primary-color);
}

.btn-search-box {
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.btn-search {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.search-container {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%) translateX(100%);
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    padding: 5px 15px;
    width: 300px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

@media (max-width: 768px) {
    .search-container {
        width: 250px;
        right: -10px;
    }

    .search-box-form {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .search-container {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%) translateX(100%);
        width: 100%;
        padding: 10px 15px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        border-radius: 25px;
    }

    .search-container.active {
        transform: translateY(-50%) translateX(0);
    }

    .search-input {
        font-size: 16px;
        padding: 8px;
        width: calc(100% - 40px);
    }

    .d-flex.align-items-center {
        position: relative;
    }
}

@media (max-width: 380px) {
    .search-container {
        width: 100%;
        padding: 8px 12px;
    }

    .search-input {
        font-size: 14px;
    }
}

.search-container.active {
    transform: translateY(-50%) translateX(0);
    visibility: visible;
    opacity: 1;
}

.btn-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 0;
    opacity: 0;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
    margin-right: 8px;
}

.btn-search-box.active .search-input {
    display: block;
    width: 100px;
    /* độ rộng khi mở */
    opacity: 1;
}

.search-close {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-tab-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.pricing-tab-btn {
    padding: 12px 40px;
    border-radius: 30px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-tab-btn.active {
    background: linear-gradient(0deg, #00455e 0%, rgba(0, 69, 94, 0.74) 100%);
    color: white;
    border: none;
}

.pricing-tab-content {
    position: relative;
}

.pricing-tab-pane {
    display: none;
}

.pricing-tab-pane.active {
    display: block;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #00455e;
}

.pricing-card.active {
    background: var(--primary-color) url("../../images/bg-pricing.png");
    background-size: 90% auto;
    background-position: center 20%;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.pricing-card-header h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.member-type {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-card.active .member-type {
    color: #fff;
}

.description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.features h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features i {
    color: var(--primary-color);
}

.pricing {
    margin-top: 60px;
}

.pricing-card.active .features i {
    color: white;
}

.btn-pricing-active {
    border: 1px solid #fff;
    color: #fff;
    background-color: var(--primary-color);
    background: transparent;
    border-radius: 24px;
}

.btn-pricing-active:hover {
    background: #fff !important;
    background: transparent;
    border-radius: 24px;
    color: var(--primary-color) !important;
}

.btn-pricing {
    color: #fff;
    background: var(--primary-color);
    border-radius: 24px;
}

.pricing-card.active .btn-pricing {
    border-color: white;
    color: white;
}

.btn-pricing:hover {
    border: 1px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
}

.pricing-card.active .btn-pricing {
    background: white;
    color: var(--primary-color);
    border: none;
}

.pricing-card.active .btn-pricing:hover {
    background: #f0f0f0;
}

.pricing-card.active span {
    font-weight: 500;
    font-size: 18px;
}

.pricing-card span {
    font-weight: 500;
    font-size: 18px;
}

.pricing-card.active .price {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.pricing-card .price {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.pricing .section-title {
    background-image: url("../images/pricing-section/bg-text.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-bottom: 80px;
    padding-top: 50px;
    position: relative;
}

.pricing .section-title::after {
    content: "";
    background: url(../../images/follower.png);
    position: absolute;
    width: 421.755px;
    height: 536px;
    background-size: cover;
    top: 0;
    left: 50%;
    transform: translate(-50%, -15%);
    z-index: -1;
}

/* Slider Styles */
.slider-container {
    position: relative;
    height: 830px;
    overflow: hidden;
    background-color: #2c3e50;
    background-image: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.slider-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-content {
    position: absolute;
    top: 65%;
    left: 0;
    transform: translateY(-50%);
    color: white;
    padding: 0 5%;
    z-index: 2;
    max-width: 900px;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.4); */
    background-color: #00000033;
}

.slider-indicators {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.number-indicator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number-indicator.active {
    color: white;
    font-size: 1.5rem;
}

.indicator-line {
    width: 2px;
    height: 0;
    background-color: white;
    margin-top: 10px;
    transition: height 0.3s ease;
}

.number-indicator.active .indicator-line {
    height: 150px;
    /* Increased from 40px to 60px */
}

#teacherCarousel .carousel-control-next {
    right: -50px;
    top: 50%;
}

.teacher-prev,
.teacher-next {
    background: var(--secondary-color);
    border: none;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.teacher-prev:hover,
.teacher-next:hover {
    background: var(--primary-color);
    color: #fff;
}

.teacher-card {
    width: 100%;
    max-width: 100%;
    background-color: #fff;
    border-radius: 200px;
    box-shadow: 0px 2px 17.7px 0px #00455e14;
    padding: 20px 40px;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.teacher-card::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s ease;
    background-color: var(--primary-color);
    content: "";
}

.teacher-card:hover::before {
    transform: scaleY(1);
}

.teacher-card:hover > * {
    color: #fff !important;
}

.teacher-card > * {
    position: relative;
    z-index: 1;
}

.teacher-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    aspect-ratio: 1 / 1;
}

.teacher-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.teacher-role {
    color: #666;
    margin-bottom: 15px;
}

/* News Section */
.news {
    position: relative;
    padding: 60px 0;
}

.news .container {
    position: relative;
}

.news-card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.news-card {
    width: 100%;
    max-width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #faf2fe;
    color: #000;
    padding: 6px 14px;
    border-radius: 0 8px 0 0;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(232, 180, 240, 0.3);
    box-shadow: 0 4px 64px 0 rgba(0, 0, 0, 0.08);
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: var(--font-nunito);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
}

.news-description {
    color: #666;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 52px;
}

.news-read-more {
    color: var(--dark-color);
    text-decoration: underline;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 5px;
}

.news-read-more:hover {
    color: var(--primary-color);
}

/* News Grid Layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.news .owl-stage {
    padding: 10px 0;
}

@media (min-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

footer {
    background-color: var(--primary-color);
}

.social-link {
    transition: transform 0.3s;
}

.social-link:hover {
    transform: translateY(-3px);
}

.therapy-info-box {
    position: relative;
    bottom: 180px;
    left: -50px;
    background: var(--primary-color);
    padding: 12px 24px;
    border-radius: 100px;
    box-shadow: 0px -1px 4.8px 0px #0000001f;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
    width: 30%;
}

.therapy-info-box .therapy-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.therapy-info-box span {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    line-height: 30px;
    white-space: wrap;
    text-align: center;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.flex-container > :first-child {
    margin-bottom: 30px;
}

.courses .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 -15px;
}

.courses .owl-nav button {
    background: var(--secondary-color);
    border: none;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    pointer-events: auto;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
    background: none;
}

.courses .owl-nav button.courses-next:hover {
    background: var(--primary-color);
    color: #fff;
}

.courses .owl-carousel {
    position: relative;
}

.owl-carousel {
    display: block !important;
}

.owl-nav {
    display: flex !important;
    justify-content: space-between;
    position: absolute;
    top: 35%;
    width: 100%;
    padding: 0 10px;
}

.slide-home h1 {
    font-size: 80px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

.slide-home .lead {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    width: 70%;
}

.btn-slider-home {
    width: max-content;
    padding: 7px 25px;
    margin-top: 50px;
}

.container-small {
    max-width: 1000px;
    margin: 0 auto;
}

.bg-quote {
    background-image: url("../images/31.png");
    background-size: contain;
    padding: 50px;
}

.bg-quote img {
    width: 150px;
}

.therapy-middle-box {
    margin-left: -20px;
    margin-right: 20px;
}

.therapy p {
    font-size: 20px;
}

.principle-content {
    min-height: 465px;
}

.pricing-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pricing-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-mt50 {
    margin-top: 50px;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* fix lệch */
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #00455e;
}

.principle .section-title {
    margin-bottom: 7rem;
}

@media (max-width: 992px) {
    footer .row .d-flex.gap-3 {
        justify-content: center;
    }

    .row > div:first-child > div:first-child {
        justify-content: center;
    }

    .slider-container {
        height: 400px;
    }

    .therapy-info-box {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
        position: relative;
        bottom: 50px;
        left: 0;
    }

    .footer-img {
        width: 100%;
    }

    .principle-left,
    .principle-right {
        margin: 0;
        max-width: max-content;
        letter-spacing: 0;
    }

    .principle h3 {
        font-size: 20px;
    }

    .principle p {
        font-size: 16px;
    }

    .principle-content {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .bg-quote img {
        width: 100px;
    }

    .quote p {
        font-size: 24px;
        line-height: 50px;
    }

    .teacher-card {
        border-radius: 15px;
    }

    .pricing .section-title::after {
        width: 197px;
        height: 240px;
        transform: translate(-50%, -25%);
    }

    .pricing .section-title {
        padding-bottom: 10px;
        padding-top: 0px;
    }

    .news {
        padding: 0;
    }

    .therapy-middle-box {
        align-items: center;
        padding-bottom: 20px;
    }

    .therapy p {
        margin-top: 0;
    }

    .therapy .section-title {
        text-transform: uppercase;
        padding-top: 20px;
    }

    .therapy-middle-box {
        margin: 0;
    }
}

@media (max-width: 767.98px) {
    .course-card {
        height: 300px;
        width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem !important;
    }

    .principle .container {
        background-image: none !important;
    }

    .principle-center-spacer {
        background-image: url(../../images/bg-ton-chi-nghe.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        display: block;
        min-height: 300px;
        min-height: 200px;
        width: 100%;
    }

    .course-content h3 {
        font-size: 1.3rem;
    }

    .course-content p {
        font-size: 0.8rem;
    }

    .pricing-tab-buttons {
        justify-content: center;
    }

    .pricing-card {
        padding: clamp(15px, 3vw, 30px);
        margin-top: 0px;
    }

    .pricing .d-flex.justify-content-center {
        flex-direction: column;
    }

    .therapy-info-box {
        width: 70%;
        max-width: 200px;
    }

    .therapy-info-box span {
        text-align: center;
    }

    .therapy-middle-box {
        align-items: center;
        padding-bottom: 20px;
    }

    .therapy .d-flex.justify-content-center {
        flex-direction: column;
    }

    .teacher-card {
        max-width: 90%;
    }

    .w-sm-100 {
        width: 100%;
    }

    .flex-container {
        flex-wrap: wrap;
        gap: 0;
    }

    .flex-container__inner {
        width: 100%;
        margin-bottom: 30px;
    }

    .search-box {
        flex-direction: column;
        align-items: start;
        gap: 10px;
        padding: 20px;
    }

    .slide-home h1 {
        font-size: 30px;
    }

    .slide-home .lead {
        font-size: 18px;
        line-height: 25px;
        width: 100%;
    }

    .btn-slider-home {
        margin-top: 20px;
    }

    .introducing {
        margin-top: 30px;
    }

    .introducing h2 {
        font-size: 80px;
    }

    .introducing p {
        font-size: 24.7px;
        line-height: 35px;
    }

    .searching .flex-row {
        flex-direction: column !important;
        width: 100%;
    }

    .search-box .form-select {
        width: 100%;
    }

    .courses {
        padding: 0;
    }

    .courses .section-title {
        margin-bottom: 1.5rem !important;
    }

    .course-card .course-content p,
    .course-card .course-content div {
        opacity: 1;
        transform: translateY(-2px);
        -webkit-line-clamp: unset;
        max-height: none;
    }

    .nav-left.d-flex.align-items-center {
        gap: 5px;
    }

    .language-switch-container {
        margin-left: auto;
    }

    .btn-search-box {
        display: none;
    }

    a.nav-link {
        padding-bottom: 10px;
    }

    .document-container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .card-mt50 {
        margin: 0;
    }
}

@media (max-width: 576px) {
    .slider-indicators {
        display: none;
    }

    .number-indicator.active .indicator-line {
        height: 80px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .therapy-img_left {
        width: 100%;
    }

    .therapy .btn-primary-custom {
        width: 100%;
    }

    .therapy-info-box span {
        text-align: center;
    }

    .course-card {
        width: 100%;
        height: 100%;
    }

    .btn-solid-primary {
        height: 50px;
    }
}

@media (min-width: 1200px) {
    .therapy-btn {
        margin-top: 50px;
    }
}
