/* ESTILOS CONTACT US - CORREGIDO Y MEJORADO */

:root {
    --primary: #0F1E38; /* Coherente con cabecera */
    --secondary: #94BA46;
    --accent: #94BA46;
    --light: #f8f9fa; /* Mismo que About Us */
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Misma fuente */
    background: #f8f9fa; /* Mismo fondo */
    margin: 0; 
    padding: 0; 
    color: #2c3e50; /* Mismo color de texto */
    line-height: 1.6; /* Mismo line-height */
}

/* Contact Info Superior - Estilo mejorado */
.contact {
    background: linear-gradient(135deg, #0F1E38 0%, #1a2d4d 100%);
    padding: 1rem 0;
    border-bottom: 3px solid #94BA46;
}

.list_contact {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.list_contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.list_contact i {
    color: #94BA46;
    font-size: 1.2rem;
}

/* Sección Contact Principal */
.contact-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    opacity: 1;
    transform: none;
}

.section-title {
    text-align: center !important;
    font-size: 2.5rem;
    margin-bottom: 3rem !important; /* Más espacio como About Us */
    color: var(--primary);
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px; /* Mismo ancho que About Us */
    height: 4px;
    background: var(--secondary);
    margin: 0.5rem auto !important;
    position: static !important;
    border-radius: 0; /* Sin bordes redondeados como About Us */
}

/* Formulario - Estilo coherente */
.contact-form {
    background: white; /* Fondo blanco como las cards de About Us */
    padding: 3rem; /* Más padding */
    border-radius: 10px; /* Mismo border-radius */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Misma sombra que About Us */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px); /* Efecto hover como value-card */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-group {
    margin-bottom: 1.5rem; /* Más espacio */
}

.form-group label { 
    display: block; 
    margin-bottom: .8rem; 
    font-weight: 600; /* Mismo peso de fuente */
    color: var(--primary); /* Color primario */
    font-size: 1.1rem; /* Tamaño coherente */
}

.form-control { 
    width: 100%; 
    padding: 1rem; /* Más padding */
    border-radius: 8px; 
    font-size: 1rem; 
    border: 2px solid #e9ecef; /* Borde más definido */
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(148, 186, 70, 0.25);
    background: white;
    transform: translateY(-2px); /* Efecto hover coherente */
}

/* Botón - Estilo mejorado */
.btn-book-estimate {
    background: linear-gradient(135deg, #94BA46, #7da538);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600; /* Mismo peso */
    padding: 1rem 3rem; /* Más padding */
    border: none;
    border-radius: 8px; /* Mismo border-radius */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(148, 186, 70, 0.4);
    display: inline-block;
    margin-top: 1rem;
}

.btn-book-estimate:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(148, 186, 70, 0.5);
    background: linear-gradient(135deg, #7da538, #94BA46);
}

/* Alertas */
.alert { 
    margin-top: 1rem; 
    padding: 1.2rem;
    border-radius: 8px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* ESTILOS FOOTER */
.footer-title {
    font-family: var(--bs-font-sans-serif);
    font-size: 1.6rem !important;
    font-weight: 600;
    color: #0F1E38 !important;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.footer-title:hover,
.footer-title.active {
    color: #94BA46 !important;
    transform: translateY(-2px);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: #94BA46;
    transition: left 0.3s ease;
}

.footer-title:hover::after {
    left: 0;
}

.footer-text {
    font-family: var(--bs-font-sans-serif);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #0F1E38;
}

.footer-section ul li a.footer-text {
    font-size: 1.1rem;
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a.footer-text:hover {
    color: #0d6efd;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.footer-social a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-social .fa-facebook {
    color: #1877f2 !important;
}

.footer-social .fa-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 3px solid #94BA46; /* Exactamente igual al de la cabecera */
    max-width: 1200px;
    margin: 0 auto;
}
.footer-bottom .footer-text {
    font-size: 1rem;
    color: white;
}
.site-footer {
    background-color:  #d1d5db !important; /* Azul de la cabecera */
    padding: 3rem 0 1rem;
    margin-top: 5rem;
    border-top: 4px solid #0F1E38; /* Borde verde en la parte superior */
    }
/* Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .list_contact {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .btn-book-estimate {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
        width: 100%;
    }
}