@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4; 
}

.contato {
    position: relative;
    min-height: 100vh;
    padding: 50px 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contato-info {
    text-align: center;
    background-color: #ffffff; 
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    max-width: 1200px; 
    width: 100%; 
}

h1 {
    color: #00245b; 
    margin-bottom: 10px;
    font-size: 2.5em; 
}

h2 {
    color: #4a90e2; 
    margin-bottom: 30px;
    font-size: 1.5em; 
}

h3 {
    color: #00245b; 
    margin-bottom: 15px;
}

.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px; 
}

.box {
    flex: 1 1 250px; 
    padding: 20px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease;
}

.box:hover {
    transform: translateY(-10px); 
}

.icon {
    font-size: 2.5em;
    color: #4a90e2; 
    margin-bottom: 10px;
}

.box h3 {
    color: #00245b; 
    margin-bottom: 5px;
}

.box p {
    color: #333; 
}

.inputBox {
    margin-bottom: 20px;
    position: relative;
}

.inputBox input,
.inputBox textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    color: #333; 
    background-color: #ffffff; 
}

.inputBox span {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #aaa;
    pointer-events: none;
    transition: 0.2s;
}

.inputBox input:focus + span,
.inputBox textarea:focus + span,
.inputBox input:not(:placeholder-shown) + span,
.inputBox textarea:not(:placeholder-shown) + span {
    top: -10px;
    left: 10px;
    color: #4a90e2; 
    font-size: 0.8em;
}

input[type="submit"] {
    background-color: #4a90e2; 
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, transform 0.3s;
}

input[type="submit"]:hover {
    background-color: #003d7a; 
    transform: translateY(-2px); 
}

.social-media {
    margin-top: 30px;
    text-align: center;
}

.social-media h3 {
    color: #00245b;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #4a90e2; 
    color: #ffffff;
    font-size: 1.5em;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: #003d7a; 
    transform: scale(1.1); 
}

@media (max-width: 768px) {
    .contato {
        padding: 30px 10px;
    }

    .container {
        flex-direction: column; 
    }

    .box {
        flex: 1 1 auto; 
    }

    .inputBox {
        margin-bottom: 15px;
    }

    input[type="submit"] {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 1.3em;
    }
}
