/* ==========================================
   AZIMOVA SCHOOL - Complete Stylesheet
   Modern Language Learning Center Website
   ========================================== */

/* ==========================================
   1. CSS Variables
   ========================================== */
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --accent-hover: #ff6b6b;
    --accent-light: rgba(233, 69, 96, 0.1);
    --gold: #f4d160;
    --success: #10b981;
    --warning: #f59e0b;
    --text: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b7280;
    --bg-dark: #0f0f1a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, var(--gold), var(--accent));
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-accent: 0 10px 30px rgba(233, 69, 96, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-full: 50px;
    --transition: 0.3s ease;
}

/* ==========================================
   2. Reset & Base
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::selection {
    background: var(--accent);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ==========================================
   3. Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   4. Layout
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

/* ==========================================
   5. Background Animation
   ========================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-dark);
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(233, 69, 96, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(244, 209, 96, 0.05) 0%, transparent 40%);
    animation: bgFloat 30s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2%, 2%); }
}

/* ==========================================
   6. Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 0.75rem 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-phone {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-phone:hover {
    color: var(--accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--primary);
    z-index: 1001;
    padding: 2rem;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

.mobile-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.mobile-menu ul {
    flex: 1;
}

.mobile-menu ul li {
    margin-bottom: 1rem;
}

.mobile-menu ul a {
    display: block;
    font-size: 1.2rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

/* ==========================================
   7. Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--accent);
    color: var(--text);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ==========================================
   8. Section Headers
   ========================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--accent-light);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ==========================================
   9. Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-light);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(233, 69, 96, 0.2); }
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 6s ease-in-out infinite;
    font-size: 0.9rem;
}

.floating-card strong {
    font-size: 1.1rem;
}

.floating-card small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==========================================
   10. Stats Section
   ========================================== */
.stats {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   11. Languages Section
   ========================================== */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.language-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.language-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.language-header {
    padding: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.language-header.english { background: linear-gradient(135deg, #012169, #c8102e); }
.language-header.russian { background: linear-gradient(135deg, #0039a6, #d52b1e); }
.language-header.chinese { background: linear-gradient(135deg, #de2910, #ffde00); }
.language-header.korean { background: linear-gradient(135deg, #003478, #c60c30); }
.language-header.arabic { background: linear-gradient(135deg, #007a3d, #ce1126); }

.language-flag {
    font-size: 3rem;
}

.language-badge {
    padding: 0.25rem 0.75rem;
    background: var(--gold);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.language-badge.hot {
    background: var(--accent);
    color: var(--text);
}

.language-body {
    padding: 1.5rem;
}

.language-body h3 {
    font-family: 'Onest', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.language-body p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.language-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.language-stats div strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text);
}

.language-stats div small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.language-tags span {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.language-price {
    margin-bottom: 1rem;
}

.language-price small {
    color: var(--text-muted);
}

.language-price strong {
    font-size: 1.5rem;
    color: var(--accent);
}

/* ==========================================
   12. Why Us Section
   ========================================== */
.why-us-section {
    background: linear-gradient(180deg, transparent, rgba(233, 69, 96, 0.03), transparent);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-content .section-badge {
    display: inline-block;
}

.why-us-content h2 {
    text-align: left;
}

.why-us-content > p {
    font-size: 1.1rem;
}

.why-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.why-feature h4 {
    font-family: 'Onest', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.why-feature p {
    font-size: 0.9rem;
    margin: 0;
}

.why-us-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.image-placeholder.large {
    font-size: 6rem;
}

.image-placeholder p {
    font-size: 1.25rem;
    margin-top: 1rem;
}

.why-badge, .about-badge {
    position: absolute;
    background: var(--accent);
    color: var(--text);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-accent);
    text-align: center;
}

.why-badge strong, .about-badge strong {
    display: block;
    font-size: 1.75rem;
    font-family: 'Playfair Display', serif;
}

.why-badge span, .about-badge span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.badge-1 { bottom: -20px; right: -20px; }
.badge-2 { top: -20px; left: -20px; }

/* ==========================================
   13. Steps Section
   ========================================== */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-family: 'Onest', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    margin: 0;
}

.step-connector {
    color: var(--accent);
    font-size: 1.5rem;
    padding-top: 3rem;
}

/* ==========================================
   14. Testimonials Section
   ========================================== */
.testimonials-section {
    background: linear-gradient(180deg, transparent, rgba(102, 126, 234, 0.03), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--accent);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.testimonial-header > div {
    flex: 1;
}

.testimonial-header h4 {
    font-family: 'Onest', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.testimonial-rating {
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.result-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.testimonials-more {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.tstat {
    text-align: center;
}

.tstat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent);
}

.tstat span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   15. FAQ Section
   ========================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
}

/* ==========================================
   16. CTA Section
   ========================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.2), transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
}

/* ==========================================
   17. Footer
   ========================================== */
.footer {
    padding: 60px 0 30px;
    background: var(--primary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand > p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: 'Onest', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-column ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================
   18. Scroll Top & Float Buttons
   ========================================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    box-shadow: var(--shadow-accent);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.float-contact {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 100;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.float-btn.telegram { background: #0088cc; }
.float-btn.phone { background: var(--success); }

.float-btn:hover {
    transform: scale(1.1);
}

/* ==========================================
   19. Page Header
   ========================================== */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark), var(--primary));
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(233, 69, 96, 0.1), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(102, 126, 234, 0.1), transparent 50%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--text-muted);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   20. Courses Page
   ========================================== */
.course-filter {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    position: sticky;
    top: 70px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--accent);
    border-color: var(--accent);
}

.course-section {
    padding: 80px 0;
}

.course-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.course-section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.course-lang-icon {
    font-size: 3rem;
}

.course-section-header h2 {
    margin-bottom: 0.25rem;
}

.course-section-header p {
    margin: 0;
    font-size: 1rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.course-card.featured {
    border-color: var(--accent);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--gold);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.course-level {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.course-level.beginner { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.course-level.intermediate { background: rgba(245, 158, 11, 0.2); color: var(--warning); }
.course-level.advanced { background: rgba(233, 69, 96, 0.2); color: var(--accent); }

.course-duration {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.course-card h3 {
    font-family: 'Onest', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.course-card > p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.course-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.course-curriculum h4 {
    font-family: 'Onest', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.course-curriculum ul {
    margin-bottom: 1rem;
}

.course-curriculum ul li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
}

.course-results {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}

.course-results h4 {
    font-family: 'Onest', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.results-row {
    display: flex;
    gap: 1.5rem;
}

.result-item strong {
    display: block;
    font-size: 1.25rem;
    color: var(--accent);
}

.result-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.course-price small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.course-price strong {
    font-size: 1.25rem;
    color: var(--accent);
}

/* Individual Section */
.individual-section {
    background: linear-gradient(180deg, transparent, rgba(233, 69, 96, 0.03), transparent);
}

.individual-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
}

.individual-content .section-badge {
    display: inline-block;
}

.individual-content h2 {
    text-align: left;
}

.individual-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.ind-feature {
    color: var(--text-secondary);
}

.individual-price {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.individual-price strong {
    color: var(--accent);
    font-size: 1.25rem;
}

.individual-image .image-placeholder {
    aspect-ratio: 1;
}

/* ==========================================
   21. About Page
   ========================================== */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-content .section-badge {
    display: inline-block;
}

.about-intro-content h2 {
    text-align: left;
}

.about-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.about-stat {
    text-align: center;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
}

.about-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
}

.about-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-intro-image {
    position: relative;
}

/* Mission Section */
.mission-section {
    background: rgba(255, 255, 255, 0.02);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.mission-card:hover {
    border-color: var(--accent);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-family: 'Onest', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.mission-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-marker {
    position: absolute;
    left: -50px;
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.timeline-content h3 {
    font-family: 'Onest', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    margin: 0;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-family: 'Onest', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.teacher-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.teacher-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.teacher-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.teacher-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.teacher-social {
    display: flex;
    gap: 0.75rem;
}

.teacher-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.teacher-info {
    padding: 1.5rem;
    text-align: center;
}

.teacher-info h3 {
    font-family: 'Onest', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.teacher-role {
    color: var(--accent);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.75rem;
}

.teacher-bio {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.teacher-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.teacher-tags span {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.team-cta {
    text-align: center;
    margin-top: 3rem;
}

.team-cta p {
    margin-bottom: 1rem;
}

/* Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.achievement-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.achievement-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.achievement-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.achievement-card p {
    font-size: 0.85rem;
    margin: 0;
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.partner-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.partner-item:hover {
    border-color: var(--accent);
}

.partner-logo {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.partner-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================
   22. Contact Page
   ========================================== */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.contact-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--accent);
}

.contact-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-family: 'Onest', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.contact-card-link {
    color: var(--accent);
    font-weight: 500;
}

.contact-card-status {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-card-status.open {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

.contact-info-card,
.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.contact-info-card h3,
.contact-form-card h3 {
    font-family: 'Onest', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-info-card > p,
.contact-form-card > p {
    margin-bottom: 1.5rem;
}

.contact-benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.benefit-icon {
    color: var(--success);
    font-weight: bold;
}

.contact-direct h4 {
    font-family: 'Onest', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.direct-buttons {
    display: flex;
    gap: 0.75rem;
}

.direct-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: var(--transition);
}

.direct-btn span:first-child {
    font-size: 1.5rem;
}

.direct-btn:hover {
    background: var(--accent);
}

/* Social Card */
.social-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
}

.social-card h4 {
    font-family: 'Onest', sans-serif;
    margin-bottom: 0.5rem;
}

.social-card > p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.social-link-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.social-icon {
    font-size: 1.5rem;
}

.social-link-item strong {
    display: block;
    font-size: 0.9rem;
}

.social-link-item small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Contact Form */
.contact-form {
    margin-top: 1rem;
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background: var(--bg-dark);
}

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

.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-item input,
.checkbox-item input {
    width: auto;
    accent-color: var(--accent);
}

.radio-label,
.checkbox-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Map */
.map-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.map-container {
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.map-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.map-icon {
    font-size: 1.5rem;
}

.map-info-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.map-info-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    max-width: 400px;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.modal-content h3 {
    margin-bottom: 0.5rem;
}

.modal-content p {
    margin-bottom: 1.5rem;
}

/* ==========================================
   23. Responsive Design
   ========================================== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .why-us-grid,
    .about-intro-grid,
    .individual-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-image,
    .about-intro-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .map-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card {
        max-width: 100%;
    }
    
    .step-connector {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
    
    .testimonials-more {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .languages-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .float-contact {
        bottom: 5rem;
        right: 1rem;
    }
    
    .scroll-top {
        bottom: 1rem;
        right: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .direct-buttons {
        flex-direction: column;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
}
