/* ---------------- RESSET ------------------ */
a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    color: inherit;
}
/* -------------- END RESSET ------------------ */

/* layouts/header.blade */
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Отключаем горизонтальную прокрутку */
    font-family: "Montserrat", sans-serif;
}
p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.logo-header {
    width: 150px;
    height: auto;
}
.gallery-section,
.certification-section,
.advantages-section,
.about-section,
.banners-section {
    margin-bottom: 120px;
}
.about-section {
    padding-top: 100px;
}
.title {
    margin-bottom: 50px;
    font-size: 2rem;
    color: #343a40;
}
.navbar {
    background-color: #ffffff; /* Белый фон для навигационной панели */
}
.navbar-nav {
    gap: 0 20px;
    align-items: center;
}
.navbar-brand {
    font-weight: bold;
    color: #000000; /* Черный цвет для бренда */
}
.navbar-nav .nav-link {
    color: #121212; /* Черный цвет для всех ссылок */
    font-weight: 500; /* Шрифт Montserrat для всех ссылок */
}
.navbar-nav .nav-link:hover {
    color: #343a40; /* Темно-серый цвет при наведении */
}
.navbar-nav .nav-link.youtube-link {
    background: radial-gradient(circle, #fe6776, #c44451);
    color: #ffffff;
    border-radius: 5px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    width: 150px;
}
.navbar-nav .nav-link.youtube-link:hover {
    background-color: #cc0000;
}
.navbar-nav .nav-link .fab {
    font-size: 1.25rem;
    margin-right: 8px;
}
.form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    top: -300px;
    z-index: 2;
}

/* layouts/contact-form-bot.blade */
.contact-section {
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
}
.contact-form {
    margin-top: 30px;
}

/* layouts/keys.blade */
.case-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}
.case-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

/* layouts/main.blade */
.hero-section {
    background-image: url("https://via.placeholder.com/1500x800"); /* Замените ссылку на свое фоновое изображение */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* layouts/review.blade */
.testimonial-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}
.testimonial-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

/* layouts/service.blade */
.service-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}
.service-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

/* add-blog-form.blade */
.background-wrapper {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.form-container {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px; /* Ширина контейнера */
}
.btn-primary {
    background-color: #5a6268;
    border: none;
    border-radius: 30px;
    padding: 10px 30px;
    transition:
        background-color 0.3s,
        box-shadow 0.3s;
}
.btn-primary:hover {
    background-color: #343a40;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.form-group label {
    font-size: 0.85rem;
    color: #6c757d;
}
.form-check-label {
    color: #6c757d;
    font-size: 0.85rem;
}

.form-container .btn-primary {
    width: 100%;
}

/* add-course-form.blade */
.buttons {
    margin-top: auto;
}

button {
    background: radial-gradient(circle, #fe6776, #cf4e5b);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    /* margin: 5px; */
}
button:hover {
    background-color: #c44451;
}
.btn-primary {
    background-color: #5a6268; /* Темно-серый цвет кнопки */
    border-radius: 30px; /* Округлые углы кнопки */
    padding: 10px 30px; /* Внутренние отступы */
    transition:
        background-color 0.3s,
        box-shadow 0.3s;
}
.btn-primary:hover {
    background-color: #343a40; /* Темно-серый цвет при наведении */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Тень при наведении */
}
.form-group label {
    font-size: 0.85rem;
    color: #6c757d;
}
.form-check-label {
    color: #6c757d; /* Мутный цвет для переключателей */
    font-size: 0.85rem; /* Размер шрифта текста переключателей */
}

/* add-teacher-form.blade */
.btn-primary {
    background-color: #5a6268; /* Темно-серый цвет кнопки */
    border-radius: 30px; /* Округлые углы кнопки */
    padding: 10px 30px; /* Внутренние отступы */
    transition:
        background-color 0.3s,
        box-shadow 0.3s;
}
.btn-primary:hover {
    background-color: #343a40; /* Темно-серый цвет при наведении */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Тень при наведении */
}
.form-group label {
    font-size: 0.85rem; /* Размер шрифта меток */
    color: #6c757d; /* Мутный цвет для меток */
}
.form-check-label {
    color: #6c757d; /* Мутный цвет для переключателей */
    font-size: 0.85rem; /* Размер шрифта текста переключателей */
}

/* contact.blade */
.header {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    position: relative;
}
.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
}
.header .btn {
    margin-top: 20px;
    font-size: 1.2rem;
}
.hero {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}
.hero h2 {
    font-size: 2.5rem;
    font-weight: bold;
}
.cta-buttons .btn {
    font-size: 1.2rem;
    margin: 10px;
}
.content-section {
    padding: 50px 0;
}
.content-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.content-section .gift-boxes {
    font-size: 2rem;
    color: #ff69b4;
}

/* index-teacher.blade */
.teacher-container {
    margin: 50px auto;
    max-width: 1200px;
}
.teacher-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-weight: 700; /* Сделать шрифт жирным для всей секции */
}
.teacher-item:nth-child(even) {
    flex-direction: row-reverse;
}
.teacher-item img {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin: 0 15px;
}
.teacher-info {
    flex: 1;
}
.teacher-info h2 {
    margin-top: 0;
    color: #333;
    font-weight: 700; /* Сделать заголовки жирными */
}
.teacher-info p {
    margin: 5px 0;
    font-weight: 700; /* Сделать параграфы жирными */
}
.span-color {
    color: red;
}

/* index.blade */
h1,
h2 {
    font-weight: 700;
}
.card-text {
    font-size: 1rem;
}
.card .card-body {
    text-align: center;
}

/* Стиль для цен */
.card-text .text-muted {
    font-size: 1.2rem;
    color: #6c757d;
}
.card-text .text-decoration-line-through {
    font-weight: 400;
    font-size: 1.1rem;
}
.card-text .text-danger {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
}
.btn-course-form {
    background-color: red;
}
.btn-primary:hover {
    background-color: #f1463a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* main.blade */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 1;
}
.content-title {
    max-width: 1000px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 200px;
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    padding: 40px;
    background: radial-gradient(circle, rgba(254, 103, 118, 0.5), rgba(196, 68, 81, 0.5));
    border-radius: 10px;
}
.content p {
    font-size: 36px;
    margin-bottom: 20px;
}
.form-control {
    border-radius: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
    margin-bottom: 5px;
}
.btn-primary {
    width: 100%;
    padding: 14px 0;
    border-radius: 5px;
    background: radial-gradient(circle, #fe6776, #c44451);
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}
.btn-primary:hover {
    background-color: #f1463a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
h2 {
    font-size: 1.5rem;
    color: #121212;
}
.form-group label {
    font-size: 0.85rem;
    color: #6c757d;
}
.form-check-label {
    color: #6c757d;
    font-size: 0.85rem;
}
.banner-up {
    margin-top: -200px;
}
.banner-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: #f8f9fa;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Обрезает изображение, сохраняя пропорции */
    object-position: center; /* Центрирует изображение внутри блока */
    border-radius: 5px;
}
.banner-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 0 0 5px 5px;
    text-align: left;
}
.banner-text h4 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}

.banner-text p {
    font-size: 1rem;
    margin: 0;
}
.info-container {
    position: relative;
    padding: 2rem;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.info-badge {
    position: absolute;
    top: -10px;
    right: -18px;
    background: radial-gradient(circle, #fe6776, #c44451);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20%;
}
.info-container:nth-child(2) .info-badge {
    top: -20px;
    right: -20px;
}
.info-container:nth-child(3) .info-badge {
    top: -20px;
    right: -20px;
}
h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.sticker-container {
    position: relative;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.sticker {
    position: absolute;
    top: -10px;
    right: -18px;
    background: radial-gradient(circle, #fe6776, #c44451);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20%;
}
.sticker-container:nth-child(2) .sticker {
    top: -20px;
    right: -20px;
}
.sticker-container:nth-child(3) .sticker {
    top: -20px;
    right: -20px;
}
.certification-section {
    background-color: #f1f3f6;
}
.cert-image {
    position: relative;
    max-width: 100%;
    padding-top: 85%;
    border-radius: 5px;
    overflow: hidden;
}
.cert-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    background: rgba(255, 255, 255, 0.7); /* Полупрозрачный фон для overlay */
    padding: 5px 10px;
    border-radius: 5px;
    display: none; /* Скрыть overlay по умолчанию */
}
.cert-image:hover .image-overlay {
    display: block; /* Показать overlay при наведении */
}
.gallery-item {
    position: relative;
}
.image-placeholder {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0; /* Placeholder background color */
    padding-top: 56.25%; /* 16:9 aspect ratio */
    border-radius: 5px;
}
.image-placeholder img,
.image-placeholder iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the image covers the container while maintaining aspect ratio */
    transform: translate(-50%, -50%); /* Centers the image */
}
.gallery-text {
    padding: 1rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    min-height: 150px;
}
.gallery-text h4 {
    margin-top: 0;
    font-size: 1.1rem;
}
.gallery-text p {
    font-size: 0.9rem;
}

/* Основной контейнер формы */
.form-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 4rem;
}

/* Заголовок формы */
.form-container h2 {
    font-size: 1.5rem;
    color: #343a40;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Форма в горизонтальном режиме */
.form-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

/* Группы полей формы */
.form-horizontal .form-group {
    flex: 1 1 48%;
}

/* Поля ввода формы */
.form-horizontal .form-control {
    border-radius: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}

/* Кнопка отправки формы */
.form-horizontal .btn-primary {
    background-color: #ef3124;
    border-radius: 5px;
    padding: 14px 30px;
    transition:
        background-color 0.3s,
        box-shadow 0.3s;
    border: none;
    color: #fff;
    cursor: pointer;
    width: 100%;
}

/* Кнопка при наведении */
.form-horizontal .btn-primary:hover {
    background-color: #f1463a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Чекбоксы и переключатели */
.form-horizontal .form-check {
    flex: 1 1 100%; /* Полная ширина для чекбокса */
    margin-top: 1rem;
}

.form-horizontal .form-check-label {
    color: #6c757d; /* Мутный цвет для переключателей */
    font-size: 0.85rem; /* Размер шрифта текста переключателей */
}

.form-horizontal .form-check-input {
    margin-right: 0.5rem; /* Отступ справа для чекбокса */
}
.contact-container {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-container iframe {
    border: 0;
}
.contact-details {
    padding: 1rem;
    text-align: left;
}
.reviews-section {
    background-color: #f8f9fa;
    padding: 50px 20px;
}
.reviews-section h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    letter-spacing: 0.1em;
}
.reviews-list {
    margin-bottom: 50px;
}
.reviews-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.reviews-list li {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-author {
    background-color: #e9ecef;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}
.review-content {
    flex-grow: 1;
    margin-bottom: 10px;
}
.review-likes {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 0 0 8px 8px;
    text-align: right;
    font-weight: bold;
    color: #ffd700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}
.review-likes .likes-label {
    color: #000;
    font-weight: normal;
}
.review-likes .likes-count {
    color: #ffd700;
}
.review-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}
.review-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
    letter-spacing: 0.1em;
}
.review-form label {
    font-size: 1.1em;
    margin-bottom: 10px;
    display: block;
}
.review-form input,
.review-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
.review-form .star-rating {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.star-rating {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse; /* Меняем направление звезд */
}
.star-rating input {
    display: none;
}
.star-rating label {
    font-size: 2em;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

/* При наведении справа налево */
.star-rating label:hover,
.star-rating label:hover ~ label {
    /* color: #ffc107; */
    color: radial-gradient(circle, #fe6776, #c44451);
}

/* При выборе звездочки она и все предыдущие справа налево становятся желтыми */
.star-rating input:checked ~ label {
    color: #ddd;
}
.star-rating input:checked + label,
.star-rating input:checked + label ~ label {
    /* color: #ffc107; */
    color: #fe6776;
}
.review-form button {
    background: radial-gradient(circle, #fe6776, #c44451);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    display: block;
    margin: 0 auto;
}
.review-form button:hover {
    background: radial-gradient(circle, #fe6776, #c44451);
}
.p-3 {
    padding-top: 0.5rem !important;
    padding-bottom: 1rem !important;
}
.navbar-toggler {
    background-color: transparent;
}
.navbar-toggler:hover {
    background-color: transparent;
}

/* ----------------- Карта Контакты ----------------- */
.map-container {
    width: 100%;
    padding: 0;
    margin: 0;
}
.contact-container {
    margin: 0;
}

/* ------------ Offer page -------------- */
.offer-title {
    font-size: 2.5rem;
}
.offer-paragraph {
    margin-top: 40px;
}
.footer {
    background-color: #ffffff;
    color: #121212;
}
.footer-logo {
    margin-top: -18px;
}
.footer__logo-text {
    line-height: 1.8;
}
.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
}
.logo-footer {
    width: 170px;
    height: auto;
}

/* -------------- Изменяем стиль кнопки Бургер  - моб меню ---------------- */
.navbar-toggler {
    border-color: white;
    color: #1d1d1d;
    border-radius: 4px;
    width: 56px;
    height: 48px;
}
.navbar-toggler-icon {
    background-image: none;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon .middle {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
    margin: 6px auto;
}

/* -------- Price Section --------- */
.price {
    margin-top: -250px;
    margin-bottom: 350px;
}
.price__title {
    text-align: center;
}
.price__text {
    text-align: center;
    margin: 0 auto;
    max-width: 960px;
    margin-bottom: 100px;
    font-size: 20px;
}
.price__blocks {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
}
.price__item {
    width: 364px;
    border: 1px #000b33 solid;
    border-radius: 8px;
    padding: 45px 42px 44px 44px;
    font-size: 15px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}
.price__item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 20px rgba(31, 31, 31, 0.2);
}
.price__item-2 {
    background-color: #020424;
    color: #ffffff;
}
.price__item-name {
    padding: 8px 14px;
    background-color: #000b33;
    color: #ffffff;
    width: 100px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 15px;
}
.price__item-name-2 {
    width: 140px;
    text-align: center;
    background-color: #38394a;
}
.price__item-name-3 {
    width: 120px;
    text-align: center;
}
.price__item-version {
    text-transform: uppercase;
    padding: 8px 14px;
    background-color: #f1f1f1;
    color: #000b33;
    width: 270px;
    text-align: center;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 15px;
}
.price__item-version-2 {
    width: 190px;
    text-align: center;
}
.price__item-version-3 {
    width: 190px;
    text-align: center;
}
.price__item-time {
    margin-bottom: 28px;
}
.price__inner-price {
    font-size: 64px;
    font-weight: 600;
    color: #000b33;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 11, 51, 0.2);
}
.price__inner-price--2 {
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.price__inner-cost {
    margin-top: -10px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0, 11, 51, 0.2);
    margin-bottom: 28px;
}
.price__inner-cost--2 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.price__inner-list {
    margin-bottom: 28px;
}
.price__inner-feature {
    margin-bottom: 14px;
    position: relative;
    padding-left: 20px;
}

.price__inner-feature::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 11px;
    transform: translateY(-50%);
    width: 23px;
    height: 23px;
    background-image: url("../images/price.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.price__inner-feature--2 {
    margin-bottom: 14px;
    position: relative;
    padding-left: 20px;
}
.price__inner-feature--2::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 11px;
    transform: translateY(-50%);
    width: 23px;
    height: 23px;
    background-image: url("../images/price-2.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

button.price__item-btn {
    background-color: #000b33;
}

.price__item-btn {
    width: 100%;
    padding: 16px 20px;
    background-color: #000b33;
    color: #ffffff;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
}
.price__item-btn--2 {
    background-color: #ffc895;
    color: #ffffff;
}

/* ------------------- Thank You Page ----------------- */
.content-subtitle {
    max-width: 800px;
}

/* ------------------- Teacher Page ----------------- */
.teachers-wrapper {
    /* background: linear-gradient(to top, #ffafe0, #d04399); */
    background: linear-gradient(to top, #fff, #fff1e2);
    margin-bottom: 50px;
    height: 320px;
}
.teachers-title {
    margin-bottom: 20px;
}
.teachers__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 1;
}
.teachers {
    margin-bottom: 150px;
}
.teachers__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}
.teachers__inner {
    display: flex;
    justify-content: space-around;
    gap: 60px 14px;
    flex-wrap: wrap;
}
.teachers__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 480px;
    height: auto;
    background-color: #212131;
    border-radius: 10px;
    position: relative;
}
.teachers__box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 16px 12px 2px 12px;
    color: #ffffff;
}

.teachers__img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.teachers__item-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.teachers__item-name {
    max-width: 300px;
}

.teachers__title {
    max-width: 950px;
    text-align: center;
    margin-top: 80px;
    font-size: 4.5rem;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 20px 40px 20px 40px;
    background: linear-gradient(90deg, #14141c, #7c7c97); /* Задаем градиент */
    -webkit-background-clip: text; /* Используем градиент как текстовый клип */
    -webkit-text-fill-color: transparent; /* Заполняем текст прозрачностью */
}

.teachers__item-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
}

.teachers__star {
    margin-bottom: 10px;
}

.teachers__students {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
}

.teachers__students::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-image: url("../images/person.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    left: -4px;
    top: -3px;
}

.teachers__education {
    margin-bottom: 10px;
    padding-bottom: 2px;
    border-bottom: 2px solid #76768e;
}
.teachers__item-price {
    display: flex;
    flex-direction: column;
}
.teachers__price {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 600;
}

.teachers__subjects {
    color: #fca2a2;
}

.teachers__video {
    display: block;
    font-size: 15px;
    color: #fca2a2;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    margin-bottom: 6px;
}
.teachers__video::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-image: url("../images/video.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    left: -2px;
    top: -1px;
}

.teachers__subject {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 6px;
}
.teachers__subject::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background-image: url("../images/bell.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    left: 1px;
    top: 2px;
}

.teachers__text {
    max-height: 300px;
    overflow-y: auto;
    text-overflow: ellipsis;
    padding-right: 10px;
    line-height: 1.7;
    font-size: 16px;
}
/* Настройка полосы прокрутки */
.teachers__text::-webkit-scrollbar {
    width: 8px; /* Устанавливаем ширину полосы прокрутки */
}
.teachers__text::-webkit-scrollbar-thumb {
    background-color: #4c4c61; /* Цвет полосы прокрутки */
    border-radius: 8px; /* Скругляем края полосы прокрутки */
}
.teachers__text::-webkit-scrollbar-track {
    background-color: #ffcece; /* Цвет фона полосы прокрутки */
    border-radius: 8px; /* Скругляем края области прокрутки */
}

.teachers__item-btn {
    display: inline-block;
    padding: 18px 80px;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 12px;
    margin-right: 12px;
    border-radius: 5px;
    font-size: 18px;
}

/* --------- About US PAGE ---------- */
.about-section-content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
}

.about-image {
    max-width: 40%;
    flex-shrink: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-description-container {
    max-width: 60%;
}

.about-description {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --------- LESSONS PAGE ---------- */
.level-title {
    margin-bottom: 40px;
    font-size: 1.5rem;
}
.cards-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.level-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 100px;
}
.lesson-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}
.lesson-card {
    flex: 1 1 calc(25% - 20px);
    max-width: 280px;
    min-width: 200px;
    background: var(--primary-text-color);
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}
.lesson-card-link {
    display: block;
    padding: 20px;
}
.lesson-card:hover {
    transform: translateY(-5px);
}
.lesson-card h3 {
    font-size: 1.4rem;
    margin: 10px 0;
}
.lesson-card p {
    font-size: 0.9rem;
    color: #666;
}
.tag {
    display: inline-block;
    font-size: 0.8rem;
    padding: 5px 10px;
    margin-bottom: 10px;
    border-radius: 12px;
    color: #303030;
}
.tag.free {
    background: #ffc6b0;
}
.lesson-title {
    font-size: 36px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.lesson-wrapper {
    margin-bottom: 20px;
}
.back-link-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #242424;
    margin-top: 20px;
}

/* --------- Стр Уроки - Видео и текст ---------- */
.video-lesson {
    margin-bottom: 100px;
}
.text-lesson {
    margin-bottom: 50px;
}
.video-lesson-title,
.text-lesson-title {
    font-size: 26px;
}

/* ------------ Видео на стр урок ------------ */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    width: 100%; /* ← важно */
    max-width: 100%; /* ← чтобы не вылазил за экран */
    overflow: hidden;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ------------ PDF на стр урок ------------ */
.pdf-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}
.pdf-iframe {
    width: 100%;
    height: 90vh; /* адаптивная высота, 80% от высоты экрана */
    border: none;
    display: block;
}

.mobile-pdf-button {
    display: none;
}

.pdf-page {
    display: block;
    margin: 20px auto;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    pointer-events: none;
    user-select: none;
}

#pdf-container {
    overflow-x: hidden;
}
