body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    font-size: 18px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo {
    display: block;
    height: 40px;
    margin-left: 1rem;
}

.header-logo img {
    height: 100%;
    width: auto;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4CAF50;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.section > * {
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.4rem;
    max-width: 800px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.4rem;
    margin-top: 2rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #45a049;
}

.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.team-member {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    margin: 1rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
    flex-basis: calc(33.333% - 2rem);
    box-sizing: border-box;
}

.team-member h3 {
    margin: 0;
    font-size: 1.6rem;
}

.contact-info {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

form input, form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
}

form textarea {
    height: 180px;
    resize: vertical;
}

.team-member-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.image-samuel, .image-stanislav, .image-mustafa { 
    object-position: center 15%; 
}

.image-kane {
    object-position: center 20%;
}

.team-member p {
    margin: 0.2rem 0;
    font-size: 1.2rem;
}

/* Add these styles for the hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Update the media query for mobile devices */
@media screen and (max-width: 768px) {
    body, html {
        font-size: 16px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1.2rem;
    }

    .btn {
        font-size: 1.2rem;
        padding: 0.8rem 1.6rem;
    }

    .team-member {
        width: 100%;
        flex-basis: 100%;
    }

    form {
        width: 90%;
    }

    header {
        background-color: transparent;
        padding: 0;
        position: absolute;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 5px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 60px;
    }

    .nav-links.active {
        left: 0;
    }

    nav ul li {
        margin: 1rem 0;
    }

    nav ul li a {
        font-size: 1.4rem;
    }

    .header-logo {
        display: none; /* Hide logo on mobile */
    }
}

/* Update smaller screen sizes */
@media screen and (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .btn {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .team-member-image {
        width: 150px;
        height: 150px;
    }

    .nav-links {
        padding-top: 40px;
    }

    nav ul li a {
        font-size: 1.2rem;
    }
}

/* Add these to your existing CSS */
.success-message {
    background-color: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.error-message {
    background-color: rgba(244, 67, 54, 0.9);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

#form-message {
    width: 100%;
    max-width: 600px;
    margin-bottom: 1rem;
}

.logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 2rem;
}

/* Update logo size for mobile devices */
@media screen and (max-width: 768px) {
    .logo {
        max-width: 80%;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        max-width: 90%;
    }
}
