* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fafdfa; 
    background-color: #405540;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #405540;
    border-bottom: 1px solid rgba(250, 253, 250, 0.1);
}

.header-left h1 {
    margin: 0;
    font-size: 2.5em;
    white-space: nowrap;
}

.header-left h1 strong {
    font-weight: bold;
}

.header-left h1 .small-net {
    font-size: 0.7em; 
    font-weight: normal; 
}


.lang-switcher-container {
    display: flex;
    align-items: center;
    gap: 5px; 
}

.lang-button {
    background: none;
    border: none;
    color: #fafdfa; 
    cursor: pointer;
    font-weight: bold;
    font-size: 1em; 
    padding: 5px 0; 
    transition: color 0.3s ease;
    text-transform: uppercase; 
}

.lang-button:hover {
    color: #a0a8a0; 
}

.lang-button.active {
    text-decoration: underline;
    color: #a0a8a0; 
}

.lang-separator {
    color: #fafdfa;
    margin: 0 2px; 
}

main {
    padding: 20px 40px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

section {
    margin-bottom: 50px; 
}

section h2 {
    color: #fafdfa;
    font-size: 2em;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(250, 253, 250, 0.2);
    padding-bottom: 10px;
}

.service-item {
    background-color: rgba(250, 253, 250, 0.08); 
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px); 
}

.service-item h3 {
    margin-top: 0;
    color: #fafdfa;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1em;
    line-height: 1.7;
}

.service-icon {
    width: 50px; 
    height: 50px; 
    margin-right: 15px;
    vertical-align: middle; 
}

.service-item h3 {
    display: inline-block;
    vertical-align: middle;
}

.partners-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center; 
    gap: 20px; 
    margin-top: 20px;
    max-width: 900px; 
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.partner-item {
    text-align: center;
    margin-bottom: 0;
    background-color: #fafdfa;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 80px; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 250px; 
    margin-left: auto;
    margin-right: auto;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    transition: transform 0.3s ease-in-out;
}

.partner-item img:hover {
    transform: scale(1.05); 
}

footer {
    background-color: #303030; 
    color: #fafdfa;
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid rgba(250, 253, 250, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap; 
    max-width: 1200px;
    margin: 0 auto 20px auto;
}

.social-links {
    flex: 1;
    text-align: left;
    min-width: 200px; 
}

.social-links a {
    color: #fafdfa;
    font-size: 1.8em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #a0a8a0;
}

.contact-info {
    flex: 1;
    text-align: right;
    min-width: 300px; 
}

.contact-info p {
    margin: 5px 0;
    font-size: 0.95em;
}

.contact-info a {
    color: #fafdfa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #a0a8a0;
    text-decoration: underline;
}

.copyright {
    margin-top: 20px;
    border-top: 1px solid rgba(250, 253, 250, 0.1);
    padding-top: 15px;
    font-size: 0.85em;
    text-align: center;
}

#scrollToTopBtn {
    display: none; 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    background-color: #405540; 
    color: #fafdfa; 
    cursor: pointer; 
    padding: 15px; 
    border-radius: 5px; 
    font-size: 22px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease; 
    opacity: 0; 
    transform: translateY(20px); 
}

#scrollToTopBtn.show {
    display: block; 
    opacity: 1; 
    transform: translateY(0); 
}

#scrollToTopBtn:hover {
    background-color: #304030; 
    transform: translateY(-5px); 
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .header-right {
        margin-top: 10px;
    }

    main {
        padding: 15px 20px;
    }

    .partners-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .partner-item {
        height: 70px;
        width: 250px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .social-links,
    .contact-info {
        text-align: center;
        margin-bottom: 20px;
    }

    #scrollToTopBtn {
        right: 20px; 
        bottom: 20px;
        padding: 12px;
        font-size: 18px;
        border-radius: 3px; 
    }
}

@media (max-width: 600px) {
    .header-left h1 {
        font-size: clamp(1.6em, 6vw, 2.2em);
    }
    .header-right .lang-switcher {
        font-size: clamp(0.8em, 3vw, 0.9em);
    }
    section h2 {
        font-size: clamp(1.3em, 5vw, 1.8em);
    }
    .service-item h3 {
        font-size: clamp(1.1em, 3.5vw, 1.4em);
    }
    .service-item p {
        font-size: clamp(0.85em, 2.8vw, 0.95em);
    }
    .social-links a {
        font-size: clamp(1.3em, 5vw, 1.6em);
    }
    .contact-info p {
        font-size: clamp(0.75em, 2.8vw, 0.9em);
    }
    .copyright {
        font-size: clamp(0.7em, 1.8vw, 0.8em);
    }
}

@media (max-width: 480px) {
    main {
        padding: 10px 15px; 
    }
    section {
        margin-bottom: 30px; 
        padding: 15px 0;
    }

    .partners-container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 10px;
    }

    .partner-item {
         height: 60px;
         width: 200px;
         margin-left: auto;
         margin-right: auto;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }
     
    .service-item {
        padding: 15px;
    }
}

@media (min-width: 1201px) {
    main {
        padding: 20px 0;
    }
}
