/*
Theme Name: My Theme
Theme URI: http://example.com/my-theme
Author: Твое имя
Author URI: http://example.com
Description: Описание темы
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-theme
*/
:root {
  --main-container: 1200px;
  --small-container: 1000px;
  
  --margin-text-1: 80px;
  --margin-text-2: 120px;
  
  --radzel-margin: 120px;
  --radzel-dop: 80px;
  --offset-container: 50px;  
  --offset-content: 60px;    
}

::selection {
    color:#fff;
    background:#AAB3BC; 
}

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

html, body {
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    color: #000;
    font-weight: 400;
    background-color: #fff;
    line-height: 1.3;     
    height: 100%; /* Устанавливаем высоту 100% для правильного позиционирования */
    margin: 0;
    padding: 0;
}

.container {
    width: var(--main-container);
    margin: 0 auto; 
    padding: 0;
}


h1 {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.3;
    text-transform: uppercase; /* Все буквы заглавные */
}

h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
}


h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

h4 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
}

h5 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
}


p {
    line-height: 1.5;
     margin-bottom: 30px; /* Отступ после каждого абзаца */
}

.razdel {
    margin-top: var(--radzel-margin);
}

.razdel-dop {
    margin-top: var(--radzel-dop);
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 360px); /* Три столбца по 360px */
    gap: 60px; /* Расстояние между колонками */
    justify-content: center; /* Центрируем сетку */
    padding: 20px; /* Отступы для удобства */
}

.grid-item {
    background-color: #f3f3f3; /* Фон для наглядности */
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.grid-span-3 {
    grid-column: span 3; /* Один элемент занимает 3 колонки */
}

.grid-span-2 {
    grid-column: span 2; /* Один элемент занимает 2 колонки */
}


.grid-span-1 {
    grid-column: span 1; 
}

.content-half {
    width: 600px;
}


.grid-container-half {
    display: grid;
    grid-template-columns: 600px 480px;
    
    gap: 120px; /* Расстояние между колонками */
    justify-content: center; /* Центрируем сетку */
    
}

.container-cover {
    height: 100vh;
    width: 100%; /* Можно задать фиксированную ширину, если нужно */
    overflow: hidden; /* Обрезаем лишнее */
}

.container-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняем контейнер, сохраняя пропорции */
    object-position: center; /* Центрируем изображение */
    display: block; /* Убираем лишние отступы */
}

.grid-img-text {
    display: grid;
    grid-template-columns: 80px auto; /* Три столбца по 360px */
    gap: 40px; /* Расстояние между колонками */
    justify-content: center; /* Центрируем сетку */
    
}


.header {
    display: grid;
    grid-template-columns: auto 1fr auto; /* Разделение на три колонки: логотип, центральная часть и контакты */
    align-items: center;
    margin-top: 30px;
}

.header-logo {
    display: grid; /* Включаем grid для внутренних элементов */
    grid-template-columns: auto auto 1fr; /* Три элемента в одну строку */
    align-items: center; /* Выравниваем элементы по вертикали */
    gap: 10px; /* Отступы между элементами */
    justify-items: start; /* Элементы будут выровнены по левому краю */
}

.header-logo-img {
    width: 103px;
    height: 62px;
}

.header-logo-name {
    font-size: 12px;
    text-transform: uppercase;
    padding-left: 24px;
    padding-right: 24px;
    width: 158px;
}

.header-logo-description {
    display: flex; /* Включаем Flexbox */
    align-items: center; /* Центрируем текст по вертикали */
    font-size: 12px;
    border-left: 1px solid #909090; 
    padding-left: 24px;
    width: 248px;
    height: 100%;
}

.header-contact {
    display: grid; /* Включаем grid для внутренних элементов */
    grid-template-columns: auto auto 1fr; /* Три элемента в одну строку */
    justify-self: end; /* Размещаем справа */
    align-items: center;
    gap: 10px; /* Отступы между элементами */
    height: 100%;
}

.header-contact-email {
    font-size: 20px;
    color: #565656;
}

.header-contact-phone {
    padding-left: 24px;
    padding-right: 24px;
}

.header-contact-adress {
    font-size: 12px;
    color: #909090;
    width: 264px;
    padding-left: 24px;
    display: flex; /* Включаем Flexbox */
    align-items: center; /* Центрируем текст по вертикали */
    height: 100%;
    border-left: 1px solid #909090; 
}


.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 31px;
    margin-bottom: 28px;
    width: 100%; /* Растягиваем меню на всю ширину */
}

.menu-left {
    display: flex;
    font-size: 14px;
}

.menu-item {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    color: #565656;
    text-transform: uppercase;
    border-right: 1px solid #A8A8A8;
    padding-left: 24px;
    padding-right: 24px;
    white-space: nowrap;
}

.menu-item-last {
    border-right: 0px;
    margin-right: 24px;
}

.menu-button {
    padding: 6px 30px;
    border-radius: 16px;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-left: auto; /* Перемещает кнопку вправо */
    margin-right: 20px; /* Отступ перед правым блоком */
    background-color: #003366;
    color: white;

}

.menu-right {
    display: flex;
    align-items: center;
    gap: 8px;
}



.menu-icon {
    width: 36px; /* Фиксированная ширина */
    height: 36px; /* Фиксированная высота */
    display: flex;
    justify-content: center; /* Центрируем по горизонтали */
    align-items: center; /* Центрируем по вертикали */
}

.hero {
    padding-top: 88px;
    color: #fff;
    background-color: gray;
    height: 730px;
    background-image: url(../images/index/hero-cover.jpg);     
    background-position: center; 
    background-repeat: no-repeat;
    background-size: cover;
}

.сover {
    height: 100vh;
    text-align: center;
    color: white;
}

.hero p {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 36px;
    margin-bottom: 60px;
    width: 506px;
}



.about-stats {
    display: flex;
    margin-top: 150px;
    gap: 138px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 140px;
    font-weight: 600;
    line-height: 1.0;
    color: #14A0FD;
}

.stat-text {
    font-size: 16px;
    color: #14A0FD;
    text-align: left;
    width: 142px;
}


.line-offset {
    position: relative;
}

.green-line {
    position: absolute;
    width: 120px;
    height: 5px;
    background-color: #4CAF50;
    top: 16px;   /* Смещение от верхнего края родителя */
    left: -180px;  /* Смещение от левого края родителя */
}

.advantages {
    background-color: #E6F0FA;
}


.advantages-header {
    display: flex;
    align-items: center;
    gap: 15px;
}


.advantages-title {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.advantages-description {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 20px;
    max-width: 800px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 15px;
}

.advantage-icon {
    width: 50px;
    height: 50px;
}

.advantage-title {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.advantage-text {
    font-size: 14px;
    line-height: 1.5;
}

.consultation {
    background: linear-gradient(to bottom, #0066A2, #002F5E); /* Градиентный фон */
    padding: 50px 0;
    text-align: center;
}

.btn-consultation {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
}

.btn-consultation:hover {
    background: white;
    color: #0066A2;
}


/* Блоки проектов */
.projects {
    margin-top: 40px;
}

.project {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.project .text {
    max-width: 40%;
}

.project h3 {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Кнопка */
.btn {
    display: inline-block;
    background-color: #1c3569;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
}

/* Изображения */
.project .image {
    max-width: 55%;
}

.project .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


/* Заголовок страницы */
.projects-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.projects-description {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}

/* Категории проектов */
.projects-category {
    margin-bottom: 50px;
}

/* Заголовок категории */
.category-title {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    border-left: 4px solid green;
    padding-left: 10px;
    margin-bottom: 20px;
}

/* Проекты */
.project {
    margin-bottom: 30px;
}

.project-image {
    width: 100%;
    max-width: 900px;
    display: block;
    margin-bottom: 10px;
}

.project-text {
    font-size: 14px;
    color: #444;
    max-width: 900px;
}



        .section {
            margin-bottom: 80px;
        }
        h2 {
            font-size: 20px;
            text-transform: uppercase;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .subtitle {
            font-size: 14px;
            color: #555;
            margin-bottom: 30px;
        }
        .grid {
            display: flex;
            gap: 20px;
            align-items: center;
        }
        .grid img {
            width: 100%;
            object-fit: cover;
        }
        .text-block {
            font-size: 14px;
            line-height: 1.6;
        }
        .arrows {
            display: flex;
            justify-content: flex-end;
            gap: 20px;
            margin-top: 10px;
        }
        .arrows span {
            font-size: 24px;
            cursor: pointer;
        }
        .project-section {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            background: linear-gradient(90deg, #ccc, #f9f9f9);
            padding: 20px;
        }
        .project-text {
            flex: 1 1 300px;
        }
        .project-img {
            flex: 1 1 500px;
        }
        .btn {
            display: inline-block;
            padding: 10px 20px;
            background: #003366;
            color: #fff;
            text-decoration: none;
            margin-top: 20px;
            font-size: 14px;
            border-radius: 4px;
        }
        .btn:hover {
            background: #001f4d;
        }
        
        
   .form-section {
        padding: 60px 20px;
        background: #fff;
    }
    .form-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        max-width: 1200px;
        margin: 0 auto;
        gap: 40px;
        flex-wrap: wrap;
    }
    .form-text {
        flex: 1 1 40%;
    }
    .form-text h2 {
        font-size: 24px;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 20px;
    }
    .form-text p {
        font-size: 16px;
        color: #333;
    }
    .contact-form {
        flex: 1 1 50%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 4px;
        width: 100%;
    }
    .contact-form button {
        padding: 14px;
        background: #003366;
        color: #fff;
        border: none;
        border-radius: 4px;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.3s;
        box-shadow: 0 4px 0 #001f4d;
    }
    .contact-form button:hover {
        background: #001f4d;
    }
    
    
    
        .facts-section {
        padding: 60px 20px;
        background: #fff;
    }
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    .fact-block {
        margin-bottom: 60px;
    }

    .fact-number {
        margin-top: 20px;
        color: #14A0FD;
    }
    .number {
        font-size: 140px;
        color: #14A0FD;
        font-weight: 600;
        display: block;
    }
    .fact-gallery, .fact-logos, .fact-team {
        display: flex;
        gap: 20px;
        margin-top: 20px;
        flex-wrap: wrap;
    }
    .fact-gallery img, .fact-logos img, .fact-team img {
        width: 150px;
        height: auto;
        object-fit: cover;
        border: 1px solid #eee;
    }
    h3 {
        font-size: 18px;
        text-transform: uppercase;
        margin-bottom: 10px;
    }


   .contacts-section {
        padding: 60px 20px;
    }
    .contacts-section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .contacts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
        margin-bottom: 30px;
    }
    .contact-item i {
        display: inline-block;
        margin-bottom: 10px;
        font-size: 20px;
        color: #0066cc;
    }
    .contact-item p {
        margin: 0;
        font-size: 14px;
    }
    .contact-item strong {
        color: #000;
    }
    .contact-buttons {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    .contact-buttons button {
        background: #003366;
        color: #fff;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .map iframe {
        width: 100%;
        height: 400px;
        border: none;
    }
    
    .consultation-section {
        padding: 60px 0;
        background: #fff;
    }
    .consultation-wrapper {
        display: flex;
        gap: 40px;
        align-items: stretch;
    }
    .consultation-left {
        flex: 1;
    }
    .consultation-left h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .consultation-left p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .phone-block a {
        display: flex;
        align-items: center;
        color: #000;
        font-size: 18px;
        text-decoration: none;
        gap: 10px;
        margin-bottom: 20px;
    }
    .messenger-block .icons i {
        font-size: 24px;
        margin-right: 15px;
        cursor: pointer;
    }
    .consultation-right {
        flex: 1;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
    }
    .form-block {
        background: rgba(255, 255, 255, 0.95);
        padding: 30px;
        border-radius: 8px;
    }
    .form-block p {
        margin-bottom: 10px;
    }
    .form-block ul {
        list-style: disc;
        padding-left: 20px;
        margin-bottom: 15px;
    }
    .form-block form {
        display: flex;
        flex-direction: column;
    }
    .form-block input[type="tel"] {
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    .form-block button {
        background: #007bff;
        color: #fff;
        padding: 12px;
        border: none;
        cursor: pointer;
        font-weight: bold;
        margin-bottom: 10px;
        border-radius: 4px;
    }
    .form-block .policy {
        font-size: 12px;
    }    



.footer {
    background-color: #043366;
    color: white;
    padding: 40px 20px;
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo img {
    width: 80px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-column {
    width: 30%;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
}

.socials a {
    margin: 0 5px;
}

.socials img {
    width: 24px;
}


.p-big {
    font-size: 32px;
    line-height: 1.4;    
}

.p-middle {
    font-size: 24px;
}

.p-link {
    font-size: 18px;
    margin-top: -24px;
}






.buttons {
    display: flex;
    justify-content: left;
    gap: 48px;
}

.button-main {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background-color: #003366;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: center; /* Центрируем по горизонтали */
    align-items: center; /* Центрируем по вертикали */
    width: 320px;
    height: 60px;
    text-transform: uppercase;
}

.button-dop {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: center; /* Центрируем по горизонтали */
    align-items: center; /* Центрируем по вертикали */
    width: 320px;
    height: 60px;
    text-transform: uppercase;
}

.botton-shadow {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}       
        

.img-icon {
    width: 30px; /* Уменьшаем размер изображения */
    height: 30px;
}




