/* Подключение шрифта Inter */
/* Обычный стиль (Regular) */
@font-face {
    font-family: 'Inter';
    src: url('/static/fonts/inter/Inter-Regular.woff2') format('woff2'),
         url('/static/fonts/inter/Inter-Regular.woff') format('woff'),
         url('/static/fonts/inter/Inter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Полужирный стиль (Bold) */
@font-face {
    font-family: 'Inter';
    src: url('/static/fonts/inter/Inter-Bold.woff2') format('woff2'),
         url('/static/fonts/inter/Inter-Bold.woff') format('woff'),
         url('/static/fonts/inter/Inter-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Курсив (Italic) */
@font-face {
    font-family: 'Inter';
    src: url('/static/fonts/inter/Inter-Italic.woff2') format('woff2'),
         url('/static/fonts/inter/Inter-Italic.woff') format('woff'),
         url('/static/fonts/inter/Inter-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

/* Полужирный курсив (Bold Italic) */
@font-face {
    font-family: 'Inter';
    src: url('/static/fonts/inter/Inter-BoldItalic.woff2') format('woff2'),
         url('/static/fonts/inter/Inter-BoldItalic.woff') format('woff'),
         url('/static/fonts/inter/Inter-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}


/* Адаптивность для таблицы */
@media (max-width: 768px) {
    table thead {
        display: none;
    }

    table, table tbody, table tr, table td {
        display: block;
        width: 100%;
    }

    table tr {
        margin-bottom: 15px;
    }

    table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: bold;
        text-transform: uppercase;
    }
}

/* Стили для таблицы */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1rem;
    text-align: left;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

table thead {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

table th,
table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.03rem;
}

table tbody tr:hover {
    background-color: #f8f9fa;
    transition: all 0.2s ease-in-out;
}

table tbody tr:last-child td {
    border-bottom: none;
}

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

body {
    font-family: 'Inter', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
}

/* Стили для заголовков h3 */
h3 {
    font-size: 2.2rem; /* Размер шрифта */
    font-weight: 600; /* Жирность текста */
    color: #333; /* Цвет текста */
    margin-top: 20px; /* Отступ сверху */
    margin-bottom: 15px; /* Отступ снизу */
    line-height: 1.4; /* Межстрочное расстояние */
    text-align: left; /* Выравнивание текста */
}

/* Адаптивные настройки для h3 */
@media (max-width: 768px) {
    h3 {
        font-size: 1.6rem; /* Уменьшение шрифта на планшетах */
    }
}

@media (max-width: 576px) {
    h3 {
        font-size: 1.4rem; /* Уменьшение шрифта на мобильных устройствах */
        text-align: center; /* Выравнивание по центру на маленьких экранах */
    }
}


/* Контейнер для шапки */
/* Заголовок страницы */
.header {
    background: linear-gradient(135deg, #007bff, #00b4d8);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 5px solid #007bff;
}

/* Контейнер для шапки */
.header-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* Заголовок и описание */
.header-container h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.header-container p {
    margin-top: 20px;
    font-size: 1.5rem;
    opacity: 0.9;
    line-height: 1.2;
}


/* Контейнер */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /*margin: 10px 10px 10px 10px;*/
    padding: 10px;
}

/* Кнопка */
.button {
    display: inline-block;
    padding: 12px 24px;
    margin-top: 30px;
    color: #007bff;
    background-color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.button:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
}

/* Заголовок раздела функциональных возможностей */
.services-header {
    text-align: center;
    padding: 40px 0;
    background-color: #f0f8ff;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.services-header h2 {
    font-size: 2.5rem;
    color: #007bff;
    margin: 0;
    padding: 10px 20px;
    line-height: 1.2;
}

/* Раздел функциональных возможностей */
.services {
    padding: 30px;
    border-radius: 5px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

/* Карточка функционала */
.service-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* Иконки в карточке */
.service-card i {
    display: block;
    text-align: center;
    font-size: 4rem;
    color: #007bff;
    flex-shrink: 0;
    margin: 0 auto 15px auto;
    
}

/* Текст внутри карточки */
.service-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: justify;
    hyphens: auto;
}

/* Маркированный список внутри карточки */
.service-card ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.service-card ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4;
}

/* Футер */
.footer {
    background-color: #343a40;
    color: #ddd;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    color: #00b4d8;
    text-decoration: underline;
}

/* Адаптивность для планшетов */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .header p {
        font-size: 1.2rem;
    }

    .container {
        grid-template-columns: 1fr;
    }

    .services-header h2 {
        font-size: 2rem;
    }

    .service-card {
        margin: 10px 10px 10px 10px;
        max-width: 90%;
    }

    .service-card i {
        font-size: 3rem;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 576px) {
    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .services-header h2 {
        font-size: 1.8rem;
    }

    .service-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-card i {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .footer {
        padding: 20px 0;
    }
}
