body {
    font-family: 'Inter', sans-serif;
}

.header {
    background-color: #FAFAFA;
    min-height: 100px;
}

.font-50-900 {
    font-size: 50px;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
}

.font-55-700 {
    font-size: 55px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #0A2463;
}

.font-40-700 {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.font-32-700 {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.font-24-700 {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.font-20-700 {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.font-28-500 {
    font-size: 28px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.font-24-500 {
    font-size: 24px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #000000;
}

.font-20-500 {
    font-size: 20px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.font-14-700 {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.header-btn {
    height:60px;
    line-height: 45px;
    width: 250px;
    border: 2px solid #3E92CC;
}

.heroes-btn {
    height: 80px;
    line-height: 60px;
    background-color: #3E92CC;
    border-color: #3E92CC;
    color:#fff;
    border-radius : 12px;
}

.heroes-btn:hover {
    background-color: #3E92CC;
    border-color: #3E92CC;
    color:#fff;
    border-radius : 12px;
}

.heroes-btn-1 {
    height: 80px;
    line-height: 60px;
    border-color: #3E92CC;
    color:#fff;
    border-radius : 12px;
}

.heroes-btn-1:hover {
    border-color: #3E92CC;
    color:#fff;
    border-radius : 12px;
}

.custom-btn {
    height: 56px;
    line-height: 40px;
    background-color: #3E92CC;
    border-color: #3E92CC;
    color:#fff;
    border-radius : 12px;
}

.custom-btn:hover {
    background-color: #3E92CC;
    border-color: #3E92CC;
    color:#fff;
    border-radius : 12px;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.is-valid {
    border-color: #28a745 !important;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.error-summary {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.field-icon {
    position: relative;
}

.validation-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.captcha-section {
    margin-top: 30px;
}

.submit-btn {
    background-color: #0A2463;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 30px;
}

.submit-btn:hover {
    background-color: #0a1a4a;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

     /* Дополнительные адаптивные стили для мобильных устройств */

     /* Адаптивные шрифты для мобильных */
@media (max-width: 768px) {
    .font-50-900 {
        font-size: 32px;
    }

    .font-55-700 {
        font-size: 36px;
    }

    .font-40-700 {
        font-size: 28px;
    }

    .font-32-700 {
        font-size: 24px;
    }

    .font-28-500 {
        font-size: 18px;
    }

    .font-24-700 {
        font-size: 20px;
    }

    .font-24-500 {
        font-size: 16px;
    }

    .font-20-700 {
        font-size: 16px;
    }

    .font-20-500 {
        font-size: 14px;
    }

    .font-14-700 {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .font-50-900 {
        font-size: 28px;
    }

    .font-55-700 {
        font-size: 32px;
    }

    .font-40-700 {
        font-size: 24px;
    }
}

/* Адаптивные кнопки */
@media (max-width: 768px) {
    .header-btn {
        width: auto;
        padding: 0 15px;
        height: 45px;
        line-height: 30px;
        font-size: 12px;
    }

    .heroes-btn {
        height: auto;
        line-height: normal;
        padding: 12px 20px;
        font-size: 18px;
    }

    .custom-btn {
        height: auto;
        line-height: normal;
        padding: 10px 20px;
    }
}

/* Адаптивные отступы */
@media (max-width: 768px) {
    .header {
        min-height: 70px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .container-mobile {
        margin-left: 12px;
    }

    .col-sm-6:nth-child(even) {
        margin-top: 50px;
    }
}

/* Стили для карточек услуг */
.service-card {
    border: 0;
    background: none;
    margin-bottom: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

@media (min-width: 768px) {
    .service-icon {
        width: 80px;
        height: 80px;
    }
}

.service-icon img {
    width: 100%;
    height: auto;
}

.service-text {
    flex: 1;
    min-width: 200px;
}

@media (max-width: 767px) {
    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-text {
        text-align: center;
    }
}

/* Стили для карточек How We Work */
.work-card {
    border: 0;
    background: none;
    text-align: center;
    padding: 15px;
    height: 100%;
    margin-bottom: 20px;
}

.work-icon {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.work-icon img {
    max-width: 100%;
    height: auto;
}

.work-content {
    text-align: center;
}

@media (max-width: 768px) {
    .work-card {
        padding: 10px;
    }
}

/* Секция с фоновым изображением */
.bg-image-section {
    position: relative;
    overflow: hidden;
}

.bg-image-overlay {
    position: relative;
    z-index: 2;
}

.bg-image-decoration {
    display: none;
}

@media (min-width: 992px) {
    .bg-image-decoration {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 414px;
        z-index: 1;
    }
}

/* Секция Discuss Your Task */
.discuss-section {
    background-color: #FAFAFA;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow-x: clip;
    padding: 40px 0;
}

@media (min-width: 768px) {
    .discuss-section {
        min-height: 390px;
        padding: 60px 0;
    }
}

/* Футер */
.footer {
    background-color: #0A2463;
    padding: 40px 0;
    text-align: center;
}

@media (min-width: 768px) {
    .footer {
        text-align: left;
        padding: 60px 0;
    }
}

.footer-links {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .footer-links {
        margin-top: 0;
        margin-left: 30px;
    }
}

.footer-contacts {
    margin-top: 30px;
}

@media (min-width: 768px) {
    .footer-contacts {
        margin-top: 0;
        margin-left: 55px;
    }
}

.footer-contacts a {
    color: #ffffff;
    text-decoration: none;
    word-break: break-all;
}

.footer-contacts a:hover {
    text-decoration: underline;
}

/* Адаптивные списки */
.custom-list {
    padding-left: 20px;
}

@media (min-width: 768px) {
    .custom-list {
        padding-left: 40px;
    }
}

/* Адаптивные изображения */
.section-image {
    margin-top: 30px;
}

@media (min-width: 992px) {
    .section-image {
        margin-top: 0;
    }
}

/* Адаптивные отступы для секций */
.section-padding {
    padding: 40px 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

@media (min-width: 992px) {
    .section-padding {
        padding: 80px 0;
    }
}

/* Адаптивные отступы для колонок в Areas of Expertise */
@media (max-width: 991px) {
    .areas-text {
        text-align: center;
        margin-bottom: 30px;
    }

    .areas-text ul {
        text-align: left;
        display: inline-block;
    }
}

/* Почтовые ссылки */
.email-link {
    color: inherit;
    text-decoration: none;
    word-break: break-all;
}

.email-link:hover {
    text-decoration: underline;
}

/* Адаптивные галереи */
.row-cols-mobile {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .col-mobile-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}