  /* ========== БАЗОВІ СТИЛІ ========== */
        /* ТУТ ви можете змінити основні кольори сайту */
        :root {
            --primary-color: #2d5a27;     /* Основний зелений колір - змініть тут для іншого головного кольору */
            --secondary-color: #f4f7f1;   /* Світло-зелений фон - змініть для іншого фонового кольору */
            --accent-color: #c9a96e;       /* Золотистий акцент - змініть для акцентного кольору */
            --text-dark: #333;             /* Темний текст */
            --text-light: #666;            /* Світлий текст */
            --white: #ffffff;
        }

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

        body {
            font-family: 'Montserrat', 'Arial', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--white);
        }

        /* ========== ХЕДЕР (ВЕРХНЯ ЧАСТИНА) ========== */
        /* Тут налаштовується верхнє меню та логотип */
        header {
            background: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 5%;
            max-width: 1200px;
            margin: 0 auto;
            gap: 3rem;
        }

        .logo { order: 1; }
        .nav-links { order: 2; }
        .header-right { order: 3; }
        .burger-btn { order: 4; }
		
		.logo a {
    color: var(--primary-color); /* Залишаємо оригінальний зелений колір */
    text-decoration: none; /* Прибираємо підкреслення */
    font-size: 1.5rem;
    font-weight: bold;
    transition: opacity 0.3s; /* Додаємо плавний ефект */
}

.logo a:hover {
    opacity: 0.8; /* Легке затемнення при наведенні */
    color: var(--primary-color); /* Залишаємо той же колір при ховері */
}

.logo a:visited {
    color: var(--primary-color); /* Залишаємо колір навіть після відвідування */
}

.logo a:active {
    color: var(--primary-color); /* Залишаємо колір при натисканні */
}
		
		/* ПРАВА ЧАСТИНА ХЕДЕРА */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ========== ПЕРЕМИКАЧ МОВ ========== */
.language-switcher select {
    background: var(--secondary-color);
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
}

.language-switcher select:hover {
    background: #e8efe5;
}

.language-switcher select:focus {
    border-color: var(--primary-color);
}

/* ========== СОЦІАЛЬНІ МЕРЕЖІ ========== */
.social-bar {
    background: var(--secondary-color);
    padding: 0.5rem 5%;
    border-bottom: 1px solid #e0e0e0;
}

.social-links {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* КОЛЬОРИ ДЛЯ СОЦМЕРЕЖ */
.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-link.tiktok:hover {
    background: #000;
    color: white;
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: white;
}

        /* ЛОГОТИП - змініть текст та стилі тут */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    transition: opacity 0.3s;
    white-space: nowrap; /* Запобігає переносу на новий рядок */
    flex-shrink: 0; /* Запобігає стисканню логотипу */
}

        /* МЕНЮ НАВІГАЦІЇ - додайте/видаліть пункти меню тут */
        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: color 0.3s;
        }

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

        /* КНОПКА ВХОДУ */
        .login-btn {
            background: var(--primary-color);
            color: var(--white);
            padding: 0.5rem 1.5rem;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 500;
            transition: background 0.3s;
        }

        .login-btn:hover {
            background: #1e3f1a;
        }

        /* ========== ГОЛОВНИЙ БЛОК (HERO SECTION) ========== */
        .hero {
            background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
            padding: 140px 5% 50px; /* ЗМЕНШЕНО з 80px до 50px знизу */
            text-align: center;
            min-height: 60vh; /* ЗМЕНШЕНО з 80vh до 60vh */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-content {
            max-width: 800px;
        }

        /* ГОЛОВНИЙ ЗАГОЛОВОК - змініть текст в HTML нижче */
        .hero h1 {
            font-size: 2rem; /* ЗМЕНШЕНО з 3rem на третину */
            color: var(--primary-color);
            margin-bottom: 0.7rem; /* ЗМЕНШЕНО з 1rem */
            line-height: 1.2;
        }

        /* ПІДЗАГОЛОВОК */
        .hero p {
            font-size: 0.8rem;
            color: var(--text-light);
            margin-bottom: 1.5rem;
        }

        /* КНОПКА РЕЄСТРАЦІЇ */
        .cta-button {
            background: var(--accent-color);
            color: var(--white);
            padding: 0.7rem 1.5rem; /* ЗМЕНШЕНО з 1rem 2rem */
            border: none;
            border-radius: 30px;
            font-size: 0.9rem; /* ЗМЕНШЕНО з 1.1rem */
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(201, 169, 110, 0.4);
        }

        /* ========== ПЕРЕВАГИ ========== */
        /* Блок з перевагами навчання */
        .benefits {
            padding: 20px 5%;
            background: var(--white);
        }

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

        .section-title {
            text-align: center;
            font-size: 1.8rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
			margin-top: 1.5rem; 
        }

        /* КАРТКА ПЕРЕВАГИ - додайте нові картки в HTML */
        .benefit-card {
            background: var(--secondary-color);
            padding: 1.5rem;
            border-radius: 15px;
            text-align: center;
            transition: transform 0.3s;
        }

        .benefit-card:hover {
            transform: translateY(-5px);
        }

        .benefit-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--accent-color);
        }

        .benefit-card h3 {
            font-size: 1.2rem;
            color: var(--primary-color);
            margin-bottom: 0.8rem;
        }

        /* ========== ПОПУЛЯРНІ КУРСИ ========== */
        .courses {
            padding: 80px 5%;
            background: var(--secondary-color);
        }

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

        /* КАРТКА КУРСУ */
        .course-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

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

        .course-image {
            height: 120px;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 3rem;
        }
		
		.course-icon {
            font-size: 2.5rem; /* ЗМЕНШЕНО з 4rem до 2.5rem */
            margin-bottom: 0.3rem; /* ЗМЕНШЕНО з 0.5rem */
        }

        .course-content {
            padding: 1.2rem;
        }

        .course-card h3 {
            color: var(--primary-color);
			font-size: 1.2rem;
            margin-bottom: 0.3rem;
        }

        .course-price {
            color: var(--accent-color);
            font-size: 1.2rem;
            font-weight: bold;
            margin: 1rem 0;
        }

        .course-btn {
            background: var(--primary-color);
            color: var(--white);
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            width: 100%;
            transition: background 0.3s;
        }

        .course-btn:hover {
            background: #1e3f1a;
        }

        /* ========== СТАТИСТИКА ========== */
        .stats {
            padding: 30px 5%;
            background: var(--primary-color);
            color: var(--white);
            text-align: center;
			margin: 0;
        }
		
		.stats h2 {
            font-size: 1.8rem; /* ЗМЕНШЕНИЙ заголовок */
            margin-bottom: 1rem; /* ЗМЕНШЕНИЙ відступ знизу */
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
			margin-top: 1rem;
        }

        .stat-item h3 {
            font-size: 2rem;
            color: var(--accent-color);
            margin-bottom: 0.3rem;
        }
	
		/* ========== ОНОВЛЕНИЙ ФУТЕР ========== */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 5% 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* НИЖНЯ ЧАСТИНА ФУТЕРА */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid #555;
    flex-wrap: wrap;
    gap: 1rem;
}

/* КОПІРАЙТ ЗЛІВА */
.footer-copyright {
    flex: 1;
}

.footer-copyright p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.footer-contact {
    color: #ccc;
    font-size: 0.8rem !important;
}

/* МЕТОДИ ОПЛАТИ СПРАВА */
.payment-methods {
    text-align: right;
}

.payment-label {
    display: block;
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.payment-icon {
    background: var(--white);
    color: var(--text-dark);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
    min-width: 45px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-logo{
    height:24px;
    width:auto;
    display:block;
}

/* КОЛЬОРИ ДЛЯ РІЗНИХ ПЛАТІЖНИХ СИСТЕМ */
.payment-icon.visa {
    background: #1a1f71;
    color: white;
}

.payment-icon.mastercard {
    background: #eb001b;
    color: white;
}

.payment-icon.paypal {
    background: #0070ba;
    color: white;
}

.payment-icon.apple-pay {
    background: #000;
    color: white;
}

.payment-icon.google-pay {
    background: #4285f4;
    color: white;
}

        /* ========== СЕКЦІЯ З ВІДЕО ========== */
.video-section {
    padding: 20px 5%;
    background: var(--secondary-color);
	margin-top: 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.video-container {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container video,
.video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;;
    object-fit: cover;
    display: block;
}

/* ========== АНІМАЦІЯ СТАТИСТИКИ ========== */
.stat-item h3 {
    transition: transform 0.3s ease;
}

/* Ефект при ховері */
.stat-item:hover h3 {
    transform: scale(1.1);
    color: #f4f7f1; /* Світліший колір при наведенні */
}

/* Плавна поява секції статистики */
.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* ========== МОДАЛЬНЕ ВІКНО ДЛЯ ВІДЕО ========== */
.video-modal {
    display: none; /* Спочатку приховане */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8); /* Темний фон */
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
}

.video-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: -40px;
}

.video-close:hover {
    color: #ccc;
}

#videoPlayer {
    width: 100%;
    height: 450px;
    background: black;
    border-radius: 10px;
    overflow: hidden;
}

/* ========== КУРСОР ДЛЯ ВІДЕО ========== */
.video-placeholder {
    cursor: pointer; /* Робить курсор рукою */
    transition: all 0.3s ease; /* Плавний перехід */
}

.video-placeholder:hover {
    transform: scale(1.02); /* Легке збільшення при наведенні */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Тінь при ховері */
}

.play-button {
    cursor: pointer; /* Курсор-рука для кнопки відтворення */
}

/* Також для всіх елементів з onclick */
[onclick] {
    cursor: pointer; /* Загальне правило для всіх кликабельних елементів */
}


/* ========== КОНТАКТИ (ДОДАТИ В КІНЕЦЬ styles.css) ========== */

.contacts-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 2rem auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    text-align: center;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.messengers h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

.messenger-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.messenger-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
}

.messenger-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* КОЛЬОРИ МЕСЕНДЖЕРІВ */
.messenger-btn[href*="t.me"] {
    background: #0088cc; /* Telegram - блакитний */
}

.messenger-btn[href*="wa.me"] {
    background: #25d366; /* WhatsApp - зелений */
}

.messenger-btn[href*="viber"] {
    background: #665cac; /* Viber - фіолетовий */
}

.messenger-icon {
    font-size: 1.2rem;
}

.messenger-btn span:nth-child(2) {
    font-weight: 500;
}

.messenger-btn small {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    margin-left: auto;
}

.messenger-btn:hover small {
    color: rgba(255,255,255,0.9);
}

.call-action {
    text-align: center;
    margin: 3rem 0 2rem;
}

/* ========== ДОГОВІР ПУБЛІЧНОЇ ОФЕРТИ (ДОДАТИ В КІНЕЦЬ styles.css) ========== */

.terms-content {
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.7;
}

.terms-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.terms-section h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.terms-section p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.terms-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.terms-section li {
    color: var(--text-dark);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

.terms-contact {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.terms-contact h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.terms-contact p {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: var(--text-dark);
}

/* СТИЛІ ДЛЯ СТОРІНКИ ABOUT - БЕЗ КОНФЛІКТІВ */

/* Основний контейнер - додаємо відступ для хедера */
.about-page {
   padding-top: 120px; /* для фіксованого хедера */
   max-width: 800px;
   margin: 0 auto;
   padding-left: 1rem;
   padding-right: 1rem;
}



/* Контентні блоки */
.about-content {
   background: white;
   border-radius: 15px;
   padding: 2rem;
   margin-bottom: 1.5rem;
   box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Сітка для цінностей */
.mission-values {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 1.5rem;
   margin: 1.5rem 0;
}

/* Елементи цінностей */
.value-item {
   background: var(--secondary-color);
   padding: 1.5rem;
   border-radius: 10px;
   text-align: center;
}

.value-item h4 {
   color: var(--primary-color);
   margin-bottom: 0.8rem;
}

        /* ДОДАТКОВІ СТИЛІ ТІЛЬКИ ДЛЯ СТОРІНКИ КОНФІДЕНЦІЙНОСТІ */
        /* ЩО ЗМІНЮЄ: розташування та відступи специфічно для privacy.html */
        .privacy-page {
            max-width: 800px;
            margin: 2rem auto;
            padding: 0 1rem;
        }
        
        /* ЩО ЗМІНЮЄ: стилізує заголовок сторінки */
        .privacy-header {
            text-align: center;
            margin-bottom: 2rem;
            padding: 2rem;
            background: var(--secondary-color);
            border-radius: 15px;
        }
        
        /* ЩО ЗМІНЮЄ: оформлення контентних блоків */
        .privacy-content {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        /* ЩО ЗМІНЮЄ: виділяє важливу інформацію */
        .highlight-box {
            background: var(--secondary-color);
            padding: 1.5rem;
            border-radius: 10px;
            margin: 1rem 0;
            border-left: 4px solid var(--primary-color);
        }
		
		/* ===== ЗБІЛЬШЕННЯ ФОТО ПРИ КЛІКУ ===== */
        .before-after-image {
            cursor: zoom-in;
            transition: transform 0.3s ease;
            /* cursor: zoom-in — курсор міняється на лупу при наведенні */
            /* transition — плавне збільшення/зменшення за 0.3 секунди */
        }

        .before-after-image.zoomed {
            transform: scale(2);
            cursor: zoom-out;
            position: relative;
            z-index: 100;
            /* transform: scale(2) — збільшує вдвічі */
            /* z-index: 100 — збільшене фото поверх інших елементів */
        }
		
        /* ===== МОДАЛЬНЕ ВІКНО ДЛЯ ФОТО ===== */
.square {
    cursor: zoom-in; /* курсор-лупа при наведенні на фото */
}

.photo-modal-overlay {
    display: none; /* прихований за замовчуванням */
    position: fixed; /* висить поверх всієї сторінки */
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); /* темний напівпрозорий фон */
    z-index: 9999; /* поверх всіх елементів сторінки */
    justify-content: center; /* центрує фото горизонтально */
    align-items: center; /* центрує фото вертикально */
    cursor: zoom-out; /* клік закриє вікно */
}

.photo-modal-overlay.active {
    display: flex; /* показується коли додається клас active */
}

.photo-modal-img {
    max-width: 90vw; /* не ширше 90% ширини екрану */
    max-height: 90vh; /* не вище 90% висоти екрану */
    border-radius: 12px; /* закруглені кути */
    box-shadow: 0 20px 60px rgba(0,0,0,0.5); /* тінь навколо фото */
}

/* ===== ЗАХИСТ ВІД КОПІЮВАННЯ КОНТЕНТУ ===== */

/* Забороняємо виділення тексту по всьому сайту */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* АЛЕ дозволяємо виділення в полях вводу — щоб не заважати заповненню форм */
input, textarea, [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Забороняємо перетягування зображень (щоб не можна було перетягнути фото на робочий стіл) */
img {
    -webkit-user-drag: none;
    user-drag: none;
}

