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

body {
    font-family: Arial, sans-serif;
}


.header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.header-inner {
    width: 100%;
    padding: 20px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(10, 15, 30, 0.9);
}

.logo {
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.auth {
    color: white;
    text-decoration: none;
}


.hero {
    height: 100vh;
    background: url("");
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}


.hero-content {
    position: relative;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.3;

    text-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}


.features {
    background: linear-gradient(180deg, #0b1020, #0d1326);
    padding: 100px 20px;
    color: white;
}

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

.features h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

.features h2 span {
    font-weight: 700;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.feature-card {
    background: #1a2238;
    padding: 25px;
    border-radius: 20px;
    min-height: 180px;

    display: flex;
    flex-direction: column;
    gap: 15px;

    transition: 0.3s;
}

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


.feature-card.large {
    grid-row: span 2;
}


.icon {
    width: 40px;
    height: 40px;
    background: #2c3655;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
}

.feature-card h3 {
    font-size: 18px;
}

.feature-card p {
    font-size: 14px;
    color: #c0c6dc;
    line-height: 1.5;
}

.programs {
    background: #f5f5f7;
    padding: 100px 20px;
}

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

.programs h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

/* GRID */

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;

    grid-template-areas:
        "card1 card2 card3"
        ".      card4 card5";
}

.program-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    background: #1c2235;
    color: white;

    transition: 0.3s;
}

.program-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.program-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    background: #2f3b63;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.arrow {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 35px;
    height: 35px;
    background: white;
    color: black;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
}

.program-card:hover {
    transform: translateY(-6px);
}

.info {
    background: #5a6ea5;
    padding: 80px 20px;
    border-radius: 40px;
    margin: 80px 20px;
}

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

    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}


.news,
.schedule {
    background: #e9e9ec;
    padding: 30px;
    border-radius: 30px;

}

.info h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #4b5f9c;
}


.news-list {
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 10px;
}

.news-card {
    display: flex;
    gap: 15px;
    align-items: center;

    background: #2d3c6b;
    color: white;
    padding: 15px;
    border-radius: 20px;
}

.news-card img {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.news-card h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.news-card p {
    font-size: 12px;
    opacity: 0.7;
}


.news-list::-webkit-scrollbar {
    width: 6px;
}

.news-list::-webkit-scrollbar-thumb {
    background: #9aa7d1;
    border-radius: 10px;
}

/* TABLE */

.schedule table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.schedule th,
.schedule td {
    border: 1px solid #bbb;
    padding: 8px;
    text-align: center;
}

.schedule th {
    background: #dcdce0;
}

/* FAQ */

.faq {
    background: #f5f5f7;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.faq h2 {
    font-size: 32px;
    margin-bottom: 50px;
}

/* SLIDER */


/* CARD */

.faq-card {
    background: white;
    border-radius: 25px;
    padding: 20px;
}

/* SMALL */

/* MAIN */

.faq-card.main {
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 40px;
}

/* CONTENT */

.faq-content {
    max-width: 60%;
}

.quote {
    font-size: 40px;
    color: #7a86b6;
}

.faq-content h3 {
    margin: 10px 0;
    font-size: 16px;
}

.faq-content p {
    font-size: 12px;
    color: #555;
}


.faq-person {
    text-align: center;
}

.faq-person img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

.faq-person h4 {
    margin-top: 10px;
}

/* CONTROLS */

.faq-controls {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.faq-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #5a6ea5;
    color: white;
    font-size: 20px;
    cursor: pointer;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.form-group input,
.form-group textarea {
    background-color: #6277c7;
    border: none;
    border-radius: 25px;
    padding: 14px 18px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.form-group input {
    height: 50px;
}

.form-group textarea {
    min-height: 140px;
    resize: none;
    border-radius: 28px;
}

.submit-btn {
    background-color: #6277c7;
    border: none;
    border-radius: 20px;
    color: #fff;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
    margin-top: 20px;
    transition: 0.3s;
}

.submit-btn:hover {
    opacity: 0.9;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #d1d5db;
}

.checkbox-group input[type="checkbox"] {
    width: 14px;
    height: 14px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}


.contact-form {
    flex: 1;
    /* Занимает 1 часть контейнера */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info {
    flex: 1;
    /* Занимает 1 часть контейнера */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 16px;
    color: white;
    margin-bottom: 20px;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    /* Расстояние между колонками */
    align-items: center;
    /* Выравнивание по центру по вертикали */
    background: #0f172a;
    padding: 40px 20px;
}

.footer {
    background: #0f172a;
    color: #ffffff;
    padding: 40px 60px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 30px;
}

.footer-column a {
    color: #cbd5f5;
    text-decoration: none;
    font-size: 14px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 14px;
    color: #94a3b8;
}

.footer-phone {
    font-size: 16px;
    font-weight: bold;
}

.footer-socials {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}