body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #2b2b2b;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header {
    background-color: #0d2c54;
    color: white;
    padding: 20px 0;
}

header h1 {
    margin: 0;
    font-size: 22px;
}

nav {
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: white;
    color: #0d2c54;
}

.hero {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, #0d2c54, #1c3f73);
    color: white;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 18px;
    opacity: 0.95;
}
.section {
    padding: 60px 0;
}

.section h2 {
    color: #0d2c54;
    margin-bottom: 20px;
}

.footer {
    background-color: #2b2b2b;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

a {
    color: #0d2c54;
    font-weight: bold;
}

a:hover {
    color: #2b2b2b;
}

.clients {
    background-color: #f5f7fa;
    padding: 70px 0;
    text-align: center;
    position: relative;
}

/* Разделительная линия сверху */
.clients::before {
    content: "";
    width: 800px;
    height: 4px;
    background-color: #0d2c54;
    display: block;
    margin: 0 auto 40px auto;
    border-radius: 2px;
}

.clients h2 {
    color: #0d2c54;
    margin-bottom: 50px;
    font-size: 26px;
}

.clients-slider {
    overflow: hidden;
    position: relative;
}

.clients-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

/* Плавная остановка при наведении */
.clients-slider:hover .clients-track {
    animation-play-state: paused;
}

.clients-track img {
    height: 80px;
    margin: 0 50px;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.4s ease;
}

/* При наведении логотип становится цветным */
.clients-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HEADER ===== */

.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    font-size: 14px;
}

/* Верхняя информационная полоса */
.top-bar {
    background-color: #2b2b2b;
    color: white;
    padding: 6px 0;
}

.top-content {
    display: flex;
    justify-content: space-between;
}

/* Основная навигация */
.nav-bar {
    background-color: rgba(13, 44, 84, 0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: white;
    color: #0d2c54;
}

/* Чтобы контент не заходил под фиксированную шапку */
body {
    padding-top: 120px;
}

.section a {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
}

.section a:hover {
    color: #333333;
    text-decoration: none;
}

/* Бренд в шапке */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    height: 85px;
    width: auto;
}

.brand span {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

/* Ссылки в разделе Документы */
.section a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.section a:hover {
    color: red;
    text-decoration: none;
}

.lang-switch {
    margin-left: 20px;
    font-weight: bold;
}

.lang-switch a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

.lang-switch a:hover {
    color: #ff4d4d;
}

/* Галерея */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery img {
    width: 100%;
    border-radius: 6px;
}

.gallery-item p {
    margin-top: 10px;
    font-size: 14px;
}

/* Активная страница */
nav a.active {
    border-bottom: 2px solid #ff4d4d;
    padding-bottom: 4px;
    color: #ff4d4d;
}

/* Блок преимуществ */

advantages {
padding: 60px 20px;
background: #f5f7fa;
text-align: center;
color: #2f2f2f;
}

.advantages h2 {
margin-bottom: 40px;
font-size: 32px;
color: white;
}

.adv-item h3 {
color: #2f2f2f;
}

.adv-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 30px;
max-width: 1100px;
margin: auto;
}

.adv-item {
background: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
transition: transform 0.3s;
}

.adv-item:hover {
transform: translateY(-5px);
}

.adv-icon {
font-size: 30px;
margin-bottom: 15px;
color: #1f4f8f;
}
.adv-item p {
color: #2f2f2f;
}

/* Блок статистики */

.stats {
background: #1f4f8f;
color: white;
text-align: center;
padding: 60px 20px;
}

.stats h2 {
margin-bottom: 40px;
font-size: 32px;
}

.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
max-width: 1000px;
margin: auto;
}

.stat-number {
font-size: 48px;
font-weight: bold;
margin-bottom: 10px;
}

.stat-item p {
font-size: 18px;
}

/* Блок услуг */

.services {
padding: 70px 20px;
text-align: center;
background: white;
}

.services h2 {
font-size: 32px;
margin-bottom: 50px;
color: #2f2f2f;
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
max-width: 1100px;
margin: auto;
}

.service-card {
background: #ffffff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.06);
transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
transform: translateY(-6px);
box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-icon {
font-size: 36px;
margin-bottom: 15px;
color: #1f4f8f;
}

.service-card h3 {
margin-bottom: 10px;
color: #2f2f2f;
}

.service-card p {
color: #555;
font-size: 15px;
}

.service-card h3{
font-size:18px;
line-height:1.4;
min-height:50px;
}

.service-card p{
font-size:15px;
line-height:1.5;
}

section h2{
line-height:1.3;
max-width:700px;
margin-left:auto;
margin-right:auto;
}

.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
align-items:stretch;
}

map-container {
margin-top: 20px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* FOOTER */

.footer{
background:#1f4f8f;
color:white;
padding:40px 20px 20px;
margin-top:60px;
}

.footer-container{
max-width:1100px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
}

.footer-column h3{
margin-bottom:15px;
}

.footer-column a{
display:block;
color:white;
text-decoration:none;
margin-bottom:8px;
transition:0.3s;
}

.footer-column a:hover{
color:#ff4d4d;
}

.footer-bottom{
text-align:center;
margin-top:30px;
border-top:1px solid rgba(255,255,255,0.2);
padding-top:15px;
font-size:14px;
}