* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 80%;
}

header {
    background-color: #333;
    padding: 10px 0; /* Adjusted padding */
    position: fixed; /* Fixed position */
    top: 0;
    width: 100%;
    z-index: 999; /* Ensure the header stays on top of other elements */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    width: 150px; /* Adjusted logo size */
    margin-left: 400px; /* Added margin */
}


nav {
    flex-grow: 1; /* Added to make the nav take the remaining space */
    text-align: center; /* Center align the navigation */
    margin-top: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px; /* Adjusted margin */
    padding: 8px 12px; /* Adjusted padding */
    border-radius: 5px;
}

nav a:hover {
    background-color: #555; /* Changed hover background color */
}
.hero {
    position: relative;
    height: 100vh; /* Adjusted height to fill the viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background-size: cover; /* Adjusted background size */
    background-repeat: no-repeat; /* Prevent background image from repeating */
    background-position: center; /* Center the background image */
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1; /* put header in front of overlay */
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
    z-index: 1; /* put text in front of overlay */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
    z-index: 0; /* put overlay behind text */
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    text-align: center;
}

.btn {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #555;
}

.section {
    padding: 80px 0;
    margin-top: 100px;
}
.section-title {
    text-align: center; /* Center align the title */
    font-size: 60px; /* Increase font size */
    margin-bottom: 30px; /* Add some spacing below the title */
}

.service {
    margin-bottom: 40px;
}

.service h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0px auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer-left {
    margin-bottom: 20px;
}

.footer-left img {
    max-width: 500px;
}

.footer-center {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin-top: 20px;
    align-items: center;
    margin-left: 50px;
    margin-right: 50px;
}

.footer-logo {
    width: 200px;
    height: auto;
    margin-right: 20px;
}

.navigation,
.contact-info {
    flex: 1;
    text-align: center;
    margin-left:50px;
}
.contact-info img {
    width: 150px;
    margin-top: 10px;
}

.navigation h3,
.contact-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.navigation ul {
    list-style: none;
    padding: 0;
}

.navigation ul li {
    margin-bottom: 5px;
}

.navigation ul li a {
    color: #1197F9; /*Make Footer links look like blue links*/
    text-decoration: underline;
}

.contact-info p {
    margin-bottom: 5px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group textarea {
    resize: vertical;
    height: 150px;
}

button[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #555;
}
.process-steps {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    flex-direction: column;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 32px;
}

.step-box {
    padding: 20px;
    background-color: rgba(0, 0, 255, 0.2);
    border: 2px solid #00f;
    border-radius: 10px;
    transition: background-color 0.3s;
    height: 100%;
    max-width: 100%;
}

.step-box:hover {
    background-color: rgba(0, 0, 255, 0.4);
}

.step-box h3 {
    color: #333;
    margin: 0;
}
/* Service Sections */
.service-section {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.service-section .container {
    max-width: 80%;
    max-height: 100%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
}

.service-section .split {
    display: flex;
    flex-direction: row;
    max-width: 100%;
}

.service-section .half {
    width: 100%;
}

.service-section img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0px;
}

.service-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.service-section ul {
    list-style-type: none;
    padding: 0;
}

.service-section ul li {
    margin-bottom: 10px;
    font-size: 18px;
    text-align: center;
    position: relative;
}

/*bullet points before and after list items */
.service-section ul li::before {
    content: "\2022"; /* Character symbol for bullet point */
    position: relative; 
    color: #333; /* bullet point color */
}
.service-section ul li::after {
    content: "\2022"; /* Character symbol for bullet point */
    position: absolute; 
    color: #333; /* bullet point color */
}


/* Styling for services lists */

.service-section .half {
    background-color: rgba(211, 211, 211, 0.5);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#abouthome {
    background-color: #333; /* Dark grey background */
    color: #fff; /* White text color */
    padding: 30px 20px; /* Adjusted padding */
    text-align: center; /* Center align the text */
    font-size: 42px;
    font-family: brush script mt, cursive;
}

#abouthome p {
    max-width: 800px; /* Limiting the width of the text */
    margin: 0 auto; /* Center align the text */
}

.legal-statement {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 10px;
}
@media screen and (max-width: 767px) {
    .header-content nav {
        display: block;
    }
    
    .header-content #logo {
        margin-left: 0; /* Adjust the logo position */
    }

    .footer-content {
        flex-direction: row; /* Switch to row layout for desktops */
        justify-content: space-between; /* Align items to the start and end */
        align-items: flex-start;
        padding: 0;
    }

    .footer-left {
        order: 1; /* Set order to 1 to position it before navigation list */
        margin-bottom: 0; /* Reset margin for desktop */
    }

    .footer-center {
        flex: 2; /* Set a larger flex value for contact info to occupy more space */
        margin-left: 0; /* Reset margin for desktop */
    }

     .footer-left,
    .footer-center,
    .navigation,
    .contact-info {
        margin: 0; /* Reset margin for desktop */
    }

    .service-section .container {
        flex-direction: row; /* Change direction to row for larger screens */
    }

    .service-section .half {
        width: 100%; /* Set width to half for larger screens */
    }

}