/* Общие стили */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background: #4A90E2;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Поддержка мобильных устройств */
}

header nav ul li {
    margin: 0;
}

header nav ul li a {
    color: white;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

header nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    background: #EFEFEF;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    color: white; /* #4A90E2; */
    font-size: 2.5em;
    margin-bottom: 40px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero .btn {
    background: #4A90E2;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s;
}

.hero .btn:hover {
    background: #357ABD;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
}

/* Footer */
footer {
    background: #4A90E2;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* CSS для горизонтального расположения иконок */
.social-links {
    list-style: none; /* Убираем символы списка */
    padding: 0;
    margin: 0;
    display: flex; /* Горизонтальное расположение */
}

.social-links li {
    margin-right: 20px; /* Отступы между иконками */
}

.social-links li a {
    color: #000; /* Цвет иконок */
    text-decoration: none; /* Убираем подчеркивание */
}

.social-links li a:hover {
    color: #0077b5; /* Цвет при наведении */
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero p {
        font-size: 1em;
    }

    .card-list {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 90%;
        margin-bottom: 20px;
    }
}


#home {
    background-image: url('welcbgimg.jpg');
    background-size: cover; /* Изображение будет масштабироваться для покрытия всей секции */
    background-position: center; /* Центрируем изображение */
    min-height: 250px; /* Минимальная высота секции */
    display: flex;   Используем Flexbox для центрирования содержимого */
    align-items: center; /* Вертикальное центрирование содержимого */
    justify-content: center; /* Горизонтальное центрирование содержимого */
    text-align: center; /* Центрируем текст внутри контейнера */
}

