.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #004437; /* Unified theme color */
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    max-height: 50px;
    width: auto;
    margin-left: 20px;
}

.navbar nav {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.navbar nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1em;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: #b5d8c8;
}

/* Hamburger icon */
.menu-icon {
    display: none;
    font-size: 1.5em;
    color: #ffffff;
    cursor: pointer;
    margin-right: 20px;
}

/* Add padding so content isn't hidden by fixed navbar */
body {
    padding-top: 60px;
}

/* --------------------------------------- */
/* Existing Page Styles (Preserved)        */
/* --------------------------------------- */

/* General Body and Form Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
}

/* Get in Touch Section */
.get-in-touch {
    text-align: center;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center-align items horizontally */
    padding: 60px 20px; /* Balanced padding for the section */
    background-color: white;
    margin-top: 20px; /* Space below navbar */
}

.get-in-touch .contact-logo img {
    width: 80px; /* Adjust logo size */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px; /* Space between logo and text */
}

.get-in-touch h1 {
    font-size: 2.5em;
    color: #004437; /* Theme color */
    margin: 0;
}

.get-in-touch p {
    font-size: 1.2em;
    color: #333; /* Neutral text color */
    margin: 5px 0 0;
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 20px 0; /* Consistent spacing */
    background-color: #004437; /* Theme color */
    color: white; /* White text for contrast */
    margin-top: 0; /* Seamless merge with previous section */
}

.contact-form-section h2 {
    text-align: center;
    color: white;
    font-size: 1.8em; /* Adjust font size for visibility */
    margin-top: 10px; /* Decrease space above "Message Us" */
    margin-bottom: 20px; /* Space below heading */
}

form {
    max-width: 600px; /* Balanced form width */
    margin: 0 auto; /* Center-align the form */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Spacing between form rows */
}

.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Ensure proper wrapping on smaller screens */
}

input,
textarea {
    flex: 1;
    background: transparent; /* No box styling */
    border: none; /* Remove box borders */
    border-bottom: 2px solid white; /* Add a bottom border */
    color: white; /* White text for entries */
    padding: 10px;
    font-size: 1em;
    outline: none; /* Remove focus outline */
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.6); /* Faded white placeholder text */
}

textarea {
    height: 120px; /* Fixed height for the message box */
    resize: none; /* Disable resizing */
}

form .form-row:last-of-type {
    margin-bottom: 30px; /* Add space below the last form row */
}

/* Centering the Submit Button */
.submit-button {
    background-color: #ffffff; /* White background */
    color: #004437; /* Theme color for text */
    border: none;
    padding: 8px 20px; /* Reduced padding for smaller size */
    border-radius: 20px; /* Rounded edges */
    font-size: 0.9em; /* Slightly smaller font size */
    font-weight: bold;
    width: 150px; /* Adjust width to your desired size */
    text-align: center;
    cursor: pointer;
    margin: 0 auto; /* Centers the button horizontally */
    display: block; /* Ensures the button is treated as a block element */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #e8e8e8; /* Slightly lighter on hover */
    transform: scale(1.05); /* Zoom effect */
}

/* Socials Section */
.socials-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #004437; /* Theme color */
    color: white; /* White text */
}

.socials-section h2 {
    font-size: 2em;
    color: white; /* White heading */
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-links img {
    width: 30px; /* Uniform size for all icons */
    height: 30px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.2); /* Slight zoom on hover */
}

.socials-section p a {
    color: white; /* White text */
    text-decoration: underline;
}

.socials-section p a:hover {
    color: #b5d8c8; /* Softer hover color */
}

/* Footer */
footer {
    background-color: #004437; /* Same theme color */
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    margin-top: 0; /* Seamless merge with form section */
}

/* --------------------------------------- */
/* Responsive Adjustments (Mobile/iPad)    */
/* --------------------------------------- */

@media (max-width: 768px) {
    /* Show hamburger, hide normal nav */
    .menu-icon {
        display: block;
        font-size: 1.8em;
        padding: 5px 10px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }
    .menu-icon:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    .navbar nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        flex-direction: column;
        background-color: #004437;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .navbar nav.active {
        display: flex;
    }
    .navbar nav a {
        font-size: 1.1em;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .navbar nav a:last-child {
        border-bottom: none;
    }

    /* Adjust sections for mobile */
    .get-in-touch {
        padding: 30px 15px;
    }
    .get-in-touch h1 {
        font-size: 2em;
    }
    .contact-form-section {
        padding: 30px 15px 0;
    }
    form {
        max-width: 100%; /* Full width on mobile */
        padding: 0 10px;
        gap: 10px;
    }
    .form-row {
        flex-direction: column; /* Stack inputs vertically */
    }
    input, textarea {
        font-size: 1em; /* Readable text */
        padding: 12px; /* Larger tap area */
    }
    .submit-button {
        width: 120px; /* Slightly smaller */
        padding: 10px;
    }
    .socials-section {
        padding: 20px;
    }
}
