body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.3s;
}

.fade-in.delay-2 {
    animation-delay: 0.6s;
}

.fade-in.delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zoom {
    transition: transform 0.3s ease;
}

.zoom:hover {
    transform: scale(1.05);
}

.service-item,
.reason-item,
.partner-logo {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.service-item:nth-child(1) {
    animation-delay: 0.2s;
}

.service-item:nth-child(2) {
    animation-delay: 0.4s;
}

.service-item:nth-child(3) {
    animation-delay: 0.6s;
}

.service-item:nth-child(4) {
    animation-delay: 0.8s;
}

.service-item:nth-child(5) {
    animation-delay: 1.0s;
}

.service-item:nth-child(6) {
    animation-delay: 1.2s;
}

.service-item:nth-child(7) {
    animation-delay: 1.4s;
}

.reason-item {
    animation-delay: calc(0.2s * var(--i));
}

.partner-logo {
    animation-delay: calc(0.3s * var(--i));
}

@media (max-width: 768px) {

    .service-item,
    .reason-item,
    .partner-logo {
        transform: none;
        opacity: 1;
        animation: none;
    }
}

header {
    display: flex;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative;
}

header.shrink {
    padding: 5px 20px;
}

header.shrink .logo {
    height: 45px;
}

.logo {
    height: 70px;
    transition: all 0.3s ease;
}

.company-name {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
}

.menu {
    display: flex;
    margin-left: 30vw;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1em;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #333;
        padding: 10px;
        border-radius: 10px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .menu {
        margin-left: auto;
    }
}

section {
    padding: 20px 20px;
}

.about-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f5f5f5, #e9e9e9);
}

.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-illustration {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background-image: url('image/fotto.png');
    /* заміни на ілюстрацію або рендер */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease;
}

.om {
    max-width: 600px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1.2s ease;
}

.om h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.om p {
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-illustration {
        height: 250px;
        max-width: 90%;
    }

    .om {
        padding: 20px;
        margin-top: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hva {
    display: flex;
    justify-content: center;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.service-item {
    width: 300px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item img {
    width: 100%;
    border-radius: 10px;
}

.service-item h3 {
    margin-top: 10px;
}


.Samarbeidspartnere {
    display: flex;

}


#services {
    background-color: #eaeaea;
    padding: 50px 20px;
    text-align: center;
}


.contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

form input,
form textarea,
form button {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
}


#why-us {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.hvorfor {
    font-size: 2em;
    margin-bottom: 30px;
    color: #222;
}

.reasons-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.reason-item {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    line-height: 1.5;
}

.reason-item span {
    color: #f4c542;
    margin-right: 10px;
    font-size: 1.3em;
}

.partners-section {
    background-color: #eaeaea;
    padding: 60px 20px;
    text-align: center;
}

.partners-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.partner-logo {
    max-width: 150px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.partner-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5vw;
}

.partner-logo:hover {
    transform: translateY(-5px);
}