﻿:root {
    --body-font: "museo", serif;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: var(--body-font);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    margin: auto;
    height: 100%;
    text-align: center;
}

.header-strip {
    padding: 0.5rem 1rem;
    width: 100%;
    height: 50px;
    background-color: #192937;
}

.header-strip p {
    color: white;
    padding-top: 10px;
}

.header-strip a {
    color: white;
}

.content {
    max-width: 1300px;
    background-color: white;
    padding: 30px;
    margin: 0 auto 20px auto;
    line-height: 20px;
}

h1 {
    text-align: center;
    font-size: 35px;
    padding-bottom: 10px;
}

h2 {
    text-align: center;
}

p {
    color: rgb(58, 58, 58);
    text-align: center;
    max-width: 55ch;
    margin: 0 auto;
}

span {
    color: #d80c8c;
}
/* Added by JP */
.mdc-button__label {
    color: white !important;
}

img {
    text-align: center;
    width: 40%;
    margin: 20px 0 40px 0;
}

.main-text p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.services-section {
    background-color: #192937;
    width: 100%;
    padding: 50px 0;
}

.services-section h3 {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 30px;
    box-sizing: border-box;
}

.services-grid .which-service {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.services-grid .which-service img {
    width: 300px;
    max-width: 100%;
    height: auto;
    border: none;
    border-radius: 30px;
    margin: 20px 0 10px 0;
}

.services-grid .which-service svg {
    display: none;
}

.services-grid .which-service p {
    font-size: 14px;
    color: white;
}

.contact-us {
    background-image: url('images/background-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
   /* display: flex;*/
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    margin: 0 0 10px 0;
    /* Added by JP */
    padding: 80px 25px 0 25px;
}

.button {
    display: inline-block;
    margin: 20px 30px;
    padding: 15px 30px;
    background-color: #00a1e4;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #d80c8c;
    transform: translateY(-2px);
}

.form-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px 30px 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 1;
}

.form-title {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
    font-weight: normal;
}

.form-group-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-right: 15px;
}

.form-group:last-child {
    margin-right: 0;
}

.form-group label {
    text-align: left;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 1em;
    box-sizing: border-box;
    background-color: #f8f8f8;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: #00a1e4;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

footer {
    padding: 1rem 1rem;
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
}

footer p {
    padding: 5px;
    line-height: 1.4;
}

footer a {
    color: rgb(0, 0, 0);
}

/* Mobile styles */
@media (max-width: 866px) {
    .content {
        padding: 20px;
    }

    img {
        width: 80%;
    }

    h1 {
        font-size: 28px;
    }

    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .services-grid .which-service {
        flex: 0 0 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 0.75rem;
        width: 100%;
        max-width: 400px;
    }

    .services-grid .which-service img {
        display: none;
    }

    .services-grid .which-service svg {
        display: inline-flex;
        color: #f0f0f0;
        font-size: 1.2rem;
        width: 28px;
        height: 28px;
        min-width: 28px;
        justify-content: center;
        align-items: center;
        margin-right: 20px;
        padding-left:15px;
    }

    .services-grid .which-service p {
        color: white;
        margin: 0;
        max-width: none;
        text-align: left;
    }

    .form-group {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .form-group:last-child {
        margin-bottom: 0;
    }

    .button {
        margin: 15px 10px;
        padding: 12px 25px;
        font-size: 14px;
    }

    .form-container {
        padding: 20px;
        width: 90%;
    }

    .header-strip p {
        font-size: 14px;
        padding-top: 14px;
    }

    .header-strip a {
        color: white;
    }

    .form-title {
        font-size: 1.5em;
    }
}