/* ==============================
   CSS Variables
   ============================== */
:root {
    --primary-color: #0f172a;
    --primary-light: #1e293b;
    --accent-color: #f97316;
    --accent-hover: #ea580c;
    --accent-2: #6366f1;
    --accent-glow: rgba(249,115,22,0.35);
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --bg-main: #ffffff;
    --bg-light: #f1f5f9;
    --bg-card: #ffffff;
    --font-main: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 40px -5px rgb(0 0 0 / 0.15), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 30px rgba(249,115,22,0.25);
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s ease;
    --transition-slow: 0.6s ease;
}

/* ==============================
   Reset & Base
   ============================== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { color: var(--primary-color); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.bg-light { background-color: var(--bg-light); }
.text-white { color: white !important; }

/* ==============================
   Scroll Progress Bar
   ============================== */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-color), #f59e0b, var(--accent-2));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ==============================
   Toast Notification
   ============================== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: linear-gradient(135deg,#22c55e,#16a34a); }
.toast.error { background: linear-gradient(135deg,#ef4444,#dc2626); }

/* ==============================
   Back to Top Button
   ============================== */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--accent-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    z-index: 9997;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
#back-to-top:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 30px var(--accent-glow); }

/* ==============================
   Floating Telegram Button
   ============================== */
.float-telegram {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #229ED9, #1A85B7);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(34,158,217,0.4);
    z-index: 9996;
    transition: all var(--transition-normal);
    animation: floatPulse 2.5s ease-in-out infinite;
}
.float-telegram:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(34,158,217,0.5);
}
@keyframes floatPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.float-telegram .tooltip {
    position: absolute;
    right: 60px;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}
.float-telegram:hover .tooltip { opacity: 1; }

/* ==============================
   Section Badge & Header
   ============================== */
.section-badge {
    display: inline-block;
    padding: 0.3rem 1.1rem;
    background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(249,115,22,0.06));
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(249,115,22,0.2);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* ==============================
   Buttons
   ============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background var(--transition-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(249,115,22,0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249,115,22,0.45);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
    background-color: transparent;
    border-color: rgba(100,116,139,0.4);
    color: var(--text-main);
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(249,115,22,0.05);
}

.btn-large { padding: 1rem 2.25rem; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }

/* ==============================
   Navigation
   ============================== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
.navbar--hidden { transform: translateY(-100%); }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo { display: flex; align-items: center; gap: 0.75rem; }

.nav-logo-img, .footer-logo-img {
    height: 58px; width: auto; object-fit: contain;
}

.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-title {
    font-size: 1.65rem; font-weight: 800;
    color: var(--primary-color);
    line-height: 1; letter-spacing: -0.5px;
}
.logo-subtitle {
    font-size: 0.68rem;
    color: var(--accent-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 2px;
}
.footer-logo .logo-title { color: white; }
.footer-logo .logo-subtitle { color: rgba(255,255,255,0.65); }

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 2px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: width var(--transition-fast);
}
.nav-links a:hover { color: var(--accent-color); }
.nav-links a:hover::after { width: 100%; }

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

/* Lang Switcher */
.lang-switcher { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 0.45rem;
    background: rgba(15,23,42,0.05);
    border: 1.5px solid rgba(15,23,42,0.1);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-full);
    font-weight: 700; font-size: 0.875rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
}
.lang-btn:hover {
    background: rgba(249,115,22,0.08);
    border-color: rgba(249,115,22,0.35);
    color: var(--accent-color);
}
.lang-flag { font-size: 1.05rem; line-height: 1; }
.lang-code { letter-spacing: 0.5px; font-weight: 700; }
.lang-arrow { font-size: 0.65rem; transition: transform var(--transition-fast); margin-left: 2px; }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px); right: 0;
    background: #fff;
    min-width: 145px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgb(0 0 0 / 0.14);
    border: 1px solid rgba(15,23,42,0.07);
    padding: 0.4rem;
    display: flex; flex-direction: column; gap: 0.15rem;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
    z-index: 1010;
}
.lang-switcher.open .lang-dropdown {
    opacity: 1; visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    border: none; background: transparent; width: 100%;
    text-align: left; font-size: 0.875rem; font-weight: 500;
    color: var(--text-main);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.lang-option:hover { background: var(--bg-light); color: var(--accent-color); }
.lang-option.active { background: rgba(249,115,22,0.09); color: var(--accent-color); font-weight: 700; }

.mobile-menu-btn {
    display: none; background: none; border: none;
    font-size: 1.5rem; color: var(--primary-color); cursor: pointer;
    padding: 0.25rem;
}

/* ==============================
   Hero Section
   ============================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 76px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

.hero-bg {
    position: absolute;
    inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    opacity: 0.18;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(15,23,42,0.97) 0%,
        rgba(15,23,42,0.85) 45%,
        rgba(99,102,241,0.15) 100%);
}

.hero-content {
    position: relative; z-index: 1;
    max-width: 820px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(249,115,22,0.12);
    border: 1px solid rgba(249,115,22,0.25);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    color: #fba663;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero-eyebrow i { font-size: 0.8rem; }

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
}

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

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-actions .btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: white;
}
.hero-actions .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item { display: flex; flex-direction: column; }
.hero-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Wave divider */
.wave-divider {
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%; overflow: hidden;
    line-height: 0;
}
.wave-divider svg { display: block; width: 100%; }

/* ==============================
   About Section
   ============================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image { position: relative; }
.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.2);
}

.stats-card {
    position: absolute;
    bottom: -2rem; right: -2rem;
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    display: flex; gap: 2.5rem;
    border: 1px solid rgba(0,0,0,0.04);
}
.stat { display: flex; flex-direction: column; }
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-top: 0.3rem; }

.about-content h2 { font-size: clamp(1.8rem,3vw,2.5rem); margin-bottom: 1.25rem; }
.about-content p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; }

.about-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.about-list li {
    display: flex; align-items: center; gap: 0.85rem;
    font-weight: 600; color: var(--primary-color);
    font-size: 0.95rem;
}
.about-list i {
    color: var(--accent-color);
    font-size: 1.1rem;
    background: rgba(249,115,22,0.1);
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

/* ==============================
   Classes Section
   ============================== */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.class-card {
    background: var(--bg-card);
    padding: 2.25rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #f59e0b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.class-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.class-card:hover::before { transform: scaleX(1); }

.class-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(249,115,22,0.12), rgba(249,115,22,0.06));
    color: var(--accent-color);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}
.class-card:hover .class-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

.class-card h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.class-desc { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.93rem; line-height: 1.7; }

.class-details {
    display: flex; flex-direction: column; gap: 0.6rem;
    margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--text-muted);
}
.class-details > span { display: flex; align-items: center; gap: 0.5rem; }

.badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    font-weight: 700; font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-advanced { background: #fee2e2; color: #dc2626; }
.badge-intermediate { background: #fef3c7; color: #d97706; }
.badge-beginner { background: #dcfce7; color: #16a34a; }
.badge-all { background: #ede9fe; color: #7c3aed; }

/* ==============================
   Features / Why Us
   ============================== */
.features {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.features .section-header h2 { color: white; }
.features .section-header p { color: rgba(255,255,255,0.55); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    position: relative;
}

.feature-box {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,115,22,0.08) 0%, rgba(99,102,241,0.08) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}
.feature-box:hover { border-color: rgba(249,115,22,0.3); transform: translateY(-6px); }
.feature-box:hover::before { opacity: 1; }

.feature-icon {
    width: 68px; height: 68px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border-radius: var(--radius-xl);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 25px rgba(249,115,22,0.3);
    transition: all var(--transition-normal);
    position: relative;
}
.feature-box:hover .feature-icon { transform: scale(1.1) rotate(-5deg); }

.feature-box h4 { font-size: 1.15rem; margin-bottom: 0.85rem; color: white; }
.feature-box p { color: rgba(255,255,255,0.55); font-size: 0.93rem; line-height: 1.7; }

/* ==============================
   Teachers Section
   ============================== */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.75rem;
}

.teacher-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
    group: true;
}
.teacher-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }

.teacher-img-wrapper {
    height: 260px;
    overflow: hidden;
    position: relative;
}
.teacher-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
}
.teacher-img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    transition: transform 0.6s ease;
}
.teacher-card:hover .teacher-img { transform: scale(1.06); }

.teacher-info { padding: 1.5rem 1.75rem 1.75rem; text-align: center; }
.teacher-info h3 { margin-bottom: 0.3rem; font-size: 1.15rem; }
.teacher-subject {
    display: inline-block;
    background: rgba(249,115,22,0.1);
    color: var(--accent-color);
    font-weight: 700; font-size: 0.78rem;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.teacher-bio { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; }

/* ==============================
   Testimonials
   ============================== */
.testimonials { background: var(--bg-light); }

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

.testimonial-card {
    background: white;
    padding: 2.25rem;
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition-normal);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.stars {
    display: flex; gap: 0.25rem;
    margin-bottom: 1.25rem;
}
.stars i { color: #f59e0b; font-size: 0.9rem; }

.quote-icon {
    color: rgba(249,115,22,0.15);
    font-size: 3.5rem;
    position: absolute;
    top: 1.5rem; right: 2rem;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative; z-index: 1;
    color: var(--text-main);
    line-height: 1.75;
}

.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-2));
    color: white;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem;
    flex-shrink: 0;
}
.author-info strong { display: block; color: var(--primary-color); font-size: 0.95rem; }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ==============================
   CTA Banner
   ============================== */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f59e0b 50%, var(--accent-hover) 100%);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.07' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
}

.cta-container { position: relative; z-index: 1; }
.cta-banner h2 { color: white; font-size: clamp(2rem,4vw,2.75rem); margin-bottom: 1rem; }
.cta-banner p { font-size: 1.15rem; color: rgba(255,255,255,0.88); margin-bottom: 2.25rem; }
.cta-banner .btn-primary {
    background: white;
    color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.cta-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* ==============================
   Contact Section
   ============================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 { font-size: clamp(1.75rem,3vw,2.25rem); margin-bottom: 0.75rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 0; line-height: 1.7; }

.contact-details { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.contact-details li {
    display: flex; gap: 1.25rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}
.contact-details li:hover { background: var(--bg-light); }
.contact-details i {
    color: var(--accent-color); font-size: 1.3rem;
    margin-top: 0.2rem;
    background: rgba(249,115,22,0.1);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-md); flex-shrink: 0;
}
.contact-details strong { display: block; margin-bottom: 0.2rem; font-size: 0.95rem; }
.contact-details p { color: var(--text-muted); font-size: 0.9rem; }

.contact-form {
    background: white;
    padding: 2.75rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.04);
}
.contact-form h3 { margin-bottom: 1.75rem; font-size: 1.5rem; }

.form-group { margin-bottom: 1.35rem; }
.form-group label {
    display: block; margin-bottom: 0.5rem;
    font-weight: 600; font-size: 0.9rem;
    color: var(--primary-color);
}
.required-star { color: #ef4444; font-weight: 700; margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: inherit; font-size: 0.95rem;
    color: var(--primary-color);
    background: #fafafa;
    transition: all var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(249,115,22,0.08);
}

/* ==============================
   Footer
   ============================== */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding-top: 4.5rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249,115,22,0.5), transparent);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p { color: rgba(255,255,255,0.55); margin: 1.5rem 0; max-width: 300px; line-height: 1.7; font-size: 0.9rem; }

.social-links { display: flex; gap: 0.75rem; }
.social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.06);
}
.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249,115,22,0.35);
}

.footer-links h4 { color: white; margin-bottom: 1.5rem; font-size: 1rem; }
.footer-links ul li { margin-bottom: 0.7rem; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: all var(--transition-fast); }
.footer-links a:hover { color: var(--accent-color); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
}

/* ==============================
   Animations & Reveals
   ============================== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

.fade-in-up {
    animation: fadeInUp 0.9s ease forwards;
    opacity: 0;
}

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

.delay-1 { animation-delay: 0.15s; transition-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; transition-delay: 0.45s; }

/* ==============================
   Responsive Design
   ============================== */
@media (max-width: 992px) {
    .about-container, .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .stats-card { right: 0; bottom: -1rem; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .section { padding: 4.5rem 0; }
    .hero-content h1 { font-size: 2.6rem; }
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .nav-actions { gap: 0.75rem; }
    .lang-btn { padding: 0.35rem 0.65rem; font-size: 0.8rem; }

    .nav-links.active {
        display: flex; flex-direction: column;
        position: absolute; top: 76px; left: 0; width: 100%;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px);
        padding: 1.5rem 2rem;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        gap: 0;
    }
    .nav-links.active li { border-bottom: 1px solid rgba(0,0,0,0.05); }
    .nav-links.active a { padding: 0.85rem 0; display: block; }

    .hero-actions { flex-direction: column; }
    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .footer-container { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .float-telegram { bottom: 6.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero-content h1 { font-size: 2rem; }
    .stats-card { position: static; margin-top: 1.5rem; justify-content: center; }
    .contact-form { padding: 1.75rem; }
}
