body {
    background: radial-gradient(circle, #87ff50c5, #488b007c);
    margin: 0;
    padding: 0;
}

* {
    font-family: 'Gilmer', sans-serif;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #f3f3f3;
    box-shadow: 0px 0px 150px rgba(0, 0, 0, 0.7); 
    margin-top: 100px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
}

.infoDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
    margin: 20px;
    margin-bottom: 150px;
    font-size: x-large;
}

.contact-info {
    background: repeating-linear-gradient(
        60deg,                  /* Angle of the gradient */
        #ffc400,                /* Starting color */
        #ffc400 0%,             /* Color starts */
        #f4a300 25%,            /* Change to a slightly different shade for variety */
        #f4a300 50%,            /* End of the shade */
        #ffc400 50%,            /* Color returns */
        #ffc400 100%            /* End of the color */
    );
    background-size: 1.5px 1.5px; 
    color: white;
    width: 50%;
    height: 100%;
    padding: 20px;
    padding-left: 50px;
    border-top-left-radius: 15px; 
    border-bottom-left-radius: 60px; 
}

.contact-info p {
    margin: 5px 0;
}

.workingHours {
    background: #488b007c;
    width: 50%;
    height: 100%;
    padding: 20px;
    padding-left: 50px;
    border-top-right-radius: 60px; 
    border-bottom-right-radius: 15px; 
    color: white;
}

.map-container {
    position: absolute;
    bottom: 0; /* Position at the top */
    left: 50%;
    transform: translate(-50%, 40%); /* Center horizontally */
    width: 80%; /* Adjust width as needed */
    height: 300px; /* Adjust height as needed */
    border-radius: 15px; /* Optional: to match the rounded corners */
    overflow: hidden; /* Ensures iframe fits within container */
    z-index: 5;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 103.2%;
    transform: translateX(-1.6%);
    background: #1d1d1d;
    padding-bottom: 15px;
    margin-top: 20px;
    margin-bottom: -20px;
    color: white;
}

.form-container p {
    font-size: xx-large;
}

form {
    max-width: 300px; /* Controls the maximum width of the form */
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

label {
    margin: 10px 0 5px;
    font-weight: bold;
    width: 100%;
    color: #fff;
}

form input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form textarea {
    resize: none;
}

form button {
    width: 50%; /* Make button full-width */
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-size: larger;
}

form button:hover {
    background-color: #0056b3;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #1d1d1d;
    color: #fff;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 5px;
    width: 100%;
    bottom: 0;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
}

.modal-content {
    background-color: white;
    margin: 13% auto; /* 10% from the top and centered */
    padding: 20px;
    border-radius: 10px;
    width: 300px; /* Width of the modal */
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.checkmark-circle {
    margin: 0 auto 20px;
    width: 76px;
    height: 76px;
}

.checkmark-circle .checkmark {
    stroke: #66bb6a;
    stroke-width: 6;
    fill: none;
}

.checkmark-check {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db; 
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 47.5%;
    left: 47.5%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    padding: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1260px) {
    .infoDiv {
        font-size: larger;
    }
}

@media (max-width: 900px) {
    .container {
        width: 85%;
    }

    .infoDiv {
        flex-direction: column;
        margin-top: 50px;
        margin-bottom: 400px;
        font-size: 14px;
    }

    .contact-info {
        border-radius: 15px 15px 0 0;
        padding-right: 60px;
    }

    .workingHours {
        border-radius: 0 0 15px 15px;
        padding-right: 60px;
    }

    .map-container {
        position: absolute;
        left: 0;
        transform: translate(-5%, 130%);
        width: 110%;
        border-radius: 0px;
    }

    form {
        max-width: 200px;
    }

    .form-container p {
        font-size: larger;
    } 
}