/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
}

/* Header styles */
header {
    background-color: #333;
    color: white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #ffc107;
    margin: 0;
    font-size: 24px;
}

.menu {
    list-style: none;
    display: flex;
    gap: 15px;
}

.menu li {
    display: inline;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
}

.menu li a:hover {
    background-color: #444;
    border-radius: 5px;
}

/* Call Button Styles */
.call-button {
    background-color: #ffc107;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
}

.call-button a:hover {
    background-color: #ff9800;
}



/* Block 1 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.block1 {
    background-color: #0c57ac;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
}
.block1 .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.text-block {
    color: #fff;
    width: 45%;
    position: relative;
    z-index: 2;

}

.text-block h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #fff;

}

.text-block h1 span {
    color: #ff4dbc;
}

.text-block p {
    font-size: 24px;
    margin-bottom: 30px;
}

.features {
    list-style: none;
}

.features li {
    font-size: 18px;
    margin-bottom: 10px;
}

.form-block {
    width: 45%;
    position: relative;
    z-index: 2;
}

.form-container {
    background-color: #fff;
    padding: 20px;
    color: #333;
    border-radius: 10px;
}

.consultation-form {
    display: flex;
    flex-direction: column;
}

.consultation-form label {
    margin-bottom: 10px;
    font-size: 14px;
}

.consultation-form input {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.phone-group {
    display: flex;
}

.phone-group select {
    padding: 10px;
    border-radius: 5px 0 0 5px;
    border: 1px solid #ccc;
    border-right: none;
}

.phone-group input {
    flex-grow: 1;
    padding: 10px;
    border-radius: 0 5px 5px 0;
    border: 1px solid #ccc;
}

.submit-button {
    padding: 15px;
    background-color: #ffc107;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.submit-button:hover {
    background-color: #ff9800;
}

/* Block 2 */
.block2 {
    padding: 50px 0;
}

.block2 h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.block2 h2 span {
    color: #ff4dbc;
}

.statistics {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    width: 47%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 3px solid #ffc107;
}

.stat-item .icon {
    margin-bottom: 20px;
    font-size: 35px;
}

.stat-item img {
    width: 40px;
    height: auto;
}

.stat-item h3 {
    font-size: 48px;
    color: #333;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

/* Block 3 */
.block3 {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.block3 h2 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.testimonials {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.testimonial-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 16px;
    color: #666;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.testimonial-author p {
    font-size: 14px;
    color: #333;
}

/* Block 4 */
.block4 {
    padding: 50px 0;
    background-color: #fff;
}

.block4 h2 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* Стили для секции FAQ */
.faq-section {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 20px;
    padding: 15px 20px;
    margin: 0;
    background-color: #ffc107;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question span {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-question.open span {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}

.faq-answer p {
    margin: 0;
}


/* Block 5 */
.block5 {
    padding: 50px 0;
    background-color: #fff;
}

.block5 h2 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.block5 h2 .flag-icon {
    width: 30px;
    height: auto;
    margin-left: 10px;
}

.courses-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.course-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    width: 22%;
    box-shadow: 9px 8px 17px #FFC107;
    text-align: center;
    border: 1px solid purple;
    position: relative;
    z-index: 2;
}

.course-item .course-icon {
    margin-bottom: 20px;
    font-size: 35px;
}

.course-item img {
    width: 50px;
    height: auto;
}

.course-item h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.course-item ul {
    list-style: none;
    padding: 0;
}

.course-item ul li {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

/* Block 6 */
.block6 {
    background-color: #0c57ac;
    padding: 50px 0;
    color: #fff;
}

.block6 h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.course-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.course-card {
    background-color: #fff;
    color: #333;
    width: 22%;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.card-header img {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

.card-header p {
    font-size: 18px;
    font-weight: bold;
}

.card-details {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.card-details li {
    font-size: 16px;
    margin-bottom: 10px;
}

.card-details .price {
    color: #00C853;
    font-size: 20px;
    font-weight: bold;
}

.payment {
    background-color: #f3f3f3;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.payment span {
    color: #9c27b0;
}

.btn-more {
    padding: 15px;
    background-color: #ffc107;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.btn-more:hover {
    background-color: #ff9800;
}

/* Block 7 */
.block7 {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    background-color: #9b37c6;
    color: white;
    border-radius: 20px;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 20px;
    cursor: pointer;
    margin-right: 10px;
}

.tab.active {
    background-color: white;
    color: #9b37c6;
}

h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
}

.signup-form {
    display: flex;
    flex-direction: column;
}

.signup-form input {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
}

.phone-group {
    display: flex;
}

.phone-group select {
    padding: 10px;
    border-radius: 5px 0 0 5px;
    border: none;
}

.phone-group input {
    flex-grow: 1;
    padding: 10px;
    border-radius: 0 5px 5px 0;
    border: none;
}

.btn-submit {
    padding: 15px;
    background-color: #ffc107;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.image-container img {
    width: 100%;
    border-radius: 20px;
}

/* Block 8 */
.block8 {
    padding: 50px;
    background-color: #f5f5f5;
}

.teachers-slider {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.teacher-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 22%;
}

.teacher-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.teacher-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.teacher-card p {
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.slider-navigation {
    text-align: center;
}

.prev-btn, .next-btn {
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin: 0 10px;
}

.slider-navigation span {
    font-size: 18px;
}
/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #333;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

.menu li {
    display: inline;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
}

.menu li a:hover {
    background-color: #444;
    border-radius: 5px;
}

/* Block Styles */
.block1, .block2, .block3, .block4, .block5, .block6 {
    margin-bottom: 50px;
}

.block1 {
    background-color: #0c57ac;
    padding: 50px 0;
    color: white;
}

.block2, .block3, .block5 {
    background-color: #fff;
}

.block4 {
    background-color: #f9f9f9;
}

.block6 {
    background-color: #e0e0e0;
    padding: 50px 0;
}

h1, h2, h3 {
    text-align: center;
    margin-bottom: 20px;
}

form input, form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.submit-button, .newsletter-form button {
    background-color: #ffc107;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.submit-button:hover, .newsletter-form button:hover {
    background-color: #ff9800;
}

/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
header {
    background-color: #333;
    color: white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #ffc107;
    margin: 0;
    font-size: 24px;
}

/* Общие стили для меню */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li {
    display: inline;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.call-button a {
    color: #007BFF;
    text-decoration: none;
}

/* Скрытие иконки мобильного меню на десктопе */
.mobile-menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Мобильные стили */
@media (max-width: 768px) {
    /* Скрываем меню на мобильных устройствах по умолчанию */
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    .block1 .container {
        flex-wrap: wrap;
    }
    .text-block, .form-block,
    .stat-item, .course-item {
        width: 100%;
    }
    .menu li {
        margin-bottom: 10px;
    }

    /* Показываем иконку мобильного меню */
    .mobile-menu-icon {
        display: block;
    }

    /* Стили для показа меню при активном классе */
    .menu.active {
        display: flex;
        z-index: 3;
        background: #333;
    }
}


/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: left;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    width: 23%;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffc107;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-column p {
    margin-bottom: 10px;
    font-size: 14px;
}

.newsletter-column input {
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
    border-radius: 5px;
    border: none;
}

.newsletter-column button {
    padding: 10px;
    background-color: #ffc107;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.newsletter-column button:hover {
    background-color: #ff9800;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }

    .header-content {
        flex-direction: row;
        align-items: flex-start;
    }
}
/* Styles for the consultation form */
.consultation-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

.consultation-form label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.consultation-form input {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
}

.phone-group {
    display: flex;
    gap: 10px;
}

.phone-group select {
    width: 30%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.phone-group input {
    width: 70%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.consultation-form input:focus,
.phone-group select:focus {
    outline: none;
    border-color: #00aaff;
}

.submit-button {
    padding: 12px;
    background-color: #ffc107;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #ff9800;
}

.submit-button:active {
    background-color: #ff8c00;
}

/* Add responsive behavior */
@media (max-width: 768px) {
    .phone-group {
        flex-direction: column;
    }

    .phone-group select,
    .phone-group input {
        width: 100%;
    }
}
/* Tab styles */
.tab-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tab {
    background-color: #f5f5f5;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10px;
    width: 48%;
    text-align: center;
    transition: background-color 0.3s;
}

.tab.active {
    background-color: #ffc107;
    color: #000;
}

.consultation-form {
    flex-direction: column;
}

.active-form {
    display: flex;
}
/* Общие стили */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}


/* Стили для блока контактов */
.contacts-section {
    padding: 50px 0;
}

.contacts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-box {
    padding: 20px;
    border-radius: 10px;
    color: white;
    width: 32%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.purple {
    background-color: #8e44ad;
}

.orange {
    background-color: #e67e22;
}

.blue {
    background-color: #2980b9;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

ul {
    padding: 0;
    list-style: none;
}

.contact-btn {
    background-color: #ffc107;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

.contact-btn:hover {
    background-color: #ff9800;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-box {
        width: 100%;
    }
}
/* Общие стили */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* Секция "О нас" */
.about-us-section {
    padding: 50px 0;
    background-color: #fff;
}

.about-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.about-item {
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-item h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Секция "Ценности" */
.values-section {
    padding: 50px 0;
    background-color: #fff;
}

.values-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.values-item, .signup-item {
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.signup-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.signup-form .btn-submit {
    background-color: #ffc107;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    font-weight: bold;
}

.signup-form .btn-submit:hover {
    background-color: #ff9800;
}

/* Секция "Миссия и фото" */
.mission-section {
    padding: 50px 0;
    background-color: #ff9800;
    color: white;
    border-radius: 10px;
    margin: 20px 0;
}

.mission-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mission-text h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.mission-image img {
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    height: auto;
}

@media (max-width: 768px) {
    .about-grid, .values-grid, .mission-content {
        flex-direction: column;
    }
}
/* Общие стили */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}


/* Стили для секции отзывов */
.testimonials-section {
    padding: 50px 0;
    background-color: #fff;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.testimonial-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* Общие стили */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}


/* Стили для секции услуг */
.services-section {
    padding: 50px 0;
    background-color: #fff;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.service-item p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Стили иконок */
.icon-container {
    font-size: 40px;
    margin-bottom: 15px;
}

.beginner {
    color: #3498db; /* Синий */
}

.conversation {
    color: #e74c3c; /* Красный */
}

.travel {
    color: #f39c12; /* Оранжевый */
}

.business {
    color: #2ecc71; /* Зеленый */
}

.intensive {
    color: #8e44ad; /* Фиолетовый */
}

.kids {
    color: #f1c40f; /* Желтый */
}

.btn-start {
    background-color: #ffc107;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s ease;
}

.btn-start:hover {
    background-color: #ff9800;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* Стили для block1 */
.block1 {
    background-image: url('../img/background1.jpg'); /* Укажите путь к вашему изображению */
    background-size: cover; /* Масштабирует изображение так, чтобы оно покрывало весь блок */
    background-position: center; /* Центрирует изображение */
    background-repeat: no-repeat; /* Убирает повторение изображения */
    padding: 50px 0; /* Добавляем отступы для блока */
    color: white; /* Текст станет белым для контраста с фоном */
    position: relative;
}

/* Стили для block5 */
.block5 {
    background-image: url('../img/background5.jpg'); /* Укажите путь к вашему изображению */
    background-size: cover; /* Масштабирует изображение так, чтобы оно покрывало весь блок */
    background-position: center; /* Центрирует изображение */
    background-repeat: no-repeat; /* Убирает повторение изображения */
    padding: 50px 0; /* Добавляем отступы для блока */
    color: white; /* Текст станет белым для контраста с фоном */
    position: relative;
}
.block1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(155 55 198 / 86%); /* Полупрозрачный чёрный фон */
    z-index: 1;
    pointer-events: none; /* Чтобы контент был кликабельным */
}
.block5::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 76%); /* Полупрозрачный чёрный фон */
    z-index: 1;
    pointer-events: none; /* Чтобы контент был кликабельным */
}
/* Стили для страницы Thank You */
.thanks-section {
    padding: 100px 0;
    background-color: #f5f5f5;
    text-align: center;
}

.thanks-content h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.btn-back-home {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ffc107;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-back-home:hover {
    background-color: #ff9800;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .thanks-content h1 {
        font-size: 28px;
    }

    .thanks-content p {
        font-size: 16px;
    }

    .btn-back-home {
        padding: 10px 20px;
    }
    .testimonial-item {
        width: 100%;
    }
}
/* ===========================
   НОВАЯ ЦВЕТОВАЯ ПАЛИТРА
   Добавить в САМИЙ НИЗ style.css
   =========================== */

:root {
    --bg-main: #f3f4f6;              /* общий фон страницы */
    --bg-dark: #020617;              /* самый тёмный фон (подвал) */
    --bg-dark-soft: #0b1120;         /* шапка, тёмные блоки */
    --primary: #f97316;              /* основной акцент (кнопки, ссылки) */
    --primary-hover: #ea580c;
    --accent: #0ea5e9;               /* второй акцент (границы, детали) */
    --accent-soft: rgba(14, 165, 233, 0.16);
    --text-main: #0f172a;            /* основной текст */
    --text-muted: #6b7280;           /* вторичный текст */
    --card-bg: #ffffff;              /* фон карточек/блоков */
}

/* Базовые стили */

body {
    background-color: var(--bg-main);
    color: var(--text-main);
}

h1, h2, h3 {
    color: var(--text-main);
}

/* Шапка и меню */

header {
    background-color: var(--bg-dark-soft);
    color: #e5e7eb;
}

.logo h1 {
    color: var(--primary);
}

.menu {
    gap: 18px;
}

.menu li a {
    color: #e5e7eb;
    font-weight: 600;
}

.menu li a:hover {
    background-color: #111827;
    border-radius: 6px;
}

.call-button {
    background-color: var(--primary);
    color: var(--bg-dark-soft);
    border-radius: 999px;
    font-weight: 600;
}

.call-button:hover {
    background-color: var(--primary-hover);
}

/* Мобильное меню при раскрытии */

@media (max-width: 768px) {
    .menu.active {
        background-color: var(--bg-dark-soft);
    }
}

/* Блок 1 (hero) */

.block1 {
    background-color: var(--bg-dark-soft); /* фолбэк под картинку */
    color: #f9fafb;
}

.block1::after {
    background-color: rgba(15, 23, 42, 0.86);
}

.text-block h1 span {
    color: var(--accent);
}

.text-block p {
    color: #e5e7eb;
}

.features li {
    color: #e5e7eb;
}

/* Формы и инпуты */

.consultation-form label,
.signup-form label {
    color: var(--text-main);
}

.consultation-form input,
.signup-form input,
.phone-group select,
.phone-group input {
    border-color: #d1d5db;
}

.consultation-form input:focus,
.signup-form input:focus,
.phone-group select:focus {
    border-color: var(--accent);
}

/* Кнопки по всему сайту */

.submit-button,
.newsletter-form button,
.btn-start,
.btn-more,
.btn-submit,
.contact-btn,
.signup-form .btn-submit,
.btn-back-home {
    background-color: var(--primary);
    color: var(--bg-dark-soft);
    border: none;
    font-weight: 600;
}

.submit-button:hover,
.newsletter-form button:hover,
.btn-start:hover,
.btn-more:hover,
.btn-submit:hover,
.contact-btn:hover,
.signup-form .btn-submit:hover,
.btn-back-home:hover {
    background-color: var(--primary-hover);
    color: var(--bg-dark-soft);
}

/* Блок 2 — статистика */

.block2 {
    background-color: #f9fafb;
}

.block2 h2 span {
    color: var(--primary);
}

.stat-item {
    background-color: var(--card-bg);
    border: 2px solid var(--accent);
    box-shadow: 0 12px 30px var(--accent-soft);
}

.stat-item h3 {
    color: var(--text-main);
}

.stat-item p {
    color: var(--text-muted);
}

/* Блок 5 — уровни и программа */

.block5 {
    background-color: #f9fafb;
    color: var(--text-main);
}

.block5::after {
    background-color: rgba(243, 244, 246, 0.92);
}

.block5 h2 {
    color: var(--text-main);
}

.course-item {
    background-color: var(--card-bg);
    border: 1px solid var(--accent);
    box-shadow: 0 14px 32px var(--accent-soft);
    color: var(--text-main);
}

/* Курсы / тарифы (block6, карточки и т.п.) */

.block6 {
    background-color: #e5e7eb;
    color: var(--text-main);
}

.course-card {
    background-color: var(--card-bg);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* Блок 7 — записаться на тестирование */

.block7 {
    background: radial-gradient(circle at top left, #0ea5e9, #1d4ed8);
    color: #f9fafb;
}

.tab {
    border-color: #f9fafb;
    color: #f9fafb;
}

.tab.active {
    background-color: #f9fafb;
    color: #1d4ed8;
}

/* Преподаватели (block8) */

.block8 {
    background-color: #f9fafb;
}

.teacher-card {
    background-color: var(--card-bg);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

/* Контакты */

.contacts-section {
    background-color: #f9fafb;
}

.contact-box {
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

/* Перекрашиваем цветные карточки контактов */

.purple {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.orange {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.blue {
    background: linear-gradient(135deg, #22c55e, #4ade80);
}

/* Секция "О нас" и "Ценности" */

.about-us-section,
.values-section,
.services-section,
.testimonials-section {
    background-color: #f9fafb;
}

.about-item,
.values-item,
.signup-item,
.service-item,
.testimonial-item {
    background-color: var(--card-bg);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

/* FAQ */

.faq-section {
    background-color: #f3f4f6;
}

.faq-question {
    background-color: var(--primary);
    color: var(--bg-dark-soft);
}

.faq-answer {
    background-color: var(--card-bg);
    color: var(--text-main);
}

/* Отзывы */

.testimonials-section h1,
.services-section h1 {
    color: var(--text-main);
}

/* Thank you page */

.thanks-section {
    background-color: #f9fafb;
}

.thanks-content h1 {
    color: var(--text-main);
}

.thanks-content p {
    color: var(--text-muted);
}

/* Подвал */

footer {
    background-color: var(--bg-dark);
    color: #e5e7eb;
}

.footer-column h3 {
    color: var(--primary);
}

.footer-column ul li a {
    color: #e5e7eb;
}

.footer-column ul li a:hover {
    color: #f9fafb;
    text-decoration: underline;
}

.newsletter-column input {
    border: 1px solid #4b5563;
    background-color: #020617;
    color: #e5e7eb;
}

/* Ссылки внутри цветных блоков (чтобы были читаемыми) */

.contact-box a {
    color: #fefce8;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Общие ссылки в тексте */

a {
    color: var(--accent);
}

a:hover {
    color: var(--primary-hover);
}

/* Мелкие мобильные правки */

@media (max-width: 768px) {
    .block7 {
        padding: 30px 20px;
        border-radius: 0;
    }

    .about-item,
    .values-item,
    .signup-item {
        margin-bottom: 10px;
    }
}
