/*
    Hoja de Estilos Personalizada para Tech Solutions
    -------------------------------------------------
    Define estilos y animaciones que complementan a Tailwind CSS.
*/

/* --- Estilos Generales del Body --- */
body { font-family: 'Inter', sans-serif; background-color: #030712; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0); background-size: 2rem 2rem; }
.mobile-nav-link { display: block; text-align: center; padding-top: 0.75rem; padding-bottom: 0.75rem; padding-left: 1rem; padding-right: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: rgb(209 213 219); }
.mobile-nav-link:hover { background-color: rgb(55 65 81); color: rgb(255 255 255); }
.nav-link { position: relative; transition: color 0.3s; }
.nav-link:hover { color: white; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background-color: #3b82f6; transition: width 0.3s ease-in-out; }
.nav-link:hover::after { width: 100%; }
.nav-active { color: white; }
.nav-active::after { width: 100%; }
.tech-logo { transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0.7; }
.tech-logo:hover { transform: scale(1.1); opacity: 1; }
.why-us-card { position: relative; background: #111827; border: 1px solid #374151; border-radius: 0.75rem; padding: 2rem; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.why-us-card:hover { transform: translateY(-8px); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.2), 0 8px 10px -6px rgb(0 0 0 / 0.2); }
.why-us-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%); z-index: 0; opacity: 0; transition: opacity 0.5s; }
.why-us-card:hover::before { opacity: 1; }
.why-us-card > * { position: relative; z-index: 1; }
.why-us-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.why-us-title { font-size: 1.25rem; font-weight: 600; color: #ffffff; margin-bottom: 0.5rem; }
.why-us-description { color: #9ca3af; }
.project-card { background-color: #111827; border: 1px solid #374151; border-radius: 0.75rem; padding: 1.5rem; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.project-card:hover { transform: translateY(-8px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.15); }
.project-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.project-icon { font-size: 1.75rem; color: #3b82f6; }
.project-title { font-size: 1.25rem; font-weight: 600; color: #ffffff; }
.project-description { color: #9ca3af; font-size: 0.95rem; line-height: 1.6; flex-grow: 1; margin-bottom: 1.5rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.project-tag { background-color: #374151; color: #d1d5db; font-size: 0.75rem; font-weight: 500; padding: 0.25rem 0.75rem; border-radius: 9999px; }
.project-links { display: flex; gap: 0.75rem; margin-top: auto; }
.project-btn { padding: 0.5rem 1rem; border-radius: 0.5rem; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; }
.project-btn-primary { background-color: #2563eb; color: #ffffff; }
.project-btn-primary:hover { background-color: #1d4ed8; }

/* --- ESTILOS SECCIÓN DE PROCESO DE TRABAJO (ACTUALIZADOS) --- */
.process-step { display: flex; align-items: center; gap: 1.5rem; position: relative; }
.process-icon { width: 60px; height: 60px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; border: 2px solid; }
.process-content { background-color: #1f2937; border: 1px solid #374151; padding: 1.5rem; border-radius: 0.75rem; width: 100%; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.process-title { font-size: 1.25rem; font-weight: 700; color: #ffffff; margin-bottom: 0.75rem; }
.process-description { color: #9ca3af; line-height: 1.6; }

@media (min-width: 768px) {
    .process-step { width: 50%; padding: 0 2.5rem; }
    .process-step:nth-child(odd) { align-self: flex-start; }
    .process-step:nth-child(even) { align-self: flex-end; }
    .process-icon { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background-color: #111827; }
    .process-step:nth-child(odd) .process-icon { right: -30px; transform: translate(50%, -50%); }
    .process-step:nth-child(even) .process-icon { left: -30px; transform: translate(-50%, -50%); }
    .process-content { position: relative; }
}

/* --- ESTILOS BOTÓN FLOTANTE DE WHATSAPP --- */
.whatsapp-fab { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background-color: #25D366; color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); z-index: 100; transition: transform 0.3s ease, background-color 0.3s ease; }
.whatsapp-fab:hover { background-color: #128C7E; transform: scale(1.1); }

/* --- Animaciones Keyframes --- */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in-down { animation: fadeInDown 1s ease-out forwards; }
.animate-fade-in-up { animation: fadeInUp 1s ease-out 0.3s forwards; opacity: 0; }