@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: fallback;
    src: url("../fonts/Poppins-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: fallback;
    src: url("../fonts/Poppins-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: fallback;
    src: url("../fonts/Poppins-Bold.ttf") format("truetype");
}

/*---monsterat---*/
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: fallback;
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: fallback;
    src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    font-display: fallback;
    src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
}

.flex {
    display: flex;
}

.btn-link {
    display: block;
    margin: 0 auto 40px;
    background-color: #ff9800;
    text-align: center;
    padding: 15px 0;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
    transition: all 0.3s ease;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-top: 60px;
    width: 100%;
    max-width: 290px;
}

.btn-link:hover {
    background-color: #ff8100;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.6);
}

.main-banner {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.main-features {
    padding-top: 100px;
}

.main-banner .inner {
    max-width: none;
    height: calc(100vh - 100px);
    min-height: 44vw;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 95px 0 30px 0;
}

.main-banner .inner > h1 {
    font-family: 'Montserrat';
    font-style: normal;
    text-align: center;

    font-weight: 500;
    font-size: 45px;
    line-height: 55px;
    font-variant: all-small-caps;
    color: #FFFFFF;
}

.main-banner .inner > h1 b {
    font-weight: 700;
    font-size: 64px;
    line-height: 55px;
    font-style: normal;
}

.main-banner .inner p {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #FFFFFF;
}

/*.main-banner .banner,*/
/*.main-banner picture,*/
/*.main-banner img {*/
/*    width: 100%;*/
/*}*/

.main-banner .banner {
    position: relative;
}

.features-container {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.features-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-col > .feature:first-child {
    margin-bottom: 130px;
}


.features-col:nth-child(2) .feature:first-child {
    margin-bottom: 70px;
}

.picture-video-link {
    margin-bottom: 25px;
}

.owl-nav.disabled {
    display: none;
}

.main-carousels-features {
    padding-bottom: 100px;
}

/* main-cap-action */
.main-cap-action {
    padding: 80px 15px 70px 15px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #303030;
    text-align: center;
    background-image: url("/wp-content/uploads/2025/04/pexels-scottwebb-593158-1.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.main-cap-action .video-item {
    height: 500px;
    border-radius: 10px;
}

.main-cap-action .videos {
    margin-top: 40px;
}

/* footer */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
}

/*main-contact-section*/
.main-contact-section {
    background: url(../img/ContacUs.png) center no-repeat;
    background-size: cover;
    padding: 60px 0px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    text-align: center;
}

.main-contact-section .title,
.why_cap_section .title {
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 65px;
}

.why_cap_section {
    color: #ffffff;
    background-image: url("../img/CAP1920.gif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-contact-section .top-wr {
    margin-bottom: 40px;
}

.main-contact-section .inner {
    align-items: center;
    gap: 20px;
    display: flex;
}

select, input, textarea {
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    height: 64px;
    background: #FFFFFF;
    border: 1px solid #ECEDF0;
    border-radius: 10px;

    overflow: hidden;
    resize: none;


    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #000;
}

textarea {
    height: auto;
    max-height: 150px;
}

.wpcf7-not-valid-tip {
    text-align: left;
    margin-top: 10px;
}

body .wpcf7-spinner {
    background-color: #6d8eaf;
    top: 10px;
}

form input[type="submit"] {
    display: block;
    margin-top: 55px;
    padding: 15px 40px;
    background: #F8981D;
    border-radius: 100px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    border: 0;

    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
    transition: all 0.3s ease;
}

.contact-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    list-style: none;
    gap: 30px;
    width: max-content;

    position: relative;
    /*padding-left: 50px;*/
}

.contact-list p {
    margin-bottom: 0;
}

.contact-list li {
    position: relative;
}

.contact-list > * {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 250%;
}

.contact-list .phone {
    margin-bottom: -15px;
}

.column {
    flex-basis: 50%;
}

.flex-align-right {
    display: flex;
    justify-content: center;
}

.adress:before,
.phone:before,
.fax:before,
.email:before {
    position: absolute;
    left: -40px;
    top: 3px
}

.adress:before {
    content: url("../img/vector.png");
}

.phone:before {
    content: url("../img/phone.png");
}

.fax:before {
    content: url("../img/fax.png");
}

.email:before {
    content: url("../img/envelope.png");
}

/*section faq*/
.main-accordion-section {
    background-color: #F8F8F8;
    padding-top: 60px;
    padding-bottom: 60px;
}


/*accordion*/
/*.accordion {*/
/*    background: #F3F4F6;*/
/*    padding: 24px;*/
/*    border-radius: 12px;*/
/*}*/

/* елемент */
.accordion-item {
    background: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow .2s ease;
}

.accordion-item:last-child {
    margin-bottom: 0
}

/* хедер */
.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 20px;
    font-weight: 500;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
}

.accordion-chevron {
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}

.active .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-header:hover {
    background: #f3f3f34d
}

/* іконка */
.accordion-icon {
    display: inline-block;
    transition: transform .3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}


/* контент */
.accordion-content {
    max-height: 0;
    padding: 0 16px;
    opacity: 0;
    transition: max-height .3s ease, opacity .3s ease, padding .3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px; /* достатньо для тексту */
    padding: 16px;
    opacity: 1;
}


/* watch video */

/*video::-webkit-media-controls-panel {*/
/*    display: none !important;*/
/*    opacity: 1 !important;*/
/*}*/

.circle-text-svg text {
    font-size: 10px;
    fill: #ffffff8c;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 98px;
    height: 98px;
    transform: translate(-50%, -50%);

    background: none;
    padding: 0;
    border: none;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.play-btn svg polygon {
    fill: transparent !important;
}

.circular-text-btn {
    width: 200px;
    height: 200px;
    position: absolute;
    cursor: pointer;
    right: 11%;
    bottom: 9%;
}

.circle-text-svg {
    width: 100%;
    height: 100%;
}

.rotating-text {
    transform-origin: 100px 100px;
    animation: spin 8s linear infinite;
}

.play-cut {
    transform: translateX(10px);
}

@keyframes spin {
    from {
        transform: rotate(0deg)
    }
    to {
        transform: rotate(360deg)
    }
}


.circular-text-btn {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.circular-text-btn:hover {
    transform: scale(1.05);
}

/* Пульсація центрального кола */
.circle-text-svg circle {
    transform-origin: 100px 100px;
}

.circular-text-btn:hover .circle-text-svg circle {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* animation core cap arrows*/

.container-core-cap {
    position: relative;
}

.arrow-path {
    fill: #E2E2E2;
}

.center-group {
    transform-origin: center;
    animation: pulse 2s infinite alternate;
}

@keyframes jump {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.arrow-container {
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orange-fill {
    position: absolute;
    background-color: #F8981D;
    width: 0;
    height: 100%;
    left: 0;
    top: 0;
    transition: width 1.5s linear;
}


#fill-5.orange-fill {
    height: 0%;
    transition: height 1.5s linear;
}

#fill-1.animate {
    width: 100%;
    transition-delay: 0s;
}

#fill-2.animate {
    width: 100%;
    transition-delay: 1.1s;
}

#fill-3.animate {
    width: 100%;
    transition-delay: 2s;
}

#fill-4.animate {
    width: 100%;
    transition-delay: 2.9s;
}

#fill-5.animate {
    width: 100%;
    height: 100%;
    transition-delay: 4.4s;
}

.orange-fill.reset {
    transition: width 0.3s linear, height 0.3s linear !important;
}

.arrow-path.jump,
.orange-fill.jump {
    transform-box: fill-box;
    transform-origin: center center;
    animation: jump 0.4s ease;
}


/*why cap section*/
.why_cap_section {
    background-color: #0B1E36;
    padding: 80px 20px 70px 20px;
    overflow: hidden;
    position: relative;
}

/* Фон з анімованими лініями */
.bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(0deg, rgba(11, 30, 54, 0.9), rgba(11, 30, 54, 0.9)),
    repeating-linear-gradient(90deg, rgba(17, 190, 255, 0.1) 0px, rgba(17, 190, 255, 0.1) 1px, transparent 1px, transparent 20px);
    opacity: 0.5;
}


/* Стилі для CAP діаграми */
.cap-diagram {
    position: relative;
    height: 800px;
    margin-bottom: 80px;
}

.cap-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    z-index: 10;

}

.center-content {
    font-size: 42px;
    font-weight: bold;
    color: #11beff;
    text-shadow: 0 0 10px rgba(17, 190, 255, 0.7);
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(17, 190, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(17, 190, 255, 0.8);
    }
    100% {
        box-shadow: 0 0 20px rgba(17, 190, 255, 0.5);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Стилі для вузлів та інформаційних блоків */


.feature-box {
    position: absolute;
    width: 250px;
    background-color: rgba(240, 240, 240, 0.95);
    color: #333;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 5;
}

.feature-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    text-align: center;
    color: #333;
}

.feature-description {
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: #555;
}

.connector {
    position: absolute;
    background-color: transparent;
    border-top: 2px dashed rgba(255, 255, 255, 1);
    transform-origin: 0 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;


}


/* Розташування інформаційних блоків */
.box-top-left {
    top: 0%;
    left: 0%;
}

.box-top-right {
    top: 0%;
    right: 0%;
}

.box-middle-left {
    top: 68%;
    left: 0%;
}

.box-middle-right {
    top: 68%;
    right: 0%;
}

.box-bottom {
    bottom: 0%;
    left: 49%;
    transform: translateX(-50%);
}


.box-animated {
    animation: fadeIn 0.5s forwards;
}

.connector-animated {
    animation: fadeIn 0.5s forwards;
}

/* Секція "Without CAP" */
.bot-wr {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.bot-wr .title {
    font-weight: 700;
    font-size: 28px;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.problems-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.problem-box {
    width: calc(25% - 20px);
    padding: 20px 10px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid #ECEDF0;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
}

.problem-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.problem-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 250%;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.problem-description {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: #FFFFFF;
}

/* Адаптивність */
@media (max-width: 992px) {
    .cap-diagram {
        height: auto;
        padding: 50px 0;
    }

    .cap-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto 60px;
    }

    .feature-node {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin: 20px auto;
    }

    .feature-box {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
    }

    .connector {
        display: none;
    }

    .problem-box {
        width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .top-wr .title {
        font-size: 28px;
    }

    .problem-box {
        width: 100%;
    }

    .btn-link {
        width: 100%;
    }
}

.connector-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
    box-shadow: 0 0 8px rgba(220, 220, 220, 0.7);
    transition: opacity 0.5s ease;
}

/* Анімація для кружка */
.dot-animated {
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(17, 190, 255, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 12px rgba(17, 190, 255, 0.9);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(17, 190, 255, 0.7);
    }
}

.separate-page {
    border-bottom: 1px solid rgba(128, 128, 128, 0.60);
    padding: 100px 0;
}


/*
    MEDIA
*/
@media screen and (max-width: 992px) {
    body .circular-text-btn {
        position: relative;
        right: 0;
        bottom: 0;
    }

    .main-banner .inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .features-container {
        flex-wrap: wrap;
    }

    .features-col:nth-child(2n) {
        flex-direction: column-reverse;
        order: 1;
    }

    .features-col:first-child {
        order: 2;
    }

    .features-col:last-child {
        order: 3;
    }

    body .features-col {
        width: 100%;
    }

    body .main-features .feature {
        max-width: 650px;
        width: 100%;
    }

    .feature-core {
        margin-bottom: 35px;
    }

    body .features-col:nth-child(2) .feature:first-child {
        margin-bottom: 35px;
    }

    body .features-col > .feature:first-child {
        margin-bottom: 35px;
    }

    body .main-features .feature:nth-child(1n) {
        margin-bottom: 35px;
    }

    body .feature {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .feature .picture-feature {
        width: 100%;
        max-width: 150px;
    }

    body .main-features .feature-title,
    body .main-features .feature-desc {
        text-align: left;
    }

    body .simple-video .video-preview img, body .simple-video video {
        object-fit: cover;
    }
}
@media screen and (min-width: 768px) {
    .header-main .menu-main > ul > li:not(:last-child){
        margin-right: 40px;
    }
}
@media screen and (max-width: 768px) {
    .header-main {
        height: 90px;
        display: flex;
        align-items: center;
    }

    body .feature-box {
        max-width: 100%;
        padding: 20px;
    }

    .main-contact-section .inner {
        flex-direction: column;
    }

    .main-banner .inner > h1 b {
        font-size: 45px;
    }

    .main-banner .inner > h1 {
        font-size: 35px;
    }

    body .main-contact-section .inner {
        align-items: normal;
    }

    body .cap-center {
        display: none;
    }
}

@media screen and (max-width: 560px) {
    .contact-list .phone,
    .contact-list .fax,
    .contact-list .email{
        margin-left: 40px;
    }
    .carousel-item > img{
        display: block!important;
        margin: auto!important;
    }
    body .footer-top{
        padding: 40px 0 0;
    }
    .cap-animated-svg,
    .arrow-container > svg {
        max-width: 95%;
    }

    body .arrow-container {
        left: -47.5%;
    }

    .main-banner .inner {
        min-height: 800px;
    }

    .accordion-header {
        flex-direction: column-reverse;
        gap: 15px
    }

    .main-banner .inner > h1 b {
        line-height: 50px;
    }

    body .main-banner .inner > h1 {
        line-height: 45px;
    }
}


/* Анимация для рисования линии */
@keyframes drawLine {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Обновляем стиль для connector с анимацией */
.connector {
    position: absolute;
    background-color: transparent;
    border-top: 2px dashed rgba(255, 255, 255, 1);
    transform-origin: 0 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s, width 0.3s, left 0.3s, top 0.3s, transform 0.3s;
}

.connector-animated {
    opacity: 1;
}

/* Эффект пульсации для точек */
.connector-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
    box-shadow: 0 0 8px rgba(220, 220, 220, 0.7);
    transition: opacity 0.3s, left 0.3s, top 0.3s;
}

/* Анимация для кружка */
.dot-animated {
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(17, 190, 255, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 12px rgba(17, 190, 255, 0.9);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(17, 190, 255, 0.7);
    }
}