* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    /* color: #11144d; */
    
    background-color: #fff;
    overflow-x: hidden;
}
.alert-text {
        color: #e63946;
}
.container {
    width: 80%;
    margin: 0 auto;
}
.container h2 {
    text-align: center;
}
.container img{

    
}
.hero {
    position: relative;
    height: 100vh;
    background: url('img/MyCollages.jpg');
    background-size: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero .container{
    /* background-color: #003d5b; */
    padding-top: 400px;

}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    background-color: #e6f7f7;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3em;
    color: #e63946; /* Красный */
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out;
}

.hero p {
    font-size: 1.5em;
    color: #11144d;
    margin-bottom: 10px;
    animation: fadeIn 2s ease-out;
}


.about, .course, .contact , .testimonials {
    padding: 60px 20px;
    background-color: #ebeaeaa4;
    border-radius: 8px;
    box-shadow: 0 0px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    position: relative;
}

.about-container{
    display: flex;
}

.about-container p {
    font-size: 2rem;
}
@media (max-width:1265px) {
    .about-container{
        flex-direction: column;
        align-items: center;
    }
    .about-container p {
        font-size: 1em;
    }
    .hero h1 {
        font-size: 2em;
        /* margin-top: 400px; */
        color: #e63946; /* Красный */
        margin-bottom: 20px;
        animation: fadeIn 1s ease-out;
    }
    
    .hero p {
        font-size: 1em;
        color: #11144d;
        margin-bottom: 10px;
        animation: fadeIn 2s ease-out;
    }
}

.section-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    margin-right: 20px;
    margin:  0 auto;
}

h2 {
    color: #11144d;
    font-size: 2em;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.6;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px;
    color: #fff;
    background-color: #4aa3a3;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    text-align: center;
}
section {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background-color: #f9f9f9; /* Светлый фон */
}

.buttons {
    display: flex;
    gap: 20px; /* Расстояние между кнопками */
}

.buttons button {
    background-color: #003d5b; /* Темно-синий */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buttons button:hover {
    background-color: #005c85; /* Светлее при наведении */
}

.buttons a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.buttons button:active {
    transform: scale(0.95); /* Легкая анимация при нажатии */
}

/* Мобильная версия */
@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
        gap: 15px; /* Уменьшенное расстояние между кнопками */
    }

    .buttons button {
        width: 100%;
        text-align: center;
    }
}


.button:hover {
    background-color: #2d6a4f;
    transform: scale(1.05);
}

.button-primary {
    background-color: #11144d;
}

.button-primary:hover {
    background-color: #11144d;
}

.social {
    display: flex;
    justify-content: center; /* Центрирует кнопки по горизонтали */
    gap: 10px; /* Отступ между кнопками */
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 6px 12px;
    color: #ffffff;
    background-color: #4aa3a3; /* Тиффани */
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    text-align: center;
}

.button:hover {
    background-color: #2d6a4f; /* Более тёмный Тиффани */
    transform: scale(1.05);
}

.button-primary {
    background-color: #1d3557; /* Тёмно-синий */
}

.button-primary:hover {
    background-color: #0a1f3b; /* Ещё более тёмный синий */
}

.contact {
    padding: 60px 20px;
    background-color: #ebeaeaa4;
    border-radius: 8px;
    box-shadow: 0 0px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

footer {
    background-color: #11144d;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Базовые стили для блока курса */
.course {
    padding: 60px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

h2, h3 {
    color: #e63946;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

p {
    font-size: 1.2em;
    color: #11144d;
    margin-bottom: 20px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Стили для каждого элемента списка */
.problem-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #e6f7f7;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ховер-эффект */
.problem-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Задержка для анимации каждого элемента */
.problem-item:nth-child(1) {
    animation-delay: 0.2s;
}

.problem-item:nth-child(2) {
    animation-delay: 0.4s;
}

.problem-item:nth-child(3) {
    animation-delay: 0.6s;
}

.problem-item:nth-child(4) {
    animation-delay: 0.8s;
}

.problem-item:nth-child(5) {
    animation-delay: 1s;
}

.problem-item:nth-child(6) {
    animation-delay: 1.2s;
}

.problem-item:nth-child(7) {
    animation-delay: 1.4s;
}

.emoji {
    font-size: 1.8em;
    margin-right: 15px;
}

.problem-item p {
    margin: 0;
    font-size: 1.1em;
    color: #11144d;
}

/* Анимации для плавного появления элементов */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.footer-text{
    color: white;
}
/* Базовые стили */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    overflow-x: hidden;
}

/* Контейнер */
.container {
    width: 80%;
    margin: 0 auto;
}

.container h2 {
    text-align:
center; color: #003d5b; /* Темно-синий */ }




.hero-content { position: relative; z-index: 1; }

/* About */ .about { padding: 50px 0; }

.about-container { display: flex; align-items: center; margin-bottom: 30px; }

.about-content { margin-left: 20px; color: #003d5b; /* Темно-синий */ }

.highlight { font-weight: bold; font-size: 1.5em; color: #e63946; /* Пример другого цвета для выделения */ }

.section-image { max-width: 50%; border-radius: 10px; }

.button { display: inline-block; padding: 10px 20px; margin: 10px 0; border: none; border-radius: 5px; background-color: #e63946; /* Пример цвета кнопки */ color: #fff; text-decoration: none; font-weight: bold; }

.button-primary { background-color: #003d5b; /* Темно-синий для основной кнопки */ }

.button
{ opacity: 0.8; }

/* Course */ .course { padding: 50px 0; }

.course-block { 
    margin-bottom: 30px; 
}
@media (max-width: 768px) {

    
    .section-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .about-content {
        margin-left: 0;
    }
    
    .hero-content {
        padding: 20px;
    }
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    background-color: white;
}

.carousel-item p, .carousel-item ul {
    margin: 10px 0;
}

.carousel-item u {
    text-decoration: underline;
}

.carousel-item strong {
    font-weight: bold;
}

.carousel-item em {
    font-style: italic;
}

button.prev, button.next {
    width: 75px;
    height: 30px;
    font-size: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #003d5b; /* Темно-синий */
    color: white;
    border: none;
    padding: 30px;
    cursor: pointer;
    z-index: 1;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .carousel-item {
        font-size: 14px;
    }

    button.prev, button.next {
        padding: 5px;
    }
}

.testimonials-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


@media (min-width : 1200px) {
    .hero-content {
        margin-top: 100px;
        padding: 49px 70px;
    }
    .text{
        font-size: 1.3em;
        text-align: center;
        margin-top: 20px;
    }
    img{
        max-height: 800px;
        width: 100px;
    }
    .course-content{
        display: flex;
    }
    .none{
        display: none;
    }
    .about-content li{
        font-size: 25px;
    }
    .colum{
        font-size: 25px;
        margin-top: 50px;
        margin-left: 10px;
    }
    .course-block{
        font-size: 20px;

    }
    .button{
        display: flex;
        justify-content: center;
        padding: 20px;
        font-size: 30px;
    }
    button.prev, button.next {


        border-radius: 100px;
        margin-top: 20px
    }

 
}   