:root {
    --sambucus: #1b134a;
    --burnt-pumpkin: #c59161;
    --astrogranite: #707173;
    --december-sky: #d7d8d9;
    --snowflake: #eeefef;
    --sambucusbg: rgba(27, 19, 74, 0.1);
}

.contact_new {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 20px 0px;
}

/* Container principal que engloba ambos os cards */
.container-contact-new {
    display: flex;
    align-items: stretch; /* Mantém a mesma altura */
    gap: 0px; /* Remove espaço entre os cards */
    max-width: 800px;
    width: 100%;
    background-color: transparent;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Info Card dentro do mesmo container */
.info-card-contact-new {
    background: white;
    padding: 30px;
    border-radius: 15px 0 0 15px; /* Arredondamento só na esquerda */
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    border-right: 1px solid #ddd; /* Linha separando os cards */
}

.info-card-contact-new h3 {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
}

.info-card-contact-new p {
    font-size: 14px;
    color: gray;
    margin-bottom: 15px;
}

/* Caixa do formulário - mesma altura do info card */
.contact-card {
    background: white;
    padding: 30px;
    border-radius: 0 15px 15px 0; /* Arredondamento só na direita */
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Título do formulário */
.contact-card h2 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

/* Estilização dos inputs e textarea */
.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    background: #f9f9f9;
}

/* Ajuste para textarea */
.contact-card textarea {
    resize: none;
    height: 80px;
}

/* Botão de envio estilizado */
.contact-card button {
    width: 100%;
    padding: 12px;
    background: #c59161;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.contact-card button:hover {
    background: #1b134a;
}

/* RESPONSIVIDADE PARA MOBILE */
@media (max-width: 768px) {
    .container-contact-new {
        flex-direction: column;
        align-items: center;
    }

    .info-card-contact-new,
    .contact-card {
        width: 100%;
        border-radius: 15px;
        border-right: none;
        text-align: center;
    }
}

.pin-contact img {
    border: none;
    outline: none;
    transition: all 0.3s ease; 
    transform: scale(0.7); 
    display: inline-block; 
}

.img-backg-contatc img {
    border: none;
    outline: none;
    transition: all 0.3s ease; 
    transform: scale(0.7); 
    display: inline-block; 
}

.pin-contact {
    padding: 1px;
    width: 20px;
    height: 20px;
    
    
    vertical-align: middle;
    margin-right: 8px; /* Espaço entre o ícone e o texto */
}
.animated-card-wrapper-contact {    max-width: 800px;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 2px;
    background: #ffffff00;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1; /* Garante que a borda fique atrás do conteúdo */
}

/* Ajuste da borda animada para ficar no fundo */
.animated-border-contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    z-index: -1; /* Agora a borda fica atrás do conteúdo */
}

.animated-border-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        transparent 25%,
        var(--burnt-pumpkin) 25%,
        var(--burnt-pumpkin) 50%,
        transparent 50%,
        transparent 75%,
        var(--burnt-pumpkin) 75%
    );
    animation: rotate 60s linear infinite;
    z-index: -1; /* Mantém a animação atrás */
}

.animated-border-contact::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: white;
    border-radius: 6px;
    z-index: -1; /* Garante que não sobreponha o formulário */
}