.nav-menu {
    margin-left: -100px;
    list-style: none;
    margin: auto;
    padding: auto;
    display: flex;
    
}.nav-menu {
    margin-left: -100px;
    list-style: none;
    margin: auto;
    padding: auto;
    display: flex;
    
}.nav-menu {
    margin-left: -100px;
    list-style: none;
    margin: auto;
    padding: auto;
    display: flex;
    
}.nav-menu {
    margin-left: -100px;
    list-style: none;
    margin: auto;
    padding: auto;
    display: flex;
    
}.nav-menu {
    margin-left: -100px;
    list-style: none;
    margin: auto;
    padding: auto;
    display: flex;
    
}.nav-menu {
    margin-left: -100px;
    list-style: none;
    margin: auto;
    padding: auto;
    display: flex;
    
}.nav-menu {
    margin-left: -100px;
    list-style: none;
    margin: auto;
    padding: auto;
    display: flex;
    
}.nav-menu {
    margin-left: -100px;
    list-style: none;
    margin: auto;
    padding: auto;
    display: flex;
    
}/* Pantalla de carga */


.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;  
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-in-out, visibility 0s 1s; /* Agregamos la visibilidad y tiempo de espera */
    transform: translateY(0);
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.loading-screen .logo-container {
    text-align: center;
}

body {
    font-family: 'Roboto', sans-serif; /* Aplica Roboto a todo el cuerpo de la página */
}

h1, h2, h3, p {
    font-family: 'Open Sans', sans-serif; /* Aplica Open Sans a los títulos y párrafos */
}



.large-text {
    font-size: 1.2rem; /* Ajusta el tamaño según tu necesidad */
}
.loading-screen .logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.loading-screen .company-name {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.loading-screen .slogan {
    font-size: 1.2em;
    color: #777;
}

/* Transición de la pantalla de carga */
.loaded .loading-screen {
    opacity: 0; /* Hacerla invisible */
    visibility: hidden; /* Eliminarla completamente después de la transición */
    transition: opacity 1s ease-in-out, visibility 0s 1s; /* Aseguramos la transición con un retraso en la visibilidad */
}


body {
    
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Añade espacio entre los elementos */
}

.logo {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.company-name {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0;
    margin-right: 10px; /* Espacio a la derecha del nombre */
}

.slogan {
    font-size: 0.8em;
    color: #3c3c3c;
    margin: 0; /* Elimina márgenes automáticos */
    padding-left: 5px; /* Añade espacio a la izquierda */
    position: relative; /* Para poder usar pseudo-elementos si es necesario */
}

.sogan::before {
    content: '|';
    position: absolute;
    left: -10px;
    color: #666;
    opacity: 0.5;
}

.nav-menu {
    margin-left: -100px;
    list-style: none;
    margin: auto;
    padding: auto;
    display: flex;
    
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    box-shadow: #000000cd;
    
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: #e0dfdf;
    box-shadow: #000000cd;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1em;
    padding: 5px 10px;
    border-radius: 5px;
    position: relative; /* Necesario para posicionar la línea */
    transition: background-color 0.3s ease;
    box-shadow: #000000cd;
}

/* Línea naranja bajo el texto */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: orange;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;   /* alinear con el botón Noticias */
    right: auto;
}

/* Mostrar la línea cuando el mouse pasa por encima */
.nav-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
l

.hero-title {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
    will-change: transform;
}

.hero-subtitle {
    font-size: 1.5em;
    margin-top: 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
    will-change: transform;
}

.contact-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 998;
}

.contact-options {
    position: fixed;
    bottom: 90px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.contact-options.show {
    display: flex;
}

.contact-options a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.contact-button:hover {
    background-color: #555;
}

/*
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-menu {
        flex-direction: column;
    }
}
*/

/* Separador dinámico entre secciones */
/* Separador elegante con líneas y animaciones */
.separator {
    width: 80%;
    height: 50px; /* Altura mayor para un separador más prominente */
    background: transparent; /* Fondo transparente */
    margin: 50px auto; /* Centrado y espaciado vertical */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Líneas horizontales que atraviesan el separador */
.separator::before,
.separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 2px; /* Grosor de la línea */
    background: linear-gradient(to right, #f39c12, #e67e22); /* Gradiente metálico dorado */
    border-radius: 10px;
    transition: all 0.3s ease; /* Transición suave en hover */
}

/* Línea de la izquierda */
.separator::before {
    left: 0;
    transform: translateY(-50%);
}

/* Línea de la derecha */
.separator::after {
    right: 0;
    transform: translateY(-50%);
}

/* Efecto cuando se pasa el mouse sobre el separador */
.separator:hover::before,
.separator:hover::after {
    width: 45%; /* Aumentar el tamaño de las líneas al pasar el mouse */
    transform: translateY(-50%) scale(1.2); /* Efecto de escala para más impacto */
}

/* Centro del separador: texto con animación */
.separator span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    background: linear-gradient(90deg, #16a085, #1abc9c); /* Gradiente verde a verde más oscuro */
    -webkit-background-clip: text;
    background-clip: text;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s; /* Animación de desvanecimiento */
}

/* Animación de aparición */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}



/*footer diseño*/

.footer {
    padding: 2px;
    text-align: center;
    
    background: #ffffff;
    color: #2b2b2b;
    border-radius: 15px;
    margin-top: 20px;
}

.footer-logo img {
    max-width: 60px;
    margin-bottom: 10px;
}


.footer p {
    margin-top: 5px;
    font-size: 14px;
}





/* Estilos del apartado #para-ti */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Grid de servicios */
.services-grid {
    display: grid;
    padding: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Estilo de cada item de servicio */
.service-item {
    background: #ffffffaa;
    border-radius: 15px;
    box-shadow: 4px 4px 5px rgba(73, 73, 73, 0.477);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    position: relative;
    will-change: transform, box-shadow;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    /* Agregamos un retraso en la animación para cada item */
    animation-delay: 0.7s;
}

body.dark-mode .service-item {
    
    box-shadow: 4px 4px 5px rgba(255, 140, 0, 0.751);
}

/* Animación de aparición */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Imagen de cada servicio */
.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Título de servicio */
.service-item h3 {
    font-size: 1.6rem;
    color: #333;
    margin: 20px 0 10px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Descripción de servicio */
.service-item p {
    font-size: 1rem;
    color: #393939;
    padding: 0 15px 15px;
    line-height: 1.6;
}

/* Efecto hover con animaciones */
.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.service-item:hover img {
    transform: scale(1.05);
}

/* Estilo para los servicios cuando entran en pantalla (animación de entrada) */
.service-item:nth-child(1) {
    animation-delay: 0.3s;
}
.service-item:nth-child(2) {
    animation-delay: 0.4s;
}
.service-item:nth-child(3) {
    animation-delay: 0.5s;
}
.service-item:nth-child(4) {
    animation-delay: 0.6s;
}

/* Estilos para la sección de servicios */
#para-ti {
    padding: 80px 0;
    position: relative;
}

.section-heading {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Sombra más pronunciada */
    text-align: center;
    font-weight: 600; /* Texto más grueso */
    letter-spacing: 1px; /* Mejor espaciado entre letras */
}

.section-description {
    font-size: 1.2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Sombra más pronunciada */
    font-weight: 500; /* Texto más grueso */
    line-height: 1.6;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.15); /* Fondo un poco más oscuro */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    position: relative;
    overflow: hidden; /* Importante: contiene el efecto de brillo */
}

/* Efecto de brillo mejorado */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 30%,
        rgba(255, 255, 255, 0.07) 40%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.07) 60%,
        rgba(255, 255, 255, 0.03) 70%,
        transparent 100%
    );
    transform: rotate(45deg);
    transition: transform 0.8s;
    pointer-events: none; /* Evita que interfiera con interacciones */
    z-index: 2;
}

.service-card:hover::before {
    transform: rotate(45deg) translateY(100%);
}

/* Actualizar el contenido de la tarjeta */
.card-content {
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
}

/* Ajustar el efecto para el modo oscuro */
body.dark-mode .service-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .service-card::before {
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 30%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(255, 255, 255, 0.07) 50%,
        rgba(255, 255, 255, 0.05) 60%,
        rgba(255, 255, 255, 0.02) 70%,
        transparent 100%
    );
}

/* Actualizar la configuración de vanilla-tilt */
.js-tilt-glare {
    border-radius: 20px;
    overflow: hidden;
}

.card-content {
    position: relative;
    z-index: 1;
}

.service-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Sombra más pronunciada */
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Sombra sutil para el texto */
}

/* Modo oscuro */
body.dark-mode .service-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Efecto de brillo en hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.service-card:hover::before {
    transform: translateX(100%);
}

/*---------------------------------------------*/

/* Menú desplegable */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-arrow {
    display: none;
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

@media screen and (max-width: 768px) {
    .dropdown-arrow {
        display: inline-block;
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0%;
    min-width: 50px;
    background-color: #f0f0f0;
    border: 0px solid #ddd;
    border-radius: 0px;
    list-style: none;
    padding: 0px 0;
    margin: auto;
    display: none; /* Oculto por defecto */
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px); /* Desplazado inicialmente */
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1; /* Visible */
    transform: translateY(0); /* En posición */
}

.dropdown-menu li {
    padding: 0; /* Elimina el padding adicional */
}

.dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 20px 20px; /* Espaciado interno para todo el recuadro */
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 0px; /* Bordes redondeados para un mejor diseño */
}

.dropdown-menu li a:hover {
    background-color: rgba(51, 51, 51, 0.1); /* Fondo más suave al pasar el cursor */
    color: #333; /* Mantiene el texto legible */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Efecto de sombra sutil */
}

/*------------------------------------------------------------------*/


/* Estilos para la sección información */
#informacion {
    padding: 50px;
    background-color: #f9f9f9;
    text-align: center;
}

.informacion-content h2 {
    color: #333;
}

.informacion-content p {
    color: #666;
    font-size: 1.2em;
}




.letter-wrapper {
    position: relative;
    display: inline-block;
}

.letter {
    display: inline-block;
    line-height: 1em;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-title .letter {
    transform-origin: 50% 100%;
}

.hero-subtitle .letter {
    opacity: 0;
}



/* Estilos para la sección del equipo */
.team-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    width: 200px;
    height: 250px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.team-member h3 {
    font-size: 1.2em;
    margin-top: 10px;
    color: #333;
}

.team-member p {
    font-size: 1em;
    color: #666;
}


/* Estilos para la sección de ubicación */
#ubicacion {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.google-map iframe {
    border-radius: 10px;
}





/* Submenú oculto */
.submenu {
    position: absolute; /* Para que ocupe toda la pantalla */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0; /* Inicialmente invisible */
    transform: scale(0.9); /* Comienza ligeramente más pequeño */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Transición suave */
}

/* Estilo del submenú cuando está abierto */
.submenu.open {
    
    display: flex;
    opacity: 1;
    transform: scale(1); /* Se expande a su tamaño normal */
}

/* Contenido dentro del submenú */
.submenu-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 80%; /* Ajustado a un tamaño más apropiado */
    max-width: 600px; /* Máximo de 600px */
    position: relative;
}

/* Botón de cierre */
.close-btn {
    background: transparent;
    border: none;
    font-size: 30px;
    color: #333;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 1100; /* Asegura que la X esté encima */
}

.button-container {
    position: relative;
    text-align: right;
    margin: -150px 10px 10px auto;
    max-width: 500px;
  }
  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown button {
    background: #101111;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 1;
    min-width: 300px;
    padding: 15px;
  }

  .dropdown-content textarea {
    width: 100%;
    resize: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 14px;
  }

  .dropdown-content button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
  }

  .dropdown-content button:hover {
    background-color: #0056b3;
  }

  .dropdown-content a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: #25d366;
    padding: 10px;
    border-radius: 5px;
  }

  .dropdown-content a:hover {
    background-color: #20b358;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

/*-----------------------------------------------------------------*/

/*BOTON CONTACTO*/ 

.contact-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-button:hover {
    transform: scale(1.1);
}

/* Contenedor de botones desplegables */
.contact-options {
    position: fixed;
    bottom: 90px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease;
    transform: translateY(20px);
    opacity: 0; /* Inicia invisible */
    visibility: hidden;
}

/* Muestra las opciones de contacto cuando el botón está activo */
.contact-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Estilos de cada opción dentro de las opciones de contacto */
.contact-options a {
    display: block;
    background-color: #404241; /* Estilo similar al de WhatsApp */
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    font-size: 18px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-options a:hover {
    background-color: #20b358; /* Color más oscuro para el hover */
    transform: scale(1.1); /* Efecto de aumento en hover */
}

/* Estilos para la página de detalles de propiedad (CPG1) */
/* Estilos para la página de detalles de propiedad */
.property-showcase {
    display: flex;
    padding: 40px;
    gap: 40px;
    min-height: 80vh;
    background: #f8f9fa;
}

@media screen and (max-width: 768px) {
    .property-showcase {
        flex-direction: column;
        padding: 10px;
        gap: 15px;
        min-height: 60vh;
    }
}

@media screen and (max-width: 480px) {
    .property-showcase {
        padding: 8px;
        gap: 10px;
        min-height: auto;
    }

    .image-slider {
        height: 300px; /* Reduced height for smaller screens */
    }

    .property-title {
        font-size: 1.8rem; /* Smaller font size */
        margin-bottom: 20px;
    }

    .property-features {
        gap: 10px;
    }

    .feature-item {
        padding: 10px;
    }
}

body.dark-mode .property-showcase {
    display: flex;
    padding: 40px;
    gap: 40px;
    min-height: 80vh;
    background: #242424;
}


.image-gallery {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-slider {
    position: relative;
    width: 100%;
    height: 500px;
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translateX(0);
}

.slider-image.active {
    opacity: 1;
}

.image-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: white;
    transform: scale(1.1);
}

.image-dots {
    display: flex;
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .image-dots {
        gap: 5px; /* Reduce gap for smaller screens */
        justify-content: center; /* Center dots on mobile */
        margin-top: 10px; /* Add some spacing from content */
    }
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(164, 164, 164, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgb(60, 60, 60);
    transform: scale(1.2);
}

body.dark-mode .dot.active {
    background: white;
    transform: scale(1.2);
}

.property-details {
    flex: 1;
    padding: 20px;
}

.property-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    position: relative;
}

/* Media queries for mobile devices */
@media screen and (max-width: 768px) {
    .property-details {
        padding: 15px;
    }

    .property-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .property-details {
        padding: 10px;
    }

    .property-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}

body.dark-mode .property-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #d6d6d6;
    position: relative;
}

.property-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ff6b00;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    .property-features {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 15px;
    }
    .feature-item {
        padding: 8px;
        gap: 6px;
    }
}

@media screen and (max-width: 480px) {
    .property-features {
        gap: 6px;
        margin-bottom: 10px;
    }
    .feature-item {
        padding: 6px;
        font-size: 0.85em;
    }
}

body.dark-mode .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background:#333;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}


.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #ff6b00;
}

.feature-text h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

body.dark-mode .feature-text h4 {
    margin: 0;
    color: #d8d8d8;
    font-size: 1.1rem;
}

.feature-text p {
    margin: 5px 0 0;
    color: #666;
    font-size: 0.9rem;
}

body.dark-mode .feature-text p {
    margin: 5px 0 0;
    color: #d8d8d8;
    font-size: 0.9rem;
}

body.dark-mode .feature-text p {
    margin: 5px 0 0;
    color: #d3d3d3;
    font-size: 0.9rem;
}

.property-description {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@media screen and (max-width: 768px) {
    .property-description {
        padding: 10px;
        margin: 15px 0;
    }
}

@media screen and (max-width: 480px) {
    .property-description {
        padding: 10px;
        margin: 15px 0;
        border-radius: 8px;
    }
}

body.dark-mode .property-description {
    background: #333;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-now-btn {
    background: #ff6b00;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .contact-now-btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .contact-now-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        gap: 8px;
    }
}

.contact-now-btn:hover {
    background: #e65100;
    transform: translateY(-2px);
}

.contact-now-btn i {
    transition: transform 0.3s ease;
}

.contact-now-btn:hover i {
    transform: translateX(5px);
}


/* Botón de contacto expandido (con las opciones desplegadas) */
.contact-button.open {
    background-color: #16a085; /* Mismo tono que el hover, indicando que está activo */
}



/*contenido de agenda*/

.contenido-agenda {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    color: #fff;
    z-index: 1;
}

.botones-agenda {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.boton-agenda {
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2rem;
    color: #fff;
    background: #2e6399;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.boton-agenda:hover {
    background: #ffcc00;
    transform: translateY(-5px);
}

.calendly-container {
    display: none;
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.calendly-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}



/* Barra de desplazamiento personalizada */
::-webkit-scrollbar {
    width: 12px; /* Ancho de la barra */
}

/* Fondo de la barra de desplazamiento */
::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Color de fondo del track */
    border-radius: 10px;
}

/* Estilo de la "thumb" (la parte que se mueve) */
::-webkit-scrollbar-thumb {
    background-color: #f39c12; /* Color de la thumb */
    border-radius: 10px;
    border: 3px solid #f1f1f1; /* Espacio entre la thumb y el track */
}

/* Efecto hover en la "thumb" */
::-webkit-scrollbar-thumb:hover {
    background-color: #e67e22; /* Color al pasar el mouse */
}


/*Modo Oscuro*/

.dark-mode-button {
    position: fixed;
    right: 90px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background-color: #333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    overflow: hidden;
    padding: 0;
}

.mode-icon::before {
    content: '🌙';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .mode-icon::before {
    content: '☀️';
}

.dark-mode-button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .dark-mode-button {
    background-color: #f0c420;
}

/* Asegurarse de que el botón sea visible en ambos modos */
@media (max-width: 768px) {
    .dark-mode-button {
        width: 40px;
        height: 40px;
        right: 330px;
    }
    
    .mode-icon::before {
        font-size: 1em;
    }
}

/* Animación de transición para el modo oscuro */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Establece el color de fondo y texto para el modo oscuro */



/* Estilos para el modo oscuro (cuando se aplica la clase .dark-mode) */
/* Estilos base del modo oscuro */
body.dark-mode {
    background-color: #1a1a1a;
    color: #ffffff;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Header en modo oscuro */
body.dark-mode header {
    background-color: #2d2d2d;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Navegación en modo oscuro */
body.dark-mode .nav-menu a {
    color: #ffffff;
}

/* Estilo de la pantalla de carga */
body.dark-mode .loading-screen {
    background: #121212; /* Fondo oscuro */
    color: #e0e0e0;
}

/* Estilos para el modo oscuro (cuando se aplica la clase .dark-mode) */
body.dark-mode #loading-screen .logo-container .logo {
    content: url('../Resource/Logo/logo1.png'); /* Cambia el logo al modo oscuro */
}


/* Menú de navegación */
.nav-menu a {
    color: black; /* Texto oscuro por defecto */
}

body.dark-mode .nav-menu a {
    color: #e0e0e0; /* Texto claro cuando se aplica el modo oscuro */
}

.nav-menu a:hover,
body.dark-mode .nav-menu a.active {
    background-color: #e0dfdf1b;
}

/* Estilos para el encabezado */
header {
    background-color: #ffffff; /* Fondo claro */
    color: black; /* Texto oscuro */
}

body.dark-mode header {
    background-color: #1c1c1c; /* Fondo oscuro */
    color: #e0e0e0; /* Texto claro */
}

/* Submenú oscuro */
body.dark-mode .submenu.open {
    background: rgba(0, 0, 0, 0.9); /* Fondo oscuro */
}

/* Fondo de la sección de información */
#informacion {
    background-color: #fff; /* Fondo claro */
    color: black; /* Texto oscuro */
}

body.dark-mode #informacion {
    background-color: #1a1a1a; /* Fondo oscuro */
    color: #e0e0e0; /* Texto claro */
}

body.dark-mode .informacion-content h2,
body.dark-mode .informacion-content p {
    color: #e0e0e0; /* Texto claro en el modo oscuro */
}

/* Sección de equipo */
.team-member {
    background-color: #fff; /* Fondo claro */
    color: black; /* Texto oscuro */
}

body.dark-mode .team-member {
    background-color: #333; /* Fondo oscuro */
    color: white; /* Texto claro */
}

body.dark-mode .team-member:hover {
    background-color: #444; /* Fondo más claro en hover */
}

/* Estilos de los cuadros de proyectos */
body.dark-mode .project-card {
    background-color: #222; /* Fondo oscuro */
    color: white; /* Texto claro */
}

body.dark-mode .project-card:hover {
    background-color: #333; /* Fondo ligeramente más claro en hover */
}

body.dark-mode .project-info {
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Sombra de texto para mayor contraste */
}

/* Estilo de los botones de contacto */
body.dark-mode .contact-button {
    background-color: #444; /* Fondo oscuro */
    color: white; /* Texto claro */
}

body.dark-mode .contact-button:hover {
    background-color: #555; /* Fondo ligeramente más claro en hover */
}

/* Estilo de las tarjetas de servicio */


body.dark-mode .service-item {
    background: #141414c5;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    position: relative;
    will-change: transform, box-shadow;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 0.5s forwards; 
    animation-delay: 0.7s;
}

/* Animación de aparición */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Imagen de cada servicio */
body.dark-mode .service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Título de servicio */
body.dark-mode .service-item h3 {
    font-size: 1.6rem;
    color: #d3d3d3ce;
    margin: 20px 0 10px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Descripción de servicio */
body.dark-mode .service-item p {
    font-size: 1rem;
    color: #d3d3d3ce;
    padding: 0 15px 15px;
    line-height: 1.6;
}

/* Efecto hover con animaciones */
.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

body.dark-mode .service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.223); /* Sombra más intensa */
}

/* Fondo del menú desplegable */
body.dark-mode .dropdown-menu {
    background-color: #222; /* Fondo oscuro */
    color: #e0e0e0; /* Texto claro */
}

/* Estilo de los enlaces del submenú */
body.dark-mode .dropdown-menu li a {
    color: #e0e0e0; /* Texto claro */
}

body.dark-mode .dropdown-menu li a:hover {
    background-color: rgba(65, 65, 65, 0.2); /* Efecto suave al pasar el cursor */
}

/* Fondo de los separadores */
body.dark-mode .separator {
    background: transparent;
    color: #e0e0e0;
}

body.dark-mode .separator::before,
body.dark-mode .separator::after {
    background: linear-gradient(to right, #f39c12, #e67e22); /* Puedes mantener el gradiente o hacerlo más oscuro */
}

/* Estilo del modo oscuro en el submenú */
body.dark-mode .submenu.open {
    background: rgba(0, 0, 0, 0.8);
    color: #e0e0e0;
}

/* Efecto hover en los botones */
body.dark-mode .service-item:hover {
    background-color: #444; /* Fondo más claro en hover */
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.3); /* Sombra sutil */
}

/* Animación de desvanecimiento */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body.dark-mode .logo {
    content: url('../Resource/Logo/logo1.png');
    width: 50px;
    height: auto;
    margin-right: 10px;
}


::-webkit-scrollbar-thumb:hover {
    background-color: #e67e22; /* Color al pasar el mouse */
}

/* Estilos para el modo oscuro */
body.dark-mode::-webkit-scrollbar-track {
    background-color: #333; /* Fondo oscuro para el track */
}

body.dark-mode::-webkit-scrollbar-thumb {
    background-color: #f39c12; /* Color de la thumb en modo oscuro */
    border: 3px solid #444; /* Mejor contraste en modo oscuro */
}

body.dark-mode::-webkit-scrollbar-thumb:hover {
    background-color: #e67e22; /* Color al pasar el mouse en modo oscuro */
}

#nosotros {
    position: relative;
    min-height: 80vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    gap: 30px;
}

#nosotros .content {
    flex: 1;
    padding: 40px;
    transform: translateX(-50px);
    color: #333; /* Asegura que el texto sea visible */
}

#nosotros h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: #333; /* Color directo en lugar de gradiente */
    position: relative;
}

#nosotros p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #666;
}

#nosotros ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

#nosotros ul li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #666;
}

#nosotros ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #d37a2d;
}

.model-container {
    flex: 1;
    height: 400px;
    position: relative;
    background: rgba(0, 0, 0, 0);
    border-radius: 15px;
    overflow: hidden;
    
}

/* Dark mode */
body.dark-mode #nosotros .content {
    color: #fff;
}

body.dark-mode #nosotros h2 {
    color: #fff;
}

body.dark-mode #nosotros p,
body.dark-mode #nosotros ul li {
    color: #e0e0e0;
}

/*footer diseño*/

body.dark-mode .footer {
    padding: 2px;
    text-align: center;
    
    background: #1e1e1e;
    color: #ffffff;
    border-radius: 15px;
    margin-top: 20px;
}

.footer-logo img {
    max-width: 60px;
    margin-bottom: 10px;
}

body.dark-mode .footer-logo img {
    max-width: 60px;
    margin-bottom: 10px;
    content: url('../Resource/Logo/logo1.png');
}


.footer p {
    margin-top: 5px;
    font-size: 14px;
}




body.dark-mode .card-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.card-details p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #515050;
}

body.dark-mode .card-details p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #d0d0d0;
}


.btn-details {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    color: white;
    background: #e67e22;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

.btn-details:hover {
    background: #9d5a0e;
    transform: scale(1.1);
}


.section-title {
    font-size: 3.5rem; /* Título más grande */
    color: rgb(50, 50, 50);
    background: linear-gradient(120deg, #ececec, #d3d3d3); /* Fondo degradado elegante */
    padding: 20px 30px; /* Espaciado interno */
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Sombra para destacar */
    position: relative;
    display: inline-block;
    text-align: left; /* Alineación del texto */
    margin-left: 20px; /* Desplazar el recuadro hacia la izquierda */
    margin-bottom: 30px;
    animation: slideInFromLeft 1s ease-out; /* Animación al cargar */
}

body.dark-mode .section-title {
    font-size: 3.5rem; /* Título más grande */
    color: rgb(223, 223, 223);
    background: linear-gradient(120deg, #1e1e1e, #2d2c2c); /* Fondo degradado elegante */
    padding: 20px 30px; /* Espaciado interno */
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Sombra para destacar */
    position: relative;
    display: inline-block;
    text-align: left; /* Alineación del texto */
    margin-left: 20px; /* Desplazar el recuadro hacia la izquierda */
    margin-bottom: 30px;
    animation: slideInFromLeft 1s ease-out; /* Animación al cargar */
}

/* Animación para hacer aparecer el título desde la izquierda */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Agregar un pequeño detalle decorativo (línea debajo del título) */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 4px;
    background: #d37a2d;
    border-radius: 10px;
    animation: expandLine 2s ease-out forwards;
}

@keyframes expandLine {
    from {
        width: 10%;
    }
    to {
        width: 30%;
    }
    to {
        width: 50%;
    }
    to {
        width: 75%;
    }
    to {
        width: 100%;
    }
    
}


/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

body.dark-mode .modal {
    background: rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 90%;
    max-width: 800px;
    height: auto;
    max-height: 90vh;
    position: relative;
    color: var(--text-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    margin: 0 auto;
}

body.dark-mode .modal-content {
    background: rgba(30,30,30,0.7) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

body.dark-mode .modal-content h2 {
    color: #ffffff;
}

body.dark-mode .modal-content p {
    color: #e0e0e0;
}

body.dark-mode .modal-content input,
body.dark-mode .modal-content textarea {
    background: #333333;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .modal-content input:focus,
body.dark-mode .modal-content textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.2);
}

body.dark-mode .modal-content label {
    color: #e0e0e0;
}

body.dark-mode .modal-content button {
    background: var(--primary-color);
    color: #ffffff;
}

body.dark-mode .modal-content button:hover {
    background: var(--secondary-color);
}

@media screen and (max-width: 480px) {
    .modal-content {
        padding: 10px;
        width: 90%;
        max-height: 80vh; /* Limita la altura máxima */
        overflow-y: auto; /* Permite scroll si el contenido es muy largo */
    }

    .modal-content h2 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .modal-content form {
        gap: 8px;
        display: flex;
        flex-direction: column;
    }

   
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal:not(.hidden) {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.modal-content {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

.modal:not(.hidden) .modal-content {
    opacity: 1;
    transform: scale(1);
}

/* Efecto de desenfoque del fondo */
.modal::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal:not(.hidden)::before {
    opacity: 1;
}

/* Contenedor principal para video o imagen */
.video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    background-color: #000;
}

/* Video o imagen principal */
#main-content-container img,
#main-content-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: contain;
}

/* Carrusel de imágenes */
.image-carousel {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.carousel-item {
    cursor: pointer;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 5px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    transition: border 0.3s ease;
}

.carousel-item.active {
    border: 2px solid #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    transition: all 0.3s;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item:hover {
    border: 2px solid #d37a2d;
}

/* Estilo básico del botón de cierre */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    color: #343434;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    
}

body.dark-mode .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    color: #d6d6d6;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    
}

/* Efecto al pasar el ratón por encima (hover) */
.close-btn:hover {
    color: #FF6347; /* Color de la cruz cuando se pasa el ratón */
    transform: scale(1.2) rotate(10deg); /* Efecto de escala y rotación */
    
}

/* Efecto de clic (active) */
.close-btn:active {
    transform: scale(0.9) rotate(-10deg); /* Escala hacia abajo y rotación hacia el otro lado */
    color: #FF4500; /* Cambia el color al hacer clic */
    
}

/* Animación de entrada */
@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

/* Aplica la animación al botón cuando aparece */
.close-btn {
    animation: bounceIn 0.6s ease-out;
}



/* Estilo para los botones */
 .btn-separate {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 5px;
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}


/* Estilo para el botón Separar */
.btn-separate {
    background-color: #28a745;
}

.btn-separate:hover {
    background-color: #218838;
}

/*----------------------------------------------------*/


/* Contenedor principal de pago */
.payment-container {
    margin-top: 120px;
    padding: 25px;
    max-width: 600px;
    margin: 100px auto;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hover sobre el contenedor */
.payment-container:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Título del formulario */
.payment-container h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilo para los campos de formulario */
.form-group {
    margin-bottom: 20px;
    position: relative;
    font-family: 'Roboto', sans-serif; /* Fuente moderna y elegante */
}

/* Etiquetas de los campos */
.form-group label {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-weight: bold;
}

/* Inputs de texto y selectores */
.form-group input,
.form-group select {
    width: 95%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #d37a2d; /* Color principal */
    box-shadow: 0 4px 8px #bc712f(0, 123, 255, 0.2);
    outline: none;
}

/* Botones */
.button {
    display: inline-block;
    background-color: #d37a2d; /* Azul elegante */
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #d37a2d; /* Azul más oscuro */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Etiquetas */
.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

/* Input de los campos */
.form-group input {
    width: 95%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

/* Foco en los campos de entrada */
.form-group input:focus {
    border-color: #d37a2d;
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(211, 122, 45, 0.3);
}

/* Efecto de animación en los iconos de pago */
.payment-methods {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

.payment-methods img {
    width: 50px;
    height: auto;
    margin: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Efecto hover sobre los iconos */
.payment-methods img:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

/* Botones de acción */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 10px; /* Añadido para mantener separación consistente */
}

/* Botón principal */
.btn {
    flex: 1; /* Permite ajustar los botones proporcionalmente */
    padding: 14px 25px;
    background-color: #d37a2d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Efecto de hover sobre los botones */
.btn:hover {
    background-color: #976131;
    transform: translateY(-5px);
}

/* Botón de cancelar o regresar */
.btn-secondary {
    flex: 1;
    padding: 14px 25px;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-5px);
}

/* Formulario para Pago en Efectivo */
#cash-payment-form {
    display: none; /* Por defecto oculto */
    margin-top: 20px;
}

/* Asegurar que los campos del formulario de efectivo sean consistentes */
#cash-payment-form .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

#cash-payment-form .form-group label {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-weight: bold;
}

/* Asegurar que los botones dentro de este formulario sigan los estilos generales */
#cash-payment-form .form-actions .btn {
    padding: 14px 25px;
    background-color: #d37a2d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#cash-payment-form .form-actions .btn:hover {
    background-color: #976131;
    transform: translateY(-5px);
}

#cash-payment-form .form-actions .btn-secondary {
    background-color: #6c757d;
}

#cash-payment-form .form-actions .btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-5px);
}
.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.dark-mode .close-btn {
    color: #ffffff;
}

.dark-mode .video-container {
    background-color: #000000;
}

.dark-mode .departamento-card {
    background-color: #1e1e1e;
    color: #ffffff;
}

.dark-mode .modal-content {
    background-color: #1e1e1e;
    color: #ffffff;
}



.buttons {
    display: flex;
    justify-content: center;
    gap: 15px; 
    margin-top: 45px;
  }
  .buttons a {
    width: 50px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    background: #333;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
  }
  .buttons a.fa-facebook:hover{
    background: #007bff; 
    transform: scale(1.5); 
  }
  .buttons a.fa-whatsapp:hover{
    background: #25D366ff; 
    transform: scale(1.5); 
  }
  .buttons a.fa-instagram:hover{
    background: #E1306CFf; 
    transform: scale(1.5); 
  }
  .buttons a.fa-linkedin:hover{
    background: #617286; 
    transform: scale(1.5); 
  }
  .buttons a.fa-youtube:hover{
    background: #FF0000; 
    transform: scale(1.5); 
  }

#background-video {
    transform: translateZ(0);
    will-change: opacity;
    transition: opacity 0.5s ease-out;
}

/* Media Queries para Responsive Design */
@media screen and (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 15px;
    }

    .section-heading {
        font-size: 2rem;
    }

    #nosotros {
        flex-direction: column;
        text-align: center;
        margin-top: -60px;
        padding: 30px;
    }

    #nosotros h2 {
        font-size: 2rem;
    }

    #nosotros p, #nosotros ul {
        font-size: 1rem;
    }   
    #para-ti{
        background: url('../Resource/background-para-ti3.html') center/cover no-repeat fixed !important;
    }   
}

@media screen and (max-width: 768px) {
    /* Header y Navegación */
    header {
        flex-direction: column;
        padding: 10px;
    }

    /* Agregar espacio para evitar superposición con header sticky */
    body {
        padding-top: 80px; /* Altura aproximada del navbar */
    }

    section:first-of-type,
    main > section:first-child,
    main > div:first-child,
    .anuncios-section {
        margin-top: 0;
        padding-top: 20px;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    .nav-menu li {
        margin: 5px 0;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    /* Servicios */
    .service-card {
        padding: 20px;
    }

    .card-content h3 {
        font-size: 1.3rem;
    }

    /* Botones flotantes */
    .contact-button, .dark-mode-button {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }

    .dark-mode-button {
        right: 70px;
    }

    .contact-options {
        right: 10px;
    }

    /* Footer */
    .footer {
        padding: 20px 10px;
    }

    .footer-logo img {
        max-width: 50px;
    }
}

@media screen and (max-width: 480px) {
    /* Contenedores principales */
    .container {
        padding: 10px;
    }

    /* Servicios */
    .service-card {
        padding: 15px;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    /* Separador */
    .separator {
        height: 30px;
        margin: 30px auto;
    }

    /* Nosotros */
    #nosotros .nosotros-image {
        max-width: 100%;
    }
    #para-ti{
        background: url('../Resource/background-para-ti2.jpg') center/cover no-repeat fixed !important;
    }   
    /* Botones de redes sociales */
    .buttons {
        gap: 10px;
    }

    .buttons a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Ajustes para dispositivos muy pequeños */
@media screen and (max-width: 320px) {
    .hero-title {
        font-size: 1.5em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .service-card {
        padding: 10px;
    }
}

/* Ajustes para la orientación horizontal en móviles */
@media screen and (max-height: 480px) and (orientation: landscape) {
    #inicio {
        height: 100vh;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Optimizaciones de rendimiento para dispositivos móviles */
@media (hover: none) {
    .service-card::before {
        display: none;
    }

    .service-card:hover {
        transform: none;
    }

    .buttons a:hover {
        transform: none;
    }
}

/* Ajustes para dispositivos de alta densidad de píxeles */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        transform: translateZ(0);
    }
}

/* Fix para el viewport en iOS */
@supports (-webkit-touch-callout: none) {
    .section {
        min-height: -webkit-fill-available;
    }
}

@media screen and (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    .company-name {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .slogan::before {
        display: none;
    }
}

/* Estilos para la sección de lanzamiento */
.launch-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0;
    color: #333;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.launch-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../Resource/Logo/logo.png') center/contain no-repeat;
    opacity: 0.03;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.launch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.countdown-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.launch-title {
    font-size: 3.5em;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #333, #007bff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.time-block {
    background: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    min-width: 120px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.time-block span {
    display: block;
}

.time-block .days,
.time-block .hours,
.time-block .minutes,
.time-block .seconds {
    font-size: 3em;
    font-weight: bold;
    color: #007bff;
}

.time-block .label {
    font-size: 1em;
    color: #666;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.launch-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.description-text {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-interest {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.register-interest:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(45deg, #0056b3, #003980);
}

/* Nuevos estilos para el contador mejorado */

.launch-countdown {
    margin-top: 40px;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(239, 144, 61, 0.3),
                    inset 0 0 10px rgba(211, 122, 45, 0.2);
    }
    to {
        box-shadow: 0 0 30px rgba(211, 122, 45, 0.5),
                    inset 0 0 15px rgba(211, 122, 45, 0.3);
    }
}

.countdown-title {
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.shine-text {
    font-size: 2em;
    font-weight: 600;
    background: linear-gradient(90deg, #d37a2d, #ff9f4a, #d37a2d);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 3s linear infinite;
    display: inline-block;
    position: relative;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.time-block {
    background: rgba(211, 122, 45, 0.1);
    padding: 20px;
    min-width: 100px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(211, 122, 45, 0.2);
}

.time-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(211, 122, 45, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine-effect 3s infinite;
}

@keyframes shine-effect {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.time-block:hover {
    transform: translateY(-5px);
}

.time-block .days,
.time-block .hours,
.time-block .minutes,
.time-block .seconds {
    font-size: 2.5em;
    font-weight: bold;
    color: #d37a2d;
    text-shadow: 0 0 10px rgba(211, 122, 45, 0.3);
    display: block;
    margin-bottom: 5px;
}

.time-block .label {
    font-size: 0.9em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}



body.dark-mode .time-block {
    background: rgba(211, 122, 45, 0.15);
    border-color: rgba(211, 122, 45, 0.3);
}

body.dark-mode .time-block .days,
body.dark-mode .time-block .hours,
body.dark-mode .time-block .minutes,
body.dark-mode .time-block .seconds {
    color: #ff9f4a;
}

body.dark-mode .time-block .label {
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .launch-countdown {
        margin-top: 30px;
        padding: 15px;
    }

    .shine-text {
        font-size: 1.5em;
    }

    .time-block {
        min-width: 80px;
        padding: 15px;
    }

    .time-block .days,
    .time-block .hours,
    .time-block .minutes,
    .time-block .seconds {
        font-size: 2em;
    }

    .time-block .label {
        font-size: 0.8em;
    }
}

/* Sección de departamentos */
.departamentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
}

.departamento-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

body.dark-mode .departamento-card {
    background: #1e1e1e;
    color: #ffffff;
}

/* Launch countdown section */
.launch-countdown {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 auto 120px;
    max-width: 800px;
    text-align: center;
}

body.dark-mode .launch-countdown {
    background: rgba(0, 0, 0, 0.2);
}

.countdown-title {
    margin-bottom: 20px;
}

.shine-text {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

body.dark-mode .shine-text {
    color: #ffffff;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.time-block {
    background: linear-gradient(145deg, #cdcdcd, #e0e0e0);
    padding: 15px;
    border-radius: 15px;
    min-width: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ...existing code... */
#userProfile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    cursor: pointer;
    position: relative;
}

#userProfile i {
    font-size: 1.2em;
    color: #333;
}

body.dark-mode #userProfile i {
    color: #fff;
}

#userName {
    font-size: 0.9em;
    color: #333;
}

body.dark-mode #userName {
    color: #fff;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
    overflow: hidden;
    margin-top: 5px;
}

body.dark-mode .user-dropdown {
    background: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.user-dropdown.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

body.dark-mode .user-dropdown a {
    color: #fff;
}

.user-dropdown a:hover {
    background-color: #f5f5f5;
}

body.dark-mode .user-dropdown a:hover {
    background-color: #444;
}

.user-dropdown i {
    width: 20px;
    text-align: center;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ...existing code... */

/* Actualizar estilos del contenedor de login */
#loginContainer {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    top: -2px; /* Subimos ligeramente todo el contenedor */
}

#loginLink {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
    padding: 0px 15px;
    position: relative;
    top: 0px; /* Subimos ligeramente el link de login */
}

#userProfile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0px 15px;
    height: 100%;
    margin: 0;
    cursor: pointer;
    position: relative;
    top: 1px; /* Subimos ligeramente el perfil de usuario */
}

/* Ajustamos la posición del dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% - 2px); /* Ajustamos la posición del dropdown */
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
    margin-top: 5px;
}

/* Tipología y botón descarga */
.tipologia-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
}
  
.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 17px;
    text-align: center;
}

.download-btn:hover {
    background-color: #0056b3;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .tipologia-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .download-btn {
        width: auto; /* Cambiado de 100% a auto */
        max-width: 200px; /* Añadido max-width */
        padding: 12px 15px;
        font-size: 16px;
        margin: 0 auto; /* Centrar el botón */
    }
}

@media screen and (max-width: 480px) {
    .tipologia-container {
        padding: 10px;
    }

    .download-btn {
        font-size: 14px;
        padding: 10px;
        max-width: 150px; /* Reducido para pantallas más pequeñas */
    }
}

/* ...existing code... */

/* Menú móvil */
.mobile-menu-button {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: #333;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-10px);
}

.hamburger::after {
    transform: translateY(10px);
}

/* Menú móvil activo */
.mobile-menu-button.active .hamburger {
    background: transparent;
}

.mobile-menu-button.active .hamburger::before {
    transform: rotate(45deg);
}

.mobile-menu-button.active .hamburger::after {
    transform: rotate(-45deg);
}

body.dark-mode .hamburger,
body.dark-mode .hamburger::before,
body.dark-mode .hamburger::after {
    background: #fff;
}

/* Bloquear scroll cuando el menú móvil está abierto */
body.menu-open {
    overflow: hidden;
}

/* Media queries para dispositivos móviles */
@media screen and (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 70px 0 140px 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
        overflow-x: hidden;
    }

    body.dark-mode .nav-menu {
        background: #1a1a1a;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);\n        position: relative;
        transform: translateZ(0);
        will-change: transform;
        background: #fff;
    }

    body.dark-mode .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: #1a1a1a;
    }

    .nav-menu > li > a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .dropdown {
        position: relative;
        z-index: 1;
    }

    .dropdown.active {
        z-index: 3;
    }

    .dropdown-menu {
        position: relative;
        background: #f8f8f8;
        box-shadow: none;
        display: none;
        padding: 0;
        margin: 0;
        width: 100%;
        border-radius: 0;
        z-index: 4;
        max-height: none;
        overflow: visible;
    }

    body.dark-mode .dropdown-menu {
        background: #2a2a2a;
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        margin: 0;
        background: #f0f0f0;
    }

    body.dark-mode .dropdown-menu li {
        background: #333;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu li a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
        display: block;
        color: #555;
        background: #fff;
    }

    body.dark-mode .dropdown-menu li a {
        color: #ccc;
        background: #2a2a2a;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown.active {
        background: rgba(0, 0, 0, 0.02);
    }

    body.dark-mode .dropdown.active {
        background: rgba(255, 255, 255, 0.03);
    }

    .dropdown-arrow {
        float: right;
        transition: transform 0.3s ease;
        font-size: 12px;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Ajustes para la sección de servicios */
    .services-container {
        grid-template-columns: 1fr;
    }

    /* Ajustes para la sección nosotros */
    #nosotros {
        flex-direction: column;
        padding: 20px;
    }
    #para-ti {
        background: url('../Resource/background-para-ti2.jpg') center/cover no-repeat fixed !important;
    }
    .model-container {
        height: 300px;
        margin-top: 30px;
    }

    /* Ajustes para el footer */
    .footer {
        padding: 20px;
    }

    /* Ajustes para los botones flotantes */
    .contact-button,
    .dark-mode-button {
        transform: scale(0.8);
        z-index: 998;
    }

    .dark-mode-button {
        right: 70px;
        z-index: 998;
    }

    /* Ocultar botones cuando el menú está abierto en móvil */
    body.menu-open .contact-button,
    body.menu-open .dark-mode-button,
    body.menu-open .social-buttons,
    body.menu-open news-sidebar {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    /* Asegurar que el botón de menú esté siempre visible */
    .mobile-menu-button {
        z-index: 1001 !important;
    }

    /* Ajustes para el hero section */
    .hero-title {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    /* Overlay para cuando el menú está abierto */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
    }

    #loginContainer {
        width: 100%;
        border-top: 2px solid rgba(255, 165, 0, 0.3);
        text-align: center;
        padding: 0;
        margin-top: auto;
    }

    #loginLink {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 15px 20px;
        gap: 8px;
    }

    #userProfile {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    #userProfile .profile-header {
        width: 100%;
        display: flex;
        gap: 10px;
        padding: 0;
    }

    #userProfile .profile-header a {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        padding: 0;
        gap: 8px;
    }

    .user-dropdown {
        width: 100%;
        position: static;
        background: transparent;
        box-shadow: none;
        margin-top: 5px;
    }

    .user-dropdown a {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: inherit;
    }

    /* Ocultar el ícono de círculo en móvil */
    #userProfile .fas.fa-user-circle {
        display: none;
    }

    #loginContainer {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }

    #loginLink {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 10px 0;
    }

    #userProfile {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    #userProfile .profile-header {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
    }

    #userProfile .profile-header a {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 8px 0;
    }

    .user-dropdown {
        width: 100%;
        position: static;
        background: transparent;
        box-shadow: none;
        margin-top: 5px;
    }

    .user-dropdown a {
        display: block;
        padding: 12px 15px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    
}

/* Estilos para la sección Nosotros */
#nosotros {
    display: flex;
    padding: 4rem 2rem;
    gap: 2rem;
    background: #f5f5f5;
}

body.dark-mode #nosotros {
    background: #1a1a1a;
}

#nosotros .content {
    flex: 1;
    padding-right: 2rem;
}

#nosotros .image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nosotros .about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#nosotros .about-image:hover {
    transform: scale(1.02);
}

@media screen and (max-width: 800px) {
    #nosotros {
        flex-direction: column;
        padding: 2rem 1rem;
    }
    #para-ti {
        background: url('../Resource/background-para-ti3.png') center/cover no-repeat fixed !important;
    }

    #nosotros .content {
        padding-right: 0;
    }

    #nosotros .image-container {
        margin-top: 2rem;
    }
}


.departamento-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: filter 0.3s;
}

/* Tipología del Proyecto Pueblo Libre 1 */
.tipologias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.tipologias-grid:nth-child(3) {
    width: 40%; /* Reduced from 60% to 40% */
    height: auto;
    display: flex;
    justify-content: center;
    gap: 8px; /* Reduced gap */
    padding: 8px; /* Reduced padding */
    margin: 15px auto; /* Reduced margin */
    max-width: 80px; /* Reduced from 100px to 80px */
}


.tipologias-grid .tipologia-container {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tipologias-grid .tipologia-img {
    width: 80%;
    height: auto;
    object-fit: cover;
    display: block;
}

.tipologia-info {
    background-color: #000; /* Fondo negro */
    color: #fff;
    padding: 5px 10px; /* Tamaño reducido */
    text-align: center;
    width: 100%;
    font-size: 14px; /* Tamaño de fuente estándar */
    border-radius: 0 0 10px 10px;
    font-family: "Times New Roman", Times, serif; /* Fuente específica */
}

/* Sección de botones de redes sociales */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 29px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.2); /* Efecto de agrandamiento */
}

/* Ajustes para móviles */
@media screen and (max-width: 768px) {
    .social-buttons {
        gap: 2px;
        margin-top: 15px;
        right: 10px; /* Added negative margin to move buttons left */
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Ajustes para dispositivos muy pequeños */
@media screen and (max-width: 320px) {
    .social-buttons {
        gap: 2px;
        margin-top: 10px;
        margin-left: -55px; /* Added negative margin for smaller screens */
    }

    .social-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

.facebook { background-color: #3b5998; } /* Color de Facebook */
.whatsapp  { background-color: #25D366; } /* Color de Whatsapp */
.youtube { background-color: #f21d1d; } /* Color de Youtube */
.instagram { background-color: #e4405f; } /* Color de Instagram */
.linkedin { background-color: #0077b5; } /* Color de LinkedIn */

/* Ajustes específicos para dispositivos muy pequeños (320px) */
@media screen and (max-width: 380px) {
    /* Header y navegación */
    .logo {
        width: 40px; /* Logo más pequeño */
    }

    .letters-main {
        font-size: 1.5rem; /* Nombre de compañía más pequeño */
    }

    .slogan {
        font-size: 0.7em; /* Slogan más pequeño */
    }

    /* Sección hero */
    .hero-title {
        font-size: 1.8em;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 0.9em;
        padding: 0 10px;
    }

    /* Sección de servicios */
    .service-card {
        padding: 10px;
        margin: 5px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.8rem;
    }

    /* Ajustes para la sección "Para ti" */
    .section-heading {
        font-size: 1.5rem;
        padding: 15px;
        margin-left: 10px;
    }

    .section-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    #para-ti {
        background: url('../Resource/background-para-ti3.png') center/cover no-repeat fixed !important;
    }
    /* Sección Nosotros */
    #nosotros {
        padding: 20px 10px;
    }

    #nosotros h2 {
        font-size: 1.5rem;
    }

    #nosotros p {
        font-size: 0.9rem;
    }

    #nosotros ul li {
        font-size: 0.9rem;
        padding-left: 20px;
    }

    /* Botones de redes sociales */
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .buttons {
        gap: 8px;
    }

    /* Botones flotantes */
    .contact-button, 
    .dark-mode-button {
        width: 35px;
        height: 35px;
        font-size: 1em;
        bottom: 15px;
    }

    .dark-mode-button {
        right: 60px;
    }

    /* Footer */
    .footer {
        padding: 15px 10px;
    }

    .footer-logo img {
        max-width: 40px;
    }

    .footer p {
        font-size: 0.8rem;
    }

    /* Menú de usuario */
    #userProfile {
        padding: 5px;
    }

    #userName {
        font-size: 0.8em;
    }

    .user-dropdown {
        min-width: 160px;
    }

    .user-dropdown a {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    /* Ajustes para modales y dropdowns */
    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .dropdown-menu {
        min-width: 200px;
    }

    /* Ajustes para la pantalla de carga */
    .loading-screen .logo {
        width: 80px;
    }

    .loading-screen .company-name {
        font-size: 1.5em;
    }

    .loading-screen .slogan {
        font-size: 1em;
    }
}

/* Ajustes de rendimiento para dispositivos pequeños */
@media (max-width: 320px) {
    /* Desactivar algunas animaciones en dispositivos muy pequeños */
    .service-card::before,
    .separator::before,
    .separator::after {
        display: none;
    }

    /* Optimizar rendering */
    .service-card,
    .hero-title,
    .hero-subtitle {
        transform: translateZ(0);
        will-change: transform;
    }
    #para-ti {
        background: url('../Resource/background-para-ti3.png') center/cover no-repeat fixed !important;
    }
    /* Ajustar el layout grid para una columna */
    .services-grid,
    .tipologias-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Optimizar imágenes para pantallas pequeñas */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Ajustes adicionales para orientación horizontal en dispositivos pequeños */
@media screen and (max-height: 480px) and (max-width: 320px) {
    #inicio {
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        padding: 40px 10px;
    }

    #para-ti {
        padding-top: 30px;
        background: url('../Resource/background-para-ti3.png') center/cover no-repeat fixed !important;
    }
    
}

/* Ajustes responsivos para la sección de departamentos */
@media screen and (max-width: 768px) {
    .animated-title {
        width: 100%;
        padding-inline: 8px;
        word-wrap: break-word;
        white-space: normal;
        text-align: center;
        overflow-wrap: break-word;
        font-size: 0.8rem; /* Further reduced font size */
    }
    .departamentos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }
    #para-ti {
        background: url('../Resource/background-para-ti3.png') center/cover no-repeat fixed !important;
    }

    .departamento-card {
        width: 100%;
        margin: 10px 0;
    }

    .card-details h3 {
        font-size: 1.2rem;
    }

    .card-details p {
        font-size: 0.9rem;
    }

    .btn-details,
    .btn-separate {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Ajustes para el modal */
    .modal-content {
        width: 95%;
        max-height: 90vh;
        padding: 15px;
    }

    .video-container {
        height: auto;
    }

    .image-carousel {
        padding: 10px;
    }

    .carousel-item {
        width: 60px;
        height: 60px;
    }

    /* Ajustes para la sección de tipologías */
    .tipologias-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tipologia-container {
        margin: 10px 0;
    }

    .tipologia-img {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .animated-title .main-title .letter {
        font-size: 2em;
    }

    .animated-title .subtitle {
        font-size: 1.2em;
    }
}

/* Ajustes específicos para dispositivos muy pequeños */
@media screen and (max-width: 380px) {
    .departamento-card {
        margin: 5px 0;
    }
    #para-ti {
        background: url('../Resource/background-para-ti3.png') center/cover no-repeat fixed !important;
    }
    .card-details h3 {
        font-size: 1.1rem;
    }

    .card-details p {
        font-size: 0.8rem;
    }

    .btn-details,
    .btn-separate {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

   

    .animated-title .main-title .letter {
        font-size: 1.5em;
    }

    .animated-title .subtitle {
        font-size: 1em;
    }

    .tipologia-info h3 {
        font-size: 1rem;
    }

    .tipologia-info p {
        font-size: 0.8rem;
    }
}

/* Ajustes para modo horizontal en móviles */
@media screen and (max-height: 480px) and (orientation: landscape) {
    .modal-content {
        height: 95vh;
    }

  
    #para-ti {
        background: url('../Resource/background-para-ti3.png') center/cover no-repeat fixed !important;
    }

}

/* Optimizaciones de rendimiento */
@media (hover: none) {
    .departamento-card:hover {
        transform: none;
    }

    .btn-details:hover,
    .btn-separate:hover {
        transform: none;
    }
}


.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 8px 12px; /* Reduced padding */
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
}

.carousel-arrow:hover {
    background: rgb(0, 0, 0);
}

.left-arrow {
    left: 15px; /* Reduced position */
}

.right-arrow {
    right: 15px; /* Reduced position */
}


.referral-button {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #FFD700, #FFD700);
    color: #ffffff;
    text-decoration: none;
    border-radius: 111px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.referral-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #FFD700, #FFD700);
}

.cta-button {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #cc8f1d, #FFA500);
    color: #ffffff;
    text-decoration: none;
    border-radius: 19px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #cc9124, #FFA500);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.video-placeholder {
    z-index: -2;
}
.referral-section {
    padding: 80px 20px;
    background: linear-gradient(
        rgba(255, 255, 255, 0.548), 
        rgba(192, 192, 192, 0.466)
    ), url('../Resource/refiere.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
    position: relative;
}

/* Modo oscuro */
body.dark-mode .referral-section {
    padding: 80px 20px;
    background: linear-gradient(
        rgba(26, 26, 26, 0.13), 
        rgba(44, 44, 44, 0.151)
    ), url('../Resource/refiere.jpg'); /* Mantenemos la misma imagen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: rgb(30, 30, 30);
    overflow: hidden;
    position: relative;
}

.referral-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.referral-title {
    font-size: 3em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.referral-subtitle {
    font-size: 1.2em;
    margin-bottom: 50px;
    color: #353535;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

body.dark-mode .referral-subtitle {
    font-size: 1.2em;
    margin-bottom: 50px;
    color: #dedede;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.rewards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.reward-card {
    background: rgba(199, 199, 199, 0.363);
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    backdrop-filter: blur(50px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative; /* Added for bullet positioning */
}

.reward-card::before {
    content: '•';
    position: absolute;
    left: 10px;
    top: 10px;
    color: #FFD700;
    font-size: 24px;
    opacity: 0.8;
}

.reward-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.419);
}
.reward-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFD700;
}

.reward-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFD700;
}

.reward-card p {
    color: #292929;
    line-height: 1.6;
}

body.dark-mode .reward-card p {
    color: #dedede;
    line-height: 1.6;
}

.referral-cta {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.referral-cta:hover {
    transform: translateY(-3px);
}

.star-container {
    position: absolute;
    top: 50%;
    left: 50%;
    pointer-events: none;
}

.star {
    position: absolute;
    opacity: 0;
}

.referral-cta:hover .star {
    animation: shootingStar 0.8s ease-out;
}

body:not(.dark-mode) .verification-modal {
    background: #fff !important;
    color: #222 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* MODO OSCURO PARA MAS PROYECTOS */
body.modo-oscuro .container {
    background: #18182a !important;
    color: #f5f5f5 !important;
}
body.modo-oscuro .section-title,
body.modo-oscuro .section-description {
    color: #f5f5f5 !important;
}
body.modo-oscuro .mas-proyectos-lista {
    background: transparent !important;
}
body.modo-oscuro .mas-proyecto-bloque {
    background: #23233a !important;
    border-color: #33334d !important;
    color: #f5f5f5 !important;
}
body.modo-oscuro .mas-proyecto-info h3 {
    color: #fff !important;
}
body.modo-oscuro .mas-proyecto-info p {
    color: #e0e0e0 !important;
}
body.modo-oscuro .mas-proyecto-img {
    filter: brightness(0.85);
}
body.modo-oscuro .seccion-footer,
body.modo-oscuro .bloque-contacto,
body.modo-oscuro .bloque-logo .texto-copyright {
    background: #18182a !important;
    color: #f5f5f5 !important;
}
body.modo-oscuro .social-btn {
    filter: brightness(0.85);
}
body.modo-oscuro .fa-chevron-down {
    color: #f5f5f5 !important;
}

/* Modo oscuro para mas-proyectos.html */
body.dark-mode .container {
    background: #181818 !important;
    color: #f5f5f5 !important;
}
body.dark-mode .mas-proyecto-bloque {
    background: #232323 !important;
    border-color: #333 !important;
    color: #f5f5f5 !important;
}
body.dark-mode .mas-proyecto-info h3 {
    color: #fff !important;
}
body.dark-mode .mas-proyecto-info p {
    color: #e0e0e0 !important;
}
body.dark-mode .mas-proyecto-img {
    filter: brightness(0.85);
}

/* Estilos para el contenedor de proyectos */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px;
}

.project-card {
    width: 45%;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
    margin: 0 auto;
}

.project-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.7) contrast(1.2) blur(3px);
}

.project-title {
    font-size: 24px;
    font-weight: bold;
    color: #2f2f2f;
    margin-top: -2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.project-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: #ff6b00;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.project-card:hover .project-title::after {
    width: 50%;
}

body.dark-mode .project-title {
    font-size: 24px;
    font-weight: bold;
    color: #e8e8e8;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

body.dark-mode .project-card {
    background-color: #222;
    color: white;
}

body.dark-mode .project-card:hover {
    background-color: #333;
}

/* Estilos para la sección de anuncios */
.anuncios-section {
    padding: 40px 0;
    background-color: #f5f5f5;
}

@media screen and (max-width: 768px) {
    .anuncios-section {
        padding-top: 20px;
        margin-top: 0;
    }
}

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

.anuncios-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.anuncios-section .section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #f39c12, #e67e22);
    margin: 15px auto;
    border-radius: 2px;
}

.anuncios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Estilos para modo oscuro */
body.dark-mode .anuncios-section {
    background-color: #1a1a1a;
}

body.dark-mode .anuncios-section .section-title {
    color: #fff;
    font-size: 2.5rem; /* Asegura el mismo tamaño en modo oscuro */
}

