/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Full-Screen Logo */
#header {
    position: relative;
    height: 100vh;
    background-color: #fff;
    overflow: hidden;
}

#logo {
    position: absolute;
    width: 30%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

/* Navigation Menu */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

#navbar.active {
    transform: translateY(0);
}

.logo-container {
    flex: 1;
}

#nav-logo {
    width: 50px;
    height: auto;
    cursor: pointer;
}

#nav-menu {
    list-style: none;
    display: flex;
    flex: 2;
    justify-content: flex-end;
}

#nav-menu li {
    margin-left: 20px;
}

#hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Main Content */
main {
    max-width: 1200px;                 /* Controls maximum width on larger screens */
    width: 90%;                        /* Responsive width that adjusts on smaller screens */
    margin: 0 auto;                    /* Centers the element horizontally */
    padding: 50px 20px;                /* Optional: Adds inner space for better appearance */
    box-sizing: border-box;            /* Ensures padding is included in width calculations */
    transition: all 0.3s ease-in-out;  /* Smooth transition for width and padding changes */
}

section {
    margin-bottom: 100px;
}

section h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

section p {
    font-size: 1.2em;
}

/* Contact Form */
#contact-form {
    max-width: 600px;
    margin: auto;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
}

#contact-form button {
    padding: 10px 20px;
    cursor: pointer;
}

.captcha-container {
    display: flex;
    align-items: center;
}

.captcha-container img {
    margin-right: 10px;
}

.error {
    color: red;
}

.success {
    color: green;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #nav-menu {
        display: none;
    }

    #hamburger {
        display: block;
    }

    main {
        width: 95%;          /* Take up more width on smaller screens */
        padding: 10px;       /* Less padding for mobile */
    }
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }

/* Footer */

#footer {
    padding: 1%;
}
