/* Cybersecurity Section */

.bg-light {
    background-color: var(--color-bg-light);
}

.p-block {
    padding-block: 150px;
}

@media (max-width: 768px) {
    .p-block {
        padding-block: 50px;
    }
}

.img-height {
    height: auto;
}

.hidden{
    overflow: hidden;
}


.button-accent:hover svg path {
    color: var(--color-text-light);
    fill: var(--color-text-light);
}

.button-accent {
    color: var(--color-text-light);
    background-color: var(--color-accent);
}

.button-accent:hover {
    background-color: #124EA8;
}

.button-accent:active {
    background-color: #0D3E87;
}

.button-secondary:hover svg path {
    fill: var(--color-accent);
}

.button-secondary {
    color: var(--color-accent);
    background-color: var(--color-bg-light);
}

.button-secondary:hover {
    background-color: #E6E6E6;
}

.button-secondary:active {
    background-color: #C9C9C9;
}

.color-text-dark {
    color: var(--color-text-dark);
    text-transform: uppercase;
}
.color-text-white{
    color: var(--color-text-white);
    text-transform: uppercase;
}
.color-text-light {
    color: var(--color-text-light);
}
.color-text-light-uppercase{
    text-transform: uppercase;
    color: var(--color-text-light);
}

/* .button.button-secondary.mobile-btn {
    padding-bottom: 0;
} */

@media (max-width: 768px) {
    .button {
        font-size: 15px;
        height: 40px;
    }
}

@media (max-width: 500px) {
    .button {
        width: 100%;
    }
}

/* Next sections */

.image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 447px;
    border-radius: 20px;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 447px;
    object-fit: cover;
    border-radius: 20px;
}

/* SWIPER */

.swiper {
    width: 100%;
    position: relative;
}

.swiper-wrapper {
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    position: relative;
}

.swiper-pagination {
    text-align: center;
    transition: 0.3s;
    transform: translateZ(0);
    width: 100%;
}
.swiper-pagination-bullet {
    width: 68px;
    height: 10px;
    display: inline-block;
    border-radius: 100px;
}
.home .swiper-pagination-bullet {
    width: 68px;
    height: 10px;
    display: inline-block;
    border-radius: 100px;
    background: #032356;
    margin: 50px 15px;
}

.home .swiper-pagination-bullet-active {
    background: var(--color-bg-light);
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: calc(50% - 80px);
    width: 70px;
    height: 70px;
    margin-top: -16px;
    z-index: 10;
    cursor: pointer;
    background: #FBFBFB;
    box-shadow: 0px 5px 64.8px 0px #0000004D;
    border-radius: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #E1E1E1;
}

.swiper-button-prev {
    left: -100px;
}

.swiper-button-next {
    right: -100px;
}


/* ЕФЕКТ ЗГИНУ */
.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 97px;
    height: 97px;
    background: var(--color-bg-light);
    transform-origin: 100% 0%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: 10;
    border-radius: 0px 0 0 20px;
}

.image-wrapper:hover::before {
    transform: scale(1);
    width: 97px;
    height: 97px;
}


.icon-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    z-index: 20;
    border: none;
    cursor: pointer;
}

.image-wrapper:hover .icon-button {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: all 0.3s ease-in;
}

.section-content {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.left-column {
    flex: 0 0 40.2%;
    max-width: 40.2%;
}

.right-column {
    flex: 1;
    max-width: 59.8%;
    color: #888888;
}

.cta-block {
    padding: 19px 20px;
    background-color: var(--color-accent);
    border-radius: 20px;
    min-height: 88px;
    margin-top: 30px;
}

.cta-text {
    display: inline-block;
    font-weight: 700;
    font-size: 25px;
    line-height: 1;
    overflow: hidden;
    animation: blinkCursor 0.8s steps(1) infinite;
}

@keyframes blinkCursor {
    50% {
        border-color: transparent;
    }
}

.text-content {
    padding-top: 20px;
}

.text-content p:not(:last-child) {
    padding-bottom: 30px;
}

/* CTA section */
.result-section,
.cta-section {
    background: white;
    color: var(--color-text-secondary-light);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.bg-gradient {
    background: linear-gradient(69.87deg, #012B7C 0%, #276BD1 80.57%);
}

.floating-element {
    position: absolute;
    z-index: 1;
}

.floating-element-1 {
    top: -10%;
    left: 15%;
    animation: float-1 15s ease-in-out infinite alternate;
}

.floating-element-2 {
    top: 80%;
    left: 0%;
    animation: float-2 12s ease-in-out infinite alternate;
}

.floating-element-3 {
    bottom: -30%;
    right: 35%;
    animation: float-3 17s linear infinite alternate;
}

.floating-element-4 {
    top: -35%;
    right: 20%;
    transform: rotate(45deg);
    animation: float-4 14s ease-in-out infinite alternate;
}

.floating-element-5 {
    bottom: -8%;
    right: -4%;
    transform: rotate(15deg);
    animation: float-5 16s linear infinite alternate;
}

/* ---------------------------------------------------- */
/* АНІМАЦІЇ (@keyframes) - СКЛАДНІ АСИМЕТРИЧНІ РУХИ */
/* ---------------------------------------------------- */

@keyframes float-1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-50px, 30px) rotate(45deg) scale(1.05);
    }

    66% {
        transform: translate(20px, -70px) rotate(-15deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes float-2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    40% {
        transform: translate(50px, -15px) scale(1.3);
    }

    80% {
        transform: translate(-30px, 60px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes float-3 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-40px, -40px) rotate(-20deg);
    }

    50% {
        transform: translate(0, -80px) rotate(40deg);
    }

    75% {
        transform: translate(50px, -20px) rotate(-10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes float-4 {
    0% {
        transform: translate(0, 0) rotate(45deg);
    }

    50% {
        transform: translate(60px, 20px) rotate(90deg) scale(1.1);
    }

    100% {
        transform: translate(0, 0) rotate(45deg);
    }
}

@keyframes float-5 {
    0% {
        transform: translate(0, 0) rotate(15deg);
    }

    40% {
        transform: translate(-30px, 50px) rotate(-10deg);
    }

    80% {
        transform: translate(30px, -20px) rotate(25deg);
    }

    100% {
        transform: translate(0, 0) rotate(15deg);
    }
}

/* Animation for circle */

@keyframes pulse {

    0%,
    100% {
        fill-opacity: 0;
    }

    50% {
        fill-opacity: 1;
    }
}

.cyber-background-svg-1 {
    top: 15%;
    right: 0;
}

.cyber-background-svg-2 {
    bottom: 8%;
    right: 0;
}

.cyber-background-svg-3 {
    left: 0;
    bottom: 11%;
}

.cyber-background-svg-4 {
    left: 0;
    top: 7%;
}

.cyber-background-svg circle {
    animation: pulse 20s infinite ease-in-out;
}

.cyber-background-svg {
    position: absolute;
}

.cyber-background-svg circle:nth-child(5n) {
    animation-delay: 0.5s;
    animation-duration: 8s;
}

.cyber-background-svg circle:nth-child(5n+1) {
    animation-delay: 1.2s;
    animation-duration: 5s;
}

.cyber-background-svg circle:nth-child(5n+2) {
    animation-delay: 0.2s;
    animation-duration: 8.2s;
}

.cyber-background-svg circle:nth-child(5n+3) {
    animation-delay: 2.1s;
    animation-duration: 7s;
}

.cyber-background-svg circle:nth-child(5n+4) {
    animation-delay: 1.7s;
    animation-duration: 8s;
}

.cta-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.result-container {
    position: relative;
    z-index: 1;
    text-align: left;
}

.result-container>p,
.cta-container p {
    padding-block: 20px 50px;
}

.cta-container .button-secondary {
    margin-inline: auto;
}

/*  Section Result */
.result-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.result-item {
    padding: 30px;
    background-color: var(--color-bg-light);
    color: var(--color-accent);
    border-radius: 20px;
}

.result-item-number-static,
.result-item-number {
    transition: color 0.3s ease;
    font-weight: 700;
    font-size: 50px;
    padding-bottom: 10px;
}

.result-section .floating-element-2 {
    top: 90%;
}

.result-section .floating-element-5 {
    bottom: -20%;
}

/*  Section Tab */



.tabs-heading {
    color: #888888;
    padding-bottom: 50px;
}

.tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.tabs-section-wrapper {
    display: flex;
    justify-content: space-between;
}

.tab-button {
    font-family: "Nunito", sans-serif;
    border: 1px solid var(--color-accent);
    display: flex;
    align-items: center;
    text-align: left;
    border-radius: 20px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 25px;
    line-height: 1;
    padding: 30px 20px;
    min-width: 390px;
    transition: all 0.1s ease-in-out;
}

.tab-button.active {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.tabs-content-wrapper .content-item {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.tabs-content-wrapper .content-item.active {
    display: block;
    opacity: 1;
}

.arrow-container {
    padding: 0px 36px;
}

.arrow-indicator {
    width: 55px;
    height: 55px;
}

#arrowLine {
    transition: margin-top 0.3s ease;
    display: block;
}

.tabs-content-wrapper .content-item {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.tabs-content-wrapper .content-item.active {
    display: block;
    opacity: 1;
}

#arrowContainer {
    display: block;
}

.tabs-content-wrapper {
    border-radius: 20px;
    padding: 30px 20px;
    width: 100%;
    background-color: var(--color-accent);
}

.content-header {
    font-weight: 700;
    font-size: 25px;
    line-height: 1;
    padding-bottom: 20px;
}

.content-body {
    color: var(--color-text-secondary-light);
}

/*  Section Features */

.features-section {
    color: var(--color-text-secondary-light);
    position: relative;
    overflow: hidden;
}

.features-bg {
    position: absolute;
    max-width: 80%;
    height: 110%;
    top: 0;
    right: 0;
}

.section-header {
    margin-bottom: 50px;
    max-width: 1046px;
}

.title-padding {
    padding-bottom: 20px;
}


.features-list {}

.feature-item {
    display: flex;
    align-items: center;
    gap: 65px;
}

.feature-item:not(:last-child) {
    padding-bottom: 100px;
}

.feature-content {
    max-width: 60%;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.feature-content h3 {
    padding-bottom: 20px;
    color: var(--color-text-light);
}

svg.mx-auto {
    flex: none;
}



.animated-check {
    stroke-dasharray: 92;
    stroke-dashoffset: 92;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.animated-check.start-animation {
    animation: drawCheck 2s ease forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}


.feature-content svg {
    flex: none;
}

.feature-image img {
    opacity: 0;
    transition: transform 1s ease-out, opacity 0.8s ease-out;
}

.feature-item:nth-child(odd) .feature-image img {
    transform: translateX(-100px);
}

.feature-item:nth-child(even) .feature-image img {
    transform: translateX(100px);
}

/* FAQ section */

.blog-section,
.services-grid .swiper-slide,
.needs-section,
.faq-section {
    color: #888888;
}
.blog-arrow{
    padding-top: 50px;
    display: flex;
    align-items: center;
    justify-content: end;
    width: fit-content;
    gap: 10px;
    margin-left: auto;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 20px;
    transition: var(--transition-base);
}
a.blog-arrow:hover{
    color: #124EA8;
}
a.blog-arrow:hover svg path{
    fill: #124EA8;
} 
.section-header .color-text-light,
.section-header .color-text-dark {
    text-transform: uppercase;
}

.faq-question {
    font-family: "Nunito", sans-serif;
    background: var(--color-accent);
    padding: 18px 20px;
    border-radius: 100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1;
    gap: 10px;
    font-weight: 700;
    font-size: 25px;
    color: var(--color-text-light);
    position: relative;
    font-family: 'Exo 2', sans-serif;
    text-align: left;
    transition: 0.3s all ease-in-out;
}

.faq-question span {
    font-family: "Nunito", sans-serif;
}

.faq-question:hover {
    background-color: #124EA8;
}

.faq-question:active {
    background-color: #0D3E87;
}

.faq-icons-container {
    padding-right: 20px;
}

.faq-item:not(:last-child) {
    margin-bottom: 30px;
}

.faq-answer p {
    padding: 20px 20px 0;
}

.plus-icon,
.minus-icon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
    user-select: none;
    right: 20px;
    top: calc(50% - 15px);
    line-height: 1;
}

.faq-question[aria-expanded="true"] .minus-icon img {
    margin-bottom: 5px;
}

.faq-question[aria-expanded="false"] .plus-icon {
    opacity: 1;
    transform: scale(1);
}

.faq-question[aria-expanded="false"] .minus-icon {
    opacity: 0;
    transform: scale(0.5);
}

.faq-question[aria-expanded="true"] .plus-icon {
    opacity: 0;
    transform: scale(0.5);
}

.faq-question[aria-expanded="true"] .minus-icon {
    opacity: 1;
    transform: scale(1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out, padding 0.5s ease-in-out;
}

.faq-answer.open {
    max-height: 100%;
}

.logos-slider {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-repeat: no-repeat;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    will-change: transform;
    margin-top: 80px;
}

.logo-item {
    flex: 0 0 auto;
    padding: 1rem
}

.logo-item img {
    width: auto;
    height: 56px
}

.action-section h2 {
    color: #222222;
    padding-bottom: 20px;
}

.action-section p {
    color: #888888;
}

.action-items {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
}

.action-items .button-accent {
    min-width: max-content;
}

.result-section .p-block,
.features-section {
    padding-block: 140px;
}

.tabs-section,
.cta-section .p-block {
    padding-top: 140px;
}

/* Nedds section */

.grid-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-item {
    box-shadow: 0px 5px 40px 0px #0000001C;
    padding: 42px 20px;
    border-radius: 20px;
    align-items: center;
    background-color: var(--color-bg-light);
}

.card-icon {
    text-align: center;
}

.card-title {
    text-align: center;
    color: #222222;
    font-weight: 800;
    line-height: 25px;
}

.needs-title {
    padding-block: 20px 20px;
}

.security-section {
    position: relative;
    overflow: hidden;

}

.blog_item {
    box-shadow: 0px 5px 40px 0px #0000001C;
    padding: 20px;
    border-radius: 20px;
    align-items: center;
    background-color: var(--color-bg-light);
}

.latest-thumb {
    position: relative;
}

.latest-thumb img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.latest-feature {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-accent);
    color: #FBFBFB;
    border-radius: 5px;
    padding: 5px 15px;
    font-size: 15px;
    text-transform: uppercase;
}

.date-overlay {
    box-shadow: 0px 0px 29px 0px #00000029;
    background: #FBFBFB;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    max-width: 80%;
    width: 100%;
    margin-inline: auto;
    position: absolute;
    bottom: -15px;
    right: 10%;
    color: #888888;
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
}

.latest-inner {
    padding-top: 43px;
}

.latest-title a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

.latest-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wave-container svg {
            width: 100%;
            height: auto;
            display: block;
        }


       

.skill-section {
    position: relative;
}


.wave-container {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
}




        .progress-wrapper {
            margin: 0 auto;
            opacity: 0; 
            transition: opacity 0.5s ease-out;
        }
.progress-col {
    padding-bottom: 50px;
}
        .progress-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            row-gap: 5rem;
        }
        
        @media (min-width: 768px) {
            .progress-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .progress-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1rem 0;
        }
        
        /* --- SVG Стилизация --- */
        .progress-svg {
            width: 200px;
            height: 200px;
            transform: rotate(-90deg); 
            overflow: visible; 
        }
        
        .progress-track, .progress-fill {
            fill: none;
            stroke-width: 10; 
        }

        .progress-track {
            stroke: #B6B8D01F;
        }
        
        .progress-fill {
            stroke: var(--color-bg-light);
            stroke-linecap: round; 
            transition: stroke-dasharray 2.5s ease-out; 
        }
        
        .progress-group {
            transform: rotate(90deg); 
             dominant-baseline: middle; 
        }
        
        .progress-percent {
            fill: var(--color-text-light);
            font-size: 24px; 
            font-weight: 700;
        }

        .progress-label {
            fill:  var(--color-text-light);
            font-size: 16px;
            font-weight: 500;
            max-width: 25%;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.1; }
        }

        .cybersecurity .result-header{
            padding-top: 50px;
        }
        
.cybersecurity  .logos-track{
    margin-top: 30px;
} 

@media (max-width: 998px) {
    .logo-item {
        padding-bottom: 0;
    }

    .tabs-section-wrapper {
        flex-direction: column;
    }

    .arrow-indicator {
        width: 40px;
        height: 40px;
        margin: auto;
        transform: rotate(90deg);
        margin-block: 20px;
    }

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

    .home .swiper-pagination-bullet,
    .swiper-pagination-bullet {
        width: 15px;
        height: 15px;
        margin: 30px 5px 0;
    }
}

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

    .result-section .p-block,
    .features-section {
        padding-block: 50px;
    }

    .tabs-section,
    .cta-section .p-block {
        padding-top: 50px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .floating-element-3 {
        right: 5%;
        bottom: -10%;
    }

    .floating-element-5 {
        display: none;
    }

    .floating-element {
        height: auto;
        width: 130px;
    }

    .result-section .floating-element {
        display: none;
    }

    .section-content {
        flex-direction: column-reverse;
    }

    .left-column,
    .right-column {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .text-content p:not(:last-child) {
        padding-bottom: 16px;
    }

    .icon-button {
        width: 45px;
        height: 45px;
    }

    .image-wrapper::before,
    .image-wrapper:hover::before {
        width: 58px;
        height: 58px;
    }

    .content-header,
    .tab-button,
    .cta-text {
        font-size: 20px;
    }

    .cta-container {
        text-align: left;
    }

    .content-header {
        padding-bottom: 10px;
    }

    .tabs-heading {
        padding-bottom: 30px;
    }

    .tab-button {
        padding: 20px;
        min-width: 0;
    }

    .feature-item {
        flex-direction: column;
        gap: 20px;
    }

    .feature-item:nth-child(2) {
        flex-direction: column-reverse;
    }

    .feature-content {
        max-width: 100%;
    }

    .feature-item:not(:last-child) {
        padding-bottom: 30px;
    }

    .faq-question {
        font-size: 20px;
        padding: 18px 20px;
        border-radius: 20px;
    }

    .faq-item:not(:last-child) {
        margin-bottom: 20px;
    }

    .plus-icon,
    .minus-icon {
        top: calc(50% - 10px);
        width: 20px;
        height: 20px;
    }

    .result-items {
        grid-template-columns: repeat(1, 1fr);
    }
    .result-item-number-static,
    .result-item-number {
        font-size: 35px;
        padding-bottom: 0;
    }

    .result-container>p {
        padding-block: 10px 30px;
    }

    .result-items {
        gap: 20px;
    }

    .result-item {
        padding: 20px;
    }

    .action-items {
        flex-direction: column;
    }

    .grid-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .card-item {
        padding: 20px;
    }

    .needs-title {
        padding-block: 20px 10px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .cyber-background-svg-2,
    .cyber-background-svg-1 {
        display: none;
    }

    .cyber-background-svg {
        opacity: 0.3;
    }
    .progress-label {
        font-size: 16px;
    }
    .progress-svg {
    width: 100px;
    height: 100px;
    }
        .progress-grid {
            gap: 1rem;
            row-gap: 2rem;
        }
        /* .skill-section{
                min-height: 750px;
        } */
}
