@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Base styling */
/* Base styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    height: 100vh;
    font-family: "Barlow", sans-serif;

}

main.contact-us {

    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

h1 {
    font-size: 2rem;
    color: #0D93DD;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-form {
    width: 100%;
}

.form-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.input-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* Necessary for the pseudo-element */
}

.input-container input,
.input-container select,
.input-container textarea {
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    background: white;
    position: relative;
    z-index: 1;
    color: #333;
    height: 50px;
}

.input-container textarea {
    height: 150px;
    resize: none; /* Disable resizing */
}

.input-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    background: linear-gradient(to right, #074F77, #0D93DD); /* Gradient border */
    z-index: 0;
    padding: 2px; /* This creates the visible gradient border */
    box-sizing: border-box;
}

.input-container input,
.input-container select,
.input-container textarea {
    background-clip: padding-box; /* Ensures the background is only inside the padding */
}

.input-container input::placeholder,
.input-container select::placeholder,
.input-container textarea::placeholder {
    color: #555;
    font-size: 0.95rem;
}

.input-container input:focus,
.input-container select:focus,
.input-container textarea:focus {
    border-color: transparent;
    box-shadow: none;
}

.input-group select {
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    background: white;
    position: relative;
    z-index: 1;
    color: #333;
    height: 50px;
    background-clip: padding-box;
}


.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.checkbox-container label {
    color: #333;
}

.submit-button {
    background: linear-gradient(to right, #074F77, #0D93DD);
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
    height: 50px;
}

.submit-button:hover {
    background: linear-gradient(to right, #063D5C, #0B7BB2);
}

.additional-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.action-button {
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    flex: 1;
    transition: background-color 0.3s ease;
    background: linear-gradient(to right, #074F77, #0D93DD);
    text-decoration: none; /* Remove underline from links */
}

.action-button:hover {
    background: linear-gradient(to right, #063D5C, #0B7BB2);
}

.action-button img {
    margin-right: 10px;
    height: 40px;
}

@media (max-width: 1000px) {
    .form-group {
        flex-direction: column;
    }

    .additional-actions {
        flex-direction: column;
        gap: 15px;
    }
    main {
        padding-left: 10px; /* Margem à esquerda */
        margin-right: 10px; /* Margem à direita */
    }
}

