/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background: linear-gradient(135deg, #FAF9F7 0%, #F0F4F8 50%, #EDF2F7 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    color: #2D3748;
    border-bottom-color: #2D3748;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-nav a {
    color: #2D3748;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.desktop-nav a:hover {
    background: #F3F4F6;
    color: #667EEA;
    transform: translateY(-1px);
}

/* Mobile Navigation Dropdown */
.mobile-nav-dropdown {
    position: relative;
    display: none;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: #2D3748;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 10px;
    margin-top: 8px;
    z-index: 1000;
    overflow: hidden;
    min-width: 180px;
}

.mobile-nav-dropdown.active .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown-content a {
    display: block;
    color: #2D3748;
    padding: 12px 16px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #E5E7EB;
}

.mobile-dropdown-content a:last-child {
    border-bottom: none;
}

.mobile-dropdown-content a:hover {
    background: #F3F4F6;
    color: #667EEA;
}

.language-switch {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 8px 15px;
    border: 2px solid #2D3748;
    background: transparent;
    color: #2D3748;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn.active,
.lang-btn:hover {
    background: #2D3748;
    color: #fff;
}

/* CTA Buttons */
.cta-button-small {
    padding: 10px 20px;
    background: #2D3748;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cta-button-small:hover {
    background: #EA580C;
    transform: translateY(-1px);
}

.cta-button-hero {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 30px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.cta-button-hero:hover::before {
    left: 100%;
}

.cta-button-hero:hover {
    background: linear-gradient(135deg, #764BA2 0%, #667EEA 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.cta-button-large {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 35px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.cta-button-large:hover::before {
    left: 100%;
}

.cta-button-large:hover {
    background: linear-gradient(135deg, #4ECDC4 0%, #FF6B6B 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Hero Section / 首页 */
.hero {
    background: linear-gradient(135deg, #FFF5F5 0%, #EBF4FF 30%, #F0FFF4 60%, #FFF8DC 100%);
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,182,193,0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(173,216,230,0.1) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 40px;
}

.hero-logo-image {
    height: 150px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
}

.hero-title {
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 1.2;
    color: #1F2937;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6B7280;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-quotes {
    margin-bottom: 50px;
}

.quote {
    background: #fff;
    padding: 20px 25px;
    margin: 20px auto;
    max-width: 700px;
    border-left: 4px solid #2D3748;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2D3748;
    margin-bottom: 40px;
    text-align: center;
}

/* Courses Section */
.courses-section {
    padding: 100px 0;
    background: #fff;
}

.courses-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.course-card {
    background: linear-gradient(135deg, #FFF8DC 0%, #F0FFF0 50%, #FFF5EE 100%);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid transparent;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FFB6C1 0%, #87CEEB 25%, #98FB98 50%, #DDA0DD 75%, #F0E68C 100%);
    z-index: -1;
    border-radius: 20px;
}



.course-card:nth-child(1) {
    background: linear-gradient(135deg, #FFF0F5 0%, #E6E6FA 100%);
}

.course-card:nth-child(2) {
    background: linear-gradient(135deg, #F0FFFF 0%, #F5FFFA 100%);
}

.course-category {
    background: #F5F5F5;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 2px solid #2D3748;
}

.course-title {
    font-size: 1.8rem;
    color: #2D3748;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.3;
}

.course-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.4;
}

.course-details {
    max-width: 900px;
    margin: 0 auto;
}

.course-details h4 {
    font-size: 1.2rem;
    color: #1F2937;
    margin: 20px 0 10px;
    border-bottom: 2px solid #2D3748;
    padding-bottom: 5px;
    display: inline-block;
}

.course-details h4:first-child {
    margin-top: 10px;
}

.course-details ul {
    list-style: none;
    margin-bottom: 15px;
}

.course-details li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.course-details li:before {
    content: "•";
    color: #2D3748;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
}

.course-details p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.course-details span {
    color: #2D3748;
    font-weight: 600;
}

.course-cta {
    text-align: center;
    margin-top: 50px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.mission {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission h3 {
    font-size: 2rem;
    color: #2D3748;
    margin-bottom: 30px;
}

.mission-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.mission-content ul {
    list-style: none;
    margin-top: 30px;
}

.mission-principles-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.mission-principles-centered div {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
}

.mission-content li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mission-content strong {
    color: #2D3748;
    font-size: 1.2rem;
}

/* Teachers Section */
.teachers-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F0F8FF 0%, #FFF8DC 50%, #F5FFFA 100%);
    position: relative;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.teacher-card {
    background: linear-gradient(135deg, #FFFACD 0%, #F0F8FF 100%);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,182,193,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.teacher-card:hover::before {
    opacity: 1;
}

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

.teacher-card:nth-child(1) { background: linear-gradient(135deg, #FFE4E1 0%, #F0F8FF 100%); }
.teacher-card:nth-child(2) { background: linear-gradient(135deg, #F0FFFF 0%, #FFFACD 100%); }
.teacher-card:nth-child(3) { background: linear-gradient(135deg, #F5FFFA 0%, #FFF0F5 100%); }
.teacher-card:nth-child(4) { background: linear-gradient(135deg, #FFF8DC 0%, #E6E6FA 100%); }
.teacher-card:nth-child(5) { background: linear-gradient(135deg, #F0FFF0 0%, #FFFAF0 100%); }

.teacher-card:hover {
    transform: translateY(-8px);
    border-color: #2D3748;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.teacher-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 4px solid transparent;
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(135deg, #FFB6C1, #87CEEB, #98FB98, #DDA0DD) border-box;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.teacher-card:hover .teacher-photo {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.teacher-card h3 {
    font-size: 1.3rem;
    color: #1F2937;
    margin-bottom: 8px;
}

.teacher-card p {
    color: #6B7280;
    font-size: 1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.close {
    color: #666;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover {
    color: #2D3748;
}

#teacherDetails h2 {
    color: #2D3748;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

#teacherDetails h3 {
    color: #1F2937;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#teacherDetails p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFFAF0 0%, #F0F8FF 50%, #FFF0F5 100%);
}

.faq-list {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #FFB6C1 0%, #87CEEB 25%, #98FB98 50%, #DDA0DD 75%, #F0E68C 100%);
    border-radius: 15px;
    z-index: -1;
    opacity: 0.3;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.faq-question {
    padding: 25px 30px;
    background: #2D3748;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    margin: 0;
    font-weight: 600;
}

.faq-question:hover {
    background: #EA580C;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-answer.active {
    padding: 30px;
    max-height: 1000px;
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.faq-answer ul {
    list-style: none;
    padding-left: 0;
}

.faq-answer li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.faq-answer li:before {
    content: "→";
    color: #2D3748;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Footer */
.footer {
    background: #1F2937;
    color: #fff;
    padding: 60px 0 30px;
    text-align: center;
}

.footer .section-title {
    color: #fff;
    margin-bottom: 30px;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #D1D5DB;
}

.contact-info a {
    color:#fff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Partners Section */
.partners-section {
    margin: 40px 0 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.partners-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.partner-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.partner-link {
    color: #87CEEB;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.partner-link:hover {
    color: #fff;
    text-decoration: underline;
}

.partner-name {
    color: #D1D5DB;
    font-size: 0.95rem;
    font-weight: 500;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */

@media (min-width: 769px) {
    /* Ensure desktop navigation is visible on larger screens */
    .desktop-nav {
        display: block;
    }
    
    .mobile-nav-dropdown {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Navigation responsive behavior */
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav-dropdown {
        display: block;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .nav-dropdown-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-logo-image {
        height: 100px;
        max-width: 300px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .course-title {
        font-size: 1.6rem;
    }
    
    .courses-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .course-card {
        padding: 25px;
    }
    
    .course-category {
        padding: 25px;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 25px;
    }
    
    .teacher-photo {
        width: 100px;
        height: 100px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .faq-answer.active {
        padding: 25px 20px;
    }
    
    .partners-list {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 300px;
    }
    
    .partner-item {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 8px 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .nav a {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
    
    .nav ul {
        gap: 10px;
    }
    
    .lang-btn {
        padding: 4px 6px;
        font-size: 0.75rem;
    }
    
    .cta-button-small {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero-logo-image {
        height: 80px;
        max-width: 250px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .course-title {
        font-size: 1.4rem;
    }
    
    .courses-container {
        grid-template-columns: 1fr;
    }
    
    .course-card {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .course-category {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .teacher-photo {
        width: 80px;
        height: 80px;
    }
    
    .teacher-card {
        padding: 20px 15px;
    }
    
    .partners-section {
        margin: 30px 0 20px;
        padding-top: 20px;
    }
    
    .partners-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .partner-item {
        padding: 8px 10px;
    }
    
    .partner-link, .partner-name {
        font-size: 0.85rem;
    }
    
    .quote {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

/* Language switching animations */
.lang-transition {
    transition: opacity 0.3s ease;
}

.lang-transition.fade-out {
    opacity: 0;
}

.lang-transition.fade-in {
    opacity: 1;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Additional hover effects */
.course-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Focus styles for accessibility */
.lang-btn:focus,
.cta-button-small:focus,
.cta-button-hero:focus,
.cta-button-large:focus,
.teacher-card:focus {
    outline: 2px solid #2D3748;
    outline-offset: 2px;
}



/* Add subtle patterns to sections */
.courses-section {
    position: relative;
}

.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 182, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(173, 216, 230, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.courses-section .container {
    position: relative;
    z-index: 1;
}

/* Add bouncing animation to buttons */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.cta-button-hero:hover,
.cta-button-large:hover {
    animation: bounce 1s;
}

/* Course emoji animations */
.course-title {
    position: relative;
}

.course-title:hover {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

/* Add colorful accents to section borders */
.hero {
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, #FFB6C1, #87CEEB, #98FB98, #DDA0DD, #F0E68C) 1;
}

.teachers-section {
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #F0E68C, #DDA0DD, #98FB98, #87CEEB, #FFB6C1) 1;
}

/* Add gentle pulse to important elements */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

.mission-principles-centered div {
    
    border-radius: 10px;
    padding: 10px 15px;
    margin: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav a:focus {
    outline: 2px solid #2D3748;
    outline-offset: 4px;
    border-radius: 4px;
}

