@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url();
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.certification-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.number-badge {
    font-size: 3rem;
    font-weight: 800;
    color: #1e40af;
}

.worker-image {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 12px;
    padding: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.btn-primary {
    background: #1e40af;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: #1e3a8a;
}

.value-item {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.value-item::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #1e40af;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .number-badge {
        font-size: 2.5rem;
    }
    
    .grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Form validation styles */
.contact-form input:invalid,
.contact-form select:invalid {
    border-color: #ef4444;
}

.contact-form input:valid,
.contact-form select:valid {
    border-color: #10b981;
}

/* ========================================
   BOTONES DE CONTACTO CON ANIMACIONES
   ======================================== */
.contact-feature-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-feature-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-feature-btn:hover::before {
    left: 100%;
}

.contact-feature-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-feature-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-feature-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.contact-feature-btn:hover .contact-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.5);
}

.contact-feature-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.contact-feature-content p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-align: left;
}

.contact-feature-content i.fa-arrow-right {
    transition: all 0.3s ease;
}

.contact-feature-btn:hover .contact-feature-content i.fa-arrow-right {
    transform: translateX(4px);
}

/* Animación de pulso para los iconos */
@keyframes pulse-icon {
    0%, 100% {
        box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.6);
    }
}

.contact-feature-btn:hover .contact-feature-icon {
    animation: pulse-icon 2s infinite;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .contact-feature-btn {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .contact-feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-feature-content p {
        font-size: 0.8rem;
    }
}