/* ===== RESET & BASE STYLES ===== */
* {
    box-sizing: border-box;
}

/* ===== FONT DEFINITIONS ===== */
@font-face {
    font-family: 'Manrope Bold';
    src: url('/assets/fonts/manrope-bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans Bold';
    src: url('/assets/fonts/open-sans-bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans SemiBold';
    src: url('/assets/fonts/open-sans-semibold.ttf');
    font-weight: 600;
    font-style: normal;
    ;
}

@font-face {
    font-family: 'Open Sans Regular';
    src: url('/assets/fonts/open-sans-regular.ttf');
    font-weight: 400;
    font-style: normal;
}

/* Плавная прокрутка для всей страницы */
html {
    scroll-behavior: smooth;
}

/* Анимация для мобильного меню */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
}

#mobile-menu:not(.hidden) {
    animation: slideDown 0.7s ease-out forwards;
}

#mobile-menu.hidden {
    animation: slideUp 0.7s ease-in forwards;
}

/* Анимация для ссылок */
.mobile-menu-item {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.7s ease-in-out;
}

#mobile-menu:not(.hidden) .mobile-menu-item {
    opacity: 1;
    transform: translateY(0);
}

/* Задержки для каждой ссылки */
#mobile-menu:not(.hidden) .mobile-menu-item:nth-child(1) { transition-delay: 0.3s; }
#mobile-menu:not(.hidden) .mobile-menu-item:nth-child(2) { transition-delay: 0.35s; }
#mobile-menu:not(.hidden) .mobile-menu-item:nth-child(3) { transition-delay: 0.5s; }
#mobile-menu:not(.hidden) .mobile-menu-item:nth-child(4) { transition-delay: 0.55s; }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}


/* ===== CSS VARIABLES ===== */
:root {
    --text-white: #FFFFFF;
    --navigation-text-blue: #003CE5;
    --text-blue: #015DD3;
    --text-hover: #ACB2C5;
    --shadow-color: #9d9d9d;
}

/* ===== LAYOUT & CONTAINER ===== */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-1 {
    height: 550px;
}




.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.transform {
    transform: translateX(-50%);
}

/* ===== COLOR UTILITIES ===== */
.text-text-blue {
    color: var(--text-blue);
}

.text-text-blue1 {
    color: var(--text-blue);
    transition: color 0.3s ease;
}

.text-text-blue1:hover {
    color: var(--text-hover);
}

/* ===== TYPOGRAPHY STYLES ===== */

/* Header Styles */
.header-text {
    font-family: 'Manrope Bold', sans-serif;
    font-size: 120px;
    line-height: 1.1;
    text-shadow: var(--shadow-color) 0px 4px 4px;
}

.header-text-2 {
    font-family: 'Manrope Bold', sans-serif;
    font-size: 154px;
    line-height: 1.1;
}

/* Additional Text Styles */
.additional-text {
    font-family: 'Open Sans Regular', sans-serif;
    font-size: 24px;
    line-height: 1.4;
}

.additional-text-1 {
    font-family: 'Open Sans Regular', sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.additional-text-2 {
    font-family: 'Open Sans Regular', sans-serif;
    font-size: 18px;
    line-height: 1.4;
}

/* Title & Main Text Styles */
.title-text {
    font-family: 'Manrope Bold', sans-serif;
    font-size: 48px;
}

.main-text,
.main-text1 {
    font-family: 'Open Sans Regular', sans-serif;
    font-size: 20px;
    line-height: 1.6;
}

/* Font Utility Classes */
.font-opensans-bold {
    font-family: 'Open Sans Bold', sans-serif;
}

/* ===== COMPONENT STYLES ===== */

/* Advantages Section */
.advantage-item {
    position: relative;
    padding: 20px;
}

.advantage-number {
    font-family: 'Manrope Bold', sans-serif;
    font-size: 64px;
    color: var(--text-blue);
    margin-bottom: 16px;
    line-height: 1;
}



/* Fifth Block Styles */
.fifth-advantage-item {
    padding: 20px;
    border-radius: 12px;
}

.fifth-advantage-number {
    font-family: 'Manrope Bold', sans-serif;
    font-size: 48px;
    color: var(--text-blue);
    margin-bottom: 16px;
    line-height: 1;
}

/* Footer Styles */
.footer-title {
    font-family: 'Open Sans SemiBold', sans-serif;
    font-size: 48px;
}

.contacts-text {
    font-family: 'Open Sans Regular', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* Image Styles */
.img1 {
    z-index: 10;
}

.img360 {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Desktop First Approach - 1280px and below */
@media (max-width: 1280px) {
    .header-text {
        font-size: 100px;
    }

    .header-text-2 {
        font-size: 130px;
    }

    .additional-text {
        font-size: 28px;
    }
}
@media (max-width: 1000px) {

    /* Typography */
    .header-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 71px;
    }

    .header-text-2 {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 92px;
    }

    .additional-text {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 20px;
    }

    .title-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 30px;
    }

    .main-text {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 16px;
    }

    .advantage-number {
        font-size: 48px;
    }

    .fifth-advantage-number {
        font-size: 36px;
    }

    .footer-title {
        font-size: 16px;
    }

    .contacts-text {
        font-size: 12px;
    }

    /* Layout */

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .col-span-1,
    .col-span-2 {
        grid-column: 1 / -1;

    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Component Adjustments */
    .img1 {
        width: 80%;
        position: relative;
        left: auto;
        transform: none;
        margin-top: -500px;
        margin-left: 380px;
    }

    .imga4 {
        width: 120px;
        margin-right: -100px;
        margin-bottom: 10px;
    }


    .advantage-number2 {
        color: var(--text-blue);
    }

    .advantage-number3 {
        color: var(--text-white);
    }

    .additional-text-1 {
        margin-left: 10px;
    }

    .missionfirstblock {
        margin-top: -150px;
    }
}

/* Tablet - 768px and below */
@media (max-width: 768px) {

    /* Typography */
    .header-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 71px;
    }

    .header-text-2 {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 92px;
    }

    .additional-text {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 20px;
    }

    .title-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 30px;
    }

    .main-text {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 16px;
    }

    .advantage-number {
        font-size: 48px;
    }

    .fifth-advantage-number {
        font-size: 36px;
    }

    .footer-title {
        font-size: 16px;
    }

    .contacts-text {
        font-size: 12px;
    }

    /* Layout */
    .grid-cols-2,
    .grid-cols-3,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .col-span-1,
    .col-span-2 {
        grid-column: 1 / -1;

    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Component Adjustments */
    .img1 {
        width: 50%;
        position: relative;
        left: auto;
        transform: none;
        margin-top: -500px;
        margin-left: 270px;
    }

    .imga4 {
        width: 120px;
        margin-right: -100px;
        margin-bottom: 10px;
    }

    .foto3 {
        height: 300px;
    }

    .advantage-number2 {
        color: var(--text-blue);
    }

    .advantage-number3 {
        color: var(--text-white);
    }

    .additional-text-1 {
        margin-left: 10px;
    }

    .missionfirstblock {
        margin-top: -150px;
    }

    .fifth-advantage-item {
        padding: 15px;
    }

    .footer-col .imga7 {
        width: 200px;
    }

    /* Project specific */
    .projects-text {
        order: 1;
    }

    .projects-image {
        order: 2;
        text-align: center;
    }

    /* Positioning */
    .absolute.left-8 {
        left: 1rem;
    }

    .absolute.bottom-8 {
        bottom: 1rem;
    }
}

/* Mobile - 620px and below */
@media (max-width: 620px) {

    /* Typography */
    .header-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 54px;
    }

    .header-text-2 {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 62px;
    }

    .additional-text {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 16px;
    }

    .additional-text-1 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 16px;
    }

    /* Images */
    .img1 {
        width: 45%;
        position: relative;
        left: auto;
        transform: none;
        margin-top: -500px;
        margin-left: 250px;

    }


}

/* Mobile - 540px and below */
@media (max-width: 540px) {

    /* Typography */
    .header-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 34px;
    }

    .header-text-2 {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 44px;
    }

    .additional-text {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .additional-text-1 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .title-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 14px;
        margin-top: -20px;
    }

    .advantage-number2 {
        color: var(--text-blue);
    }

    .advantage-number3 {
        color: var(--text-white);
    }

    .main-text,
    .main-text1 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 10px;
    }

    .main-text1 {
        margin-top: -40px;
    }

    .advantage-number {
        font-size: 24px;
    }

    .fifth-advantage-number {
        font-size: 14px;
    }

    .additional-text-2 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .footer-title {
        font-size: 14px;
    }

    .contacts-text {
        font-size: 10px;
    }

    /* Layout */

    .imga7 {
        width: 10px;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -50px;
    }

    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .container-1 {
        height: 400px;
    }

    .container-2 {
        height: 480px;
    }

    /* Images */
    .img1 {
        display: none;
    }

    .img360 {
        display: block !important;
        width: 100% !important;
        position: absolute !important;
        margin-left: 80px !important;
        margin-top: -30px !important;
    }

    .imga4 {
        width: 80px;
        margin-right: -90px;
        margin-bottom: -5px;
    }

    .foto3 {
        margin-top: -50px;
        height: 200px;
    }

    /* Component Adjustments */
    .advantage-item,
    .fifth-advantage-item {
        padding: 10px;
    }

    .projects-section {
        padding: 40px 0;
    }

}

/* Mobile - 480px and below */
@media (max-width: 480px) {

    /* Typography */
    .header-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 34px;
    }

    .header-text-2 {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 44px;
    }

    .additional-text {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .additional-text-1 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .title-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 14px;
        margin-top: -20px;
    }

    .advantage-number2 {
        color: var(--text-blue);
    }

    .advantage-number3 {
        color: var(--text-white);
    }

    .main-text,
    .main-text1 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 10px;
    }

    .main-text1 {
        margin-top: -40px;
    }

    .advantage-number {
        font-size: 24px;
    }

    .fifth-advantage-number {
        font-size: 14px;
    }

    .additional-text-2 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .footer-title {
        font-size: 14px;
    }

    .contacts-text {
        font-size: 10px;
    }

    /* Layout */

    .imga7 {
        width: 10px;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -50px;
    }

    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .container-1 {
        height: 450px;
    }

    .container-2 {
        height: 380px !;
    }




    /* Images */
    .img1 {
        display: none;
    }

    .img360 {
        display: block !important;
        width: 60% !important;
        position: absolute !important;
        margin-left: 80px !important;
        margin-top: -25px !important;
    }

    /* Component Adjustments */
    .advantage-item,
    .fifth-advantage-item {
        padding: 10px;
    }

    .projects-section {
        padding: 40px 0;
    }

    .imga4 {
        margin-right: -140px !important;
    }
}

/* Mobile - 390px and below */
@media (max-width: 390px) {

    /* Typography */
    .header-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 34px;
    }

    .header-text-2 {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 44px;
    }

    .additional-text {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .additional-text-1 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .title-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 14px;
        margin-top: -20px;
    }

    .advantage-number2 {
        color: var(--text-blue);
    }

    .advantage-number3 {
        color: var(--text-white);
    }

    .main-text,
    .main-text1 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 10px;
    }

    .main-text1 {
        margin-top: -40px;
    }

    .advantage-number {
        font-size: 24px;
    }

    .fifth-advantage-number {
        font-size: 14px;
    }

    .additional-text-2 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .footer-title {
        font-size: 14px;
    }

    .contacts-text {
        font-size: 10px;
    }

    /* Layout */

    .imga7 {
        width: 10px;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -50px;
    }

    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .container-1 {
        height: 430px;
    }

    .container-2 {
        height: 250px;
    }

    /* Images */
    .img1 {
        display: none;
    }

    .img360 {
        display: block !important;
        width: 60% !important;
        position: absolute !important;
        margin-left: 80px !important;
        margin-top: -40px !important;
    }

    .imga4 {
        width: 80px;
        margin-right: -90px;
        margin-bottom: 5px;
    }

    /* Component Adjustments */
    .advantage-item,
    .fifth-advantage-item {
        padding: 10px;
    }

    .projects-section {
        padding: 40px 0;
    }

}

/* Mobile - 360px and below */
@media (max-width: 360px) {

    /* Typography */
    .header-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 34px;
    }

    .header-text-2 {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 44px;
    }

    .additional-text {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .additional-text-1 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .title-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 14px;
        margin-top: -20px;
    }

    .advantage-number2 {
        color: var(--text-blue);
    }

    .advantage-number3 {
        color: var(--text-white);
    }

    .main-text,
    .main-text1 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 10px;
    }

    .main-text1 {
        margin-top: -40px;
    }

    .advantage-number {
        font-size: 24px;
    }

    .fifth-advantage-number {
        font-size: 14px;
    }

    .additional-text-2 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 12px;
    }

    .footer-title {
        font-size: 14px;
    }

    .contacts-text {
        font-size: 10px;
    }

    /* Layout */

    .imga7 {
        width: 10px;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -50px;
    }

    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .container-1 {
        height: 475px;
    }

    .container-2 {
        height: 370px !important;
    }



    /* Images */
    .img1 {
        display: none;
    }

    .img360 {
        display: block !important;
        width: 60%;
        position: absolute;
        margin-left: 80px !important;
        margin-top: -25px !important;
    }

    /* Component Adjustments */
    .advantage-item,
    .fifth-advantage-item {
        padding: 10px;
    }

    .projects-section {
        padding: 40px 0;
    }

    .imga4 {
        margin-right: -140px !important;
    }
}

/* Mobile - 320px and below */
@media (max-width: 320px) {

    /* Typography */
    .header-text {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 28px;
    }

    .header-text-2 {
        font-family: 'Manrope Bold', sans-serif;
        font-size: 44px;
    }

    .img360{
        margin-left: 50px!important;
    }

    .additional-text {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 10px;
    }

    .additional-text-1 {
        font-family: 'Open Sans Regular', sans-serif;
        font-size: 10px;
    }



}