:root {
    --primary-color: #007bff;
    --secondary-color: #333;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --danger: #dc3545;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.privacy-container {
    max-width: 1200px;
    margin: 0 auto;    
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
}

.logo img {
    width: 50px;
    height: auto;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(0,123,255,0.1);
}

nav ul li a.active {
    color: var(--primary-color);
    background-color: rgba(0,123,255,0.1);
}

/* Hero (старый селектор оставляем на всякий, но реальный — .hero) */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0 80px;
    margin-bottom: 40px;
}
.hero-section h1 { font-size: 3.5em; margin-bottom: 20px; color: var(--white); }
.hero-section p  { font-size: 1.2em; max-width: 800px; margin: 0 auto 30px; color: rgba(255,255,255,0.9); }

/* Рабочий HERO для текущей страницы */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 80px);
    padding: 6rem 20px 5rem;
    background:
        linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
        url('../images/hero-bg.webp') center/cover no-repeat;
    color: var(--white);
}
.hero .hero-content { width: 100%; max-width: 900px; margin: 0 auto; }
.hero .hero-content h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.15; margin-bottom: 1rem; color: var(--white); }
.hero .hero-content p  { font-size: clamp(1rem, 1.6vw, 1.25rem); margin: 0 auto 1.5rem; max-width: 800px; color: rgba(255,255,255,.9); }
.hero .cta-button { margin-top: .75rem; }

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding-bottom: 80px;
}

/* Sections — единое правило */
section {
    padding: 5rem 2rem;
}
section:nth-child(even) { background-color: var(--light-bg); }

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}
section h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-5px); }
.card-body { padding: 30px; }
.card-title { font-size: 1.5em; margin-bottom: 15px; color: var(--secondary-color); }
.card-text  { color: var(--gray); margin-bottom: 20px; }

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Features */
.feature { text-align: center; padding: 30px; }
.feature i { font-size: 2.5em; color: var(--primary-color); margin-bottom: 20px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 500;
}
.btn:hover { background-color: #0056b3; }

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); }

/* CTA/Buttons */
.cta-button, .button {
    margin-top: 14px;
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s, background-color 0.3s;
    border: none;
    cursor: pointer;
}
.cta-button:hover, .button:hover {
    transform: translateY(-2px);
    background-color: #0056b3; /* выровнено под .btn:hover */
}

/* Courses */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.course-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.course-card:hover { transform: translateY(-5px); }
.course-card img { max-width: 335px; width: 100%; margin-bottom: 1rem; border-radius: 14px; }
.course-card h3 { margin-bottom: 1rem; color: var(--secondary-color); }

/* Trainers */
.trainers { background-color: var(--light-bg); }
.trainer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.trainer-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.trainer-card img { width: 150px; border-radius: 50%; margin-bottom: 1rem; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    color: var(--secondary-color);
    margin: 0 0.5rem;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.social-links a:hover { color: var(--primary-color); }

/* Contact Form */
.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact input, .contact textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
.contact textarea { height: 150px; resize: vertical; }

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-section h4 { font-size: 1.2em; margin-bottom: 20px; color: var(--white); }
.footer-section p  { color: var(--gray); margin-bottom: 10px; }

.social-links { display: flex; gap: 15px; }
.social-links a { color: var(--white); font-size: 1.5em; transition: color 0.3s ease; }
.social-links a:hover { color: var(--primary-color); }

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray);
}

/* Course Hero Section */
.course-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    margin-top: 60px;
}

/* Course Details */
.course-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.course-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.price { font-size: 2rem; color: var(--primary-color); font-weight: bold; }
.course-description { font-size: 1.1rem; color: var(--gray); margin-bottom: 2rem; }

.course-modules { margin-bottom: 2rem; }
.module {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 5px;
}
.module h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.module ul { list-style: none; padding-left: 2rem; }
.module li { margin-bottom: 0.5rem; color: var(--gray); }

.course-benefits { margin-bottom: 2rem; }
.course-benefits ul { list-style: none; }
.course-benefits li {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem;
}
.course-benefits i { color: var(--primary-color); }

.course-sidebar { position: sticky; top: 100px; }
.trainer-preview, .requirements {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}
.trainer-preview img {
    width: 150px; height: 150px; border-radius: 50%; margin: 1rem 0;
}
.requirements ul { list-style: none; }
.requirements li {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--gray);
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.map-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 5px;
}
.map-item img { width: 64px; height: 64px; margin-bottom: 0.5rem; }

/* Forms */
.form-group { margin-bottom: 25px; }
.form-group label {
    display: block; margin-bottom: 8px; color: var(--secondary-color); font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 1em; transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary-color); outline: none;
}
.form-check {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px;
}
.form-check input[type="checkbox"] { margin-top: 5px; }
.form-check label { font-size: 0.9em; color: var(--gray); }

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0; background-color: var(--light-bg); margin-bottom: 40px;
}
.breadcrumbs ul { display: flex; gap: 10px; list-style: none; }
.breadcrumbs a { color: var(--gray); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary-color); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 10px; color: var(--gray); }
.breadcrumbs li:last-child { color: var(--primary-color); }

/* Tabs */
.tabs { display: flex; gap: 10px; margin-bottom: 30px; }
.tab {
    padding: 10px 20px; border: none; background: none; cursor: pointer;
    font-weight: 500; color: var(--gray); border-bottom: 2px solid transparent; transition: all 0.3s ease;
}
.tab:hover { color: var(--primary-color); }
.tab.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }

/* Alerts */
.alert { padding: 15px 20px; border-radius: 5px; margin-bottom: 20px; }
.alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger  { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background-color: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-info    { background-color: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* Progress */
.progress { height: 8px; background-color: var(--light-bg); border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; background-color: var(--primary-color); transition: width 0.3s ease; }

/* Utilities */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; } .mb-5 { margin-bottom: 2.5rem; }
.ml-1 { margin-left: 0.5rem; } .ml-2 { margin-left: 1rem; } .ml-3 { margin-left: 1.5rem; } .ml-4 { margin-left: 2rem; } .ml-5 { margin-left: 2.5rem; }
.mr-1 { margin-right: 0.5rem; } .mr-2 { margin-right: 1rem; } .mr-3 { margin-right: 1.5rem; } .mr-4 { margin-right: 2rem; } .mr-5 { margin-right: 2.5rem; }

.p-1 { padding: 0.5rem; } .p-2 { padding: 1rem; } .p-3 { padding: 1.5rem; } .p-4 { padding: 2rem; } .p-5 { padding: 2.5rem; }

.text-primary   { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-gray      { color: var(--gray); }
.text-white     { color: var(--white); }

.bg-primary   { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light     { background-color: var(--light-bg); }
.bg-white     { background-color: var(--white); }

.d-none { display: none; } .d-block { display: block; } .d-flex { display: flex; } .d-inline-block { display: inline-block; }

.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.rounded { border-radius: 5px; }
.rounded-circle { border-radius: 50%; }

.shadow   { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.shadow-sm{ box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.shadow-lg{ box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.opacity-75 { opacity: 0.75; }
.opacity-50 { opacity: 0.5; }
.opacity-25 { opacity: 0.25; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: translateY(0);} }
.fade-in { animation: fadeIn 0.5s ease-out forwards; }

@keyframes spin { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }
.spin { animation: spin 1s linear infinite; }

/* Media Queries */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.5em; }
    .hero-section p  { font-size: 1.1em; }

    .hero { min-height: 70vh; padding: 4.5rem 16px 3rem; }
    .hero .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .hero .hero-content p  { font-size: 1rem; }

    .grid { grid-template-columns: 1fr; }

    nav { padding: 1rem; }
    nav ul {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--white); padding: 1rem 0; flex-direction: column; text-align: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    nav ul.active { display: flex; }
    nav ul li a { padding: 0.5rem 1rem; display: block; }

    .container { padding: 0 1rem; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    section { padding: 40px 0; }
    .card-body { padding: 20px; }
}

/* Course Package Cards */
.course-packages { background-color: var(--light-bg); padding: 5rem 2rem; }
.packages-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.package-card {
    background: var(--white); border-radius: 10px; padding: 2rem; text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s;
}
.package-card.featured { border: 2px solid var(--primary-color); transform: scale(1.05); }
.package-card:hover { transform: translateY(-5px); }
.package-card h3 { color: var(--secondary-color); margin-bottom: 1rem; }
.package-card .price { font-size: 2.5rem; margin-bottom: 1.5rem; }
.package-card ul { list-style: none; margin-bottom: 2rem; }
.package-card li { margin-bottom: 0.5rem; color: var(--gray); }

/* Page Header */
.page-header {
    text-align: center; padding: 8rem 2rem 4rem; background: var(--secondary-color); color: var(--white);
}
.page-header h1 { font-size: 3rem; margin-bottom: 1rem; }

.course-detailed-card {
    background: var(--white); border-radius: 10px; padding: 2rem; margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
}
.course-detailed-card img { width: 120px; }

.course-content { display: flex; flex-direction: column; gap: 1rem; }
.features { list-style: none; margin: 1rem 0; }
.features li { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.features i  { color: var(--primary-color); }

/* Features Section */
.features { padding: 5rem 2rem; background-color: var(--light-bg); }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.feature-card {
    background: var(--white); padding: 2rem; border-radius: 10px; text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }

/* Statistics Section */
.statistics {
    padding: 5rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
                url('../images/hero-bg.webp') no-repeat;
    background-size: cover; background-position: center; background-attachment: fixed; color: var(--white);
}
.stat-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto; text-align: center;
}
.stat-item { padding: 2rem; }
.stat-number { display: block; font-size: 3rem; font-weight: bold; color: var(--primary-color); margin-bottom: 0.5rem; }
.stat-label  { font-size: 1.2rem; }

/* Testimonials Section */
.testimonials { padding: 5rem 2rem; background-color: var(--light-bg); }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.testimonial-card {
    background: var(--white); border-radius: 10px; padding: 2rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.testimonial-content { text-align: center; }
.testimonial-avatar { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 1rem; }
.testimonial-content p { font-style: italic; margin-bottom: 1rem; color: var(--gray); }
.testimonial-rank { color: var(--primary-color); font-weight: bold; }

/* FAQ Section */
.faq { padding: 5rem 2rem; }
.faq-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.faq-item {
    background: var(--white); border-radius: 10px; padding: 2rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.faq-item h3 {
    gap: 0.5rem; margin-bottom: 1rem; color: var(--secondary-color);
}
.faq-item i { color: var(--primary-color); }

/* News Section */
.news { padding: 5rem 2rem; background-color: var(--light-bg); }
.news-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.news-card {
    background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-content { padding: 1.5rem; }
.news-date { display: block; color: var(--gray); font-size: 0.9rem; margin-top: 1rem; }

/* Course Highlights */
.course-highlights { margin: 3rem 0; }
.highlights-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; margin-top: 2rem;
}
.highlight-card {
    text-align: center; padding: 2rem; background: var(--light-bg); border-radius: 10px; transition: transform 0.3s;
}
.highlight-card:hover { transform: translateY(-5px); }
.highlight-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; margin-right: 11px; }
.highlight-card h4 { margin-bottom: 0.5rem; color: var(--secondary-color); }

/* Course Stats */
.course-stats {
    margin: 3rem 0; padding: 2rem; color: var(--white);
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
                url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover; background-position: center; border-radius: 10px;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; text-align: center;
}
.stat-box { padding: 2rem; background: rgba(255, 255, 255, 0.1); border-radius: 10px; }

/* Course Tools */
.course-tools { margin: 3rem 0; }
.tools-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; margin-top: 2rem;
}
.tool-card {
    text-align: center; padding: 2rem; background: var(--white); border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s;
}
.tool-card:hover { transform: translateY(-5px); }
.tool-card img { width: 80px; margin-bottom: 1rem; }

/* Course Timeline */
.course-timeline { margin: 3rem 0; }
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
    content: ''; position: absolute; left: 50%; transform: translateX(-50%);
    width: 2px; height: 100%; background-color: var(--primary-color);
}
.timeline-item { position: relative; margin-bottom: 2rem; padding-left: 50%; }
.timeline-item:nth-child(even) { padding-left: 0; padding-right: 50%; }
.timeline-dot {
    position: absolute; left: 50%; transform: translateX(-50%);
    width: 20px; height: 20px; background-color: var(--primary-color); border-radius: 50%;
}
.timeline-content {
    background: var(--white); padding: 1.5rem; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); margin-left: 2rem;
}
.timeline-item:nth-child(even) .timeline-content { margin-left: 0; margin-right: 2rem; }

/* Success Stories */
.success-stories { margin: 3rem 0; }
.stories-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; margin-top: 2rem;
}
.story-card {
    display: flex; align-items: center; gap: 1.5rem; padding: 2rem; background: var(--light-bg); border-radius: 10px;
}
.story-card img { width: 80px; height: 80px; border-radius: 50%; }
.story-content p { font-style: italic; margin-bottom: 0.5rem; }
.rank-badge { display: inline-block; padding: 0.25rem 0.75rem; background-color: var(--primary-color); color: var(--white); border-radius: 20px; font-size: 0.9rem; }

/* Guarantee */
.guarantee {
    display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; color: var(--gray);
}
.guarantee i { color: var(--primary-color); font-size: 1.5rem; }

/* Tournaments Section */
.tournaments { padding: 5rem 2rem; background-color: var(--light-bg); }
.tournaments-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.tournament-card {
    background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s;
}
.tournament-card:hover { transform: translateY(-5px); }
.tournament-header {
    position: relative; padding: 2rem; color: var(--white); text-align: center;
    background: linear-gradient(rgb(15 25 35 / 0%), rgb(15 25 35 / 0%)), url(../images/prize-1.webp);
    background-size: cover; background-position: center;
}
.tournament-header img { width: 80px; height: 80px; margin-bottom: 1rem; }
.tournament-prize { background: var(--primary-color); padding: 0.5rem 1rem; border-radius: 20px; display: inline-block; }
.prize-amount { font-size: 1.2rem; font-weight: bold; display: block; }
.tournament-info { padding: 2rem; }
.tournament-date, .tournament-format {
    color: var(--gray); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem;
}
.tournament-status {
    display: none; padding: 0.25rem 1rem; background: var(--primary-color); color: var(--white); border-radius: 20px; margin: 1rem 0;
}

/* Rankings Section */
.rankings { padding: 5rem 2rem; }
.rankings-container { max-width: 800px; margin: 0 auto; }
.ranking-table {
    background: var(--white); border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); overflow: hidden;
}
.ranking-header { background: var(--secondary-color); color: var(--white); padding: 1.5rem; text-align: center; }
.ranking-item {
    display: flex; align-items: center; padding: 1rem 2rem; border-bottom: 1px solid #eee;
}
.ranking-item:last-child { border-bottom: none; }
.rank { font-size: 1.5rem; font-weight: bold; width: 50px; }
.ranking-item img { width: 50px; height: 50px; border-radius: 50%; margin-right: 1rem; }
.player-info { flex-grow: 1; }
.player-stats { font-size: 0.9rem; color: var(--gray); }
.rank-badge i { font-size: 1.5rem; }
.rank-badge .gold { color: #FFD700; } .rank-badge .silver { color: #C0C0C0; } .rank-badge .bronze { color: #CD7F32; }

/* Streaming Section */
.streaming { padding: 5rem 2rem; background-color: var(--light-bg); }
.streams-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.stream-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.stream-preview { position: relative; padding-top: 56.25%; background: var(--secondary-color); }
.stream-preview img {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%;
}
.live-badge {
    position: absolute; top: 1rem; right: 1rem; background: #ff0000; color: var(--white);
    padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-weight: bold;
}
.stream-info { padding: 1.5rem; }
.streamer-info { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.streamer-info img { width: 30px; height: 30px; border-radius: 50%; }
.viewer-count { margin-left: auto; color: var(--gray); }

/* Workshop Section */
.workshop { padding: 5rem 2rem; }
.workshop-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.workshop-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.workshop-card.featured { border: 2px solid var(--primary-color); transform: scale(1.05); }
.workshop-content { padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.workshop-date { text-align: center; padding: 1rem; background: var(--primary-color); color: var(--white); border-radius: 10px; width: 80px; }
.workshop-date .month { font-size: 0.8rem; display: block; }
.workshop-date .day   { font-size: 1.5rem; font-weight: bold; display: block; }
.workshop-details { list-style: none; margin-top: 1rem; }
.workshop-details li { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--gray); }

/* Partners Section */
.partners { padding: 5rem 2rem; background-color: var(--light-bg); }
.partners-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.partner-card {
    background: var(--white); padding: 2rem; border-radius: 10px; text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s;
}
.partner-card:hover { transform: translateY(-5px); }
.partner-card img { width: 100px; height: 100px; margin-bottom: 1rem; }
.partner-discount {
    display: inline-block; margin-top: 1rem; padding: 0.5rem 1rem; background: var(--primary-color);
    color: var(--white); border-radius: 20px; font-size: 0.9rem;
}

/* Courses Page Specific Styles */
.courses-page { background-color: var(--light-bg); }

/* !!! Убрана вторая .container (дубликат). Остаётся глобальная .container сверху. */

/* Courses Hero */
.courses-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover; background-position: center;
    height: 400px; display: flex; align-items: center; justify-content: center; text-align: center;
    color: var(--white); margin-top: 60px;
}
.courses-hero-content { max-width: 800px; padding: 2rem; }
.courses-hero h1 { font-size: 3rem; margin-bottom: 1rem; }

.hero-search {
    display: flex; justify-content: center; gap: 1rem;
    max-width: 500px; margin: 2rem auto 0;
}
.hero-search input {
    width: 100%; padding: 1rem; border: none; border-radius: 5px; font-size: 1rem;
}
.hero-search button {
    background: var(--primary-color); color: var(--white); border: none; border-radius: 5px;
    padding: 0 1.5rem; cursor: pointer; transition: background-color 0.3s;
}
.hero-search button:hover { background-color: #0056b3; }

/* Course Categories */
.course-categories {
    background: var(--white); padding: 1rem 0; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky; top: 60px; z-index: 100;
}
.category-tabs { display: flex; justify-content: center; gap: 1rem; padding: 1rem 0; }
.tab-btn {
    background: none; border: none; padding: 0.75rem 1.5rem; cursor: pointer;
    font-weight: 500; color: var(--gray); transition: all 0.3s; border-radius: 25px;
}
.tab-btn:hover { color: var(--primary-color); }
.tab-btn.active { background: var(--primary-color); color: var(--white); }

/* Featured Courses */
.featured-courses { padding: 4rem 0; background: var(--white); }
.courses-row { margin-top: 2rem; }
.course-box {
    background: var(--white); border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: transform 0.3s;
}
.course-box:hover { transform: translateY(-5px); }
.course-box.featured { border: 2px solid var(--primary-color); }
.course-image {
    position: relative; height: 200px; background: var(--light-bg);
    display: flex; align-items: center; justify-content: center;
}
.course-image img { width: 100px; height: 100px; object-fit: contain; }
.course-badge {
    position: absolute; top: 1rem; right: 1rem; background: var(--primary-color); color: var(--white);
    padding: 0.5rem 1rem; border-radius: 25px; font-size: 0.9rem;
}
.course-content { padding: 2rem; }
.course-meta {
    display: flex; gap: 1.5rem; margin: 1rem 0; color: var(--gray); font-size: 0.9rem;
}
.course-meta span { display: flex; align-items: center; gap: 0.5rem; }
.course-price { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; }
.price { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); }

/* Course Features */
.course-features ul { list-style: none; margin: 1rem 0; }
.course-features li {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--gray);
}
.course-features i { color: var(--primary-color); }

/* Difficulty Badges */
.difficulty { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 25px; font-size: 0.9rem; font-weight: 500; }
.beginner     { background: #e3fcef; color: #00a651; }
.intermediate { background: #fff4e5; color: #ff9800; }
.advanced     { background: #ffe3e3; color: #ff4654; }

/* Responsive Design */
@media (max-width: 768px) {
    nav { flex-direction: column; gap: 1rem; }
    nav ul { flex-direction: column; text-align: center; gap: 1rem; }

    .hero h1 { font-size: 2.5rem; }
    .hero p  { font-size: 1.2rem; }

    .course-detailed-card { grid-template-columns: 1fr; text-align: center; }
    .course-detailed-card img { margin: 0 auto; }

    .stat-number { font-size: 2.5rem; }
    .stat-label  { font-size: 1rem; }

    .testimonial-card { padding: 1.5rem; }
    .news-card img { height: 150px; }

    .timeline::before { left: 0; transform: none; }
    .timeline-item, .timeline-item:nth-child(even) { padding-left: 2rem; padding-right: 0; }
    .timeline-dot { left: 0; transform: none; }
    .timeline-content, .timeline-item:nth-child(even) .timeline-content { margin-left: 2rem; margin-right: 0; }

    .story-card { flex-direction: column; text-align: center; }

    .courses-hero h1 { font-size: 2rem; }
    .category-tabs { flex-wrap: wrap; }
    .tab-btn { width: calc(50% - 0.5rem); text-align: center; }

    .course-meta { flex-direction: column; gap: 0.5rem; }
    .course-price { flex-direction: column; gap: 1rem; text-align: center; }
}

.footer-nav,
.footer-policies {
    list-style: none;
    color: #fff;
}

.footer-nav a,
.footer-policies a,
.footer-section p {
    color: #fff !important;
}