html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    line-height: 1.6;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header {
    background-color: rgba(26, 26, 26, 0.8); /* Transparent background */
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: center; /* Center the navigation bar items */
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

header .hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

header .hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

header .hamburger.toggle .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

header .hamburger.toggle .bar:nth-child(2) {
    opacity: 0;
}

header .hamburger.toggle .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

nav {
    display: flex;
    justify-content: center; /* Center the navigation items */
    align-items: center;
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s, color 0.3s, text-decoration 0.3s;
}

nav ul li a:hover {
    color: #e0e0e0;
    text-decoration: underline;
}

nav ul li a img {
    width: 20px;
    height: auto;
    vertical-align: middle;
}

nav ul li:last-child {
    margin-left: auto;
}

@media (max-width: 768px) {
    header {
        justify-content: space-between; /* Space between items in header */
    }

    header .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        background-color: rgba(26, 26, 26, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 20px;
        width: 100%;
    }

    nav.show {
        transform: translateX(0);
    }
}

main {
    flex: 1;
    padding-top: 80px; /* Adjust to the height of the header */
}

img {
    max-width: 100%;
    height: auto;
}

.logo img {
    height: 60px;
    width: auto;
}

.swiper {
    width: 100%;
    height: 100%;
    margin-top: 20px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
}

#about {
    background-color: rgba(18, 18, 18, 0.95);
    color: #fff;
    padding: 60px 20px;
    font-family: 'Roboto', sans-serif;
    margin-top: 820px;
}

#about .about-text h2, #about .services h2, #about .services2 h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 2.5em;
}

#about .about-text p {
    color: #cccccc;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services, .services2 {
    margin-top: 40px;
}

.service-columns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.service-column {
    flex-basis: calc(50% - 20px);
    margin: 10px;
}

.service-column p {
    background-color: #333;
    color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s, transform 0.3s;
}

.service-column p:hover {
    background-color: #121212;
    color: #fff;
    transform: scale(1.05);
}

.service-column i {
    margin-right: 10px;
    color: #50b3a2;
    transition: color 0.3s;
}

.service-column p:hover i {
    color: #000;
}

@media (max-width: 480px) {
    .service-columns {
        flex-direction: column;
    }

    .service-column {
        flex-basis: 100%;
        margin: 10px 0;
    }

    #about .about-text p {
        text-align: left;
    }

    #about .about-text h2, #about .services h2, #about .services2 h2 {
        font-size: 1.5em;
    }

    #about .about-text p, .service-column p {
        font-size: 0.8em;
    }

    .service-column i {
        font-size: 1em;
    }

    #about {
        padding: 30px 10px;
    }

    nav {
        width: 80%;
    }
    
    nav ul li a {
        font-size: 18px;
    }
}

section {
    margin: 40px 0;
    padding: 40px;
    background-color: rgba(18, 18, 18, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

section.visible {
    opacity: 1;
}

#cooperation {
    background-color: rgba(18, 18, 18, 0.95);
    color: #ffffff;
    padding: 60px 0;
    font-family: 'Roboto', sans-serif;
}

#cooperation h2 {
    color: #ffffff;
    margin: 0 0 35px;
    font-size: 2.5em;
    text-align: center;
}

#cooperation p {
    color: #cccccc;
    margin-bottom: 30px;
    font-size: 1.2em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.conditions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.condition {
    background-color: #333333;
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.condition:hover {
    background-color: #121212;
}

.condition i {
    color: #ffffff;
    margin-right: 10px;
    font-size: 1.5em;
}

.condition span {
    font-size: 1.1em;
    font-weight: 300;
}

@media (max-width: 1024px) {
    #cooperation h2 {
        font-size: 2em;
        margin: 0 0 25px;
    }

    #cooperation p {
        font-size: 0.9em;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .condition {
        margin: 10px;
        padding: 15px;
    }

    .condition i {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    #cooperation {
        padding: 40px 10px;
    }

    #cooperation h2 {
        text-align: center;
        font-size: 1.75em;
    }

    #cooperation p {
        text-align: center;
        font-size: 0.85em;
    }

    .conditions {
        flex-direction: column;
    }

    .condition {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .condition i {
        font-size: 1.5em;
        margin-bottom: 10px;
    }

    .condition span {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    #cooperation h2 {
        font-size: 1.5em;
    }

    #cooperation p {
        font-size: 0.8em;
    }

    .condition {
        padding: 15px;
    }

    .condition i {
        font-size: 1.2em;
    }

    .condition span {
        font-size: 0.8em;
    }
}

#area-of-operation {
    background-color: rgba(18, 18, 18, 0.95);
    color: #ffffff;
    padding: 60px 0;
    font-family: 'Roboto', sans-serif;
}

#area-of-operation h2 {
    color: #ffffff;
    margin-bottom: 35px;
    font-size: 2.5em;
    text-align: center;
}

.area-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-left: 15px;
}

.area-text {
    flex-basis: 50%;
    max-width: 50%;
    box-sizing: border-box;
}

.countries {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.countries p {
    background-color: #333;
    color: #fff;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    width: 30%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.countries img {
    height: auto;
    width: 40px;
    margin-right: 10px;
}

.countries p:hover {
    background-color: #121212;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .area-container {
        justify-content: center;
        padding-left: 0;
    }

    .area-text {
        flex-basis: 100%;
        max-width: 100%;
        text-align: center;
    }

    .countries p {
        display: flex;
        justify-content: center;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}

#contact {
    background-color: rgba(18, 18, 18, 0.95);
    color: #ffffff;
    padding: 50px 0;
    font-family: 'Roboto', sans-serif;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-details {
    text-align: center;
}

.contact-details p {
    margin: 10px 0;
}

#contactForm {
    width: 80%;
    max-width: 700px;
    margin: 20px auto;
}

#contactForm input, 
#contactForm textarea, 
#contactForm button {
    width: 100%;
    margin-bottom: 20px;
}

#contactForm input, 
#contactForm textarea {
    background: none;
    border: none;
    border-bottom: 1px solid #ffffff;
    padding: 10px;
    color: #ffffff;
}

#contactForm input::placeholder, 
#contactForm textarea::placeholder {
    color: #cccccc;
}

#contactForm input:focus, 
#contactForm textarea:focus {
    border-bottom: 2px solid #50b3a2;
    outline: none;
}

.checkbox-group {
    position: relative;
    padding-left: 35px;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border-radius: 4px;
    border: 2px solid #ffffff;
    cursor: pointer;
}

.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-group input[type="checkbox"]:checked + .checkbox-custom::after {
    display: block;
}

.privacy-policy {
    display: inline-block;
    margin-left: 25px;
    color: #cccccc;
    font-size: 0.8em;
    line-height: 1.2;
    display: block;
    margin-top: -5px;
}

.privacy-policy a {
    color: #50b3a2;
    text-decoration: underline;
}

#contactForm button {
    padding: 15px;
    background-color: #50b3a2;
    border: none;
    cursor: pointer;
}

#contactForm button:hover {
    background-color: #3d8275;
}

#contact a, #contact a:link, #contact a:visited {
    color: #50b3a2;
    text-decoration: none;
}

@media (max-width: 1024px) {
    #contactForm {
        width: 90%;
    }

    .contact-info {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    #contactForm {
        width: 95%;
    }

    .contact-info {
        text-align: center;
        font-size: 13px;
    }

    .contact-details, .contact-info {
        padding: 0 20px;
    }

    .checkbox-group {
        padding-left: 25px;
    }

    .privacy-policy {
        margin-top: -3px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    #contactForm {
        width: 100%;
        margin: 20px 0;
    }

    .contact-info {
        font-size: 12px;
    }

    .contact-details p, .privacy-policy {
        font-size: 0.9em;
    }

    .privacy-policy {
        margin-left: 10px;
    }

    #contactForm input, 
    #contactForm textarea, 
#contactForm button {
    font-size: 0.9em;
}

.checkbox-group {
    padding-left: 20px;
}
}

.contact-info {
color: #ffffff;
font-size: 16px;
line-height: 1.6;
margin-bottom: 20px;
}

.contact-info i {
color: #50b3a2;
margin-right: 10px;
}

.contact-info p, .contact-info a {
margin-bottom: 20px;
}

a, a:link, a:visited {
color: #ffffff;
text-decoration: none;
}

a:hover, a:active {
color: #ffffff;
text-decoration: underline;
}

footer {
text-align: center;
padding: 0.5px;
background-color: #1a1a1a;
font-size: 18px;
}

#backToTop {
display: inline-block;
padding: 10px;
background-color: #1a1a1a;
color: white;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
margin-top: 20px;
}

#backToTop:hover {
background-color: #333;
}

@media (max-width: 768px) {
header {
    flex-direction: row; /* Maintain row direction */
    text-align: center;
}

nav ul {
    padding: 0;
    flex-direction: column;
}

nav ul li {
    margin: 10px 0;
}

#contactForm {
    width: auto;
    padding: 20px;
}
}

@media (max-width: 480px) {
.logo {
    margin-bottom: 15px;
}

section {
    padding: 15px;
}

#contactForm input, #contactForm textarea {
    width: calc(100% - 20px);
}
}

html {
scroll-behavior: smooth;
overflow-y: scroll;
}
