* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 75px;
    width: auto;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #00d4ff;
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item a:hover {
    color: #00d4ff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
}

.hero-content {
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: #00d4ff;
    color: #0f1419;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.cta-button:hover {
    background-color: #00b3e6;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.6);
}

/* Particles Effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background-color: rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp 10s infinite ease-in;
    width: 5px;
    height: 5px;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-10vh) translateX(50px);
        opacity: 0;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: rgba(26, 35, 50, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #00d4ff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px; /* Se mantiene el padding de 40px */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center; /* Centra el texto dentro de la tarjeta */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

/* Estilos para las imágenes dentro de los íconos de servicio */
.service-icon img {
    width: 80px; /* Increased size for images */
    height: 80px; /* Ensures height matches width */
    object-fit: contain; /* Mantiene la relación de aspecto de la imagen */
    display: block; /* Permite usar margin auto para centrar */
    margin: 0 auto; /* Centra la imagen horizontalmente */
    padding: 10px; /* Añade un poco de espacio alrededor de la imagen */
}

/* Asegura que el contenedor del ícono también esté centrado y tenga un tamaño adecuado */
.service-icon {
    display: flex; /* Usa flexbox para centrar el contenido vertical y horizontalmente */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: 90px; /* Ajusta la altura del contenedor para acomodar la imagen más pequeña */
    margin-bottom: 15px; /* Espacio debajo del ícono */
}

/* Ajusta el tamaño de la fuente para el título del servicio */
.service-card h3 {
    font-size: 1.5rem; /* Ejemplo: un poco más grande para el título del servicio */
    margin-top: 10px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.about-text strong {
    color: #00d4ff;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: rgba(26, 35, 50, 0.5);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.sales-advisors {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.sales-advisors h3 {
    color: #00d4ff;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.advisors-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.8;
    font-size: 1.1rem;
}

.advisors-grid {
    display: grid;
    grid-template-columns: 1fr; /* Una columna por defecto */
    gap: 2rem;
    margin-bottom: 2rem;
}

.advisor-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.advisor-image {
    position: relative;
    flex-shrink: 0;
}

.advisor-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00d4ff;
}

.advisor-status {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(15, 20, 25, 0.9);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #00d4ff;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4CAF50; /* Green for online */
}

.advisor-info h4 {
    color: #00d4ff;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.advisor-info p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.advisor-info .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366; /* WhatsApp green */
    color: #ffffff;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.advisor-info .whatsapp-btn:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
}

.whatsapp-icon {
    font-size: 1.1rem;
}

.advisor-schedule {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.emergency-contact {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    text-align: center;
}

.emergency-contact h4 {
    color: #ff4d4d; /* Red for emergency */
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.emergency-contact p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ff4d4d;
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.emergency-btn:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
    color: #00d4ff;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item span {
    font-size: 1.8rem;
    color: #00d4ff;
    flex-shrink: 0;
}

.contact-item strong {
    color: #ffffff;
    font-size: 1.1rem;
}

.contact-item small {
    display: block;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #0f1419;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .advisors-grid {
        grid-template-columns: 1fr; /* Asegura una columna en móvil */
    }
}

/* Floating particles effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background-color: rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp 10s infinite ease-in;
    width: 5px;
    height: 5px;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-10vh) translateX(50px);
        opacity: 0;
    }
}


/* Estilos para el banner de consentimiento de cookies */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 20, 25, 0.95); /* Fondo oscuro semitransparente */
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Permite que los elementos se envuelvan en pantallas pequeñas */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000; /* Asegura que esté por encima de otros elementos */
    transition: transform 0.3s ease-in-out; /* Animación para mostrar/ocultar */
    transform: translateY(100%); /* Inicialmente oculto */
}

.cookie-consent-banner.show {
    transform: translateY(0); /* Muestra el banner */
}

.cookie-consent-banner p {
    margin: 0;
    flex-grow: 1; /* Permite que el texto ocupe el espacio disponible */
    margin-right: 20px; /* Espacio entre el texto y el botón */
}

.cookie-consent-banner .cookie-policy-link {
    color: #00d4ff; /* Color de enlace que coincida con tu tema */
    text-decoration: underline;
    margin-left: 5px;
    cursor: pointer; /* Indica que es un elemento clickeable */
}

.cookie-consent-banner .cookie-accept-btn {
    background-color: #00d4ff; /* Color de botón que coincida con tu tema */
    color: #0f1419;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap; /* Evita que el botón se rompa en varias líneas */
}

.cookie-consent-banner .cookie-accept-btn:hover {
    background-color: #00b3e6; /* Tono más oscuro al pasar el ratón */
    transform: translateY(-2px);
}

/* Responsive adjustments for the cookie banner */
@media (max-width: 768px) {
    .cookie-consent-banner {
        flex-direction: column; /* Apila los elementos verticalmente en pantallas pequeñas */
        text-align: center;
    }

    .cookie-consent-banner p {
        margin-right: 0;
        margin-bottom: 10px; /* Espacio entre el texto y el botón en móvil */
    }
}

/* Estilos para el Modal de Política de Privacidad */
.privacy-policy-modal {
    display: none; /* Oculto por defecto */
    position: fixed; /* Posición fija en la pantalla */
    z-index: 10001; /* Mayor que el banner de cookies */
    left: 0;
    top: 0;
    width: 100%; /* Cubre todo el ancho */
    height: 100%; /* Cubre toda la altura */
    overflow: auto; /* Permite scroll si el contenido es muy largo */
    background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semitransparente */
    backdrop-filter: blur(5px); /* Efecto de desenfoque */
    animation: fadeIn 0.3s ease-in-out; /* Animación de aparición */
}

.privacy-policy-modal.show {
    display: block; /* Muestra el modal */
}

.privacy-policy-content {
    background-color: #1a2332; /* Color de fondo del contenido del modal */
    margin: 5% auto; /* Centra el modal vertical y horizontalmente */
    padding: 30px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    width: 90%; /* Ancho del contenido */
    max-width: 800px; /* Ancho máximo para pantallas grandes */
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
    position: relative;
    color: #ffffff; /* Color del texto */
    animation: slideInTop 0.4s ease-out; /* Animación de entrada */
}

.privacy-policy-content h2,
.privacy-policy-content h3 {
    color: #00d4ff; /* Color para los títulos */
    margin-bottom: 15px;
}

.privacy-policy-content p,
.privacy-policy-content ul {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.privacy-policy-content ul {
    padding-left: 20px;
}

.privacy-policy-content ul li {
    margin-bottom: 5px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #00d4ff;
    text-decoration: none;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInTop {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Estilos para el overlay de la imagen */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro semitransparente */
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 1001; /* Asegura que esté por encima del header */
    cursor: pointer; /* Indica que se puede cerrar al hacer clic */
}

.image-overlay.show {
    display: flex;
}

/* Estilos para la imagen de tamaño completo */
.image-overlay img {
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Asegura que la imagen completa sea visible */
}