html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}


:root {

    --green-dark: #005F1D;
    --green-light: #6ea77c;
    --beige: #f3f1eb;
    --text: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: white;
    line-height: 1.6;
}

.hero {

    min-height: 90vh;

    background:
        linear-gradient(
                135deg,
                #005F1D 0%,
                #1B7B37 100%
            );
    color: white;
}


.navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 8%;

    background: white;

    box-shadow: 0 2px 12px rgba(0,0,0,0.08);

}


.logo {

    display: flex;

    align-items: center;

    gap: 12px;
}

.logo img {

    height: 60px;

    width: auto;
}

.logo span {

    color: var(--green-dark);

    font-weight: 700;

    letter-spacing: 2px;

    font-size: 1rem;
}



.menu {

    display: flex;
    gap: 30px;
}

.menu a {

    text-decoration: none;

    color: var(--green-dark);

    font-weight: 600;

}


.hero-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 80px;

    max-width: 1700px;

    margin: 0 auto;

    padding: 100px 4% 80px;
}

.hero-text-area {

    flex: 1;
}

.hero-image {

    flex: 0 0 55%;
    
    transform: translateX(80px);

    display: flex;

    justify-content: center;

    align-items: center;
}

.hero-image img {

    width: 100%;

    max-width: 720px;

    border-radius: 24px;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.25);

    display: block;
}

.tagline {

    color: #d7f0dd;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h1 {

    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-text {

    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 40px;
}

.cta-button {

    display: inline-block;

    background: white;
    color: var(--green-dark);

    padding: 15px 30px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;
}


.cta-button:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


@media (max-width: 900px) {

    .hero-content {

        grid-template-columns: 1fr;
        gap: 24px;
        padding: 80px 8% 40px;
    }

    .hero-image {

        grid-column: 1;
        grid-row: auto;
        justify-self: start;
        margin-top: 8px;
        transform: none;
    }

    .layers img {

        max-width: 92%;
    }
}


.section {

    max-width: 1100px;
    margin: auto;

    padding: 100px 8%;
}

.section h2 {

    font-size: 2.5rem;
    color: var(--green-dark);

    margin-bottom: 30px;
}

.section p {

    font-size: 1.1rem;
    max-width: 700px;
}

.layers {

    margin: 40px 0;
}

.layers img {

    display: block;
    width: 100%;
    max-width: min(94%, 1120px);
    height: auto;
    margin: 0 auto;
}

#technologie .section-intro,
#technologie > p {

    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

#technologie .layers {

    display: block;
}

#technologie .layers img {

    margin-left: 0;
    margin-right: 0;
}

.layer {

    height: 6px;
    background: var(--green-dark);
    border-radius: 999px;
}

.dots {

    text-align: center;

    margin: 20px 0;

    color: var(--green-light);

    font-size: 1.5rem;
}

.card {

    background: white;

    padding: 30px;

    border-radius: 16px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

    transition: 0.3s;
}

.card:hover {

    transform: translateY(-5px);
}

.card h3 {

    color: var(--green-dark);

    margin-bottom: 15px;
}

.section-intro {

    max-width: 800px;

    margin-bottom: 40px;
}


.solution-label {

    text-align: center;

    color: var(--green-dark);

    font-weight: 600;

    margin: 15px 0;
}


.challenge-grid,
.platform-grid,
.application-grid,
.future-grid,
.team-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;

    margin-top: 40px;
}


.future {

    background: var(--beige);

    border-radius: 24px;
}

.back-to-top {

    position: fixed;
    right: 24px;
    bottom: 24px;

    display: inline-block;
    padding: 12px 18px;
    font-size: 0.65rem;
    line-height: 1;

    border-radius: 999px;
    background: var(--green-dark);
    color: white;
    text-decoration: none;
    font-weight: 600;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.back-to-top:hover {

    transform: translateY(-2px);
    background: #0a4a29;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.contact form {

    max-width: 800px;

    display: flex;
    flex-direction: column;

    gap: 20px;

    margin-top: 40px;
}

.contact input,

.contact textarea {

    width: 100%;

    padding: 16px;

    border: 1px solid #d9d9d9;

    border-radius: 12px;

    font-size: 1rem;

    font-family: inherit;

    background: white;
}

.contact textarea {

    min-height: 180px;

    resize: vertical;
}

.contact button {

    width: fit-content;

    background: var(--green-dark);

    color: white;

    border: none;

    padding: 16px 32px;

    border-radius: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

.contact button:hover {

    opacity: 0.9;
}

.contact-person {

    display: flex;

    align-items: center;

    gap: 40px;

    margin: 40px 0;
}

.contact-person img {

    width: 180px;

    height: 180px;

    object-fit: cover;

    border-radius: 50%;

    border: 4px solid var(--green-dark);
}

.contact-role {

    color: var(--green-dark);

    font-weight: 600;

    margin-bottom: 10px;
}


footer {

    background: var(--green-dark);

    color: white;

    text-align: center;

    padding: 80px 20px;
}

footer h3 {

    margin-bottom: 15px;
}

footer p {

    opacity: 0.85;
}

footer a {

    color: white;

    text-decoration: none;

    margin: 0 10px;
}

footer a:hover {

    text-decoration: underline;
}


.hero-small {

    background:
        linear-gradient(
            135deg,
            #005F1D 0%,
            #1B7B37 100%
        );

    color: white;

    text-align: center;

    padding: 100px 20px;
}

.hero-small h1 {

    margin: 0;

    font-size: 4rem;
}

.legal-page {

    max-width: 1100px;

    margin: -60px auto 80px;

    padding: 0 20px;
}

.legal-card {

    background: white;

    padding: 50px;

    border-radius: 24px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);
}

.legal-card h2 {

    color: var(--green-dark);

    margin-top: 40px;

    margin-bottom: 15px;
}

.legal-card p {

    margin-bottom: 15px;

    line-height: 1.8;
}

.back-link {

    display: inline-block;

    margin-top: 30px;

    text-decoration: none;

    color: var(--green-dark);

    font-weight: 600;
}

.layers{
    width:100%;
    display:flex;
    justify-content:center;
    margin:60px 0;
}


@media (max-width: 1200px) {

    h1 {
        font-size: 3.2rem;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-image {
        flex: 0 0 45%;
        transform: none;
    }
}


@media (max-width: 900px) {

    .navbar {

        flex-direction: column;

        gap: 15px;
    }

    .menu {

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }

    .hero-content {

        flex-direction: column;

        text-align: center;

        padding: 60px 8%;
    }

    .hero-text-area {

        min-width: auto;
    }

    h1 {

        font-size: 2.7rem;
    }

    .hero-image {

        width: 100%;

        transform: none;

        flex: none;
    }

    .hero-image img {

        max-width: 100%;
    }

}

@media (max-width: 600px) {

    .logo {

        flex-direction: column;

        gap: 8px;
    }

    .logo span {

        font-size: 0.8rem;

        text-align: center;
    }

    .menu {

        flex-wrap: wrap;

        justify-content: center;

        gap: 10px;
    }

    .menu a {

        font-size: 0.85rem;
    }

    h1 {

        font-size: 2rem;
    }

    .hero-text {

        font-size: 1rem;
    }

}

