@font-face {
    font-family: 'Furore';
    src: url('fonts/Furore.woff2') format('woff2');
}


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

:root {
    --primary-color: #00f0ff;
    --background-color: #000;
    --card-bg: rgba(0, 240, 255, 0.05);
    --text-color: #fff;
    --border-glow: 0 0 10px rgba(0, 240, 255, 0.5);
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Furore', sans-serif;
}
a {
    text-decoration: none;
    color: var(--text-color);

}

h2 {
    font-size: 30px;
    font-weight: 500;
}

html {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    position: relative;
}

.nav-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.navbar-border {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: -1;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-top: -25px;
    padding: 0 25px;
}

/* Navbar groups */
.navbar-left,
.navbar-center,
.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-left {
    flex: 0 0 auto;
    margin-right: 4rem;
}

.navbar-center {
    flex: 1;
    justify-content: center;
}

.navbar-right {
    flex: 0 0 auto;
}

.navbar-left {
    padding-left: 3rem;
}


/* Border styling for center group */
.navbar-center {
    position: relative;
}

.navbar-center::before,
.navbar-center::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 40%;
    background: var(--primary-color);
    opacity: 0.3;
}

.navbar-center::before {
    left: 0;
}

.navbar-center::after {
    right: 0;
}

.nav-brand .logo {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    position: relative;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.5;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: inline-block;
    line-height: 1;
}

.nav-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}
.nav-links a.active {
    color: #43ffff;
    opacity: 1;
}


@media (max-width: 1200px) {
    .nav-links a {
        font-size: 0.9rem;
    }


}

@media (max-width: 992px) {
    .nav-links a {
        font-size: 0.8rem;
    }

    .navbar-content {
        padding-bottom: 1rem;
    }
}

@media (max-width: 850px) {
    .navbar-border {
        height: 100%;
    }

    .navbar-content {
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    .nav-brand .logo {
        padding: 10px 0 4px 0;
    }

    .nav-links {
        justify-content: center;
        gap: 10px;
        margin-left: 10%;
    }
}

@media (min-width: 851px) and (max-width: 1240px) {
    .navbar-border {
        height: 100%;
    }

    .navbar-content {
        padding-bottom: 0;
    }

    .nav-brand .logo {
        padding: 10px 0 0 0;
    }

    .nav-links {
        justify-content: center;
        gap: 10px;
        margin-left: 10%;
    }
}



/* Dropdown styles */
.dropdown {
    display: inline-block;
    position: absolute;
    top: 100%;
    margin-top: -32px;
    width: 40%;
    z-index: 1000;
    border: 1px solid var(--primary-color);
    background-color: rgba(0, 0, 0, 1);
    border-top: 3px solid rgba(0, 0, 0, 1);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.dropdown > a {
    display: inline-block;
    line-height: 1;
}

.dropdown-content {
    width: 100%;
    height: 0;
    overflow: hidden;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: height 0.3s ease;
}


.dropdown-content.active {
    height: 210px;
}

.dropdown-content a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: none;
    width: 100%;
    text-align: left;
    text-decoration: none;
    position: relative;
}

.dropdown-content a::before {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('../images/arrow-white-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(0, 240, 255, 0.1);
    color: var(--primary-color);
    opacity: 1;
}

.dropdown-content a:hover::before {
    background-image: url('../images/arrow-cyan-icon.png');
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

.dropdown-content a.active {
    color: var(--primary-color);
    opacity: 1;
}

.dropdown-content a.active::before {
    background-image: url('../images/arrow-cyan-icon.png');
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}
@media (min-width: 769px) and (max-width: 1240px){
    .dropdown {
        display: inline-block;
        position: absolute;
        top: 100%;
        margin-top: -32px;
        width: 40%;
        z-index: 1000;
        border: 1px solid var(--primary-color);
        background-color: rgba(0, 0, 0, 1);
        border-top: 5px solid rgba(0, 0, 0, 1);
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .dropdown > a {
        display: inline-block;
        line-height: 1;
    }

    .dropdown-content {
        width: 100%;
        height: 0;
        overflow: hidden;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center;

        transition: height 0.3s ease;
    }


    .dropdown-content.active {
        height: 210px;
    }

    .dropdown-content a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1.5rem;
        color: var(--text-color);
        opacity: 0.7;
        transition: all 0.3s ease;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        text-transform: none;
        width: 100%;
        text-align: left;
        text-decoration: none;
        position: relative;
    }

    .dropdown-content a::before {
        content: '';
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        background-image: url('../images/arrow-white-icon.png');
        background-size: contain;
        background-repeat: no-repeat;
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .dropdown-content a:hover {
        background-color: rgba(0, 240, 255, 0.1);
        color: var(--primary-color);
        opacity: 1;
    }

    .dropdown-content a:hover::before {
        background-image: url('../images/arrow-cyan-icon.png');
        opacity: 1;
        transform: translateY(-50%) translateX(5px);
    }

    .dropdown-content a.active {
        color: var(--primary-color);
        opacity: 1;
    }

    .dropdown-content a.active::before {
        background-image: url('../images/arrow-cyan-icon.png');
        opacity: 1;
        transform: translateY(-50%) translateX(5px);
    }
}



.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--text-color);
    /*opacity: 0.7;*/
    transition: all 0.3s ease;
}

.nav-phone:hover {
    opacity: 1;
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 100;
}

.burger-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
    padding-right: 30px;
}

.burger-icon::before,
.burger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.burger-icon::before {
    transform: translateY(-8px);
}

.burger-icon::after {
    transform: translateY(8px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 1);
    padding: 1rem;
    border-bottom: 1px solid var(--primary-color);
    box-shadow: var(--border-glow);
    z-index: 99;
    text-align: center;
}

.mobile-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

.mobile-menu a {
    text-align: left;
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: #eee;
    border-bottom: 1px solid #eee;
}

.mobile-menu .mobile-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    color: #eee;
}

.mobile-menu.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

.mobile-menu-btn.active .burger-icon {
    background-color: transparent;
}

.mobile-menu-btn.active .burger-icon::before {
    transform: rotate(45deg);
}

.mobile-menu-btn.active .burger-icon::after {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-wrapper {
        position: relative;
        width: 100%;
    }
    .navbar-content {
        padding: 0 1rem;
    }

    .nav-links,
    .nav-phone,
    .navbar-border,
    .dropdown {
        display: none;
    }

    .navbar {
        padding: 0;
        margin: 0;
        /* position: fixed; */
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        background-image: url('../images/navigation-rectangle-main.png');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        margin: 10px;
    }

    .navbar-content {
        padding: 0 1rem;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding-bottom: 3%;
    }

    .navbar-left {
        padding-left: 0;
        margin-right: 0;
        display: flex;
        align-items: center;
    }

    .nav-brand .logo {
        height: 35px;
        width: auto;
    }

    .mobile-menu-btn {
        display: block;
        padding: 0.5rem;
        margin-left: auto;
    }

    .mobile-menu {
        top: 60px;
        padding: 1rem;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-menu a {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu .mobile-phone {
        padding: 0.8rem 1rem;
        display:none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 50px;
        margin-bottom: -20px;
    }

    .platform-icons {
        flex-wrap: wrap;
    }

    .dropdown-content {
        min-width: 300px;
        width: 90vw;
    }
}

/* Use Furore for main headings */
h1, h2, h3, .stat-number {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.highlight {
    color: var(--primary-color);
}

.hero {
    padding: 180px 0 1rem 0;
    /*min-height: 80vh;*/
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-text-image {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.text-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 50px;
    line-height: 1.2;
    width: 120%;
    letter-spacing: 1px;
    position: relative;
    animation: cyberReveal 1.5s ease-out;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index:10;
}

@keyframes cyberReveal {
    0% {
        clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
        opacity: 0;
        transform: scale(0.9);
    }
    50% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


.hero-content p {
    font-size: 15px;
    width: 50%;
    opacity: 0.5;
    max-width: 500px;
    margin-bottom: 20px;
    line-height: 1.4;
    margin-top: 20px;
}

@media (max-width: 768px) {

    .hero {
        padding: 40px 1rem 1rem 1rem;
    }

    .hero-content h1 {
        font-size: 24px;
        width:90%;
    }

    .hero-content p {
        width:100%;
    }
}

@media (min-width: 769px) and (max-width: 1240px) {
    .hero {
        padding: 120px 0 0;
    }

    .hero-content h1 {
        font-size: 30px;
        width:90%;
    }

    .hero-content p {
        margin-top: 10px;
        width:50%;
    }
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.hero-image {
    width: 120%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }

}

.hero-right::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}
/*.button {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    background: none;*/
/*    border: none;*/
/*    padding: 0;*/
/*    cursor: pointer;*/
/*    position: relative;*/
/*}*/

/*.button-text,*/
/*.button-icon {*/
/*    position: relative;*/
/*}*/

/*.button-text {*/
/*    background-color: transparent;*/
/*    color: white;*/
/*    font-size: 15px;*/
/*    line-height: 1.5;*/
/*    font-weight: 600;*/
/*    padding: 12px 30px;*/
/*    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);*/
/*    transition: background 0.3s;*/
/*}*/

/*!* Обрізаний кут з бордером *!*/
/*.button-text::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 12px;*/
/*    height: 12px;*/
/*    background: var(--primary-color);*/
/*    clip-path: polygon(0 0, 100% 0, 0 100%);*/
/*}*/

/*.button-text::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    border: 1px solid var(--primary-color);*/
/*    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);*/
/*    pointer-events: none;*/
/*}*/

/*.button-icon {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    width: 42px;*/
/*    height: 42px;*/
/*    background-color: var(--primary-color);*/
/*    color: white;*/
/*    font-size: 20px;*/
/*    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);*/
/*    transition: background 0.3s;*/
/*}*/

:root {
    --primary-color: #43FFFF;
    --primary-color-half: rgba(67,255,255,0.5);
}

.button {
    display: inline-flex;
    align-items: center;
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.button-nolink {
    display: inline-flex;
    align-items: center;
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}



/* ---------------------------------------------------
   ТЕКСТОВАЯ ЧАСТЬ
---------------------------------------------------- */
.button-text {
    position: relative;
    z-index: 1;                     /* над обводкой */
    padding: 18px 27px;             /* по высоте ≈58px */
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: #FFF;
    background-color: #000;         /* фон под текст */
    text-decoration: none;
    clip-path: polygon(
        18px 0,      /* угол 19px  */
        100% 0,
        100% 100%,
        0 100%,
        0 18px
    );
    transition: color .3s, background .3s;
}
.button-text a {
    text-decoration: none;
}

/* ■ Заливка скоса */
.button-text::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 19px; height: 19px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 0;
    text-decoration: none;
}

/* ■ Обводка текстовой части */
.button-text::after {
    content: "";
    position: absolute;
    inset: 0;                        /* покрывает всю .button-text */
    text-decoration: none;
    clip-path: polygon(
        19px 0,
        100% 0,
        100% 100%,
        0 100%,
        0 19px
    );
    border: 1px solid var(--primary-color-half);
    pointer-events: none;
    z-index: 2;                      /* над фоном, под текстом */
}

/* ---------------------------------------------------
   ИКОНОЧНАЯ ЧАСТЬ
---------------------------------------------------- */
.button-icon {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: var(--primary-color);
    color: black;
    font-size: 20px;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        0 100%
    );
    margin-left: -1px;
    transition: background .3s, color .3s;
}

/* ЗАЛИВКА НИЖНЕГО ПРАВОГО УГОЛА */
.button-icon::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 21px;
    height: 21px;
    background: var(--primary-color);
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

/* Рамка иконки */
.button-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    pointer-events: none;
}

/* Hover остаётся прежним */
.button:hover .button-icon {
    background: var(--black);
    color: var(--white);
}
.button:hover .button-icon::after {
    border-color: var(--primary-color);
}



/* пример hover‑эффекта */
.button:hover .button-text {
    background: var(--primary-color);
    color: #000;
}
.button:hover .button-icon {
    background: transparent;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .button-icon {
        width: 58px;
        height: 58px;
    }
}
.button-icon::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 21px;
    height: 21px;
    background: var(--primary-color);
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.button-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    pointer-events: none;
}

.button:hover .button-text {
    background-color: var(--primary-color);
}

.button:hover .button-icon {
    background-color: transparent;
}

.button-arrow {
    background: var(--primary-color);
    padding: 0.875rem;
    margin-left: -1px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
}

.button-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--background-color);
    transition: all 0.3s ease;
}

.cta-button:hover .button-text {
    background: rgba(0, 240, 255, 0.1);
}

.cta-button:hover .button-arrow {
    background: var(--primary-color);
}

.cta-button:hover .button-arrow svg {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .button {
        display: flex;
        justify-content: center;
    }

    .button-text {
        padding: 1.11rem 1.2rem;
        font-size: 15px;
    }

    .button-arrow {
        padding: 0.75rem;
    }

    .text-inner {
        font-size: 0.85rem;
    }

    .button-arrow svg {
        width: 18px;
        height: 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-stats .stat-number {
        font-size: 2.5rem;
    }
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
}

.stat-label {
    font-family: var(--font-primary);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Card headings */
.card h3 {
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Contact form */
.contact-form h2 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.form-group input {
    font-family: var(--font-primary);
}

.submit-button, .cta-button {
    font-family: var(--font-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-form {
    margin-top: 6rem;
    background-image: url(../images/contact-form.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 650px;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.contact-form h2 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.contact-form p {
    font-family: var(--font-primary);
    font-weight: 300;
    letter-spacing: 0.5px;
    font-size: 15px;
    opacity:0.5;
    margin-top: 1rem;
}

.contact-form button {
    padding-top:50px;
}

.contact-form a {
    color: var(--text-color);
    text-decoration: none;
}

@media (max-width: 768px) {

    .contact-form {
        padding: 1rem;
        margin-top: 60px;
    }

    .contact-form h2 {
        font-size: 20px;
    }

    .contact-form p {
        font-size: 1rem;
    }

    .contact-form .button {
        margin-top: 5%;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-form {
        padding: 1rem;
        margin-top: 80px;
    }
}

/* Footer Styles */
footer {
    position: relative;
    margin-top: 4rem;
    padding: 4rem 0;
    overflow: visible; /* чтобы псевдо-элементы не обрезались */
}

@media (max-width: 768px) {
    footer {
        padding: 4rem 1rem;
    }
}

/* Основной градиент на весь экран */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(180deg,
    var(--background-color) 0%,
    rgba(0, 240, 255, 0.05) 20%,
    rgba(0, 240, 255, 0.1) 40%,
    rgba(0, 240, 255, 0.15) 60%,
    rgba(0, 240, 255, 0.2) 80%,
    rgba(0, 240, 255, 0.3) 100%
    );
    pointer-events: none;
    z-index: -1;
}

/* Полупрозрачный градиент у основания */
footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 50%;
    background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 240, 255, 0.1) 100%
    );
    pointer-events: none;
    z-index: -1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    /* padding: 0 2rem; */
    align-items: stretch;
}

.footer-column {
    position: relative;
    display: grid;
    align-items: end;
    font-size: 15px;
    align-content: space-between;
}

.footer-column:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -2rem;
    height: 95%;
    width: 1px;
    background: var(--primary-color);
    opacity: 0.2;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

/* First column - Navigation */
.footer-nav {
    font-size: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    opacity:0.5;
    transition: all 0.3s ease;
}

.footer-nav:hover {
    opacity: 1;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    /*font-size: 0.9rem;*/
    /*opacity: 0.7;*/
    transition: all 0.3s ease;
    padding-left: 0;
    transform-origin: left;
}

.footer-nav a:hover {
    color: var(--primary-color);
    opacity: 1;
    /*padding-left: 10px;*/
}

/* Second column - Contact info */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-column h6 {
    /* font-size: 1.2rem; */
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: block;
}

.contact-item a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.contact-time {
    margin-top: 1.5rem;
}

.contact-time p:first-child {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Third column - Address */
.footer-column .label {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/*.contact-item.address {*/
/*    margin-top: 2rem;*/
/*}*/

.contact-item.address p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-column:not(:last-child)::after {
        display: none;
    }

    .footer-column {
        text-align: left;
    }

    .footer-nav {
        /*align-items: left;*/
        justify-content: flex-start;
    }

    .footer-logo {
        display: flex;
        justify-content: flex-start;
    }

    .contact-item a, .contact-time p, .contact-item.address p {
        font-size: 15px;
    }

}

/* Footer dropdown styles */
.footer-dropdown {
    position: relative;
    display: inline-block;
}

.footer-dropdown-icon {
    display: none;
}


.footer-dropdown-header {
    display: flex;
    /*align-items: left;*/
    cursor: pointer;
}

.footer-dropdown-icon {
    display: none; /* Hidden by default on desktop */
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.footer-dropdown-trigger {
    position: relative;
    padding-right: 20px;
}

.footer-dropdown-trigger::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-dropdown-content {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    min-width: 200px;
    border: 1px solid var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
}

.footer-dropdown-content a {
    display: block;
    padding: 8px 16px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.footer-dropdown-content a:hover {
    opacity: 1;
    color: var(--primary-color);
    background: rgba(0, 240, 255, 0.05);
}

.footer-dropdown:hover .footer-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-dropdown:hover .footer-dropdown-trigger::after {
    transform: translateY(-50%) rotate(-135deg);
}

/* Mobile styles */
@media (max-width: 768px) {
    .footer-dropdown {
        display: block;
        width: 100%;
    }

    .footer-dropdown-header {
        display: flex;
        justify-content: left;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .footer-dropdown-trigger {
        display: block;
    }


    .footer-dropdown-content {
        position: static;
        background: transparent;
        border: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease;
    }

    .footer-dropdown-content a {
        padding: 8px 0 8px 20px;
        font-size: 0.9rem;
    }

    .footer-dropdown.active .footer-dropdown-content {
        max-height: 200px; /* Adjust based on content */
    }

    .footer-dropdown.active .footer-dropdown-icon {
        transform: rotate(180deg);
    }
}


/* step 2 footer */

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: var(--background-color);
    padding: 3rem;
    position: relative;
    width: 90%;
    max-width: 900px;
    border: 1px solid var(--primary-color);
}

.close-popup {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.popup-content h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: left;
}

.popup-subtitle {
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .popup-content {
        background: var(--background-color);
        padding: 1rem;
        position: relative;
        width: 90%;
        max-width: 900px;
        border: 1px solid var(--primary-color);
    }
    .popup-form .form-row {
        display: flex;
        gap: 1rem;
        width: 100%;
        flex-direction: column;
    }
}


.popup-form .form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.popup-form .form-group {
    position: relative;
    flex: 1;
}

.popup-form .form-group.full-width {
    width: 100%;
}

.popup-form input[type="text"],
.popup-form input[type="tel"],
.popup-form input[type="email"],
.popup-form textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

.popup-form textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
}

.success-content {
    text-align: center;
    padding: 2rem;
}

.success-content h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

/* Animation for content switching */
.form-content,
.success-content {
    transition: opacity 0.3s ease;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

.popup-form .button {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.popup-form .button-text {
    background-color: transparent;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 30px;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    transition: background 0.3s;
}

.popup-form .button-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.popup-form .button-text::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--primary-color);
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    pointer-events: none;
}

.popup-form .button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: black;
    font-size: 20px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    transition: background 0.3s;
}

.popup-form .button-icon::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.popup-form .button-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
    pointer-events: none;
}

.popup-form .button:hover .button-text {
    background-color: var(--primary-color);
}

.popup-form .button:hover .button-icon {
    background-color: transparent;
}

.popup-form .agreement-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.section-services {
    padding:75px 1rem 2rem;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .section-services {
        padding: 150px 1rem 1rem 1rem;
    }
}

/* About Section Styles */
.about-section {
    padding: 2rem;
    position: relative;
    margin: -4rem 0 0;
    /*background-image: url('../images/about-bg.png');*/
    background-image: url('../images/about-bg.svg');
    background-size: cover;
    /*background-position: center;*/
    background-repeat: no-repeat;
    max-width: 1200px;
    margin-top: 2rem;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-section > * {
    position: relative;
    z-index: 2; /* Place content above the overlay */
}

.section-header {
    text-align: center;
    margin-top: -2rem;
    /*margin-bottom: 3rem;*/
    position: relative;
}

.section-header h2 {
    color: var(--text-color);
    font-size: 30px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
}


.section-services h2 {
    color: var(--text-color);
    font-size: 30px;
    margin: 70px auto 30px;
    /*padding: 0 2rem;*/
    position: relative;
    z-index: 1;
    display: block;
    text-align: left;
}

@media (max-width: 768px) {
    .section-services h2 {
        color: var(--text-color);
        font-size: 20px;
        margin: 1rem auto;
        /*padding: 0 2rem;*/
        position: relative;
        z-index: 1;
        display: block;
        text-align: left;
    }
}

.section-logo h2 {
    color: var(--text-color);
    font-size: 30px;
    /*margin: 70px auto 30px;*/
    /*padding: 0 2rem;*/
    position: relative;
    z-index: 1;
    display: block;
    text-align: left;
}

@media (max-width: 768px) {
    .section-logo h2 {
        color: var(--text-color);
        font-size: 20px;
        margin: 0 auto 10px;
        /*padding: 0 2rem;*/
        position: relative;
        z-index: 1;
        display: block;
        text-align: left;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .section-logo h2 {
        color: var(--text-color);
        font-size: 20px;
        position: relative;
        z-index: 1;
        display: block;
        text-align: left;
    }
    .section-services h2 {
        color: var(--text-color);
        font-size: 20px;
        margin: 0 auto 30px;
        position: relative;
        z-index: 1;
        display: block;
        text-align: left;
    }

}

@media (max-width: 768px) {
    .section-services {
        padding: 70px 1rem 1rem 1rem;
    }
    .section-header h2 {
        color: var(--text-color);
        font-size: 20px;
        margin: 0 auto;
        padding: 0 2rem;
        position: relative;
        z-index: 1;
        display: block;
        text-align: center;
    }
}
.about-description {
    text-align: center;
    width: 31%;
}

.btn-centered {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-top: 2rem;

}



.stats-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
    padding: 0 2rem;
}

.stat-item {
    flex: 1;
    text-align: center;
    position: relative;
}

/* .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: 1px;
    background: var(--primary-color);
    opacity: 0.3;
} */

.stat-number {
    color: var(--primary-color);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.stat-number span {
    font-size: 1.5rem;
    margin-left: 0.5rem;
}

.stat-label {
    color: var(--text-color);
    opacity: 0.5;
    font-size: 15px;
    line-height: 1.4;
    max-width: 330px;
    margin: 0 auto;
}

.about-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    max-width: 800px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.4;
}
.about-description:hover {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

@media (max-width: 1200px) {
    .stat-number {
        margin-top: 1rem;
        font-size: 1.5rem;
        line-height: 2;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .about-description {
        font-size: 0.8rem;
    }
}
@media (max-width: 768px) {

    .about-section {
        margin-top: 2rem;
        background-image: none;
        margin: 0;
        padding: 3rem 1rem;
    }


    .section-header {
        padding-bottom: 2rem;
    }

    .stats-container {
        margin-top: 20px;
        flex-direction: column;
        gap: 2rem;
        padding: 5rem 1rem 5rem;
        /*background-image: url('../images/about-section-border-mobile.png');*/
        background-image: url('../images/about-section-border-mobile.svg');
        background-size: contain;
        background-position: bottom;
        background-repeat: no-repeat;
        width: 100%;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 50px;
        margin-bottom: -20px;
    }

    .stat-label {
        max-width: 60%;
    }

    .about-description {
        font-size: 15px;
        width: 100%;
        margin: 0 0;
        opacity: 0.5;
        margin-top: -40px;
        margin-bottom: -50px;
    }

    .btn-centered {
        margin-top: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .about-section {
        padding: 2rem;
        position: relative;
        margin: 2rem 0 0;
        background-image: url('../images/about-bg-m.svg');
        background-size: contain; /* Масштабирование без обрезки */
        background-position: center center;
        background-repeat: no-repeat;
        max-width: 1024px;
        min-height: 400px; /* Обеспечивает высоту секции (подбирай под свои нужды) */
    }

    .about-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1;
    }

    .about-section > * {
        position: relative;
        z-index: 2;
    }

    .section-header {
        text-align: center;
        margin-top: 1rem;
        /*margin-bottom: 3rem;*/
        position: relative;
    }

    .section-header h2 {
        color: var(--text-color);
        font-size: 20px;
        margin: 0 auto;
        padding: 0 2rem;
        position: relative;
        z-index: 1;
        display: block;
        text-align: center;
    }
    .stat-number {
        margin-top: 2rem;
        font-size: 50px;
        line-height: 2;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .about-description {
        font-size: 15px;
    }
    .stats-container {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        margin-top: 5rem;
        margin-bottom: 0rem;
        padding: 0 2rem 3rem 2rem;
    }
}

/* Services Section Styles */
.services {
    padding: 140px 0 0 0;
    background-color: #000;
}
@media (max-width: 768px) {
    .services {
        padding: 4rem 1rem 1rem 1rem;
        background-color: #000;
        margin-top: 0rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    grid-column: span 2;
    color: white;
    max-width: 70%;
}

.services-header h2 {
    font-size: 30px;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .services-header h2 {
        font-size: 20px;
        margin: 0 0 1.5rem 0;
        line-height: 1.2;
        width:80%;
    }
}
@media (min-width: 769px) and (max-width: 1024px)
{
    .services {
        padding: 6rem 1rem 1rem 1rem;
        background-color: #000;
        margin-top: 3rem;
    }
    .services-header h2 {
        font-size: 20px;
        margin: 0 0 1.5rem 0;
        line-height: 1.2;
    }
}

.services-header p {
    font-size: 15px;
    line-height: 1.4;
    opacity: 0.5;
    width: 70%;
}

.service-card {
    position: relative;
    background-color: transparent;
    padding: 2rem 1rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card:hover {
    background: linear-gradient(-135deg,
    rgba(0, 240, 255, 0.3) 0%,
    rgba(0, 240, 255, 0.1) 50%,
    transparent 100%);
    border-color: transparent;
}

.service-card .icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.5s ease;
}

.service-card .icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
    );
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
}


.service-card .icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    opacity: 0;
    z-index: -1;
}

.service-card .icon img {
    filter: brightness(0) invert(1);
}
.service-card .icon img::before {
    filter: brightness(0) invert(1);
    opacity: 0.3;
}

.service-card:hover .icon {
    transform: rotate(360deg) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
.service-card:hover .icon img::before {
    opacity: 0.3;
    animation: rotate 2s linear infinite;
}
.service-card:hover .icon img {
    filter: brightness(0) invert(1);
}
.service-card:hover .icon img::before {
    opacity: 0.3;
    animation: rotate 2s linear infinite;
}

.service-card:hover .icon::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.service-card:hover .icon::after {
    animation: pulse 1.5s ease-out infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Pulsing animation */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.service-card h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 500;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
    .services-header p {
        font-size: 15px;
        line-height: 1.4;
        opacity: 0.5;
        width: 100%;
        margin-bottom: 2rem;
    }
    .service-card h3 {
        font-size: 16px;
        margin: 0;
        font-weight: 500;
        border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    }
}

.service-card p {
    font-size:15px;
    margin: 0;
    line-height: 1.4;
    opacity: 0.5;
}


.service-card:hover p {
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #000 60%, #43ffff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.1;
}

.services .cta-container {
    display: flex;
    align-items: flex-end;
    margin-bottom: -10px;
}

.services .cta-container button {
    padding: 0.5rem 2rem;
}


/* Tablet Layout */
@media (min-width: 768px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        gap: 0.2rem;
    }

    .services-header {
        grid-column: 1;
        max-width: 100%;
        padding-bottom: 2rem;
    }

    /* First service card in the first row */
    .service-card:nth-of-type(1) {
        grid-column: 2;
        grid-row: 1;
    }

    /* Second service card in the second row */
    .service-card:nth-of-type(2) {
        grid-column: 1;
        grid-row: 2;
    }

    /* Third service card in the second row */
    .service-card:nth-of-type(3) {
        grid-column: 2;
        grid-row: 2;
    }

    /* Move CTA button outside the grid */
    .cta-container {
        grid-column: 1 / -1;
        margin-top: 2rem;
        justify-content: center;
    }
    .services-header p {
        font-size: 15px;
        line-height: 1.4;
        opacity: 0.5;
        width:80%;
    }
}

/* Mobile Layout */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .services-header {
        grid-column: 1;
        max-width: 100%;
    }

    .service-card {
        grid-column: 1;
    }

    .cta-container {
        grid-column: 1;
        justify-content: center;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* Partners Section */
.partners-section {
    padding: 150px 1rem 0 1rem;
}

/* Why Us Section */
.why-us {
    padding: 110px 0 0 0;
    /* background-color: var(--background-color); */
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    /* margin: 0 auto; */
}

.section-header {
    text-align: left;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .why-us {
        padding: 140px 1rem 1rem;
    }
    .why-us-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1200px;
    }

    .section-header {
        text-align: left;
    }
}

.info-block {
    position: relative;
    background: url(../images/why-us-border.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 2rem;
    transition: all 0.3s ease;
    /* overflow: hidden; */
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-135deg,
    rgba(0, 240, 255, 0.5) 0%,
    rgba(0, 240, 255, 0.1) 50%,
    transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.info-block:hover::before {
    opacity: 1;
}


.info-block h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    line-height: 1.4;

}

.info-block p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.4;
    opacity: 0.5;
}

.info-block:hover {
    clip-path: polygon(0 0, 92% 0, 100% 13%, 100% 100%, 6% 100%, 0 88%);
    background: linear-gradient(135deg,
    rgba(0, 240, 255, 0.1) 0%,
    rgba(0, 240, 255, 0.05) 50%,
    transparent 100%);

}

@media (max-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }

    .empty-block {
        display: none;
    }

    .info-block p {
        padding: 1rem 0;
    }

}

/*.swiper-container {*/
/*    height: 100vh; !* один слайд на весь экран *!*/
/*}*/
/*.swiper-slide {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/


@media (max-width: 768px) {
    .partners-section {
        padding: 80px 1rem 0 1rem;
        background-color: var(--background-color);
    }
    .why-us {
        padding: 100px 1rem 1rem 1rem; /* Reduced top/bottom padding, added side padding */
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem; /* Increased gap between blocks */
        /*padding: 0 1rem; */
        /*max-width: calc(100% - 2rem); */
        margin: 0 auto; /* Center the grid */
    }

    .info-block {
        aspect-ratio: auto; /* Remove fixed aspect ratio */
        width: 100%;
        min-height: 200px; /* Set minimum height instead of aspect ratio */
        padding: 1.5rem; /* Consistent padding */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin: 0 auto; /* Center blocks */
        max-width: 400px; /* Maximum width for better readability */
    }

    .info-block:hover {
        clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 9% 100%, 0 86%);
        transform: translateY(-5px);
        background: linear-gradient(135deg,
        rgba(0, 240, 255, 0.1) 0%,
        rgba(0, 240, 255, 0.05) 50%,
        transparent 100%);
        padding: 1.5rem;
    }

    .info-block h3 {
        font-size: 16px;
        margin-bottom: 0.8rem;
    }

    .info-block p {
        font-size: 15px;
        opacity: 0.5;
        padding: 0; /* Remove extra padding */
        margin-bottom: 0.5rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .why-us {
        padding: 3rem 0.5rem; /* Further reduced padding for very small screens */
    }

    .why-us-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .info-block {
        padding: 1.25rem;
        min-height: 180px;
    }

    .info-block h3 {
        font-size: 1rem;
    }

    .info-block p {
        font-size: 15px;
    }
}

/* Slider Styles */
.slider-container {
    width: 1200px;
    height: 150px;
    position: relative;
    background: url('../images/Group-3.svg') no-repeat center;
    background-size: 100%;
    min-height: 300px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    margin: 0 auto;
    padding-top: 80px;
}

.partners-swiper {
    width: 100%;
    overflow: hidden;
}

.partners-section .swiper-wrapper {
    display: flex;
    align-items: flex-start;
    height: 100px;
}

.partners-section .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 20px;
    height: 100px !important;
    position: relative;
    padding-top: 20px;
}

.swiper-slide img {
    max-width: 120px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.swiper-slide .grayscale-logo {
    opacity: 1;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.swiper-slide .color-logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    z-index: 2;
}

.swiper-slide:hover .grayscale-logo {
    opacity: 0;
}

.swiper-slide:hover .color-logo {
    opacity: 1;
    /* background-color: rgba(255, 255, 255, 0.3); */
}

/* Navigation arrows */
.custom-prev, .custom-next {
    position: absolute;
    width: 200px;
    height: 50px;
    bottom: 10px;
    cursor: pointer;
    z-index: 10;
}

.custom-prev {
    left: 5%;
    bottom: 15%;
}

.custom-next {
    right: 5%;
    bottom: 15%;
}


/* START */
/* === Navigation arrows: тройка <span class="arrow"> внутри .custom-prev/.custom-next === */

/* ——————— Эффект «бегущей» стрелки ——————— */

/* 1) Ключевые кадры: только opacity, чтобы не сбрасывать transform (поворот) */
@keyframes arrow-run {
    0%, 14.3%   { opacity: 1; }
    14.4%, 100% { opacity: 0.2; }
}

/* 2) Сброс состояния стрелок */
.slider-container .custom-prev .arrow,
.slider-container .custom-next .arrow {
    opacity: 1;   /* приглушённый вид */
    transition: opacity 0.2s;
}

/* 3) Next-стрелка: по hover запускаем три анимации со смещением */
.slider-container .custom-next:hover .arrow:nth-child(1) {
    animation: arrow-run 0.6s linear    0s infinite;
}
.slider-container .custom-next:hover .arrow:nth-child(2) {
    animation: arrow-run 0.6s linear    0.2s infinite;
}
.slider-container .custom-next:hover .arrow:nth-child(3) {
    animation: arrow-run 0.6s linear    0.4s infinite;
}

/* 4) Prev-стрелка: сохраняем поворот и аналогично анимируем */
.slider-container .custom-prev .arrow {
    transform: rotate(180deg);  /* уже есть в ваших правилах, дублируем для надёжности */
}
/* Prev: анимация справа налево */
.slider-container .custom-prev:hover .arrow:nth-child(3) {
    animation: arrow-run 0.6s linear    0s infinite;
}
.slider-container .custom-prev:hover .arrow:nth-child(2) {
    animation: arrow-run 0.6s linear    0.2s infinite;
}
.slider-container .custom-prev:hover .arrow:nth-child(1) {
    animation: arrow-run 0.6s linear    0.4s infinite;
}




/* END */
@media (min-width: 769px) and (max-width: 1024px) {
    .slider-container {
        width: 100%;
        /*min-height: 250px;*/
        padding-top: 60px;
        position: relative;
        background-image: url('../images/partners-slider-tablets.svg');
        background-size: contain; /* адаптивное масштабирование */
        background-position: center center;
        background-repeat: no-repeat;
    }

    .custom-prev,
    .custom-next {
        position: absolute;
        width: 200px;
        height: 100px;
    }

    .custom-prev {
        left: 8%;
        bottom: 0;
    }

    .custom-next {
        right: 8%;
        bottom: 0;
    }
}


@media (max-width: 768px) {
    .slider-container {
        width: 100%;
        background: url('../images/partners-slider-mobile.svg') no-repeat center;
        background-size: contain;
        width: 100%;
        min-height: 300px;
        /* padding: 1rem; */
        /* padding-top: 40px; */
    }

    .swiper-slide {
        padding: 1rem 10px;
        height: 100px !important;
    }

    .swiper-slide img {
        max-width: 150px;
        height: 80px;
        z-index: -1;
    }

    .custom-prev, .custom-next {
        width: 150px;
        height: 150px;
    }

    .custom-prev {
        left: 4%;
        bottom: -14%;
    }

    .custom-next {
        right: 4%;
        bottom: -14%;
    }

}
#tabs {
    display: flex;
    justify-content: flex-start;
    gap: 100px; /* Строгое расстояние между табами */
    padding: 0;
    list-style: none;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

#tabs li {
    width: auto;
    position: relative;
    white-space: nowrap;
}

#tabs > li:nth-child(3) {
    left: 0; /* Сброс смещения */
}

#tabs a {
    display: block;
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 20px;
    opacity: 0.5;
}

#tabs a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

#tabs a:hover {
    color: var(--primary-color);
}

.tabs-wrapper {
    border: 2px solid #43FFFF;
    border-radius: 5px;

}
/* #tabs li[id="current"] a {
    color: var(--primary-color);
} */


.tab-description {
    font-size:15px;
    opacity:0.5;
    line-height: 1.4;
    margin-left: 33%;
    height: 100px;
    max-width: 450px;
    /*text-align: justify;*/
}

.content-wrapper {
    /*padding: 2rem;*/
    padding: 1rem 1rem 1rem .5rem;
}

.content-wrapper h4 {
    display: block;
    margin: 20px 40px 0 0;
    font-weight: 600;
}

.steps-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
    width: 33%;
}

.step-number {
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(60deg,
    rgba(0, 240, 255, 0.01) 0%,
    rgba(0, 240, 255, 0.15) 50%,
    rgba(0, 240, 255, 0.5) 75%,
    rgba(0, 240, 255, 0.8) 100%
    );
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 0 100%);

    z-index: -1;
}

.step .step-number::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: calc(3rem + 300%); /* Matches the gap between steps plus polygon width */
    height: 1px;
    background: linear-gradient(to right,
    rgba(0, 240, 255, 0.9) 0%,
    rgba(0, 240, 255, 0.5) 50%,
    rgba(0, 240, 255, 0.1) 100%
    );
    transform: translateY(-50%);
    z-index: -1;
}


.step-content h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.step-content p {
    color: var(--text-color);
    font-weight: 400;
    opacity: 0.5;
    font-size: 0.9rem;
    line-height: 1.4;
}

.step-content {
    text-align: left;
}

@media (max-width: 1200px) {

    .tabs-wrapper {
        border: 2px solid #43FFFF;
        border-radius: 5px;

    }

    .steps-container {
        margin-top: 2rem;
        align-items: flex-start;
        gap: 2rem;
    }

    .skip-mobile {
        display: none;
    }

    .step .step-number::after {
        width: calc(2rem + 200%);
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .tabs-wrapper {
        border: 2px solid var(--primary-color);
        border-radius: 5px;
        background-color: transparent;
        padding: 2rem;
    }

    .tab-description {
        margin: 2rem auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #tabs a {
        display: block;
        text-decoration: none;
        color: var(--text-color);
        font-family: var(--font-heading);
        font-size: 16px;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    #tabs a:hover {
        color: white;
    }
    .tabs-wrapper {
        border: 2px solid var(--primary-color);
        border-radius: 5px;
        background-color: transparent;
        padding: 0 1rem;
        padding-bottom: 2rem;
        min-height: auto;
    }

    #tabs {
        flex-direction: column;
        gap: 0.2rem;
        align-items: flex-start;
        padding-top: 12px;
        /* margin-top: 0; */
        margin-bottom: 1.5rem;
        border-bottom: 0px solid rgba(255, 255, 255, 0.2);
    }

    .skip-mobile {
        display: none;
    }

    #tabs li {
        max-width: 100%;
        width: 100%;
        transform: none;
        padding-top: 0;
        margin-bottom: 0;
        line-height: 1;
    }
    #tabs > li:nth-child(3) {
        position: relative;
        left: 0px;
    }

    #tabs a {
        font-size: 16px;
        padding: 0.3rem 0;
    }

    .tab-description {
        margin: 2rem auto;
        height: auto;
        max-width: 100%;
        padding: 0 1rem;
    }

    .content-wrapper {
        padding: 0;
    }

    .steps-container {
        flex-direction: column;
        gap: 2rem;
        margin-top: 1.5rem;
    }

    .step .step-number::after {
        display: none; /* Remove the connecting lines between steps on mobile */
    }

    .step {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .step-content h5 {
        font-size: 0.9rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }
}


#consultation-form {
    max-width: 100%;
    margin: 2rem auto;
    padding: 1rem 0 2rem 0;
}

#consultation-form form {
    display: flex;
    gap: 2.5rem;
    row-gap: 1.5rem;
}

#consultation-form .inputs-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
}

.message {
    width: 100%;
    margin-top: 1rem;
}

#consultation-form .inputs-row .form-group {
    flex: 1;
}

#consultation-form .form-group {
    width: 100%;
}

#consultation-form input,
#consultation-form textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#consultation-form textarea {
    min-height: 120px;
    resize: vertical;
}

#consultation-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 1rem 0 3rem 0;
}

#consultation-form .checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 0.2rem;
    accent-color: var(--primary-color);
}

#consultation-form .checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.4;
}

@media (max-width: 768px) {
    #consultation-form {
        /*padding: 2rem;*/
        /*margin: 2rem 1rem;*/
    }

    #consultation-form .inputs-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Solutions Section */
.solutions-section_start {
    margin: 150px 0 0 0;
}
.solutions-section {
    position: relative;
    padding-top: 6rem;
    background-image: url('../images/solutions-border-top.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}

.solutions-section .section-header {
    position: relative;
    bottom: 5rem;
}

.solutions-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

.solution-slide {
    /*background: rgba(0, 240, 255, 0.03);*/
    height: auto !important;
}

.solution-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
}

.solution-header {
    display: flex;
    justify-content: space-between;
}

.solution-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 1rem;
}

.solution-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.solution-content li:last-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-right: 150px;
    position: relative;
}

.solution-content li {
    position: relative;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.6;
    background-repeat: no-repeat;
    background-position: left;
    list-style: none;
}

.solution-content li:nth-child(1) {
    background-image: url('../images/first-row.png');
    background-size: 100% 100%;

}

.solution-content li:nth-child(2) {
    background-image: url('../images/first-row.png');
    background-size: 80% 100%;
}

.solution-content li:nth-child(3) {
    background-image: url('../images/first-row.png');
    background-size: 60% 100%;
}

.solution-content .button-nolink {
    position: absolute;
    bottom: 0;
    right: 0;
    /*transform: translateX(-50%);*/
    margin: 0;
    margin-top: 5rem;
    height: auto;
    text-decoration: none;
}

.solutions-pagination {
    position: relative !important;
    padding-top: 5rem !important;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background-image: url('../images/solutions-border-bottom.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 2.5rem 0;
}

.solutions-pagination .swiper-pagination-bullet {
    width: auto;
    height: auto;
    background: none;
    opacity: 0.7;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
    border-radius: 0;
    transition: all 0.3s ease;
    padding: 0;
}


.solutions-pagination .swiper-pagination-bullet:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.solutions-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    color: var(--primary-color);
}

.solutions-pagination .swiper-pagination-bullet-active:after {
    width: 100%;
}

.solutions-pagination .wiper-pagination-fraction .swiper-pagination-horizontal {
    padding-top: 5% !important;
}
@media (max-width: 768px) {
    .solutions-section {
        position: relative;
        padding-top: 6rem;
        /*padding-left: 1rem;*/
        /*padding-right: 1rem;*/
        background-image: url('../images/solutions-border-top-mobile.svg');
        background-repeat: no-repeat;
        background-position: top center;
        background-size: calc(100% - 2rem);
    }
    .solutions-section_start {
        margin: 6rem 0 0 0;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .solutions-section_start {
        margin: 140px 0 0 0;
    }
    .solutions-section {
        position: relative;
        padding: 6rem 1rem 1rem 1rem;
        background-image: url('../images/solutions-border-top.png');
        background-repeat: no-repeat;
        background-position: top center;
        background-size: contain; /* Адаптивное масштабирование */
        min-height: 400px; /* Опционально для обеспечения видимости */
    }

    .solutions-section .section-header {
        position: relative;
        bottom: 7.5rem;
    }

    .solutions-slider {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        padding: 0;
    }

    .solution-slide {
        /*background: rgba(0, 240, 255, 0.03);*/
        height: auto !important;
    }

    .solution-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        height: 100%;
    }

    .solution-header {
        display: flex;
        justify-content: space-between;
    }

    .solution-content h3 {
        font-family: var(--font-heading);
        font-size: 20px;
        margin-bottom: 1rem;
    }

    .solution-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
        flex-grow: 1;
    }

    .solution-content li:last-child {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
        padding-right: 150px;
        position: relative;
    }

    .solution-content li {
        position: relative;
        padding: 1rem 1.5rem;
        margin-bottom: 1rem;
        color: var(--text-color);
        opacity: 0.8;
        font-size: 1rem;
        line-height: 1.6;
        background-repeat: no-repeat;
        background-position: left;
        list-style: none;
    }

    .solution-content li:nth-child(1) {
        background-image: url('../images/first-row.png');
        background-size: 100% 100%;

    }

    .solution-content li:nth-child(2) {
        background-image: url('../images/first-row.png');
        background-size: 80% 100%;
    }

    .solution-content li:nth-child(3) {
        background-image: url('../images/first-row.png');
        background-size: 60% 100%;
    }

    .solution-content .button-nolink {
        position: absolute;
        bottom: 0;
        right: 0;
        /*transform: translateX(-50%);*/
        margin: 0;
        margin-top: 5rem;
        height: auto;
        text-decoration: none;
    }

    .solutions-pagination {
        position: relative !important;
        padding-top: 5rem !important;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        background-image: url('../images/solutions-border-bottom.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        padding: 2.5rem 0;
    }

    .solutions-pagination .swiper-pagination-bullet {
        width: auto;
        height: auto;
        background: none;
        opacity: 0.7;
        font-family: var(--font-heading);
        color: var(--text-color);
        font-size: 1rem;
        position: relative;
        border-radius: 0;
        transition: all 0.3s ease;
        padding: 0;
    }


    .solutions-pagination .swiper-pagination-bullet:after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }

    .solutions-pagination .swiper-pagination-bullet-active {
        opacity: 1;
        color: var(--primary-color);
    }

    .solutions-pagination .swiper-pagination-bullet-active:after {
        width: 100%;
    }

    .solutions-pagination .wiper-pagination-fraction .swiper-pagination-horizontal {
        padding-top: 5% !important;
    }

}

/* Add styles for the navigation arrows */
.solutions-button-prev,
.solutions-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 10px;
    z-index: 10;
}

.solutions-button-prev img,
.solutions-button-next img {
    width: 50px; /* Increase the width */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease;
    margin-top: 1rem;
}

/* Hover effect */
.solutions-button-prev:hover img,
.solutions-button-next:hover img {
    transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .solutions-button-prev img,
    .solutions-button-next img {
        width: 28px; /* Slightly smaller on mobile */
    }
}

.blur-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 98;
}

@media (max-width: 768px) {
    .hero-text-image {
        flex-direction: column;
        gap: 2rem;
        margin-top: 3rem;
    }

    .text-content {
        flex: none;
        width: 100%;
        font-size: 24px;
        line-height: 1.2;
    }

    .hero-right {
        flex: none;
        width: 100%;
        order: 1;
    }

    .hero-image {
        width: 110%;
        height: auto;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (min-width: 769px) and (max-width: 1240px) {
    .hero-text-image {
        flex-direction: row;
        gap: 2rem;
        margin-top: 3rem;
        display: flex;
    }

    .text-content {
        flex: none;
        width: 50%;
        font-size: 24px;
        line-height: 1.2;
        padding-left:1rem;
    }

    .hero-right {
        width: 70%;
        order: 1;
    }

    .hero-image {
        width: 110%;
        height: auto;
        max-width: 500px;
        margin: 0 auto;
    }
}

.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.mobile-dropdown-content.show {
    max-height: 500px; /* или auto через JS, но анимировать auto нельзя */
}

.mobile-dropdown-content a {
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    text-decoration: none;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.mobile-dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-content a::before {
    content: '';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('../images/arrow-white-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.mobile-dropdown-content a:hover {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary-color);
    opacity: 1;
}

.mobile-dropdown-content a:hover::before {
    background-image: url('../images/arrow-cyan-icon.png');
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

.mobile-dropdown-content a span {
    flex: 1;
    text-align: left;
    margin-right: 10px;
}


.mobile-menu-btn.active .burger-icon {
    background-color: transparent;
}

.mobile-menu-btn.active .burger-icon::before {
    transform: rotate(45deg);
}

.mobile-menu-btn.active .burger-icon::after {
    transform: rotate(-45deg);
}

.mobile-menu .mobile-phone:hover {
    opacity: 1;
    color: var(--primary-color);
}




/* Animation */
/* === fadeInBlur === */
@keyframes fadeInBlur {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

/* элемент до появления */
.animate-on-scroll {
    opacity: 0;
    filter: blur(10px);
}

/* когда элемент в зоне видимости, запускаем анимацию */
.animate-on-scroll.in-view {
    animation: fadeInBlur 1s forwards;
}


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

.solutions-navigation-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6rem;
    /* padding: 2rem 0; */
}

.solutions-pagination {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../images/solutions-border-bottom.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: -5rem;
    width: 100%; /* Keep full width for background */
    font-size: 2rem;
}

.solutions-button-prev,
.solutions-button-next {
    position: absolute;
    top: 25%;
    left: 35%;
    transform: translateY(-70%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 10px;
    z-index: 10;
}

.solutions-button-prev {
    right: 60%;
}

.solutions-button-next {
    left: 60%
}

/* ——————— Эффект «бегущей» стрелки для решений ——————— */

/* 1) keyframes: меняем только opacity */
@keyframes arrow-run {
    0%, 14.3%   { opacity: 1; }
    14.4%,100%  { opacity: 0.2; }
}

.custom-prev, .custom-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.solutions-navigation-wrapper .custom-prev .arrow,
.solutions-navigation-wrapper .custom-next .arrow {
    display: block;
    width: 20px;
    height: 32px;
    background: url('../images/arrow-a.svg') no-repeat center;
    background-size: contain;
    opacity: 1;
    transition: opacity 0.2s;
    margin-right: -5px;
}

.solutions-navigation-wrapper .custom-prev .arrow:last-child,
.solutions-navigation-wrapper .custom-next .arrow:last-child {
    margin-right: 0;
}

.solutions-navigation-wrapper .custom-prev .arrow {
    transform: rotate(180deg);
}

/* 4) по hover запускаем три анимации с задержками */
/* для Next: слева→справа */
.solutions-navigation-wrapper .custom-next:hover .arrow:nth-child(1) { animation: arrow-run 0.6s linear 0s   infinite; }
.solutions-navigation-wrapper .custom-next:hover .arrow:nth-child(2) { animation: arrow-run 0.6s linear 0.2s infinite; }
.solutions-navigation-wrapper .custom-next:hover .arrow:nth-child(3) { animation: arrow-run 0.6s linear 0.4s infinite; }
/* для Prev: справа→слева */
.solutions-navigation-wrapper .custom-prev:hover .arrow:nth-child(3) { animation: arrow-run 0.6s linear 0s   infinite; }
.solutions-navigation-wrapper .custom-prev:hover .arrow:nth-child(2) { animation: arrow-run 0.6s linear 0.2s infinite; }
.solutions-navigation-wrapper .custom-prev:hover .arrow:nth-child(1) { animation: arrow-run 0.6s linear 0.4s infinite; }


@media (max-width: 768px) {

    .solutions-button-prev img,
    .solutions-button-next img {
        width: 25px; /* Slightly smaller on mobile */
    }

    .solutions-button-prev {
        right: 100%;
        position: absolute;
        top: 0%;
        transform: translateY(-50%);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 10px;
        z-index: 10;
    }

    .solutions-button-next {
        left: 57%;
        position: absolute;
        top: 0%;
        transform: translateY(-50%);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 10px;
        z-index: 10;
    }

    .solutions-pagination {
        font-size: 1rem;
        position: relative !important;
        padding-top: 5rem !important;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        background-image: url('../images/solutions-border-bottom-mobile.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: calc(100% - 2rem);
        padding: 2.5rem 0;
    }

    .solutions-section h2 {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .solution-slide {
        padding: 2rem 1.5rem;
    }

    .solution-content {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .solution-content h3 {
        font-size: 16px;
    }

    .solution-content ul {
        margin-bottom: 75px; /* Make space for the button */
    }

    .solution-content li {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .solution-content li:nth-child(1), .solution-content li:nth-child(2), .solution-content li:nth-child(3) {
        background-image: url('../images/first-row.png');
        background-size: 100% 100%;
    }

    .solution-content li:last-child {
        padding-right: 1rem; /* Reset the large padding */
    }

    .solution-content .button {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        margin-top: 5rem;

        height: auto;
    }

    .solutions-slider {
        margin-top: -80px;
        /*padding: 0 1rem;*/
        height: 100%;
    }

    .solutions-navigation-wrapper {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 3rem;
    }


}

/* services page structure */

.about-services__hero-content {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../images/about-itp-hero.png') center center / cover no-repeat;
    opacity: 0;
    animation: fadeInBlur 1s forwards;
}

.about-services__hero-top {
    position: relative;
    top: 0;
    left: 0;
    font-size: 2rem;
    text-align: left;
    width: 100%;
    margin-top: 160px;
    opacity: 0;
    animation: fadeInText 2s ease-in forwards;
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}

.about-services__hero-top h1 {
    font-size: 3rem;
}

.about-services__hero-bottom-content {
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    width: 100%;
    /*animation: fadeInBackground 3s ease-out forwards;*/
}

.hardware__hero-bottom-content {
    background-image: url('../images/hardware-hero.jpg');
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    position: relative;
    opacity: 0;
    animation: fadeInBlur 1s forwards;
}

.software__hero-bottom-content {
    background-image: url('../images/software-hero.jpg');
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    position: relative;
    opacity: 0;
    animation: fadeInBlur 1s forwards;
}

.itservices__hero-bottom-content {
    background-image: url('../images/itservices-hero.jpg');
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    position: relative;
    opacity: 0;
    animation: fadeInBlur 1s forwards;
}

.cloud-solutions__hero-bottom-content {
    background-image: url('../images/cloud-hero.jpg');
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    position: relative;
    opacity: 0;
    animation: fadeInBlur 1s forwards;
}

@keyframes fadeInBlur {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}


@keyframes fadeInBackground {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.about-services__hero-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    width: 70%;
    margin-left: auto;
    animation: fadeInBlur 1.5s ease-in forwards;
}

.about-services__hero-bottom-left {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.5;
    width: auto;
    max-width: 400px;
    background: black;
}
.about-services__hero-bottom-left:hover {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}
.about-services__hero-bottom-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: auto;
}

.background-image-mobile {
    display: none;
}

@media (max-width: 768px) {
    .about-services__hero-top h1 {
        font-size: 2rem;
        line-height: 1.2;
        /*padding-left: 2rem;*/
    }
    .about-services__hero-content {
        flex-direction: column-reverse;
    }

    .about-services__hero-bottom {
        width: 100%;
        justify-content: space-between;
    }

    .about-services__hero-bottom-content {
        background-image: none;
        height: 100%;

    }
    .background-image-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .about-services__hero-content {
        position: relative;
        background-image: none;
        height: auto;
        padding: 2rem;
    }

    .about-services__hero-top {
        position: relative;
        transform: none;
        left: 0;
        top: 0;
        margin: 60px 1rem 1rem 1rem;
    }

    /*.about-services__hero-top {*/
    /*    position: relative;*/
    /*    transform: none;*/
    /*    left: 0;*/
    /*    top: 0;*/
    /*    margin: 60px 1rem 1rem 1rem;*/
    /*}*/

    .about-services__hero-bottom {
        position: relative;
        width: 100%;
        flex-direction: column;
        gap: 2rem;
        padding: 0;
    }

    .about-services__hero-bottom-left {
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }

    .about-services__hero-bottom-right {
        width: 100%;
        justify-content: center;
    }

    /* Add mobile background image */
    .background-image-mobile {
        width: 100%;
        height: 300px;
        margin-top: 2rem;
        overflow: hidden;
    }

    .background-image-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 768px) {
    .about-services__hero-content {
        padding: 1rem;
    }
    .about-services__hero-top h1 {
        font-size: 24px;
        text-align: left;
        width: 80%;
    }
    .about-services__hero-bottom {
        flex-direction: column;
        gap: 2rem;
    }
    .about-services__hero-bottom-left p {
        font-size: 15px;
        text-align: left;
        margin: 1rem;
    }
    .about-services__hero-bottom-right {
        width: 100%;
        justify-content: center;
    }
    .about-services__hero-bottom-right img {
        width: 100%;
        height: auto;
    }
    .background-image-mobile {
        height: 280px;
    }
    .accordion-item-body-content {
        flex-direction: column;
    }
    .accordion-item-body-content-description p {
        width: 100%;
        font-size: 0.9rem;
    }




    .about-services__hero-bottom-left {
        max-width: 100%;
    }

    .accordion-item-body-content {
        flex-direction: column;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .about-services__hero-top {
        margin-top: 120px;
    }
    .about-services__hero-top h1 {
        font-size: 30px;
    }
    .about-services__hero-bottom {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding: 2rem 0;
        width: 100%;
        margin-left: auto;
        animation: fadeInBlur 1.5s ease-in forwards;
    }
}

/*  */

.accordion {
    margin-top: 140px;
}

.accordion-item-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: all 0.3s ease;
    left: 0;
    top: 0;
}


/* Container for background transitions */
.accordion-item-header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 4.5rem;
    position: relative;
    overflow: hidden;
}

.accordion-item-header-content h3 {
    font-size: 30px;
}

.accordion-item-header-content h5 {
    font-size: 15px;
    color: var(--primary-color);
    padding-bottom: 3%;
}

/* Base background (closed state) */
.accordion-item-header-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/accordion-rectangle-closed.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: left;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 2;

}

/* Active state background */
.accordion-item-header-content::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/accordion-rectangle-title.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

/* Ensure content stays above backgrounds */
.accordion-item-header-content > * {
    position: relative;
    z-index: 3;
}

/* Active state transitions */
.accordion-item.active .accordion-item-header-content::before {
    opacity: 0;
}

.accordion-item.active .accordion-item-header-content::after {
    opacity: 1;
}

/* Open state */
/* .accordion-item.active .accordion-item-header-content {
    background-image: url('../images/accordion-rectangle-title.png');
    background-repeat: no-repeat;
} */

/* Button default state (closed) */
.accordion-toggle-btn {
    width: 99px;
    height: 99px;
    min-width: 95px;
    background-color: var(--primary-color);
    /* background-image: url('../images/arrow-white-icon.png'); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    position: relative;
    right: 0;
    top: 28.5%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* Cropped right bottom angle */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}
@media (min-width: 769px) and (max-width: 1024px) {
    .accordion-item-header-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        padding: 4rem 1rem;
        position: relative;
        overflow: hidden;
    }
    .accordion-toggle-btn {
        width: 99px;
        height: 99px;
        min-width: 95px;
        background-color: var(--primary-color);
        /* background-image: url('../images/arrow-white-icon.png'); */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        position: relative;
        right: 0;
        top: 21.5%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        /* Cropped right bottom angle */
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 45px), calc(100% - 45px) 100%, 0 100%);
    }
}
@media screen and (min-width: 1024px)
{
    .accordion-toggle-btn {
        width: 99px;
        height: 99px;
        min-width: 95px;
        background-color: var(--primary-color);
        /* background-image: url('../images/arrow-white-icon.png'); */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        position: relative;
        right: 0;
        top: 28.5%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        /* Cropped right bottom angle */
        /*clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);*/
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 45px), calc(100% - 45px) 100%, 0 100%);
    }

}
.accordion-toggle-btn::after {
    content: '';
    width: 35px;
    height: 35px;
    background-image: url('../images/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* transform: rotate(90deg); */
    transition: all 0.3s ease;
    top: 30%;
}

/* Open state - smaller button */
.accordion-item.active .accordion-toggle-btn {
    width: 58px;
    height: 58px;
    min-width: 58px;
    background-color: var(--primary-color);
    border: none;
    clip-path: none;
    margin-right: 3rem;
    margin-left: 1rem;
}

.accordion-item.active .accordion-toggle-btn::after {
    /* width: 14px;
    height: 14px; */
    background-image: url('../images/arrow.svg');
    transform: rotate(180deg);
    width: 20px;
    height: 20px;
}
/* Hover effects */
.accordion-toggle-btn:hover {
    background-color: var(--primary-color);
}

.accordion-toggle-btn:hover::after {
    background-image: url('../images/arrow.svg');
}

.accordion-item-body {
    background-image: url('../images/accordion-rectangle-open.svg');
    /*background-size: 100% 100%;*/
    background-repeat: no-repeat;
    padding: 3.5rem 2rem;
    width: 100%;
    position: relative;
    top: -93px;
    right: 0.3rem;
    height: 70vh;
}
@media (min-width: 769px) and (max-width: 1024px) {
    .accordion-item-body {
        /*background-image: url('../images/accordion-rectangle-open-m.svg');*/
        background-image: none;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        padding: 3.5rem 4rem;
        width: 100%;
        position: relative;
        top: -93px;
        right: 0.3rem;
        height: 80vh;
    }
    .accordion-item-header-content h3 {
        font-size: 20px;
        padding-bottom: 5px;
    }
    .accordion-item-header-content::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 100%;
        /*background-image: url('../images/accordion-rectangle-closed-m.svg');*/
        background-image: none;
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: left;
        opacity: 1;
        transition: opacity 0.5s ease;
        z-index: 2;

    }

    /* Active state background */
    .accordion-item-header-content::after {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 100%;
        /*background-image: url('../images/accordion-rectangle-title.png');*/
        background-image: none;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left;
        opacity: 0;
        transition: opacity 0.5s ease;
        z-index: 2;
    }
}

.accordion-item-body-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2rem 0;
}

.accordion-item-body-content-description {
    padding-right: 10px;
    max-width: 50%;
    font-size: 15px;
    margin-right: 60px;
    color: rgba(255, 255, 255, 0.5);
}
.accordion-item-body-content-description:hover {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}
.accordion-item-body-content-description p {
    width: 300px;
    line-height: 1.3;
}

.accordion-item-body-content-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

}

.list-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 350px;
    margin-bottom: 2rem;
    position: relative;
}

.list-item::before {
    content: '';
    background-image: url('../images/polyline.svg');
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: -10px;
    width: 100%;
    height: 25%;
    margin-bottom: 10%;
}


.list-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-left: 20px;
}

.list-text {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    width: 60%;
    line-height: 1.5;
}

.list-text-bold {
    font-weight: 800;
    color: rgba(255, 255, 255, 1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .list-text {
        font-size: 15px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.5);
        width: 100%;
        line-height: 1.5;
    }
    .accordion-toggle-btn {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .accordion-toggle-btn::after {
        width: 20px;
        height: 20px;
    }

    .accordion-item.active .accordion-toggle-btn {
        width: 50px;
        height: 50px;
        min-width: 32px;
    }

    .accordion-item.active .accordion-toggle-btn::after {
        width: 12px;
        height: 12px;
        margin-right: 0;
    }

    .accordion-item-body {
        /*background-image: url('../images/accordion-mobile-open.png');*/
        background-image: none;
        /*background-size: 92% 98%;*/
        /*background-repeat: no-repeat;*/
        /*background-position: left;*/
        padding: 1rem 1rem;
        width: 100%;
        position: relative;
        top: -10px;
        left: 4%;
        margin: 0 auto;
        height: auto;
    }

    .accordion-item-body-content {
        display: flex;
        flex-direction: column;
    }
}


@media (max-width: 768px) {
    .accordion-item {
        width: 90%;
    }

    .accordion-item-header-content h3 {
        font-size: 1.1rem;
        width: 80%;
        height: 60px;
    }

    .accordion-item-header-content h5 {
        font-size: 0.9rem;
        width: 80%;
        padding-top: 10px;
    }

    .accordion-toggle-btn {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }

    .accordion-item.active .accordion-toggle-btn {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }

    .accordion-item-body-content-description {
        font-size: 1.5vh;
    }

    .accordion-toggle-btn::after {
        width: 1rem;
        height: 1rem;
    }

    .accordion-item-body-content {
        flex-direction: column;
        align-items: normal;
        background-size: 100% 100%;
        /*gap: 1rem;*/
        padding: 0;
    }

    .accordion-item-body-content-description p {
        width: 100%;
        font-size: 15px;
        padding-bottom: 1rem;
    }


}


@media (max-width: 768px) {
    .accordion-item {
        width: 100%;
    }
    .accordion-item-header {
        padding: 1rem;
        position: relative;
    }

    .accordion {
        margin-top: 40px;
    }
    .accordion-item-header-content {
        background-image: url('../images/accordion-item-body-mobile.svg');
        background-repeat: no-repeat;
        background-size: 100% auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        padding: 1rem;
        position: relative;
        overflow: hidden;
        height: 175px;
    }

    .accordion-item-header-content::before, .accordion-item-header-content::after {
        display: none;
    }

    .accordion-item-header-content h3 {
        line-height: 1.5;
    }

    .accordion-toggle-btn {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }

    .accordion-item.active .accordion-toggle-btn {
        width: 45px;

    }


    .accordion-item-header-content h5 {
        font-size: 15px;
        width: 80%;
        padding-top: 25px;
        line-height: 1.3;
    }

    .accordion-toggle-btn {
        width: 65px;
        height: 65px;
        min-width: 65px;
        position: absolute;
        right: 2.3%;
        top: 72%;
    }

    .accordion-item.active .accordion-toggle-btn {
        width: 65px;
        height: 65px;
        min-width: 65px;
    }

    .accordion-toggle-btn::after {
        width: 1rem;
        height: 1rem;
    }

    .accordion-item.active .accordion-toggle-btn::after {
        width: 1rem;
        height: 1rem;
    }


    .accordion-item-body-content-description {
        /*margin: 0 auto;*/
        /*margin-bottom: 2rem;*/
        padding-right: 10px;
        max-width: 100%;
        font-size: 15px;
        margin-right: 15px;
        color: rgba(255, 255, 255, 0.5);

    }

    .accordion-item-body-content-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        margin-top: 2rem;
    }

    .list-item {
        margin-bottom: 2rem;
        width: 90%;
        justify-content: space-between;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 5%;
        position: relative;
    }

    .list-item::before {
        content: '';
        background-image: url('../images/polyline.svg');
        background-size: auto;
        background-repeat: no-repeat;
        position: absolute;
        top: -10px;
        width: 100%;
        height: 25%;
        margin-bottom: 10%;
    }

    .list-number {
        font-size: 15px;
        /*margin-top: 1rem;*/
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .accordion-item-body-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        padding: 2rem 0;
    }
    .accordion-item-body-content-description {
        padding-right: 10px;
        max-width: 50%;
        font-size: 15px;
        margin-right: 100px;
        margin-bottom: 50px;
        color: rgba(255, 255, 255, 0.5);
    }
}

@media (max-width: 480px) {
    .accordion-toggle-btn {
        width: 70px;
        height: 70px;
        min-width: 70px;
        right: 4%;
        top: 57%;
    }

    .accordion-item.active .accordion-toggle-btn {
        width: 68px;
        height: 68px;
        min-width: 58px;
        background-color: var(--primary-color);
        border: none;
        margin-left: 1rem;
        margin-right: 0;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
    }

}



/* Default state for all text elements */
h1, h2, h3, h4, h5, h6, p, li, span, a:not(.button),
.nav-links a, .footer-nav a, .stat-label,
.service-card p, .info-block p,
.accordion-item-body-content p,
.contact-form p, .popup-form label,
.footer-contacts p, .mobile-dropdown-content a {
    /*opacity: 0.7;*/
    transition: opacity 0.3s ease;
}

/* Hover states */
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover,
p:hover, li:hover, span:hover, a:not(.button):hover,
.nav-links a:hover, .footer-nav a:hover, .stat-label:hover,
.service-card:hover p, .info-block:hover p,
.accordion-item-body-content li:hover p,
.contact-form p:hover, .popup-form label:hover,
.footer-contacts p:hover, .mobile-dropdown-content a:hover {
    opacity: 1;
}

/* Keep certain elements at full opacity always */
.button, .button *,
.stat-number,
.primary-color,
.highlight {
    opacity: 1 !important;
}


.contacts-section {
    padding: 180px 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    .contacts-section {
        padding: 120px 20px 0;
        /*max-width: 1200px;*/
        margin: 0 auto;
    }
}


.contacts-wrapper {
    display: flex;
    gap: 80px;
}

.contacts-header h1 {
    font-size: 50px;
    font-weight: bold;
    white-space: nowrap;
}

.contacts-content {
    flex-grow: 1;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-item h3 {
    color: #666;
    margin-bottom: 16px;
    font-size: 16px;
}

.contact-item p {
    color: #fff;
    margin-bottom: 8px;
    opacity: 0.8;
    font-size: 16px;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contacts-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .contacts-button-container {
        padding-top:50px;
    }
    .contacts-header h1 {
        font-size: 30px;
        font-weight: bold;
        white-space: nowrap;
    }
    .contacts-section {
        padding: 150px 20px 0;
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .contacts-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .contacts-header h1 {
        font-size: 24px;
        font-weight: bold;
        white-space: nowrap;
    }
    .contact-item h3 {
        color: #666;
        margin-bottom: 16px;
        font-size: 15px;
    }

    .contact-item p {
        color: #fff;
        margin-bottom: 8px;
        opacity: 0.8;
        font-size: 15px;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.contacts-bottom {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 5%;
}

.contacts-image img {
    max-width: 100%;
    height: auto;
}

/* Responsive design addition */
@media (max-width: 768px) {
    .contacts-image {
        order: -1; /* Places image above button on mobile */
    }
}


.cta-section {
    flex: 1; /* Takes one third */
}

.contacts-image {
    flex: 2; /* Takes two thirds */
    /*height: 280px;*/
    overflow: hidden;
}

.contacts-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will crop the image while maintaining aspect ratio */
}

.cta-button {
    padding: 15px 30px;
    background-color: transparent;
    border: 2px solid #43ffff;
    color: #43ffff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #43ffff;
    color: #000;
}

@media (min-width: 769px) and (max-width: 1024px)  {
    .contacts-bottom {
        flex-direction: column-reverse;
        text-align: center;
        margin-bottom: 5%;
        display: flex;
        align-items: flex-start;
    }

    .contacts-image {
        width: 100%;
        max-height: 300px;
    }

    .contacts-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* object-position: bottom; */
    }
}
/* Responsive design addition */
@media (max-width: 768px) {
    .contacts-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 20px;
    }

    .contacts-image {
        width: 100%;
        order: -1; /* Places image above button on mobile */
    }

    .cta-section {
        width: 100%;
    }

    .contacts-button-container button {
        width: 90vw;
        margin-top: 2rem;
    }
}

a.button {
    text-decoration: none;
    font-size: 0.5rem;

}
@media (max-width: 768px) {
    .mobile-hide {
        display: none;
    }
}


.form-success-visible h2,
.form-success-visible .popup-subtitle,
.form-success-visible .form-row,
.form-success-visible .checkbox-group,
.form-success-visible button {
    display: none;
}


/* ==== ОБНОВЛЕННЫЕ СТИЛИ ТАБОВ ==== */
#tabs li a {
    position: relative;
    padding-bottom: 0.6rem;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    /*border-bottom: 2px solid rgba(255, 255, 255, 0.2);*/
}

@media screen and (max-width:768px)  {
    #tabs li a {
        position: relative;
        padding-bottom: 0.6rem;
        color: var(--text-color);
        opacity: 0.7;
        transition: all 0.3s ease;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    }
}

/* 3. Псевдо-элемент для нижней линии */
#tabs li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* 4. Активный таб */
#tabs li.active > a {
    color: var(--primary-color);
    opacity: 1;
}

#tabs li.active > a::after {
    width: 100%;
}

/* ==== КОНТЕНТ ПАНЕЛЕЙ (только для десктопа) ==== */
@media (min-width: 769px) {
    /* Применяем grid только к _прямому_ потомку */
    .tabs-wrapper > .content-wrapper {
        display: grid;
    }

    /* Скрываем все панели… */
    .tabs-wrapper > .content-wrapper > div {
        grid-area: 1 / 1;
        visibility: hidden;
    }
    /* …и показываем лишь активную */
    .tabs-wrapper > .content-wrapper > div.active {
        visibility: visible;
    }
}


@media (max-width: 768px) {
    .tabs-wrapper > .content-wrapper > div {
        display: none;
    }
    .tabs-wrapper > .content-wrapper > div.active {
        display: block;
    }
}
/* === Переменные для настройки === */
:root {
    /* размер одной стрелки (ширина и высота) */
    --arrow-size: 24px;
    /* расстояние от края контейнера */
    --arrow-offset: 10px;
    /* длительность один проход анимации */
    --arrow-duration: 0.8s;
}

/* === Создаём псевдоэлемент-спрайт из 3 стрелок === */
/*.custom-prev::before,*/
/*.custom-next::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    width: calc(var(--arrow-size) * 3);*/
/*    height: var(--arrow-size);*/
/*    background-image: url('../images/arrow-a.svg');*/
/*    background-repeat: repeat-x;*/
/*    background-size: var(--arrow-size) var(--arrow-size);*/
/*    opacity: 0.6;*/
/*    transform: translateY(-50%);*/
/*    pointer-events: none;*/
/*}*/
/* === СБРОС И УПРОЩЁННАЯ АНИМАЦИЯ ДЛЯ СПАНОВ-СТРЕЛОК === */

/* 1) Контейнеры превращаем в flex, чтобы спаны выстраивались в ряд */
.custom-prev,
.custom-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    /* удаляем gap, так как мы вручную будем управлять spacing */
}

.custom-prev .arrow,
.custom-next .arrow {
    display: block;
    width: 20px;
    height: 32px;
    background: url('../images/arrow-a.svg') no-repeat center;
    background-size: contain;
    opacity: 0.2;
    transition: opacity 0.2s;
    margin-right: -5px; /* Плотно сжимаем стрелки друг к другу */
}

.custom-prev .arrow:last-child,
.custom-next .arrow:last-child {
    margin-right: 0; /* Последней стрелке убираем смещение */
}

/* Поворот стрелок для "назад" */
.custom-prev .arrow {
    transform: rotate(180deg);
}


/* 4) Универсальный keyframes для «мигания» */
@keyframes blink {
    0%, 100% { opacity: 0.2; }
    50%      { opacity: 1;   }
}

/* 5) Анимация трёх стрелок со сдвигом по времени (эффект «бегущей» точки) */
.custom-prev:hover .arrow:nth-child(1),
.custom-next:hover .arrow:nth-child(1) {
    animation: blink 1.2s ease-in-out infinite;
    animation-delay: 0s;
}
.custom-prev:hover .arrow:nth-child(2),
.custom-next:hover .arrow:nth-child(2) {
    animation: blink 1.2s ease-in-out infinite;
    animation-delay: 0.4s;
}
.custom-prev:hover .arrow:nth-child(3),
.custom-next:hover .arrow:nth-child(3) {
    animation: blink 1.2s ease-in-out infinite;
    animation-delay: 0.8s;
}

/* === Позиционирование стрелок в блоке “solutions” === */
.solutions-navigation-wrapper .custom-prev {
    left: 28%;
    bottom: 42%;
}
.solutions-navigation-wrapper .custom-next {
    right: 28%;
    bottom: 42%;
}
@media (max-width: 768px) {
    .solutions-navigation-wrapper .custom-prev { left: 9%; bottom: -19%; }
    .solutions-navigation-wrapper .custom-next { right: 9%; bottom: -19%; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .solutions-navigation-wrapper .custom-prev { left: 25%; bottom: 25%; }
    .solutions-navigation-wrapper .custom-next { right: 25%; bottom: 25%; }
}


.service__hero-bottom-content {
    background-image: url(../images/service-hero.jpg);
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    position: relative;
    opacity: 0;
    animation: fadeInBlur 1s forwards;
}

.service-ps {
    padding: 9rem 0 3rem 0;
    color: #fff;
}

.service-ps h2 {
    text-align: left;
    font-size: 30px;
    margin-bottom: 2.5rem;
    max-width: 1000px;
}

.service-ps__table {
    display: flex;
    flex-direction: column;
    width: 800px;
    margin: 0;
}

.service-p__row {
    display: flex;
    padding: 0.5rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.service-ps__container {
    display: flex;
    flex-direction: row-reverse;
}

.service-p__row:first-child {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.service-p__row:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.service-p__row:hover::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
    rgba(67, 255, 255, 0) 0%,
    rgba(67, 255, 255, 0.5) 50%,
    rgba(67, 255, 255, 0) 100%);
}

.service-p__title {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    transition: color 0.3s ease;
}

.service-p__row:hover .service-p__title {
    color: #43ffff;
}

.service-ps__description-block {
    display: flex;
    flex-direction: column;
    max-width: 350px;
    margin: 0 3rem 0 auto;
    justify-content: space-between;
}

.service-ps__description {
    color: rgba(255, 255, 255, 0.5);
    max-width: 400px;
    line-height: 1.5;
    padding-left: 2.5rem;
    transition: color 0.3s ease;
}
.service-ps__description:hover {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-p__row:nth-child(1) { animation-delay: 0.1s; }
.service-p__row:nth-child(2) { animation-delay: 0.2s; }
.service-p__row:nth-child(3) { animation-delay: 0.3s; }
.service-p__row:nth-child(4) { animation-delay: 0.4s; }
.service-p__row:nth-child(5) { animation-delay: 0.5s; }
.service-p__row:nth-child(6) { animation-delay: 0.6s; }
.service-p__row:nth-child(7) { animation-delay: 0.7s; }
.service-p__row:nth-child(8) { animation-delay: 0.8s; }
.service-p__row:nth-child(9) { animation-delay: 0.9s; }

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-ps__container {
        display: flex;
        flex-direction: column;
    }
    .service-ps {
        padding: 100px 1rem 0 1rem;;
    }
    .service-ps h2 {
        font-size: 20px;
        margin-bottom: 2rem;
    }
    .service-ps__description-block {
        flex-direction: row;
        margin-bottom: 2rem;
        gap: 5rem;
        max-width: 100%;
    }
    .service-ps__description {
        max-width: 100%;
        padding-left: 0;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .service-ps__table {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
    }
    .service__hero-bottom-content {
        background-image:none;
        height: auto;
    }
    .service-ps__container {
        display: flex;
        flex-direction: column;
    }
    .service-ps {
        padding: 6rem 1rem 1rem 1rem;
    }
    .service-ps h2 {
        font-size: 20px;
        text-align: left;
        margin-bottom: 2rem;
    }
    .service-p__row {
        flex-direction: column;
        padding: 1rem 0;
        transform: none;
    }
    .service-p__row:hover {
        transform: none;
    }
    .service-p__title {
        font-size: 15px;
        width: 100%;
    }
    .service-ps__description-block {
        flex-direction: column;
    }
    .service-ps__description {
        font-size: 15px;
        padding-bottom: 1rem;
        padding-left: 0;
    }
}


/* ABOUT.CSS */
.about__header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
@media (max-width: 768px)
{
    .about__header {
        margin-top: 40px;
        color: #fff;
        height: 80vh;
        /*padding: 1rem;*/
    }
}

.about__hero-content {
    position: absolute;
    inset: 0;
    background-image: url(../images/about-itp-hero-m.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    animation: fadeInBlur 1s forwards;


    /*width: 100%;*/
    /*height: 100%;*/
    /*background-image: url(../images/about-itp-hero.png);*/
    /*background-position: center center;*/
    /*background-repeat: no-repeat;*/
    /*background-size: cover;*/
    /*opacity: 0;*/
    /*animation: fadeInBlur 1s forwards;*/
    /*flex: 1;*/
}

@media (min-width: 769px) and (max-width: 1024px)
{
    .about__hero-content {
        position: relative;
        left: -5%;
        top: -15%;
        width: 110%;
        height: 100%; /* теперь он займет всю высоту about__header */
        background-image: url(../images/about-itp-hero.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover; /* Ключевой момент - полностью по секции */
        opacity: 0;
        animation: fadeInBlur 1s forwards;
    }
    .about__header {
        color: #fff;
        height: 80vh;
        padding: 1rem;
    }
}

@keyframes heroBackground {
    0% {
        background-size: 100% 100%;
    }
    50% {
        background-size: 110% 110%;
    }
    100% {
        background-size: 100% 100%;
    }
}
.hero-top {
    padding-top: 150px;
    z-index: 1;
    position: relative;
    margin-left: 33%;
    font-size: 50px;
    width: 500px;
    line-height: 1.2;
    animation: gentleBlur 1.5s ease-out forwards;
}

.hero-top h1 {

}

@keyframes gentleBlur {
    0% {
        opacity: 0;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.hero-bottom {
    z-index: 1;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 45px 33%;
    box-sizing: border-box;
}

.hero-bottom-left {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.3;
    width: auto;
    max-width: 400px;
}
.hero-bottom-left:hover {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.hero-bottom-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: auto;
}

.about__subtitle {
    padding: 150px 2rem 0;
}

.about__subtitle h2 {
    color: #fff;
    font-size: 30px;
    margin-bottom: 2rem;
    margin-left: 33%;
    width: 500px;
    line-height: 1.2;
}

.about__subtitle-content {
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: row;
    gap: 3rem;
    margin-left: 33%;
    font-size: 15px;
    line-height: 1.3;
}
.about__subtitle-content:hover {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

@media (max-width: 768px) {

    .about__subtitle-content {
        margin-left: 5%;
    }

    .about__subtitle-content p {
        font-size: 1rem;
        width: 90%;
    }
}

@media (max-width: 768px) {
    .about__hero-content {
        height: 70vh;
        background-size: cover;
    }
}

@media (max-width: 768px) {

    .hero-top {
        font-size: 24px;
        width: 60%;
        padding: 45px 1rem 1rem 1rem;
        text-align: left;
        margin-left: 0%;
    }

    .hero-top h1 {
        /*font-size: 24px;*/
        /*width: 60%;*/
        /*padding-top: 20px;*/
        /*text-align: left;*/
        /*margin-left: 0%;*/
    }


    .hero-bottom {
        margin: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 2rem;
        position: relative;
        padding: 0;
        top: -35px;
    }

    .hero-bottom-left {
        color: rgba(255, 255, 255, 0.5);
        font-size: 15px;
        line-height: 1.3;
        width: auto;
        max-width: 400px;
        padding-left: 0.5rem;
    }

    .hero-bottom-left p {
        margin-top: 60%;
    }


    .about__subtitle {
        padding: 65px 0 0 0;
    }
    .about__subtitle h2 {
        font-size: 20px;
        max-width: 90%;
        margin-bottom: 30px;
        margin-left: 5%;

    }
    .about__subtitle-content {
        flex-direction: column;
        gap: 30px;
    }
}
@media (min-width: 769px) and (max-width: 1024px)  {
    .hero-top {
        padding-top: 120px;
    }
    .hero-top h1 {
        font-size: 30px;
        width: 300px;
        padding: 0;
        animation: gentleBlur 1.5s ease-out forwards;
        line-height: 1.2;
    }
    .hero-bottom {
        position: absolute;
        right: 0;
        width: 71%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        box-sizing: border-box;
        flex-direction: column;
    }

    .hero-bottom-left {
        color: rgba(255, 255, 255, 0.5);
        font-size: 15px;
        line-height: 1.3;
        width: auto;
        max-width: 300px;
        padding-left: 0;
    }

    .hero-bottom-right {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: auto;
        padding-top: 50px;
    }

    .about__subtitle {
        padding: 50px 1rem 0;
    }

    .about__subtitle h2 {
        color: #fff;
        font-size: 20px;
        margin-bottom: 2rem;
        margin-left: 0;
        width: 500px;
        line-height: 1.2;
    }

    .about__subtitle-content {
        color: rgba(255, 255, 255, 0.5);
        display: flex;
        flex-direction: row;
        gap: 3rem;
        margin-left:0;
        font-size: 15px;
        line-height: 1.4;
    }
}
.achievements {
    padding: 6rem 0 0 0;
    color: #fff;
}

.achievements h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.achievement__row {
    display: flex;
    padding: 2rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.achievement__row:first-child {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* Hover effect for the entire row */
.achievement__row:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

/* Glowing border effect on hover */
.achievement__row:hover::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
    rgba(67, 255, 255, 0) 0%,
    rgba(67, 255, 255, 0.5) 50%,
    rgba(67, 255, 255, 0) 100%
    );
}

.achievement__title {
    flex: 0 0 33%;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Title color change on hover */
.achievement__row:hover .achievement__title {
    color: #43ffff;
}

.achievement__description {
    flex: 0 0 67%;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    transition: color 0.3s ease;
    padding-right: 30%;
}

/* Description color change on hover */
.achievement__row:hover .achievement__description {
    color: rgba(255, 255, 255, 0.9);
}

.achievements__cta {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

/* Optional: Add a subtle animation for initial load */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.achievement__row {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

/* Stagger the animation for each row */
.achievement__row:nth-child(1) { animation-delay: 0.1s; }
.achievement__row:nth-child(2) { animation-delay: 0.2s; }
.achievement__row:nth-child(3) { animation-delay: 0.3s; }


@media (max-width: 768px) {
    .achievements__table {
        max-width: 100%;
        margin: 0 auto;
    }

    .achievement__row {
        display: flex;
        flex-direction: column;
        padding: 1.5rem 0;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }

    .achievement__row:first-child {
        border-top: 2px solid rgba(255, 255, 255, 0.1);
    }

    .achievement__row:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: none; /* Отключаем translateX для мобильной версии */
    }

    .achievement__row:hover::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg,
        rgba(67, 255, 255, 0) 0%,
        rgba(67, 255, 255, 0.5) 50%,
        rgba(67, 255, 255, 0) 100%
        );
    }

    .achievement__title {
        flex: none;
        width: 100%;
        color: #fff;
        font-size: 16px;
        margin-bottom: 0.5rem;
    }

    .achievement__description {
        flex: none;
        width: 100%;
        color: rgba(255, 255, 255, 0.5);
        line-height: 1.5;
        padding-right: 0;
    }

    .achievements__cta {
        margin-top: 3rem;
        display: flex;
        justify-content: center;
    }

    .achievement__row {
        animation: fadeIn 0.5s ease forwards;
        opacity: 0;
    }

    .achievement__row:nth-child(1) { animation-delay: 0.1s; }
    .achievement__row:nth-child(2) { animation-delay: 0.2s; }
    .achievement__row:nth-child(3) { animation-delay: 0.3s; }
}


.contact-form-about {
    padding: 2rem;
    padding-top: 10rem;
}

@media (max-width: 768px) {
    .achievements {
        padding: 5%;
        padding-top: 5rem;
        margin-bottom: 2rem;
    }
    .achievement__title {
        font-size: 15px;
    }
    .achievements h2 {
        text-align: left;
        font-size: 20px;
        margin-bottom: 2rem;
    }

    .achievement__description {
        font-size: 15px;
        padding-right: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .achievements {
        padding: 140px 1rem 1rem;
        color: #fff;
    }
    .achievements h2 {
        text-align: left;
        font-size: 20px;
        margin-bottom: 2rem;
    }

    .achievement__description {
        font-size: 15px;
        padding-left: 5%;
        padding-right: 0;
    }
    .achievements__cta {
        margin-top: 4rem;
        display: flex;
        justify-content: right;
    }
}



.about__hero-content, .hardware__hero-content {
    position: absolute;
    inset: 0;
    background-image: url('../images/about-itp-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    animation: fadeInBlur 1s forwards;
}

.hero-top, .hero-bottom {
    position: relative;
    z-index: 1;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
@media (max-width: 768px) {
    .about__hero-content, .hardware__hero-content {
        position: absolute;
        inset: 0;
        background-image: url('../images/about-itp-hero-m.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 0;
        opacity: 0;
        animation: fadeInBlur 1s forwards;
    }
}
.stat-number {
    font-size: 3rem;
    font-weight: bold;
    transition: all 0.3s ease-out;
}
.info-block {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0ms);
    will-change: transform, opacity;
}

.info-block.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0ms);
    will-change: transform, opacity;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step {
    opacity: 0;
    transform: translateX(-30px);
}

/* Стили при активации */
.step.visible {
    animation: fadeInLeft 0.6s ease forwards;
}

/* Поочередная задержка */
.steps-container .step:nth-child(1).visible {
    animation-delay: 0.2s;
}
.steps-container .step:nth-child(2).visible {
    animation-delay: 0.4s;
}
.steps-container .step:nth-child(3).visible {
    animation-delay: 0.6s;
}
