:root {
    --primary: #E8702A;
    --primary-dark: #C45A1C;
    --primary-light: #F09050;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #868e96;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --white: #ffffff;
    --gold: #ffd700;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(232, 112, 42, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 112, 42, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: var(--gray-600);
    margin-top: 20px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

nav .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

nav .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(232, 112, 42, 0.3);
    overflow: hidden;
}

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

nav .logo-icon span {
    color: var(--white);
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
}

nav .logo-text .name {
    font-weight: 900;
    font-size: 20px;
    line-height: 1.2;
    transition: color 0.3s;
}

nav .logo-text .en-name {
    font-size: 11px;
    line-height: 1;
    transition: color 0.3s;
}

nav:not(.scrolled) .logo-text .name {
    color: var(--white);
}

nav:not(.scrolled) .logo-text .en-name {
    color: rgba(255, 255, 255, 0.7);
}

nav.scrolled .logo-text .name {
    color: var(--dark);
}

nav.scrolled .logo-text .en-name {
    color: var(--gray-500);
}

nav .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

nav .nav-links a {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
    background: none;
    border: none;
    position: relative;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav .nav-links a:hover::after,
nav .nav-links a.active::after {
    width: 100%;
}

nav:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

nav:not(.scrolled) .nav-links a:hover,
nav:not(.scrolled) .nav-links a.active {
    color: var(--white);
}

nav.scrolled .nav-links a {
    color: var(--gray-700);
}

nav.scrolled .nav-links a:hover,
nav.scrolled .nav-links a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

nav:not(.scrolled) .mobile-menu-btn svg {
    stroke: var(--white);
}

nav.scrolled .mobile-menu-btn svg {
    stroke: var(--dark);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: var(--white);
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-bottom: 20px;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--gray-700);
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-links a {
    display: block;
    padding: 12px 16px;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    background: rgba(232, 112, 42, 0.1);
    color: var(--primary);
}

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 50%, #0f3460 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232, 112, 42, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 72px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 112, 42, 0.15);
    border: 1px solid rgba(232, 112, 42, 0.3);
    color: var(--primary-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-animate .typewriter-line {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: typeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title-animate .typewriter-line[data-delay="0"] { animation-delay: 0.3s; }
.hero-title-animate .typewriter-line[data-delay="800"] { animation-delay: 1.1s; }

@keyframes typeIn {
    0% { opacity: 0; transform: translateY(30px); filter: blur(8px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.glow-text {
    display: inline-block;
}

@keyframes glowIn {
    0% { opacity: 0; transform: scale(0.9); filter: blur(10px); text-shadow: 0 0 0 transparent; }
    50% { opacity: 1; transform: scale(1.02); text-shadow: 0 0 30px rgba(232, 112, 42, 0.6), 0 0 60px rgba(232, 112, 42, 0.3); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); text-shadow: 0 0 20px rgba(232, 112, 42, 0.4), 0 0 40px rgba(232, 112, 42, 0.2); }
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(232, 112, 42, 0.4), 0 0 40px rgba(232, 112, 42, 0.2); }
    50% { text-shadow: 0 0 30px rgba(232, 112, 42, 0.6), 0 0 60px rgba(232, 112, 42, 0.3), 0 0 80px rgba(232, 112, 42, 0.1); }
}

.hero .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.45s forwards;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

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

.hero-stat .number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
}

.hero-stat .label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.hero-philosophy {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.philosophy-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.5), transparent);
    max-width: 60px;
}

.philosophy-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(232, 112, 42, 0.4), 0 0 40px rgba(232, 112, 42, 0.2);
    opacity: 0;
    animation: glowIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2s forwards, glowPulse 3s ease-in-out 3.2s infinite;
    position: relative;
}

@keyframes shimmerText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.philosophy-text::after {
    content: '';
    position: absolute;
    inset: -8px -16px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: philosophyGlow 4s ease-in-out infinite;
}

@keyframes philosophyGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 112, 42, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.about-image-placeholder {
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.about-image-placeholder svg {
    width: 80px;
    height: 80px;
    stroke: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.about-image-placeholder p {
    font-size: 16px;
    opacity: 0.7;
}

.about-content h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
}

.about-content .about-subtitle {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 500;
}

.about-content .about-text {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-stat {
    background: var(--gray-50);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
}

.about-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.about-stat .number {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.about-stat .label {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 8px;
}

.courses {
    background: var(--gray-50);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(232, 112, 42, 0.1), rgba(232, 112, 42, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.course-card:hover .course-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scale(1.1) rotate(5deg);
}

.course-card:hover .course-icon svg {
    stroke: var(--white);
}

.course-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    transition: stroke 0.3s;
}

.course-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.course-card .course-subtitle {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 500;
}

.course-card .course-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-50);
    color: var(--gray-700);
    font-size: 13px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.course-card:hover .course-feature-tag {
    background: rgba(232, 112, 42, 0.05);
    border-color: rgba(232, 112, 42, 0.2);
    color: var(--primary);
}

.teachers {
    background: var(--white);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.teacher-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.teacher-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.teacher-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.teacher-avatar::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(0deg); }
    100% { transform: translateX(100%) rotate(0deg); }
}

.teacher-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.teacher-avatar-placeholder svg {
    width: 40px;
    height: 40px;
    stroke: rgba(255, 255, 255, 0.8);
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-info {
    padding: 16px;
}

.teacher-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.teacher-info .teacher-title {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 4px;
    font-weight: 500;
}

.teacher-info .teacher-specialty {
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.teacher-info .teacher-desc {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.6;
}

.teacher-info .teacher-desc p {
    margin-bottom: 8px;
}

.teacher-info .teacher-desc p:last-child {
    margin-bottom: 0;
}

.teacher-info .teacher-desc img {
    max-width: 100%;
    border-radius: 8px;
    margin: 8px 0;
}

.advantages {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
}

.advantages .section-title h2 {
    color: var(--white);
}

.advantages .section-title h2::after {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.advantages .section-title p {
    color: rgba(255, 255, 255, 0.6);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(232, 112, 42, 0.3);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.advantage-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.process {
    background: var(--gray-50);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 28px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(232, 112, 42, 0.3);
    position: relative;
    transition: all 0.3s;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(232, 112, 42, 0.3);
    animation: rotate 10s linear infinite;
}

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

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(232, 112, 42, 0.4);
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: var(--gray-600);
    max-width: 180px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-stars {
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.testimonial-author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.testimonial-author-info p {
    font-size: 13px;
    color: var(--gray-500);
}

.news {
    background: var(--gray-50);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    display: block;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
    text-decoration: none;
    color: inherit;
}

.news-card:hover .news-body h3 {
    color: var(--primary);
}

.news-cover {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-card:hover .news-cover svg {
    transform: scale(1.2);
    transition: transform 0.3s;
}

.news-cover svg {
    width: 40px;
    height: 40px;
    stroke: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s;
}

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

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

.news-body {
    padding: 24px;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(232, 112, 42, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.news-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s;
}

.news-summary {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--gray-500);
}

.news-read-more {
    color: var(--primary);
    font-weight: 500;
}

.news-more {
    text-align: center;
}

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
}

.contact-info .contact-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateX(8px);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(232, 112, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.contact-item:hover .contact-item-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.contact-item:hover .contact-item-icon svg {
    stroke: var(--white);
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
    transition: stroke 0.3s;
}

.contact-item-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-item-text p {
    font-size: 16px;
    color: var(--dark);
    font-weight: 500;
}

.contact-form {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    font-size: 15px;
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 112, 42, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.captcha-group .captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-question {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    background: var(--gray-100);
    padding: 8px 14px;
    border-radius: 8px;
    letter-spacing: 1px;
    min-width: 90px;
    text-align: center;
}

.captcha-row input {
    width: 100px !important;
    flex-shrink: 0;
}

.captcha-refresh {
    width: 36px;
    height: 36px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    font-size: 18px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.captcha-refresh:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.footer-brand .logo-icon span {
    color: var(--white);
    font-weight: 900;
    font-size: 18px;
}

.footer-brand .logo-name {
    font-weight: 900;
    font-size: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 64px;
}

.footer-social a:hover {
    background: rgba(232, 112, 42, 0.15);
    border-color: rgba(232, 112, 42, 0.4);
    transform: translateY(-2px);
}

.footer-social .social-icon-wrap {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a svg {
    width: 22px;
    height: 22px;
    stroke: rgba(255, 255, 255, 0.7);
    transition: stroke 0.3s;
}

.footer-social a:hover svg {
    stroke: var(--primary);
}

.footer-social .social-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-social a:hover .social-label {
    color: var(--primary);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: #10b981;
}

.toast-error {
    background: var(--primary);
}

.footer-social-qr {
    position: relative;
}

.qr-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: var(--white);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 100;
    text-align: center;
    min-width: 120px;
}

.qr-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--white);
}

.footer-social-qr:hover .qr-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.qr-tooltip img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    display: block;
    margin: 0 auto 8px;
}

.qr-tooltip span {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(232, 112, 42, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 42px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teachers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .nav-links {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero .subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stat .number {
        font-size: 28px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    .process-steps::before {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
