* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #ffeef5 0%, #fff5f8 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 2px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.3);
    border: 3px solid #ffb6c1;
    overflow: hidden;
}

.logo {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.title {
    font-size: 30px;
    font-weight: 700;
    color: #ff8bb3;
    margin-bottom: 8px;
    line-height: 1.4;
}

.brand-name {
    font-size: 38px;
    font-weight: 800;
    color: #ff8bb3;
}

.sub-brand {
    font-size: 34px;
    font-weight: 600;
    color: #ff8bb3;
}

.subtitle {
    font-size: 20px;
    color: #718096;
    margin-bottom: 30px;
}

.education-card, .teacher-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.2);
    border: 2px solid rgba(255, 182, 193, 0.4);
    position: relative;
    overflow: hidden;
}

.education-card::before, .teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff69b4, #ffb6c1, #ffc0cb);
    border-radius: 20px 20px 0 0;
}

.achievement-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.2);
    border: 2px solid rgba(255, 182, 193, 0.4);
}

.education-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hku-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hku-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

.education-text {
    flex: 1;
}

.education-line {
    display: block;
    margin-bottom: 15px;
}

.education-line:last-child {
    margin-bottom: 0;
}

.education-text p {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 0px;
}

.degree {
    font-weight: 600;
    color: #2d3748;
}

.teacher-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
}

.teacher-info p {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 10px;
}

.pink-highlight {
    color: #ff69b4;
    font-weight: 600;
}

.achievement-text {
    margin-top: 15px;
    margin-bottom: 20px;
}

.achievement-text p {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 8px;
    text-align: left;
}

.achievement-text .highlight {
    color: #ff69b4;
    font-weight: 600;
}

.achievement-text .big-text, .teacher-info .big-text {
    font-size: 20px;
    font-weight: 500;
}

.achievement-image {
    width: 100%;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.achievement-image img {
    width: 110%;
    height: auto;
    display: block;
    margin-left: -5%;
}

.links-section {
    margin-bottom: 30px;
    margin-top: 50px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0px;
    text-align: center;
}

.no-border-button {
    display: block;
    background: white;
    border: 0;
    outline: 0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    text-decoration: none;
    color: #2d3748;
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.no-border-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 182, 193, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    z-index: 0;
    aspect-ratio: 1;
}

.no-border-button:hover::before {
    transform: translate(-50%, -50%) scale(4);
    width: 120px;
    height: 120px;
}

.no-border-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.2);
}

.no-border-button * {
    position: relative;
    z-index: 1;
}

.links-section .no-border-button {
    border: 2px solid rgba(255, 182, 193, 0.4);
}

.links-section .no-border-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.2);
    border: 2px solid rgba(255, 182, 193, 0.4);
}

.link-icon {
    font-size: 24px;
    margin-right: 15px;
    vertical-align: middle;
}

.link-text {
    font-size: 16px;
    font-weight: 500;
    vertical-align: middle;
}

.link-desc {
    font-size: 14px;
    color: #718096;
    margin-top: 5px;
    margin-left: 39px;
}

.instagram-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(219, 219, 219, 0.8);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (hover: hover) and (pointer: fine) {
    .instagram-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0, 149, 246, 0.25);
        background: rgba(255, 255, 255, 1);
        border: 1px solid rgba(0, 149, 246, 0.4);
    }
}

.instagram-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

.instagram-avatar {
    width: 77px;
    height: 77px;
    border-radius: 50%;
    margin-right: 20px;
    border: 2px solid #dbdbdb;
    object-fit: cover;
}

.instagram-info {
    flex: 1;
}

.instagram-username {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.instagram-username h3 {
    font-size: 20px;
    font-weight: 300;
    color: #262626;
    margin: 0;
    margin-right: 6px;
}

.verified-badge {
    color: #1DA1F2;
    font-size: 16px;
}

.instagram-fullname {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 16px;
    line-height: 1.3;
    word-wrap: break-word;
    max-width: calc(100% - 140px);
    padding-right: 10px;
}

.instagram-stats {
    display: flex;
    gap: 20px;
}

.instagram-stat {
    text-align: center;
}

.instagram-stat-number {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    display: block;
}

.instagram-stat-label {
    font-size: 14px;
    color: #8e8e8e;
}

.instagram-view-profile {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #0095f6;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.instagram-view-profile:hover {
    background: #1877f2;
    color: white;
}

.faq-item {
    background: white;
    border: 2px solid rgba(255, 182, 193, 0.4);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 182, 193, 0.05);
}

.faq-question-text {
    font-size: 16px;
    font-weight: 500;
    color: #2d3748;
    margin: 0;
}

.faq-icon {
    font-size: 20px;
    color: #ff8bb3;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 182, 193, 0.02);
}

.faq-answer.active {
    padding: 20px;
    max-height: 3000px;
}

.faq-answer-text {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

.faq-icon.active {
    transform: rotate(180deg);
}

.year-buttons {
    margin-bottom: 16px;
    width: 100%;
    max-height: 0;
    overflow: visible;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    will-change: max-height, opacity;
}

.year-buttons.show {
    max-height: 140px;
    opacity: 1;
    overflow: visible;
}

.year-row {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 16px;
    width: 100%;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
}

.year-buttons.show .year-row {
    transform: translateY(0);
    opacity: 1;
}

.year-row:nth-child(2) {
    transition-delay: 0.1s;
}

.year-row:last-child {
    margin-bottom: 0;
}

.year-btn {
    background: white;
    border: 2px solid rgba(255, 182, 193, 0.4);
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
    min-width: 60px;
    will-change: transform, background-color, border-color;
}

.year-btn:hover {
    background: rgba(255, 182, 193, 0.1);
    border-color: #ff8bb3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.2);
}

.contact-info {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.certificate-buttons {
    margin-bottom: 16px;
    width: 100%;
    max-height: 0;
    overflow: visible;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    will-change: max-height, opacity;
}

.certificate-buttons.show {
    max-height: 200px;
    opacity: 1;
    overflow: visible;
}

.certificate-row {
    margin-bottom: 12px;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
}

.certificate-buttons.show .certificate-row {
    transform: translateY(0);
    opacity: 1;
}

.certificate-row:nth-child(2) {
    transition-delay: 0.1s;
}

.certificate-row:nth-child(3) {
    transition-delay: 0.2s;
}

.certificate-row:last-child {
    margin-bottom: 0;
}

.certificate-btn {
    background: white;
    border: 2px solid rgba(255, 182, 193, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.certificate-buttons .certificate-btn:hover {
    background: rgba(255, 182, 193, 0.1);
    border-color: #ff8bb3;
    transform: translateY(-2px);
}

.course-list-btn {
    background: rgba(255, 182, 193, 0.1);
    border: 1px solid rgba(255, 182, 193, 0.6);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #ff69b4;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.course-list-btn:hover {
    background: rgba(255, 182, 193, 0.2);
    border-color: #ff69b4;
    transform: translateY(-1px);
}

.course-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.course-modal-content {
    background: white;
    margin: 5vh auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(255, 105, 180, 0.4);
    border: 2px solid rgba(255, 182, 193, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px 30px;
    border-bottom: 2px solid rgba(255, 182, 193, 0.3);
    background: white;
    z-index: 10;
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
}

.course-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.course-modal-close {
    background: rgba(255, 182, 193, 0.1);
    border: 1px solid rgba(255, 182, 193, 0.3);
    font-size: 20px;
    color: #ff69b4;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-weight: bold;
}

.course-modal-close:hover {
    background: rgba(255, 182, 193, 0.2);
    border-color: #ff69b4;
    transform: scale(1.1);
}

.course-list {
    padding: 20px 30px 30px 30px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 100px);
}

@media (max-width: 480px) {
    .course-modal-content {
        margin: 10vh auto;
        width: 95%;
        max-height: 80vh;
    }
    
    .course-modal-header {
        padding: 20px 20px 15px 20px;
    }
    
    .course-modal-title {
        font-size: 18px;
    }
    
    .course-list {
        padding: 15px 20px 25px 20px;
        max-height: calc(80vh - 80px);
    }
}

.course-modal-close:hover {
    background: rgba(255, 182, 193, 0.2);
    color: #ff69b4;
}

.course-item {
    padding: 15px 20px;
    margin-bottom: 12px;
    background: rgba(255, 182, 193, 0.05);
    border: 1px solid rgba(255, 182, 193, 0.3);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.course-item:hover {
    background: rgba(255, 182, 193, 0.1);
    border-color: #ff69b4;
}

.course-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.course-item-period {
    font-size: 14px;
    color: #ff69b4;
    font-weight: 500;
}

.contact-info p {
    font-size: 14px;
    color: #718096;
    margin-bottom: 5px;
}

.course-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.course-slider {
    display: flex;
    gap: 15px;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 0 40px 0;
    margin-bottom: 35px;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 481px) {
    .course-slider::-webkit-scrollbar {
        height: 8px !important;
        display: block !important;
        -webkit-appearance: none !important;
    }

    .course-slider::-webkit-scrollbar-track {
        background: rgba(255, 182, 193, 0.2) !important;
        border-radius: 10px !important;
    }

    .course-slider::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #ff69b4, #ffb6c1) !important;
        border-radius: 10px !important;
    }

    .course-slider::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(90deg, #ff1493, #ff69b4) !important;
    }

    .course-slider::-webkit-scrollbar-thumb:active {
        background: linear-gradient(90deg, #ff1493, #ff69b4) !important;
    }

    .course-slider::-webkit-scrollbar-corner {
        background: transparent !important;
    }

    .course-slider {
        scrollbar-width: thin !important;
        scrollbar-color: #ff69b4 rgba(255, 182, 193, 0.2) !important;
    }
}

@media (max-width: 480px) {
    .course-slider {
                overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #ff69b4 rgba(255, 182, 193, 0.2);
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding-left: calc(50vw - 50%);
        padding-right: calc(50vw - 50%);
    }

    .course-slider::-webkit-scrollbar {
        height: 6px;
        display: block !important;
        -webkit-appearance: none;
                opacity: 1 !important;
        visibility: visible !important;
    }

    .course-slider::-webkit-scrollbar-track {
        background: rgba(255, 182, 193, 0.2) !important;
        border-radius: 8px;
                opacity: 1 !important;
        visibility: visible !important;
    }

    .course-slider::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #ff69b4, #ffb6c1) !important;
        border-radius: 8px;
        border: none;
                opacity: 1 !important;
        visibility: visible !important;
    }

        .course-slider::-webkit-scrollbar-track:horizontal {
        background: rgba(255, 182, 193, 0.2) !important;
    }
    
    .course-slider::-webkit-scrollbar-thumb:horizontal {
        background: linear-gradient(90deg, #ff69b4, #ffb6c1) !important;
    }
}

.scroll-hint {
    text-align: center;
    margin-top: 35px;
    font-size: 12px;
    color: #718096;
}

.course-card {
    min-width: 320px;
    max-width: 320px;
    background: white;
    border: 2px solid rgba(255, 182, 193, 0.4);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(255, 182, 193, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #2d3748;
    margin-bottom: -15px;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 10px -5px rgba(255, 105, 180, 0.2);
    border: 2px solid #ff69b4;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff69b4, #ffb6c1, #ffc0cb);
    border-radius: 20px 20px 0 0;
}

.course-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffeef5 0%, #fff5f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-image:empty::after {
    content: '📚';
    font-size: 48px;
    color: rgba(255, 182, 193, 0.6);
}

.course-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.course-content {
    padding: 25px 25px 5px 25px;
}

.course-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-description {
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 15px;
}

.course-features {
    margin-bottom: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 17px;
    color: #000000;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    font-size: 14px;
    color: #ff69b4;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 182, 193, 0.3);
}

.price-label {
    font-size: 14px;
    color: #718096;
}

.price-amount {
    font-size: 28px;
    font-weight: 900;
    color: #ff69b4;
}

.scroll-hint {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: #718096;
}

@media (max-width: 480px) {
    .course-card {
        min-width: 330px;
        max-width: 330px;
    }
    
    .course-image {
        height: 210px;
    }
    
    .course-content {
        padding: 20px 20px 5px 20px;
    }
    
    .course-title {
        font-size: 22px !important;
    }
    
    .course-description {
        font-size: 14px !important;
    }
    
    .feature-item {
        font-size: 17px !important;
    }
    
    .price-label {
        font-size: 14px !important;
    }
    
    .price-amount {
        font-size: 24px !important;
    }
    
    .scroll-hint {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 2px;
    }
    
    .title {
        font-size: 30px;
    }
    
    .no-border-button {
        padding: 16px;
    }

    .instagram-card {
        padding: 15px;
        margin-bottom: 12px;
    }

    .instagram-header {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .instagram-avatar {
        width: 50px;
        height: 50px;
        margin-right: 12px;
        order: 1;
    }

    .instagram-info {
        flex: 1;
        min-width: 0;
        order: 2;
    }

    .instagram-username {
        margin-bottom: 2px;
    }

    .instagram-username h3 {
        font-size: 16px;
    }

    .instagram-fullname {
        font-size: 13px;
        line-height: 1.2;
        margin-bottom: 8px;
        max-width: none;
        padding-right: 0;
    }

    .instagram-stats {
        width: 100%;
        order: 3;
        display: flex;
        gap: 20px;
        margin: 8px 0 8px 0;
        justify-content: flex-start;
    }

    .instagram-stat-number {
        font-size: 14px;
    }

    .instagram-stat-label {
        font-size: 12px;
    }

    .instagram-view-profile {
        width: 100%;
        order: 4;
        position: static;
        transform: none;
        text-align: center;
        padding: 8px 12px;
        font-size: 13px;
        margin: 0;
    }
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 182, 193, 0.4);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    opacity: 1;
    }
}

















                .chemistry-background {
            position: fixed;
            top: -100px;
            left: -100px;
            width: calc(100% + 200px);
            height: calc(100% + 200px);
            pointer-events: none;
            z-index: -2;
            overflow: hidden;
            filter: blur(0.5px);
        }

                .molecule {
            position: absolute;
            opacity: 0.9;
            animation-play-state: running;
        }

        .molecule.rotate {
            animation: slowRotate 25s linear infinite;
        }

        .molecule.float {
            animation: floatMove 20s ease-in-out infinite;
        }

        .molecule.pulse {
            animation: pulseBreathe 15s ease-in-out infinite;
        }

        .molecule.orbit {
            animation: orbitMove 30s ease-in-out infinite;
        }

        .molecule svg {
            width: 85px;
            height: 85px;
        }

                @media (max-width: 768px) {
            .molecule svg {
                width: 60px;
                height: 60px;
            }
            
            .molecule.rotate {
                animation: slowRotate 35s linear infinite;
            }

            .molecule.float {
                animation: floatMove 30s ease-in-out infinite;
            }

            .molecule.pulse {
                animation: pulseBreathe 25s ease-in-out infinite;
            }

            .molecule.orbit {
                animation: orbitMove 40s ease-in-out infinite;
            }
            
            .particle {
                animation: particleFloat 18s ease-in-out infinite;
            }
            
            .chemistry-background {
                filter: blur(0.3px);
            }
            
            .floating-particles {
                filter: blur(0.2px);
            }
            
            .pink-starry-background {
                filter: blur(0.1px);
            }
        }

        @keyframes slowRotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @keyframes floatMove {
            0%, 100% { transform: translateY(0px) translateX(0px); }
            25% { transform: translateY(-40px) translateX(30px); }
            50% { transform: translateY(-15px) translateX(-25px); }
            75% { transform: translateY(-30px) translateX(15px); }
        }

        @keyframes pulseBreathe {
            0%, 100% { transform: scale(1); opacity: 0.9; }
            50% { transform: scale(1.2); opacity: 1; }
        }

        @keyframes orbitMove {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            25% { transform: translateY(-30px) translateX(40px) rotate(90deg); }
            50% { transform: translateY(0px) translateX(0px) rotate(180deg); }
            75% { transform: translateY(30px) translateX(-40px) rotate(270deg); }
        }

                .floating-particles {
            position: fixed;
            top: -100px;
            left: -100px;
            width: calc(100% + 200px);
            height: calc(100% + 200px);
            pointer-events: none;
            z-index: -3;
            filter: blur(0.3px);
        }

        .particle {
            position: absolute;
            border-radius: 50%;
            animation: particleFloat 12s ease-in-out infinite;
            animation-play-state: running;
        }

        .particle.small {
            width: 4px;
            height: 4px;
            background: rgba(255, 182, 193, 0.9);
        }

        .particle.medium {
            width: 6px;
            height: 6px;
            background: radial-gradient(circle, rgba(255, 182, 193, 0.9) 0%, rgba(255, 105, 180, 0.7) 100%);
        }

        .particle.large {
            width: 9px;
            height: 9px;
            background: radial-gradient(circle, rgba(255, 105, 180, 1) 0%, rgba(255, 20, 147, 0.6) 100%);
            box-shadow: 0 0 15px rgba(255, 105, 180, 0.9);
        }

        .particle.tiny {
            width: 3px;
            height: 3px;
            background: rgba(255, 192, 203, 0.9);
        }

        .particle.extra-small {
            width: 2.5px;
            height: 2.5px;
            background: rgba(255, 218, 224, 0.9);
        }

        .particle.star {
            width: 8px;
            height: 8px;
            background: rgba(255, 182, 193, 0.9);
            border-radius: 0;
            clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
        }

        .particle.star-small {
            width: 5px;
            height: 5px;
            background: rgba(255, 192, 203, 0.9);
            border-radius: 0;
            clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
        }

        .particle.star-tiny {
            width: 4px;
            height: 4px;
            background: rgba(255, 218, 224, 0.9);
            border-radius: 0;
            clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
        }

        @keyframes particleFloat {
            0%, 100% { transform: translateY(0px) translateX(0px) scale(1); opacity: 0.9; }
            33% { transform: translateY(-60px) translateX(45px) scale(1.3); opacity: 1; }
            66% { transform: translateY(35px) translateX(-50px) scale(0.8); opacity: 0.9; }
        }

                .pink-starry-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(2px 2px at 20px 30px, rgba(255, 182, 193, 0.9), transparent),
                radial-gradient(2px 2px at 40px 70px, rgba(255, 105, 180, 0.7), transparent),
                radial-gradient(1px 1px at 90px 40px, rgba(255, 192, 203, 1), transparent),
                radial-gradient(1px 1px at 130px 80px, rgba(255, 218, 224, 0.8), transparent),
                radial-gradient(2px 2px at 160px 30px, rgba(255, 182, 193, 0.6), transparent),
                radial-gradient(1px 1px at 200px 60px, rgba(255, 105, 180, 0.9), transparent),
                radial-gradient(2px 2px at 240px 90px, rgba(255, 192, 203, 0.7), transparent),
                radial-gradient(1px 1px at 280px 20px, rgba(255, 218, 224, 1), transparent),
                radial-gradient(1px 1px at 320px 70px, rgba(255, 182, 193, 0.8), transparent),
                radial-gradient(2px 2px at 360px 40px, rgba(255, 105, 180, 0.6), transparent),
                radial-gradient(1px 1px at 400px 80px, rgba(255, 192, 203, 0.9), transparent),
                radial-gradient(2px 2px at 440px 10px, rgba(255, 218, 224, 0.7), transparent),
                radial-gradient(1px 1px at 480px 50px, rgba(255, 182, 193, 1), transparent),
                radial-gradient(2px 2px at 520px 90px, rgba(255, 105, 180, 0.8), transparent),
                radial-gradient(1px 1px at 20px 120px, rgba(255, 192, 203, 0.6), transparent),
                radial-gradient(2px 2px at 60px 160px, rgba(255, 218, 224, 0.9), transparent),
                radial-gradient(1px 1px at 100px 140px, rgba(255, 182, 193, 0.7), transparent),
                radial-gradient(2px 2px at 140px 180px, rgba(255, 105, 180, 1), transparent),
                radial-gradient(1px 1px at 180px 120px, rgba(255, 192, 203, 0.8), transparent),
                radial-gradient(2px 2px at 220px 170px, rgba(255, 218, 224, 0.6), transparent),
                radial-gradient(1px 1px at 260px 150px, rgba(255, 182, 193, 0.9), transparent),
                radial-gradient(2px 2px at 300px 190px, rgba(255, 105, 180, 0.7), transparent),
                radial-gradient(1px 1px at 340px 130px, rgba(255, 192, 203, 1), transparent),
                radial-gradient(2px 2px at 380px 180px, rgba(255, 218, 224, 0.8), transparent),
                radial-gradient(1px 1px at 420px 160px, rgba(255, 182, 193, 0.6), transparent);
            background-repeat: repeat;
            background-size: 550px 200px;
            z-index: -10;
            animation: starTwinkle 6s ease-in-out infinite;
            pointer-events: none;
            filter: blur(0.2px);
        }

        @keyframes starTwinkle {
            0%, 100% { opacity: 0.9; }
            50% { opacity: 1; }
        }

        .floating-element {
            position: absolute;
            animation: floatingElement 8s ease-in-out infinite;
            opacity: 0.1;
            pointer-events: none;
        }

        @keyframes floatingElement {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

                @media (max-width: 768px) {
            .pink-starry-background {
                background-size: 450px 180px;
                animation: starTwinkle 8s ease-in-out infinite;
            }
        }











@media (max-width: 480px) {
  .education-text p,
  .teacher-info p,
  .achievement-text p,
  .faq-answer-text,
  .link-desc,
  .instagram-stat-label,
  .instagram-stat-number,
  .instagram-view-profile,
  .course-description,
  .course-item-period,
  .certificate-btn,
  .year-btn,
  .contact-info p {
    font-size: 17px !important;
  }

  .course-modal-title,
  .faq-question-text,
  .link-text,
  .course-item-title,
  .course-modal-close {
    font-size: 17px !important;
  }

    .no-border-button,
  .no-border-button *,
  .course-list-btn {
    font-size: 17px !important;
  }

  .section-title {
    font-size: 22px !important;
  }
}

@media (max-width: 480px) {
  .achievement-text .big-text, 
  .teacher-info .big-text {
    font-size: 20px !important;
  }
}










@media (max-width: 480px) {
  #courseSlider .course-card {
    min-width: 330px;
    max-width: 330px;
  }

  #courseSlider .course-image {
    position: relative;
    width: 100%;
    padding-top: 75%;     overflow: hidden;
    border-radius: 12px 12px 0 0;   }

  #courseSlider .course-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
    #packageSlider .course-card {
    min-width: 330px;
    max-width: 330px;
  }

    #packageSlider .course-image {
    position: relative;
    width: 100%;
    padding-top: 75%;     overflow: hidden;
    border-radius: 12px 12px 0 0;   }

  #packageSlider .course-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}







@media (max-width: 480px) {
  #courseSlider .course-card,
  #packageSlider .course-card {
    display: flex;
    flex-direction: column;
    min-height: 650px;
  }

  #courseSlider .course-content,
  #packageSlider .course-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  #courseSlider .course-price,
  #packageSlider .course-price {
    margin-top: auto;
    padding-top: 15px; 
    padding-bottom: 15px;
  }
}















        .achievement-record-card {
            background: white;
            border-radius: 20px;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: 0 10px 30px rgba(255, 182, 193, 0.2);
            border: 2px solid rgba(255, 182, 193, 0.4);
            position: relative;
            overflow: hidden;
        }

        .achievement-record-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #ff69b4, #ffb6c1, #ffc0cb);
            border-radius: 20px 20px 0 0;
        }

        .student-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 182, 193, 0.3);
        }

        .school-name {
            font-size: 20px;
            font-weight: 600;
            color: #2d3748;
        }

        .student-tag {
            background: linear-gradient(135deg, #ff69b4, #ffb6c1);
            color: white;
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 20px;
            font-weight: 500;
        }

        .scores-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .score-section {
            text-align: center;
        }

        .score-label {
            font-size: 20px;
            color: #718096;
            margin-bottom: 8px;
        }

        .score-value {
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 5px;
        }

        .score-before {
            color: #e53e3e;
        }

        .score-after {
            color: #38a169;
        }

        .score-detail {
            font-size: 18px;
            color: #718096;
        }

        .improvement-arrow {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: #ff69b4;
            margin: 10px 0;
        }

        .ig-embed-placeholder {
            background: rgba(255, 182, 193, 0.1);
            border: 2px dashed rgba(255, 182, 193, 0.4);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            color: #718096;
            font-size: 14px;
            margin-top: 15px;
        }

                .ig-embed-container {
            width: 100%;
            margin-top: 15px;
            border-radius: 12px;
            overflow: hidden;
            background: white;
            box-shadow: 0 2px 8px rgba(255, 182, 193, 0.1);
        }

                .ig-embed-container iframe,
        .ig-embed-container blockquote {
            width: 100% !important;
            max-width: 100% !important;
            border: none !important;
            border-radius: 12px !important;
        }

                .ig-embed-container .instagram-media {
            background: white !important;
            border: none !important;
            border-radius: 12px !important;
            box-shadow: none !important;
            margin: 0 !important;
            max-width: 100% !important;
            min-width: 100% !important;
            width: 100% !important;
        }

                .achievement-record-card .ig-embed-container * {
            max-width: 100% !important;
            box-sizing: border-box !important;
        }

                .fixed-home-button {
            position: fixed;
            bottom: 50px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
            background: linear-gradient(135deg, #ff69b4, #ffb6c1);
            color: white;
            border: none;
            border-radius: 25px;
            padding: 12px 24px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
            transition: all 0.3s ease;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            backdrop-filter: blur(10px);
        }

        .fixed-home-button:hover {
            transform: translateX(-50%) translateY(-3px);
            box-shadow: 0 12px 35px rgba(255, 105, 180, 0.5);
            background: linear-gradient(135deg, #ff1493, #ff69b4);
        }

        .fixed-home-button:active {
            transform: translateX(-50%) translateY(-1px);
        }

                @media (max-width: 480px) {
            .fixed-home-button {
                bottom: 45px;
                padding: 10px 20px;
                font-size: 18px;
            }
        }

                @media (max-width: 480px) {
            .student-info {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .scores-container {
                gap: 15px;
            }

            .score-value {
                font-size: 36px;
            }
        }










.chemistry-background,
.floating-particles,
.pink-starry-background {
    backdrop-filter: blur(1px);     -webkit-backdrop-filter: blur(0.3px);
    opacity: 0.8;     z-index: -10;
    pointer-events: none;
}









.floating-nav-buttons {
    position: fixed !important;
    bottom: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 20px !important;
    z-index: 1000 !important;
    pointer-events: none !important;
}

.floating-nav-btn {
    width: 150px !important;
    height: 75px !important;
    padding: 15px !important;
    border-radius: 18px !important;
    flex-direction: column !important;
    background: #ff8bb3 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    pointer-events: auto !important;
    position: relative !important;
    overflow: hidden !important;
}

.floating-nav-btn.enroll-btn {
    animation: enrollFloat 3s ease-in-out infinite !important;
}

@keyframes enrollFloat {
    0% { 
        transform: translateY(0px); 
    }
    25% { 
        transform: translateY(-8px); 
    }
    50% { 
        transform: translateY(4px); 
    }
    75% { 
        transform: translateY(-8px); 
    }
    100% { 
        transform: translateY(0px); 
    }
}

.floating-nav-btn .nav-text {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: white !important;
    white-space: nowrap !important;
    z-index: 1 !important;
    position: relative !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    line-height: 1 !important;
}

.floating-nav-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.5) !important;
    background: #ff8bc7 !important;
}

.floating-nav-btn.enroll-btn:hover {
    animation-play-state: paused !important;
    transform: translateY(-3px) !important;
}

.floating-nav-btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.4), 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.4) !important;
    animation: glowPulse 0.6s ease-out !important;
}

.floating-nav-btn.highlight {
    background: #ff8bc7 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.6) !important;
}

@keyframes glowPulse {
    0% { 
        box-shadow: 0 4px 10px rgba(255, 105, 180, 0.4) !important;
    }
    50% { 
        box-shadow: 0 4px 10px rgba(255, 105, 180, 0.4), 0 0 25px rgba(255, 255, 255, 1), 0 0 50px rgba(255, 255, 255, 0.6) !important;
    }
    100% { 
        box-shadow: 0 4px 10px rgba(255, 105, 180, 0.4), 0 0 15px rgba(255, 255, 255, 0.3) !important;
    }
}

@media (min-width: 481px) and (max-width: 1024px) {
    .floating-nav-buttons {
        gap: 15px !important;
    }
    
    .floating-nav-btn {
        width: 130px !important;
        height: 65px !important;
        padding: 12px !important;
    }
    
    .floating-nav-btn .nav-text {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .floating-nav-buttons {
        bottom: 15px !important;
        gap: 12px !important;
    }
    
    .floating-nav-btn {
        width: 120px !important;
        height: 55px !important;
        padding: 10px !important;
    }
    
    .floating-nav-btn .nav-text {
        font-size: 16px !important;
    }
    
    .floating-nav-btn:hover {
        transform: translateY(-2px) !important;
    }
    
    .floating-nav-btn.enroll-btn:hover {
        animation-play-state: paused !important;
        transform: translateY(-2px) !important;
    }
}

.floating-nav-buttons {
    z-index: 9999 !important;
}

body {
    padding-bottom: 100px;
}

@media (max-width: 480px) {
    body {
        padding-bottom: 85px;
    }
}