/* Reset and base styles */
* {
    margin: auto;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f2f2f2;
    margin: 0; /* Remove default margin */
}

/* Header styles */
header {
    background-color: #FF8503;
    color: #fff;
    padding: 10px 0;
    width: 100%;
    z-index: 1000;
    position: fixed; /* Fix header at the top */
    top: 0; /* Position at the top */
    transition: background-color 0.3s ease-in-out; /* Smooth background color transition */
}

header.scrolled {
    background-color: rgba(255, 133, 3, 0.9); /* Darker background when scrolled */
}

nav {
    background-color: #FF8503;
    position: absolute; /* Adjusted to absolute positioning */
    width: 100%;
    z-index: 1000;
    top: 60px; /* Adjust top position to avoid overlapping with header */
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end; /* Align items to the right */
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    transition: color 0.3s ease; /* Smooth color transition */
}

nav ul li a:hover {
    color: #FF8200;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 20px;
    margin-top: 100px; /* Adjust top margin to accommodate fixed header and nav */
}

.contact-form {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    margin-bottom: 20px;
    color: #333333;
    font-size: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #666666;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    background-color: #FF8503;
    color: #ffffff;
    border: 2px solid #FF8503; /* Add a border for more definition */
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; /* Include transitions */
}

button[type="submit"]:hover {
    background-color: #FF8200;
    border-color: #FF8200; /* Adjust border color on hover */
}

button[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 133, 3, 0.3); /* Add a subtle focus outline */
}

/* Language Select Button */
#language-select {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 10px 20px; /* Adjust padding for the button */
    font-size: 14px;
    background-color: transparent; /* Transparent background */
    color: #fff;
    border: none; /* Remove border */
    cursor: pointer;
    transition: color 0.3s ease; /* Smooth color transition */
    z-index: 1001; /* Ensure it's above the navigation */
}

#language-select:hover {
    color: #FF8200;
}

#language-select:focus {
    outline: none;
}

@media (max-width: 768px) {
    nav {
        top: 50px; /* Adjust top position for smaller screens */
    }

    .container {
        padding: 10px;
        margin-top: 140px; /* Adjust margin for smaller screens */
    }

    .contact-form {
        padding: 20px;
    }

    #language-select {
        top: 70px; /* Adjust top position for smaller screens */
        right: 10px;
    }
}
