@font-face {
    font-family: 'Righteous'; /* Nombre que usarás para referenciar la fuente en CSS */
    src: url('/fonts/Righteous-Regular.ttf') format('truetype');
    /* Puedes añadir otros formatos para mayor compatibilidad de navegadores,
       pero .ttf es un buen punto de partida. Por ejemplo:
       src: url('/fonts/Righteous-Regular.woff2') format('woff2'),
            url('/fonts/Righteous-Regular.woff') format('woff'),
            url('/fonts/Righteous-Regular.ttf') format('truetype');
    */
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Importante para rendimiento: asegura que el texto sea visible mientras carga la fuente */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #1a1a2e;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(74, 144, 226, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #4a90e2;
  	font-family: 'Righteous', sans-serif; /* Aplicar Righteous */
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #e8eaed;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #4a90e2;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(74, 144, 226, 0.1)), url('/images/hero-bg.jpg'); /* Adjusted path */
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(74, 144, 226, 0.1) 0%, rgba(26, 26, 46, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4a90e2, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Righteous', sans-serif; /* Aplicar Righteous */
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-button {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.hero-button.secondary {
    background: transparent;
    border: 2px solid #4a90e2;
    color: #4a90e2;
}

.hero-button.secondary:hover {
    background: #4a90e2;
    color: white;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 6rem 0;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%234a90e2" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%234a90e2" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
}

.stats-content {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: transform 0.3s;
  	font-family: 'Righteous', sans-serif; /* Aplicar Righteous */
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(74, 144, 226, 0.15);
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #4a90e2;
    font-weight: 700;
  	font-family: 'Righteous', sans-serif; /* Aplicar Righteous */
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #16213e, #1a1a2e);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #4a90e2;
    font-weight: 700;
  	font-family: 'Righteous', sans-serif; /* Aplicar Righteous */
}

.section-title p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
  
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(74, 144, 226, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #4a90e2;
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.2);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #4a90e2;
    font-weight: 600;
  	font-family: 'Righteous', sans-serif; /* Aplicar Righteous */
}

.service-card p {
    opacity: 0.9;
    line-height: 1.8;
}

/* Featured Projects */
.projects {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
}

.projects-grid {
    display: grid;
    gap: 2.5rem;
    margin: 3rem 0;
}

.project-card {
    background: rgba(74, 144, 226, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.2);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-info {
    padding: 2rem;
}

.project-badge {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #4a90e2;
  	font-family: 'Righteous', sans-serif; /* Aplicar Righteous */
}

.project-description {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Team */
.team {
    padding: 6rem 0;
    background: linear-gradient(135deg, #16213e, #1a1a2e);
    color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.team-card {
    text-align: center;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: #4a90e2;
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.2);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 3px solid #4a90e2;
}

.team-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4a90e2;
    font-weight: 600;
  	font-family: 'Righteous', sans-serif; /* Aplicar Righteous */
}

.team-card p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: rgba(74, 144, 226, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: #4a90e2;
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.15);
}

.stars {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.9;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4a90e2;
}

.author-info h5 {
    margin-bottom: 0.3rem;
    color: #4a90e2;
    font-weight: 600;
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #16213e, #1a1a2e);
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #4a90e2;
    font-weight: 700;
  	font-family: 'Righteous', sans-serif; /* Aplicar Righteous */
}

.contact p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #0d1117;
    color: white;
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(74, 144, 226, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a90e2;
  	font-family: 'Righteous', sans-serif; /* Aplicar Righteous */
}

.footer-logo img {
    width: 30px;
    height: 30px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4a90e2;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* resources/css/landing.css */

/* ... (Tu CSS existente) ... */

/* WhatsApp Support Bubble */
.whatsapp-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366; /* Color de WhatsApp */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Sombra un poco más pronunciada */
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-bubble:hover {
    transform: scale(1.15); /* Efecto más pronunciado al pasar el mouse */
    background: #1da851; /* Tono más oscuro de verde */
}

/* WhatsApp Form Popup */
.whatsapp-form-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #252836; /* Un gris azulado oscuro, más cálido que el negro puro */
    border: 1px solid #4a90e2; /* Borde con tu color principal azul */
    border-radius: 12px; /* Esquinas un poco más redondeadas */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); /* Sombra más grande y oscura */
    width: 380px; /* Un poco más ancho */
    max-width: 90%;
    padding: 25px; /* Más padding */
    box-sizing: border-box;
    display: none;
    flex-direction: column;
    z-index: 1001;
    color: #e0e0e0; /* Color de texto general para el popup, más suave que el blanco puro */
    backdrop-filter: blur(18px); /* Más desenfoque */
    background: rgba(37, 40, 54, 0.98); /* Fondo con opacidad alta */
    animation: fadeInScale 0.3s ease-out forwards; /* Animación de aparición */
}

/* Animación de aparición */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.whatsapp-form-popup.show {
    display: flex;
}

.whatsapp-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px; /* Más padding */
    border-bottom: 1px solid rgba(74, 144, 226, 0.4); /* Borde más visible */
}

.whatsapp-form-header h3 {
    margin: 0;
    color: #4a90e2; /* Tu color principal azul */
    font-size: 1.6rem; /* Un poco más grande */
    font-family: 'Righteous', sans-serif; /* Tu fuente personalizada */
    letter-spacing: 0.5px; /* Ligero espaciado entre letras */
}

.whatsapp-form-header .close-btn {
    background: none;
    border: none;
    color: #a0a0a0; /* Gris más suave para el botón de cerrar */
    font-size: 2.2rem; /* Más grande */
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease-in-out;
    padding: 0 5px; /* Pequeño padding para el clic */
}

.whatsapp-form-header .close-btn:hover {
    color: #4a90e2; /* Cambia a tu azul principal al pasar el mouse */
    transform: rotate(90deg); /* Efecto al cerrar */
}

.whatsapp-form-popup .form-group {
    margin-bottom: 18px; /* Más espacio entre grupos de formulario */
}

.whatsapp-form-popup label {
    display: block;
    margin-bottom: 8px; /* Más espacio entre label y input */
    font-size: 0.9rem; /* Ligeramente más pequeño para las etiquetas */
    color: #b0b0b0; /* Un gris más claro para las etiquetas */
    font-weight: 500; /* Un poco más de peso */
}

.whatsapp-form-popup input[type="text"],
.whatsapp-form-popup input[type="tel"],
.whatsapp-form-popup input[type="email"], /* Nuevo input para email */
.whatsapp-form-popup textarea {
    width: 100%;
    padding: 12px 15px; /* Más padding dentro del input */
    border: 1px solid rgba(74, 144, 226, 0.4); /* Borde más visible */
    border-radius: 8px; /* Esquinas redondeadas para los inputs */
    background: rgba(74, 144, 226, 0.15); /* Fondo más opaco para los inputs */
    color: #e0e0e0; /* Color de texto dentro de los inputs */
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-form-popup input[type="text"]:focus,
.whatsapp-form-popup input[type="tel"]:focus,
.whatsapp-form-popup input[type="email"]:focus, /* Focus para email */
.whatsapp-form-popup textarea:focus {
    border-color: #4a90e2; /* Borde azul al enfocar */
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.4); /* Sombra al enfocar */
    background: rgba(74, 144, 226, 0.2); /* Ligero cambio de fondo al enfocar */
}

.whatsapp-form-popup textarea {
    resize: vertical;
    min-height: 90px; /* Un poco más alto por defecto */
    max-height: 200px;
}

.whatsapp-form-popup .send-whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #1da851); /* Degradado de WhatsApp */
    color: white;
    padding: 14px 25px; /* Más padding */
    border: none;
    border-radius: 30px; /* Más redondeado */
    font-size: 1.15rem; /* Texto un poco más grande */
    font-weight: 700; /* Más negrita */
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 25px; /* Más espacio arriba del botón */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
    letter-spacing: 0.8px; /* Ligero espaciado de letras */
    text-transform: uppercase; /* Texto en mayúsculas */
}

.whatsapp-form-popup .send-whatsapp-btn:hover {
    background: linear-gradient(135deg, #1da851, #25d366); /* Invertir degradado o cambiar tono */
    transform: translateY(-3px); /* Levanta un poco más el botón */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Placeholder color for inputs */
.whatsapp-form-popup input::placeholder,
.whatsapp-form-popup textarea::placeholder {
    color: rgba(255, 255, 255, 0.4); /* Placeholder más tenue */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-bubble {
        width: 55px; /* Un poco más grande en móvil */
        height: 55px;
        font-size: 26px;
        bottom: 25px;
        right: 25px;
    }

    .whatsapp-form-popup {
        bottom: 90px;
        right: 25px;
        width: calc(100% - 50px);
        padding: 20px;
    }
    .whatsapp-form-header h3 {
        font-size: 1.4rem;
    }
    .whatsapp-form-popup .send-whatsapp-btn {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .whatsapp-bubble {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-form-popup {
        bottom: 80px;
        right: 20px;
        width: calc(100% - 40px);
    }
}