/**
*  Index Page Style
**/
.btn-secondary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 42, 166, 0.3);
}
.header-nav a {
    color: var(--white);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    opacity: 0.8;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.header-nav a:hover, .header-nav a.active {
    color: var(--white);
    opacity: 1;
    font-weight: 500;
}
/* Header */
.header {
    background-color: var(--primary);
}
.header-nav a {
    color: #ffffff;
}
/* 首页暗色header中用户信息白色圆底 */
.header .header-user {
    background: var(--white);
    border-radius: 20px;
    padding: 3px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.header .header-avatar {
    border-color: var(--primary-light);
}

/* Hero Carousel */
.hero {
    position: relative;
    min-height: 840px;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 840px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 840px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*opacity: 0.5;*/
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-bg .banner-img {
    width: 100%;
    height: 100%;
    /*max-width: 1440px;*/
}
.hero-slide-bg .banner-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 840px;
    width: 100%;
    max-width: var(--max-width);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    /*padding: 0 80px;*/
    position: relative;
    z-index: 2;
    margin-top: -150px;
}

.hero-content .hero-title, .hero-content .hero-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.hero-slide.active .hero-content .hero-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.active .hero-content .hero-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-title {
    font-size: 90px;
    font-weight: 900;
    line-height: 108px;
    color: var(--white);
    text-align: center;
}
.hero-title-p {
    color: var(--primary);
}

.hero-title .highlight {
    color: var(--yellow);
}

.hero-title .highlight-p {
    color: var(--primary);
}

.hero-title.sub {
    font-size: 65px;
    font-weight: 700;
    line-height: 48px;
    color: var(--white);
    text-align: center;
}
.hero-title-p.sub {
    color: var(--primary);
}
.hero-title.sub .highlight {
    color: var(--yellow);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--yellow);
    color: var(--black);
    padding: 16px 28px;
    border-radius: 100px;
    font-size: 34px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-btn);
    transition: all 0.2s ease;
}

.hero-btn:hover {
    background: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 202, 8, 0.4);
}

.hero-btn:active {
    transform: translateY(0) scale(0.97);
}

.hero-btn .arrow {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--black);
    position: relative;
}

.hero-btn .arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -5px;
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--black);
    border-top: 3px solid var(--black);
    transform: rotate(45deg);
}

/* Carousel Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-arrow {
    width: 44px;
    height: 44px;
    border-radius: 0;
    border: none;
    background: transparent;
    color: #FDC001;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.hero-arrow:hover {
    background: rgba(253, 192, 1, 0.1);
    transform: scale(1.1);
}

.hero-arrow:active {
    transform: scale(0.95);
}

.hero-arrow svg {
    width: 50px;
    height: 58px;
    stroke: #FDC001;
    stroke-width: 2;
    fill: none;
}

/* Carousel Dots */
.hero-dots-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.3);
}

.hero-dot.active {
    background: var(--yellow);
    border-color: var(--yellow);
    width: 32px;
    border-radius: 6px;
}

/* Progress bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
}

.hero-progress-bar {
    height: 100%;
    background: var(--yellow);
    width: 0;
    transition: width 0.1s linear;
}

/* Section Common */
.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 32px;
    font-weight: 500;
    color: var(--subtitle-color);
    text-align: center;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 33px;
}

.dumpling-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    position: relative;
}

.dumpling-icon .left-react-angle-1 {
    position: absolute;
    width: 13.42px;
    height: 19.69px;
    left: 15.61px;
    top: 19.01px;
    background: #FDC001;
    transform: matrix(-0.71, -0.7, -0.7, 0.71, 0, 0);
}

.dumpling-icon .left-react-angle-2 {
    position: absolute;
    width: 22px;
    height: 26px;
    left: 4.61px;
    top: 0px;
    background: #FDC001;
    transform: matrix(-1, 0, 0, 1, 0, 0);
}


/* Why Choose */
.why-choose {
    background: var(--white);
}
.why-choose .container {
    /*padding: 0 80px;*/
}
.gallery {
    display: flex;
    justify-content: center;
    gap: 0;
    position: relative;
    height: 540px;
    margin-bottom: 60px;
}

.gallery-item {
    width: 236px;
    height: 460px;
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0px 12px 40px rgba(96, 42, 166, 0.15);
}

.gallery-item .gallery-item-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:nth-child(1) {
    left: 0;
    top: 0;
}

.gallery-item:nth-child(2) {
    left: 261px;
    top: 80px;
}

.gallery-item:nth-child(3) {
    left: 522px;
    top: 0;
}

.gallery-item:nth-child(4) {
    left: 783px;
    top: 80px;
}

.gallery-item:nth-child(5) {
    left: 1044px;
    top: 0;
}

.gallery-center-btn {
    text-align: center;
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.btn-with-icon .icon-gift {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.btn-with-icon .icon-text {
    font-size: 36px;
    font-weight: 500;
}

/* Course Cards */
.courses {
    background: var(--primary);
}
.courses .section-title {
    color: var(--white);
}
.course-cards {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.course-card {
    width: 410px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 24px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(96, 42, 166, 0.15);
}

.course-card-icon {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.course-card-icon .course-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    flex: 1;
}

.course-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

.course-card-desc {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-text);
    text-align: center;
    line-height: 1.5;
}

.course-card-btn {
    margin-top: auto;
    padding-top: 24px;
}

.btn-course {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: var(--yellow);
    color: var(--black);
    padding: 16px 28px;
    border-radius: 100px;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: var(--shadow-btn);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 260px;
    height: 60px;
}

.btn-course:hover {
    background: var(--yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 202, 8, 0.4);
}

.btn-course:active {
    transform: translateY(0) scale(0.96);
}

/* Why Students Love */
.why-love {
    background: var(--white);
}

.why-love .section-header {
    gap: 60px;
}
.why-love .container {
    position: relative;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.feature-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
}
.feature-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 40px;
    padding: 24px;
    width: 410px;
    height: 220px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    z-index: 10;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(96, 42, 166, 0.1);
}

.feature-card-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-card-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.feature-card-desc {
    font-size: 22px;
    font-weight: 500;
    color: var(--gray-text);
    line-height: 1.4;
}

.why-love-btn {
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.why-love-btn .btn-with-icon {
    width: 420px;
    max-width: 100%;
}
.why-love-btn .btn-text {
    font-size: 36px;
    font-weight: 500;
}

/* Service Process */
.service-process {
    background: var(--bg-light);
}

.process-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.process-card {
    width: 302px;
    position: relative;
    padding-top: 34px;
    transition: transform 0.3s;
}
.process-card:hover {
    transform: translateY(-6px);
}

.process-card-bg {
    position: absolute;
    top: 34px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    border-radius: 20px;
}

.process-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
}

.process-number {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: -34px;
}

.process-number.purple {
    background: var(--primary);
    color: var(--white);
}

.process-number.yellow {
    background: var(--yellow);
    color: var(--white);
}

.process-image {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.process-image .img-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
}

.process-title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.process-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.process-line {
    width: 60px;
    height: 4px;
    background: var(--yellow);
    border-radius: 2px;
}

.process-desc {
    font-size: 22px;
    font-weight: 500;
    color: var(--gray-text);
    text-align: center;
}

/* Footer decoration */
.feature-grid-bg {
    position: absolute;
    width: 513px;
    height: 554px;
    left: calc(50% - 513px/2 + 0.5px);
    top: 210px;
}

.feature-grid-img {
    position: absolute;
    width: 450px;
    height: 524px;
    left: 6.24%;
    right: 6.04%;
    top: 0px;
    z-index: 3;
    background: url("../images/index/section_img_bg.png") no-repeat center;
    background-size: contain;
}
.feature-grid-circle {
    width: 513px;
    height: 513px;
    border-radius: 513px;
    box-sizing: border-box;
    position: absolute;
    left: 0%;
    right: 0%;
    top: 7.4%;
    bottom: 0%;
    z-index: 1;
    border: 2px dashed #D5C4F3;
}
.feature-grid-circle-fill {
    width: 400px;
    height: 400px;
    border-radius: 400px;
    position: absolute;
    left: 11.11%;
    right: 10.92%;
    top: 17.69%;
    z-index: 1;
    bottom: 10.11%;
    background: #D5C4F3;
}

/* ===== Bottom Floating Banner ===== */
.bottom-floating-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 997;
    width: 100%;
    height: 186px;
    background: transparent;
}

.bottom-floating-bg {
    position: absolute;
    top: 86px;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.5);
}

.bottom-floating-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 240px 0 0;
}

.bottom-floating-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.bottom-floating-image {
    width: 160px;
    height: 186px;
    flex-shrink: 0;
    position: relative;
}

.bottom-floating-image .float-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-floating-text {
    padding-left: 0;
    margin-top: 80px;
}

.bottom-floating-text p {
    font-size: 32px;
    font-weight: 900;
    line-height: 36px;
    color: var(--white);
    -webkit-text-stroke: 2px var(--primary);
    text-stroke: 2px var(--primary);
    margin: 0;
}

.bottom-floating-text p:first-child {
    font-size: 32px;
}

.bottom-floating-text p:last-child {
    font-size: 28px;
}

.bottom-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 28px;
    width: 408px;
    height: 68px;
    background: var(--yellow);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: absolute;
    left: 552px;
    top: 103px;
}

.bottom-cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 202, 8, 0.5);
}

.bottom-cta-btn:active {
    transform: scale(0.98);
}

.bottom-cta-btn .gift-icon {
    width: 32px;
    height: 30px;
    flex-shrink: 0;
}

.bottom-cta-btn .btn-text {
    font-size: 30px;
    font-weight: 500;
    color: var(--black);
    line-height: 1;
    white-space: nowrap;
}

/* Add padding to body to prevent content overlap */
body {
    padding-bottom: 186px;
}

/* ===== Appointment Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 800px;
    height: 480px;
    background: #FEFEFE;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 16px;
    height: 16px;
    stroke: #666;
    stroke-width: 2;
}

.modal-left {
    position: absolute;
    left: 0;
    top: 40px;
    width: 400px;
    height: 400px;
}

.modal-left .img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 380px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
}

.modal-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 28px;
}

.modal-title .highlight {
    color: var(--yellow);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.modal-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    border: 1px solid #666666;
    border-radius: 8px;
    padding: 8px;
    background: transparent;
    transition: border-color 0.2s ease;
}

.modal-input-group:focus-within {
    border-color: var(--primary);
}

.modal-input-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.modal-input {
    width: 100px;
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    line-height: 24px;
    background: transparent;
    font-family: var(--font-family);
}

.modal-input::placeholder {
    color: #A79EB1;
}

.modal-verify-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.modal-verify-separator {
    width: 1px;
    height: 16px;
    background: #A79EB1;
}

.modal-btn-verify {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 96px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-family);
}

.modal-btn-verify:hover {
    background: var(--primary-dark);
}

.modal-btn-verify:active {
    transform: scale(0.97);
}

.modal-btn-verify.counting {
    /*background: #f0f0f0;*/
    background-color: var(--primary-dark);
    color: var(--white);
    pointer-events: none;
    cursor: not-allowed;
}

.modal-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: var(--font-family);
}

.modal-btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.modal-btn-submit:active {
    transform: scale(0.98);
}

.modal-btn-submit.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.mobile-menu-toggle span {
    background-color: var(--white);
}

/* Responsive for modal */
@media screen and (max-width: 1200px) {
    .modal-container {
        width: 700px;
        height: 460px;
    }

    .modal-left {
        width: 350px;
        height: 380px;
        top: 40px;
    }

    .modal-right {
        width: 340px;
        padding: 0 30px;
    }

    .modal-title {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .feature-grid-bg {
        display: none;
    }
    .feature-row {
        gap: 10px;
    }
}

@media screen and (max-width: 900px) {
    .modal-container {
        width: 90vw;
        max-width: 500px;
        height: auto;
        min-height: 420px;
    }

    .modal-left {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: 180px;
    }

    .modal-right {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        padding: 24px 30px 32px;
    }

    .modal-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .modal-form {
        gap: 16px;
    }

    .modal-input-group {
        height: 46px;
    }

    .modal-btn-verify {
        width: 90px;
        height: 30px;
        font-size: 15px;
    }

    .modal-btn-submit {
        height: 46px;
    }
}

@media screen and (max-width: 600px) {
    .hero-content {
        margin-top: 0;
        padding: 0;
    }
    .hero-slide {
        min-height: 300px;
    }
    .banner-container {
        justify-content: center;
    }
    .modal-container {
        width: 95vw;
        min-height: 400px;
    }

    .modal-left {
        height: 150px;
    }

    .modal-right {
        padding: 20px 24px 28px;
    }

    .modal-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .modal-form {
        gap: 14px;
    }

    .modal-input-group {
        height: 44px;
        padding: 6px;
    }

    .modal-input {
        font-size: 15px;
    }

    .modal-input-icon {
        width: 20px;
        height: 20px;
    }

    .modal-btn-verify {
        width: 84px;
        height: 28px;
        font-size: 14px;
    }

    .modal-btn-submit {
        height: 44px;
        font-size: 16px;
    }
}

@media screen and (max-width: 375px) {
    .modal-right {
        padding: 16px 20px 24px;
    }

    .modal-title {
        font-size: 22px;
    }

    .modal-input {
        font-size: 14px;
    }

    .modal-btn-verify {
        width: 78px;
        height: 26px;
        font-size: 13px;
    }
}

/* Responsive for bottom banner */
@media screen and (max-width: 1200px) {
    .bottom-floating-content {
        padding: 0 40px;
    }

    .bottom-cta-btn {
        left: auto;
        right: 40px;
    }
}

@media screen and (max-width: 900px) {
    .bottom-floating-banner {
        height: 160px;
    }

    body {
        padding-bottom: 160px;
    }

    .bottom-floating-bg {
        top: 70px;
        height: 90px;
    }

    .bottom-floating-image {
        width: 120px;
        height: 160px;
    }

    .bottom-floating-text p:first-child {
        font-size: 26px;
    }

    .bottom-floating-text p:last-child {
        font-size: 22px;
    }

    .bottom-cta-btn {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        height: 56px;
        padding: 12px 24px;
    }

    .bottom-cta-btn .gift-icon {
        width: 24px;
        height: 22px;
    }

    .bottom-cta-btn .btn-text {
        font-size: 24px;
    }

    .bottom-floating-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 24px;
    }

    .bottom-floating-left {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .bottom-floating-banner {
        height: 140px;
    }

    body {
        padding-bottom: 140px;
    }

    .bottom-floating-bg {
        top: 60px;
        height: 80px;
    }

    .bottom-floating-image {
        width: 100px;
        height: 140px;
    }
    .bottom-floating-text {
        margin-top: 36px;
    }
    .bottom-floating-text p:first-child {
        font-size: 22px;
        -webkit-text-stroke: 1px var(--primary);
    }

    .bottom-floating-text p:last-child {
        font-size: 18px;
        -webkit-text-stroke: 1px var(--primary);
    }

    .bottom-floating-content {
        padding: 12px 20px;
    }

    .bottom-cta-btn {
        width: 100%;
        height: 50px;
        padding: 10px 20px;
        position: relative;
        left: auto;
        top: auto;
    }

    .bottom-cta-btn .gift-icon {
        width: 20px;
        height: 18px;
    }

    .bottom-cta-btn .btn-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 375px) {
    .bottom-floating-banner {
        height: 130px;
    }

    body {
        padding-bottom: 130px;
    }

    .bottom-floating-text p:first-child {
        font-size: 20px;
    }

    .bottom-floating-text p:last-child {
        font-size: 16px;
    }

    .bottom-cta-btn .btn-text {
        font-size: 18px;
    }
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .container,
    .why-choose .container {
        padding: 0 40px;
    }

    .header .container {
        padding: 12px 40px;
    }

    .section-title {
        font-size: 44px;
    }

    .section-subtitle {
        font-size: 26px;
    }

    .hero-title {
        font-size: 64px;
        line-height: 78px;
    }

    .hero-btn {
        font-size: 26px;
        padding: 14px 24px;
    }

    .gallery {
        height: 440px;
    }

    .gallery-item {
        width: 190px;
        height: 380px;
    }

    .gallery-item:nth-child(1) {
        left: 0;
        top: 0;
    }

    .gallery-item:nth-child(2) {
        left: 210px;
        top: 60px;
    }

    .gallery-item:nth-child(3) {
        left: 420px;
        top: 0;
    }

    .gallery-item:nth-child(4) {
        left: 630px;
        top: 60px;
    }

    .gallery-item:nth-child(5) {
        left: 840px;
        top: 0;
    }

    .course-cards {
        gap: 20px;
    }

    .course-card {
        width: 340px;
    }

    .course-card-icon {
        width: 260px;
        height: 260px;
    }

    .feature-card-title {
        font-size: 28px;
    }

    .feature-card-desc {
        font-size: 20px;
    }

    .process-card {
        width: 250px;
    }

    .process-image {
        width: 170px;
        height: 170px;
    }
}

@media screen and (max-width: 900px) {
    .container,
    .why-choose .container {
        padding: 0 24px;
    }

    .header .container {
        padding: 12px 24px;
    }

    .header-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 0 24px;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
    }

    .header-nav.open {
        max-height: 400px;
        opacity: 1;
        padding: 16px 24px;
        gap: 8px;
    }

    .header-nav a {
        padding: 10px 0;
        border-bottom: 1px solid #f0ebf8;
        width: 100%;
        opacity: 1 !important;
        font-size: 16px;
        transform: translateX(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .header-nav.open a {
        transform: translateX(0);
        opacity: 0.8;
        color: var(--primary);
    }

    .header-nav.open a:last-child {
        border-bottom: none;
    }

    .header-actions .btn-primary, .header-actions .btn-secondary {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 600px;
    }

    .hero-slides, .hero-slide {
        min-height: 600px;
    }

    .hero-title {
        font-size: 48px;
        line-height: 60px;
    }

    .hero-btn {
        font-size: 22px;
        padding: 12px 20px;
    }

    .hero-nav {
        padding: 0 40px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }

    .hero-arrow svg {
        width: 20px;
        height: 24px;
    }

    .hero-dots-container {
        bottom: 24px;
        gap: 10px;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .hero-dot.active {
        width: 24px;
    }

    .hero-progress {
        height: 2px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 22px;
    }

    .section {
        padding: 60px 0;
    }

    .course-cards {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .course-card {
        width: 100%;
        max-width: 410px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery {
        height: 350px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding: 0 24px;
        margin-bottom: 30px;
    }

    .gallery-item {
        position: relative;
        left: auto !important;
        top: auto !important;
        flex-shrink: 0;
        scroll-snap-align: center;
        width: 200px;
        height: 340px;
    }

    .process-cards {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .process-card {
        width: 280px;
    }

    .footer-decoration-img {
        width: 300px;
        height: 340px;
    }

    .footer-decoration-bg {
        width: 300px;
        height: 300px;
    }

    .footer-decoration-main {
        width: 270px;
        height: 310px;
        left: 15px;
    }
}

@media screen and (max-width: 600px) {
    .container,
    .why-choose .container {
        padding: 0 16px;
    }

    .header .container {
        padding: 10px 16px;
        height: 60px;
    }

    .header-logo {
        width: 110px;
        height: 35px;
    }

    .hero {
        min-height: 480px;
    }

    .hero-title,
    .hero-title.sub {
        font-size: 36px;
        line-height: 48px;
        text-shadow: 
            0 0 3px #d8bfff,
            0 0 9px #b88eff,
            0 0 16px #9966ff;
    }

    .hero-content {
        gap: 15px;
    }

    .hero-btn {
        font-size: 18px;
        padding: 12px 18px;
        gap: 10px;
    }

    .hero-btn .arrow {
        width: 20px;
    }

    .hero-nav {
        padding: 0 16px;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
    }

    .hero-arrow svg {
        width: 18px;
        height: 20px;
    }

    .hero-dots-container {
        bottom: 16px;
        gap: 8px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot.active {
        width: 20px;
    }

    .hero {
        min-height: 300px;
        /*margin-top: 60px;*/
        padding-top: 60px;
    }

    .hero-slides,
    .hero-slide,
    .banner-container{
        min-height: 250px;
    }

    .hero-slide-bg .banner-img img {
        object-fit: contain;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .section-header {
        margin-bottom: 36px;
        gap: 32px;
    }

    .dumpling-icon {
        width: 32px;
        height: 32px;
    }

    .course-card-icon {
        width: 220px;
        height: 220px;
    }

    .course-card-title {
        font-size: 24px;
    }

    .course-card-desc {
        font-size: 16px;
    }

    .btn-course {
        width: 220px;
        height: 50px;
        font-size: 18px;
    }

    .feature-card {
        border-radius: 24px;
        padding: 20px;
    }

    .feature-card-title {
        font-size: 24px;
    }

    .feature-card-desc {
        font-size: 16px;
    }
    .why-love-btn .btn-with-icon {
        margin-top: 20px;
    }
    .why-love-btn .btn-text {
        font-size: 24px;
    }
    .btn-with-icon .icon-gift {
        transform: scale(0.8);
    }
    .btn-pill {
        font-size: 18px;
        padding: 14px 24px;
        transform: scale(0.8);
    }

    .process-card {
        width: 100%;
        max-width: 300px;
    }

    .process-number {
        width: 56px;
        height: 56px;
        font-size: 26px;
    }

    .process-image {
        width: 160px;
        height: 160px;
    }

    .process-title {
        font-size: 26px;
    }

    .process-desc {
        font-size: 18px;
    }

    .footer-decoration-img {
        width: 240px;
        height: 270px;
    }

    .footer-decoration-bg {
        width: 240px;
        height: 240px;
    }

    .footer-decoration-main {
        width: 210px;
        height: 250px;
        left: 15px;
    }
}

@media screen and (max-width: 375px) {
    .hero-title {
        font-size: 30px;
        line-height: 40px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }
    .why-love-btn .btn-text {
        font-size: 16px;
    }
    .btn-pill {
        font-size: 16px;
        padding: 12px 20px;
    }

    .course-card-icon {
        width: 180px;
        height: 180px;
    }
}

@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}