* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    	padding-top: 80px; /* adjust based on header height */
	background-image: url('background.jpg'); /* Replace with the path to your image */
        background-size: cover; /* Makes the image cover the entire screen */
        background-position: center center; /* Centers the image */
        background-attachment: fixed; /* Makes the background fixed while scrolling */
        margin: 0;
        font-family: Arial, sans-serif;
    color: white; /* Adjust text color for visibility */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000; /* ensures it stays on top */
}

header nav ul {
    list-style-type: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.hero {
    text-align: center;
    padding: 5rem 1rem;
    background: #f4f4f4;
}

.hero h2 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
}

section {
    padding: 2rem;
    margin: 2rem 0;
}

.service-list {
    display: flex;
    justify-content: space-between;
}

.service {
    flex: 1;
    padding: 1rem;
    background-color: 0; /*#f9f9f9*/
    margin: 0 10px;
    text-align: center;
}

.portfolio-gallery {
    display: flex;
    justify-content: space-between;
}

.portfolio-item {
    flex: 1;
    text-align: center;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

form input {
    width: 50%;
    padding: 8px;
    margin: 8px 0;
}

form textarea {
    width: 70%;
    padding: 8px;
    margin: 8px 0;
    resize: vertical;
}
form button {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: #555;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.contact-form {
    max-width: 400px;
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin: 0;
    box-sizing: border-box;
}

