:root {
    --bs-body-font-family: 'Open Sans', sans-serif;
    --bs-primary: #c99e67;
    --bs-dark: #212529;
    --bs-light: #f8f9fa;
    --bs-body-color: #343a40;
}

body {
    font-size: 16px; /* Базовый размер шрифта */
    line-height: 1.6;
    color: var(--bs-body-color);
}

/* --- Typography --- */

h1, .h1 { font-size: calc(1.375rem + 1.5vw); font-weight: 700; } /* ~3.5rem on large screens */
h2, .h2 { font-size: 2rem; font-weight: 700; }
h5, .h5 { font-size: 1.25rem; font-weight: 600; }
/*
p { font-size: 1rem; }
*/
:root {
  --bs-link-hover-color: #c99e67;
}
/* --- Buttons --- */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #b38e5a; /* A slightly darker shade for hover/focus */
    border-color: #b38e5a;
    color: #fff;
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}


.header-logo{
width:158px;
height:43px;
}
.navbar { background-color: #323948; }
.nav-link { color: #fff; }
.nav-link:focus, .nav-link:hover {
    color: #c99e67;
}
.item-lang{font-size:14px;}
.navbar-toggler{background-color: #c99e67; }
.lk-button{border-radius: 30px;  margin-right: 16px;}
a.lk-button:active{
    background: #a78350 !important;
   border-color: #a78350 !important;
}

/* Стилизация строки поиска */
#search-toggle{
    color: #c99e67;
    margin-right: 16px;
}
#search-form-collapse {
    position: absolute;
    top: 100%; /* Позиционируем прямо под навигацией */
    left: 0;
    right: 0;
    width: 100%;
    background-color:#3239489c; /* Выберите фоновый цвет для строки поиска */
    z-index: 1020; /* Должен быть выше основного контента */
    padding: 10px 0;
}

/* Стилизация формы внутри строки */
.search-form {
    max-width: 600px; /* Ограничиваем ширину формы */
    margin: 0 auto;   /* Центрируем */
}

/* Стиль для кнопки "Найти" */
.search-form .btn-outline-light {
    color: #c99e67; /* Цвет из предыдущего запроса */
    border-color: #c99e67;
}
.search-form .btn-outline-light:hover {
    background-color: #c99e67;
    color: #fff;
}


/*Main Title*/
.main-title a{color: #cda26e;}

/*Footer*/
.footer { background-color: #1a2a3a; color: #fff; padding: 10px 0 5px 0; text-align: center; }
        .footer a { color: #fff; }
.foot-contacts{
 font-size: 0.86em;
}
.footer-copy {
 font-size: 0.9em;
}
.footer-coockie {
 font-size: 0.7em;
}
/*Social icons*/
.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
   /* justify-content: center;*/
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.youtube {
    background-color: #FF0000;
    color: white;
}

.youtube:hover {
    background-color: #CC0000;
    color: white;
}

.facebook {
    background-color: #1877F2;
    color: white;
}

.facebook:hover {
    background-color: #166FE5;
    color: white;
}

.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
    color: white;
}

.instagram:hover {
    background: linear-gradient(45deg, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
}

.telegram {
    background-color: #0088CC;
    color: white;
}

.telegram:hover {
    background-color: #006699;
    color: white;
}

@media (max-width: 1199.98px) {
 .nav-link { font-size:12px; }
.item-lang{font-size:12px;}
}

/* АДАПТИВНОЕ МЕНЮ (Mobile View) */
@media (max-width: 991.98px) {
.item-lang{font-size:10px;}

    /* В мобильном виде форму поиска лучше показать внутри nav-collapse */
    #search-form-collapse {
        position: static; /* Убираем абсолютное позиционирование */
        background-color: transparent; /* Убираем фон */
        padding: 0;
    }

    /* Скрываем кнопку поиска из списка nav-item в мобильном виде,
       так как она будет дублировать кнопку-тогглер */
    .search-icon-container {
        display: none;
    }
}



        .services { padding: 50px 0; text-align: center; }
        .services img { width: 50px; height: 50px; }
        .projects { padding: 50px 0; }
        .announcements { padding: 50px 0; background-color: #f8f9fa; }
        .companies { padding: 50px 0; }
        .companies .card { background-color: #f8f9fa; }

        .chatbot { text-align: right; padding: 20px; }
.ff-el-input--content {
    margin-bottom: 30px;
}
.fluentform_wrapper_3 {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Montserrat', sans-serif;
}


.fluentform .ff-el-input--label {
    display: inline-block;
    margin-bottom: 5px;
    position: relative;
}
.fluentform * {
    box-sizing: border-box;
}
.ff-el-input--label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    transition: color 0.3s ease-in-out;
}
.ff-default .ff-el-input--label label {
    display: inline-block;
    font-weight: 500;
    line-height: inherit;
    margin-bottom: 0;
}
.ff-el-input--content {
    margin-bottom: 30px;
}
.ff-el-form-control input{
    background-clip: padding-box;
    background-image: none;
    border: 1px solid #dadbdd;
    border-radius: 7px;
    color: #606266;
    font-family: -apple-system, "system-ui", Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
    line-height: 1;
    margin-bottom: 0;
    max-width: 100%;
    padding: 11px 15px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
}
.ff-default .ff-el-form-control input:focus {
    background-color: #fff;
    border-color: #1a7efb;
    color: #606266;
    outline: none;
}
input.inputtext:focus {
    background-color: #fff;
    border-color: #1a7efb;
    color: #606266;
    outline: none;
}
.fluentform .ff-el-form-control input{
    display: block;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.fluentform .ff-el-group input{
    margin-bottom: 20px;
}

.fluentform .ff-el-group.ff-el-form-top .ff-el-input--content {
    margin-bottom: 0;
    margin-left: auto;
}

/* Кастомный placeholder */
/* Более специфичные стили для кастомного placeholder */
.fluentform .ff-el-input--content {
    position: relative !important;
}

.fluentform .ff-el-input--content .custom-placeholder {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #999 !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
    background: white !important;
    padding: 0 5px !important;
    font-size: 16px !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Активное состояние placeholder */
.fluentform .ff-el-input--content .custom-placeholder.active {
    top: -8px !important;
    font-size: 12px !important;
    color: #007bff !important;
    transform: translateY(0) !important;
}

/* Дополнительная специфичность для input */
.fluentform .ff-el-input--content .ff-el-form-control .inputtext {
    position: relative !important;
    z-index: 1 !important;
    background: white !important;
}

/* Альтернативные стили, если основные не работают */
.ff-el-input--content {
    position: relative !important;
}

.custom-placeholder {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #999 !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
    background: white !important;
    padding: 0 5px !important;
    font-size: 16px !important;
    z-index: 10 !important;
    font-family: inherit !important;
    line-height: 1 !important;
}

.custom-placeholder.active {
    top: -8px !important;
    font-size: 12px !important;
    color: #007bff !important;
    transform: translateY(0) !important;
}

/* Загрузка: Минималистичный стиль */
.ff-dropzone .ff-el-input--content {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
}

.ff-dropzone .inputfile {
    width: 100%;
    height: 50px;
    opacity: 0;
    position: absolute;
    cursor: pointer;
    z-index: 2;
}

.ff-dropzone .bx-input-file-desc {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #f8f9fa;
    color: #495057;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.ff-dropzone .bx-input-file-desc:before {
    content: "Загрузите документ";
}

.ff-dropzone .bx-input-file-desc:hover {
    border-color: #667eea;
    background: #f0f4ff;
    color: #667eea;
}

@media (min-width: 768px) {
    .ff-t-container {
        display: flex;
        gap: 15px;
        width: 100%;
    }
    .ff-t-cell:first-of-type {
        padding-left: 0;
    }
    .ff-t-cell {
        display: flex;
        flex-direction: column;
        vertical-align: inherit;
        width: 100%;
    }
}



#menu_lang{
    cursor: pointer;
}


.ff-button input{
    background-color: #1a7efb;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    padding: 8px 20px;
    position: relative;
    text-align: center;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}




