/* Общие стили */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f2f4f8;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background-color: #0a3c73;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.nav-links li {
    margin: 10px 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Переключатель языков */
.language-switcher {
    margin-top: 15px;
    text-align: center;
}

.language-switcher button {
    background-color: white;
    color: #0a3c73;
    border: 1px solid #0a3c73;
    padding: 6px 12px;
    margin: 0 5px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.language-switcher button:hover {
    background-color: #0a3c73;
    color: white;
}

/* Герой-секция */
.hero {
    background-image: url("femida-background.jpg");
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 18px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #1976d2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background-color: #125db4;
}

/* Секция услуг */
.services {
    background-color: #f2f4f7;
    padding: 40px 20px;
    text-align: center;
}

.services h3 {
    color: #0a3c73;
    margin-bottom: 20px;
}

.services ul {
    list-style: none;
    padding: 0;
    font-size: 18px;
}

.services li {
    margin-bottom: 10px;
}

/* Секция формы */
.form-section {
    background-color: #f2f4f7;
    padding: 40px 20px;
}

.form-section h3 {
    text-align: center;
    color: #0a3c73;
}

.form-section p {
    text-align: center;
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    font-size: 16px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    box-sizing: border-box;
}

button[type="submit"] {
    background-color: #0a3c73;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #084d94;
}

#form-status {
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
}

/* Секция юристов */
.lawyer-list {
    background-color: #ffffff;
    padding: 40px 20px;
}

.lawyer-list h3 {
    text-align: center;
    color: #0a3c73;
    margin-bottom: 30px;
}

.lawyer-list .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.lawyer-list .container>div {
    width: 280px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.lawyer-list img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.lawyer-list a {
    color: #0a3c73;
    text-decoration: none;
    font-weight: bold;
}

.lawyer-list a:hover {
    text-decoration: underline;
}

/* Подвал */
.footer {
    background-color: #0a3c73;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}
