#contact {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#contact .container {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--b-shadow);
    overflow: hidden;
    padding: 25px;
}

.contact-form {
    background: var(--light-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--b-shadow);
    height: 100%;
}

.contact-form h3 {
    font-size: 1.7rem;
    font-weight: var(--f-weight-2);
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.form-control,
.form-select {
    height: 50px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    padding: 10px 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: var(--b-shadow);
}

textarea.form-control {
    height: auto;
    min-height: 150px;
}

.is-invalid {
    border-color: var(--red) !important;
}

.invalid-feedback {
    color: var(--red);
    font-size: 0.875em;
    margin-top: -15px;
    margin-bottom: 15px;
    display: none;
}

/* MODAL */
.confirmation-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 350px;
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.slide-out {
    animation: slideOut 0.5s forwards;
}

.form-check-label {
    margin-left: 5px;
}

.services-container {
    margin-bottom: 20px;
}

.services-title {
    margin-bottom: 10px;
    font-weight: var(--f-weight);
}

.form-check {
    margin-bottom: 8px;
}


/* STYLE MAPS */
.contact-map {
    position: relative;
    overflow: hidden;
    height: auto;
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--b-shadow);
    overflow: hidden;
}

.pulsing-marker {
    position: absolute;
    top: 24%;
    left: 44.5%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 1000;
    animation: pulse 1s infinite;
    opacity: 30%;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    70% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

.location-info {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
}

.location-info h3 {
    margin-bottom: 10px;
    font-weight: var(--f-weight-2);
    color: var(--secondary-color);
}

.location-info p {
    margin-bottom: 5px;
}

/* Responsividade */
@media (min-width: 992px) and (max-width: 1200px) {
.pulsing-marker {
        top: 24%;
        left: 42.8%;
    }

}
@media (min-width: 768px) and (max-width: 992x) {
    #contact {
        height: auto;
        padding: 5px;
    }

    .pulsing-marker {
        top: 24%;
        left: 44.8%;
    }

}

@media (max-width: 768px) {
    #contact {
        height: auto;
        padding: 10px;
    }

    .pulsing-marker {
        top: 24%;
        left: 43.2%;
    }

    .contact-map {
        margin-top: 25px;
    }
}