body {
    margin: 0;
    font-family: "Arial", serif;
    background: black;
}

/* Фон для лоадера */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    /* чорний фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
/* Анімація */
.spinner {
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top: 6px solid #ff6600;
    /* кольорова частина */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

/* --- Header --- */
header {
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
nav {
    display: flex;
    gap: 1.6rem;
}
nav a {
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #ffffff;
    transition: color 0.2s;
}
nav a:hover {
    color: #ff6600;
}
.phone a {
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-style: normal;
    color: #ffffff;

}
.phone a:hover {
    color: #ff6600;
}
/* --- Hero --- */
.hero {
    position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('./images/hero.png') no-repeat center center;
    background-size: cover;
    color: white;
}
.hero-content {
    position: relative;
    z-index: 2;
   
}
.logo {
    height: 120px;
    width: auto;
}
h1 {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 6.5rem;
    margin: 0;
    color: #ffffff;
    text-align: center;
    line-height: 1.1;
    padding-bottom: 5rem;
    padding-top: 10rem;
}
h2 {
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 3rem;
    margin: 0;
    color: #ffffff;
    padding-bottom: 10rem;
    padding-top: 10rem;
}
h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6600;
    margin: 1rem 0 0;

}
h3 {
    font-family: "Oswald", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: 0.1em;
}
p {
    font-size: 0.9rem;
    color: #bbb;
}
li{
    font-size: 0.9rem;
    color: #bbb;
}
.hero h1 {
    line-height: 1.5;
    font-size: 7rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
}
.hero p {
    font-size: 1.5rem;
    font-family: "Oswald", sans-serif;
    font-weight: lighter;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-style: normal;
    color: #ffffff;
    margin: 0;
}
.video-section {
    padding-top: 10rem;
    background: black;
    color: white;
    text-align: center;
}
.video-container {
    max-width: 800px;
    margin: 0 auto;
}
.video-container iframe {
    width: 100%;
    height: 450px;
}
.video-caption {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    margin-top: 4rem;
}
.video-caption a{
    text-decoration: none;
    font-style: normal;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 2rem;
    color: #ffffff;
    
}
.video-caption a:hover {
    color: #ff6600;
}
.arrow-item.flipped {
    transform: rotate(180deg);
}


.services-section {
    background: black;
    color: white;
}
.services-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
}
.services-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
.service-item {
    flex: 1 1 200px;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
}
.service-item svg {
    margin-bottom: 0.5rem;
    fill: white;
    transition: fill 0.3s;
}
.service-item:hover svg {
    fill: #ff6600;

}

#data path {
    fill: white !important;
    transition: fill 0.3s;
}
.service-item:hover #data path {
    fill: #ff6600 !important;
}
.arrow-item {
    flex: 0 0 auto;
    /* стрілка займає тільки свій розмір */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
}
.arrow-icon {
    width: 30px;
    height: 30px;
    fill: white;
    opacity: 0.3;
    animation: arrowFlow 1.5s infinite ease-in-out;
}

/* ключові кадри */
@keyframes arrowFlow {
    0% {
        transform: translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateX(5px);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 0.3;
    }
}
/* щоб кожна наступна стрілка починала трохи пізніше */
.arrow-item:nth-of-type(2) .arrow-icon {
    animation-delay: 0.2s;
}
.arrow-item:nth-of-type(4) .arrow-icon {
    animation-delay: 0.4s;
}
.arrow-item:nth-of-type(6) .arrow-icon {
    animation-delay: 0.6s;
}

#services-what .service-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
#services-what .service-item.visible {
    opacity: 1;
    transform: translateY(0);
}
#services-tasks .services-flex {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}
#services-tasks .service-item {
    max-width: 280px;
    text-align: center;
    flex: 0 1 280px;
    margin: 1rem 0;
}
#services-tasks .service-item {
    opacity: 0;
    transition: opacity 1.5s ease-in;
}
#services-tasks .service-item.visible {
    opacity: 1;
}

.implementation {
    background-color: black;
    color: #fff;
    text-align: left;
}
.implementation-container {
    max-width: 1200px;
    margin: 0 auto;
}
.implementation-container h2{
    padding-bottom: 2rem;
}
blockquote {
    font-size: 1.2rem;
    margin: 1rem 0;
    font-style: italic;
    padding-bottom: 2rem;
}
blockquote cite {
    display: block;
    margin-top: .5rem;
    font-size: .9rem;
    color: #aaa;
}

.implementation-text {
    font-size: 1.2rem;
    text-align: center;
    padding-bottom: 4rem;
}
.implementation-items {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
}
.impl-item {
    flex: 1 1 190px;
    max-width: 180px;
    background: transparent;
}
.impl-number {
   
    color: #ff6600;
    margin-right: 0.4rem;
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color 0.2s;
    border-right: 1px solid #ff6600;
}

.supervisor{
    background-color: black;
}

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

.supervisor-container.impl-group h2{
    padding-bottom: 4rem;
}
.supervisor-text {
    font-size: 1.2rem;
    text-align: center;
    padding-bottom: 2rem;
}

.video-caption.featured{
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.supervisor-items {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.super-item {
    text-align: center;
    flex: 0 1 280px;
    margin: 1rem 0;
    opacity: 0;
    transition: opacity 1.5s ease-in;
}

.super-item.visible {
    opacity: 1;
}
.super-item h3 {
    display: flex;
    align-items: center;
    justify-content: center;
}
.super-item svg{
    fill: white;
    transition: fill 0.3s;
}
.super-item:hover svg {
    fill: #ff6600;

}

.member{
    display: flex;
    justify-content:flex-start;
    gap: 4rem;
    color: #ffffff;
    padding-bottom: 6rem;
}
.member-photo{
    width: 50%;
    height: auto;
    display: block;
    object-fit: cover;
 
}
.information{
    flex:1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.information h3{
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2rem;
      
}
.information h4{
    font-size: 1.2rem;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.2em;
    font-weight: 400;
    color: #bbb;
    margin-bottom: 2rem;
}
.information p{
    margin-bottom: 4rem;
    font-size: 1.2rem;
}
.partner-logo{
    width: 100%;
    height: auto;
    display: block;
    margin-top: auto;
}

.cases{
    max-width: 1200px;
    margin: 0 auto;
}
.cases h2{
    padding-top: 0rem;
    padding-bottom: 6rem;
}
.cases .last-price{
    padding-top: 10rem;
    padding-bottom: 2rem;
}
.cases-container {
    position: relative;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
}
.case-card {
    display: none;
    justify-content: space-between;
    gap: 0.5rem;
    background: none;
}
.case-card.active {
    display: flex;
}
.case-card{
    padding: 2rem;
}
.case-icon {
    flex: 0 0 80px;
}
.case-title {
    flex: 0 0 160px;
}
.case-text {
    flex: 1;
}
.case-arrow {
    flex: 0 0 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.case-title h3 {
    margin: 0;
}
.case-text ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    padding-left: 1.2rem;
}
.case-text li {
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.5;
}
.case-text li::before{
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6600;
}

.next-btn {
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}
.next-btn:hover {
    transform: scale(1.2);
}

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

#supervisor .super-item{
    margin: 0;
    flex: 0 1 480px;
}
#fi_13429085 path {
    fill: white !important;
    transition: fill 0.3s;
}
.super-item:hover #fi_13429085 path {
    fill: #ff6600 !important;
}
.findirector-container h2 {
    padding-bottom: 6rem;
    
}

.findir-price-title {
    padding-top: 0;
}

.pricing-card.fin-price{
    padding-bottom: 2rem;
}

.pricing-container{
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.pricing-card{
    background: transparent;
    border: 2px solid #777;
    border-radius: 10px;
    padding: 0.6rem;
    text-align: center;
    flex: 1;
    max-width: 250px;
    transition: 0.3s, ease;
}
.pricing-card p{
    margin: 0;
    font-size: 0.8rem;
}

.pricing-card .price {
    font-size: 2rem;
    margin: 1rem 0;
}
.pricing-card a{
    font-size: 1rem;
}
.more-text{
    color: #ff6600;
    font-size: 1rem;
}

.support{
  
    background-color: black;
}

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

.support-container h2 {
    padding-bottom: 10rem;
}

.support-items {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: center;
}

.support-item {
    flex: 1 1 250px;
    max-width: 250px;
    background: transparent;
}

.support-number {

    color: #ff6600;
    margin-right: 0.4rem;
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: color 0.2s;
    border-right: 1px solid #ff6600;
}
.indicators{

    background-color: black;
}

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

.partners {
    display: flex;
    justify-content: flex-start;
    gap: 4rem;
    color: #ffffff;
    padding-bottom: 6rem;
}

.partners-logo {
    width: 50%;
    height: auto;
    display: block;
    object-fit: cover;}


/* Адаптив */
@media (max-width: 768px) {
    .video-container iframe {
        height: 220px;
    }
}