@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

/* Resetting box-sizing, margin, and padding */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* General body styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: white;
}

.contact-button {
    display: inline-block;
    padding: 12px 20px; /* Adjust padding */
    background-color: rgba(0, 9, 72, 1);
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    margin-left: auto; /* Push to the right */
}

.quote-button {
    display: inline-block;
    padding: 12px 30px; /* Adjust padding as needed */
    background-color: rgba(0, 9, 72, 1);
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
}

.quote-button:hover,
.contact-button:hover {
    background-color: rgba(0, 9, 72, 0.7);
}

/* List item, link, and button text styles */
li, a, button {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #edf0f1;
    text-decoration: none;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%; /* Adjust padding for smaller header */
    background-color: white;
}

.logo {
    margin-right: auto;
    width: 200px;
    height: 100px;
    cursor: pointer;
}

.nav {
    flex: 1; /* Make the nav section expand to fill available space */
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* Align links to the right */
    margin-right: 20px; /* Add margin to the right of the links */
}
.nav-links li {
    margin: 0 10px; /* Adjust spacing between links */
}

.nav-links a {
    color: rgba(0, 9, 72, 1);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: rgba(0, 9, 72, 0.5);
}

/* Center content styles */
.center-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60vh;
    position: relative;
    text-align: center;
}

.center-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(8px);
}

.center-text h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: white;
    z-index: 1;
}

.center-text p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: white;
    margin-top: 10px;
    z-index: 1;
}

/* Services section styles */
.services {
    padding: 50px 10%;
    background-color: white;
    text-align: center;
}

.section-heading {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 40px;
    color: rgba(0, 9, 72, 1);
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    width: 100%;
    max-width: 300px;
    padding: 2em 1.5em;
    background: linear-gradient(#fff 50%, rgba(0, 9, 72, 1) 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 5px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
    transition: background-position 0.5s;
}

.service-card h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: rgba(0, 9, 72, 1);
    margin: 1em 0;
}

.service-card p {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    letter-spacing: 0.03em;
}

.icon-wrapper {
    background-color: rgba(0, 9, 72, 1);
    margin: auto;
    font-size: 30px;
    height: 2.5em;
    width: 2.5em;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: background-color 0.5s;
}

.icon-wrapper:hover {
    background-color: rgba(0, 9, 72, 0.7);
}

/* About Us section styles */
.about-us {
    padding: 50px 10%;
    background-color: white;
    text-align: center;
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 2em 1.5em;
    background: linear-gradient(#fff 50%, rgba(0, 9, 72, 1) 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 5px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
    transition: background-position 0.5s;
}

.about-card h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 20px;
    color: rgba(0, 9, 72, 1);
}

.about-card p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: rgba(0, 9, 72, 1);
    line-height: 1.5;
}

/* Contacts section styles */
.contacts {
    padding: 50px 10%;
    background-color: white;
    text-align: center;
}

/* Contact Form Styling */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: rgba(0, 9, 72, 1);
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group i {
    margin-right: 10px;
    color: rgba(0, 9, 72, 1);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    background-color: rgba(0, 9, 72, 1);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: rgba(0, 9, 72, 0.8);
}

/* Footer styles */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10%;
    background-color: white;
    width: 100%;
}

.footer-left, .footer-right {
    color: rgba(0, 9, 72, 1);
}

.footer-left {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 15px; /* Add gap between icons */
}

.footer-right a {
    color: rgba(0, 9, 72, 1);
    text-decoration: none;
    display: flex;
    align-items: center; /* Align icons vertically */
    justify-content: center;
}

.footer-right i {
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-right a:hover i {
    color: rgba(0, 9, 72, 0.5);
}


/* Media queries for responsive design */
@media screen and (max-width: 500px) {
    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .header {
        padding: 15px 5%;
    }

    .logo {
       width: 150px; 
    }

    .nav-links {
        display: none; /* Hide nav links by default on mobile */
        flex-direction: column; /* Stack links vertically */
        width: 100%; /* Full width */
        text-align: center; /* Center align links */
    }

    .nav-links li {
        margin: 10px 0; /* Adjust vertical margin for links */
    }

    .contact-button {
        margin-top: 10px;
        margin-right: 0;
    }
}
