* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-primary: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body Styling */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333; /* Dark text */
    background-color: #f9f9f9;
}

/* Navigation Styling */
nav {
    background-color: #f9f9f9;
    padding: 3rem 3rem;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    font-family: var(--font-primary);
    text-decoration: none;
    color: #333;
    font-weight: normal;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #212930;
    font-weight: bold;
}

.hero h1, .hero p {
    max-width: 700px; /* Set consistent width for both */
    padding: 0; /* Remove padding */
    margin: 0; /* Ensure no margin is affecting alignment */
}

.hero h1 {
    margin-bottom: 60px; /* Space between header and paragraph */
    font-size: 2.5rem;
    color: #2a2a2a; /* Ensure it's readable */
}

.hero p {
    margin: 10px 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #949292;
}

.hero {
    height: 80vh;
    background: url('../images/hero-background.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Maintain left alignment */
    text-align: left;
    padding: 0 40px;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px; /* Center the content within a fixed width */
}

h1, h2, h3 {
    font-family: var(--font-primary);
}


/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

.hmu-button {
    display: inline-block;
    background-color: rgb(34, 34, 34); /* Button background color */
    color: rgb(239, 239, 239); /* Button text color */
    padding: 10px 20px; /* Button padding */
    text-align: center; /* Center text */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-family: 'Montserrat', sans-serif; /* Font family */
    font-weight: 700; /* Bold text */
    position: absolute; /* Position it at the bottom center */
    left: 50%; /* Center it */
    transform: translateX(-50%); /* Adjust for centering */
    bottom: 20px; /* Distance from the bottom */
}

.spacer {
    height: 20vh; /* Height of the viewport */
    margin-bottom: 20px; /* Additional space for scrolling */
}

.contact {
    max-width: 600px; /* Set a max width for the contact section */
    margin: 2rem auto; /* Center the contact section */
    padding: 2rem;
    border-radius: 8px; /* Slightly rounded corners */
    text-align: left; /* Left-align text and buttons inside the contact section */
}

.contact-header {
    font-size: 1.5rem;
    margin-bottom: 1rem; /* Space between header and form */
    padding-left: 10rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    box-sizing: border-box; /* Include padding and border in element's total width */
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #303030; /* Change border color on focus */
    outline: none; /* Remove default outline */
}

.contact-button {
    padding: 0.5rem 1rem; /* Add some padding */
    border: none; /* Remove default border */
    border-radius: 4px; /* Match with input styling */
    background-color: #303030; /* Set button background color */
    color: white; /* Text color */
    cursor: pointer; /* Change cursor on hover */
}

.contact-button:hover {
    background-color: #505050; /* Change background on hover */
}