html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: rgb(255, 255, 255);

    margin: 0;
}

header {
    padding: 16px 0;
    background-color: rgb(25, 36, 61);

}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.logo-name {
    color: white;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.logo-name small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

.logo img {
    height: 70px;
}

.menu-nav {
    display: flex;
    gap: 70px;
}

.menu-nav a {
    color: rgb(255, 255, 255);
    font-weight: 200;
    font-size: 18px;
    text-decoration: none;
    padding: 9px;
    border-radius: 7px;
    transition: 0.4s;
}

.menu-nav a:hover {
    transform: scale(1.1);
}

.menu-nav .kapcsolat {
    color: rgba(0, 0, 0, 0.7);
    background-color: rgb(255, 255, 255);
}





/* main */
.hero {
    padding: 20px 0 100px 0;
    background-color: rgb(25, 36, 61);
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
}

.hero-text p {
    margin-bottom: 40px;
}

.hero-text a {
    display: inline-block;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: #be191c;
    padding: 12px;
    border-radius: 7px;
    font-weight: 200;
    box-shadow: 1px 1px 10px rgba(255, 255, 255, 0.2);
    transition: 0.2s;

}

.hero-text a:hover {
    opacity: 0.95;
    transform: scale(1.05);
}



.hero-image {
    flex: 1;
}

.network-image {
    /* flex: 1; */
    height: auto;
    width: 100%;
}

.partner-inner {
    color: black;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-top: -40px;
    background-color: white;
    padding: 15px 0;

}

.partner-inner .services {
    display: flex;
    justify-content: space-around;
    list-style: none;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 700;

}

.partner-title {
    text-align: center;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}

.about-us-inner {
    color: black;
    display: flex;
    margin-top: 80px;
}

.about-us-text {
    flex: 1;

}

.about-us-text h2 {
    font-size: 32px;
    color: #16243F;
}

.about-us-text p {
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    font-size: 18px;

}

.about-us-text .read-more {
    display: block;
    text-align: right;
    color: #16243F;
    cursor: pointer;
    font-size: 20px;

}


.banner-inner {
    background-color: rgb(25, 36, 61);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 24px;
    font-weight: 700;
    margin-top: 50px;
    padding: 0;
}

.ourService-inner {
    flex-direction: column;
    align-items: stretch;
    color: #16243F;
}

.service-text h2 {
    margin: 50px 0 30px 0;
}

.service-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-card {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    border-radius: 13px;
    height: 100px;
    display: flex;
    color: #16243F;
}

.service-card .img {
    flex: 1;
    text-align: center;
    margin: 5% 0 0 0;
    font-size: 34px;
    padding-inline: 25px;
}

.service-card .text {
    flex: 11;
    font-size: 16px;
}

.service-card .text p {
    color: rgba(0, 0, 0, 0.5);
}



.ref-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;

}

.ref-inner h3 {
    color: #16243F;
    font-size: 29px;
    margin-top: 60px;
    text-align: center;
}

.referenses {
    overflow: hidden;
}

.track {
    display: flex;
    /* animation: scroll 10s linear infinite; */
    /* width: max-content; */
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 35px;
    height: 150px;
    /* width: 300px; */
    /* border: solid 1px rgba(0, 0, 0, 0.2); */
    border-radius: 11px;
    /* box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2); */
}

.partner-card img {
    height: 300px;

}

.contact-inner {
    margin-top: 150px;
    align-items: stretch;
    background-color: #16243F;
    border-radius: 16px;
    height: 350px;
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.5);
}

.contact-inner .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* justify-content: space-around; */
    padding: 40px;
    line-height: 20px;
    /* gap: 1px; */

}

.phone-link {
    color: inherit;
    text-decoration: none;
}

.contact-inner .kapcsolat {
    opacity: 0.8;
    font-size: 20px;
}

.contact-inner h3 {
    font-size: 24px;
}

.contact-inner .other-text {
    opacity: 0.6;
}

.contact-inner .input {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 40px;

}

.contact-inner .name {
    height: 50px;
    font-size: 24px;
    color: rgba(230, 230, 230, 0.8);
    border-radius: 11px;
    background-color: #374058;
    border: none;
    padding-left: 23px;

}

.contact-inner .name::placeholder {
    font-size: 22px;
}

.contact-inner .email {
    height: 50px;
    font-size: 24px;
    color: rgba(230, 230, 230, 0.8);
    border-radius: 11px;
    background-color: #374058;
    border: none;
    padding-left: 23px;

}

.contact-inner .email::placeholder {
    font-size: 22px;
}

.contact-inner .message {
    height: 100px;
    border-radius: 11px;
    font-size: 24px;
    color: rgba(230, 230, 230, 0.8);
    background-color: #374058;
    border: none;
    resize: none;
    padding-left: 23px;
    padding-top: 13px;

}

.contact-inner .message::placeholder {
    font-size: 22px;
    text-align: start;
}

.contact-inner .send {
    background-color: #457B4B;
    border: none;
    border-radius: 11px;
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    padding: 14px;
    transition: 0.3s;

}

.contact-inner .send:hover {
    cursor: pointer;
}

.contact-inner .send:active {
    transform: scale(0.95);
}

footer {
    background-color: rgb(25, 36, 61);
    padding: 20px;
    margin-top: 100px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
}

.footer-inner .copy {
    display: flex;
    flex-direction: column;
    gap: 45px;
    /* flex:1; */

}

.footer-inner .menu,
.footer-inner .other {
    display: flex;
    flex-direction: column;


    /* flex: 1; */
}

.footer-inner a {
    text-decoration: none;
    color: rgba(200, 200, 200, 0.6);
    line-height: 2.5;
}


.campany-name {
    text-align: center;
    color: rgba(190, 190, 190, 0.3);
    padding: 30px 0 10px 0;
}




/* gallery.html */
.gallery-hero {
    background-color: rgb(25, 36, 61);
    padding: 40px 0;
}

.gallery-hero h2 {
    color: white;
    font-size: 40px;
    margin: 0;
}

.gallery {
    padding: 60px 0 100px 0;
}

.gallery-inner {
    flex-direction: column;
    align-items: stretch;
}

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

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-category {
    margin-bottom: 50px;
}

.gallery-category h3 {
    font-size: 22px;
    color: #16243F;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #C0202E;
}

/* team.html */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
}

.team-role {
    margin-top: 2px;
    font-size: 15px;
    font-weight: 400;
    color: rgba(22, 36, 63, 0.6);
}

.team-name {
    margin-top: 12px;
    font-size: 17px;
    font-weight: 700;
    color: #16243F;
}

.team-member .gallery-item {
    aspect-ratio: 3/4;
}

.team-member .gallery-item img {
    object-position: top;
}

.team-featured {
    display: flex;
    justify-content: center;
}

.team-featured .team-member {
    width: 420px;
}

.team-featured .team-name {
    font-size: 20px;
}

.team-featured .team-role {
    font-size: 16px;
}

.team-grid-wide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.team-grid-wide .gallery-item {
    aspect-ratio: 16 / 9;
}

.team-grid-wide .gallery-item .imgleft {
    object-position: center 30%;
}

.team-grid-wide .gallery-item .imgright {
    object-position: center 90%;
}

/* lang */

/* language switch */
.lang-switch {
    display: flex;
    align-items: center;
}

.lang-select {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.lang-select option {
    color: #16243F;
    background-color: white;
}

/* adaptive */

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .burger {
        display: flex;
    }

    .menu-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgb(25, 36, 61);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 150;
    }

    .menu-nav.open {
        right: 0;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .about-us-inner {
        flex-direction: column;
    }

    .partner-inner .services {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .service-box {
        grid-template-columns: 1fr;
    }

    .contact-inner {
        flex-direction: column;
        height: auto;
    }

    .footer-inner {
        flex-direction: column;
        gap: 30px;
    }

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

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

    .team-grid-wide {
        grid-template-columns: 1fr;
    }

    .team-featured .team-member {
        width: 100%;
        max-width: 320px;
    }

    .footer-inner {
        align-items: center;
        text-align: center;
        gap: 35px;
    }

    .footer-inner .copy {
        gap: 15px;
        align-items: center;
    }

    .footer-inner .menu,
    .footer-inner .other {
        align-items: center;
    }

    @media (max-width: 480px) {
        .hero-text h1 {
            font-size: 26px;
        }

        .logo-name {
            font-size: 16px;
        }

        .logo img {
            height: 50px;
        }

        .gallery-grid {
            grid-template-columns: 1fr;
        }

        .team-grid {
            grid-template-columns: 1fr;
        }

        .contact-inner .name,
        .contact-inner .email {
            font-size: 18px;
        }

        .contact-inner .name::placeholder,
        .contact-inner .email::placeholder,
        .contact-inner .message::placeholder {
            font-size: 16px;
        }
    }
}