/* General Styles  ------------------*/
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: white;
    overflow-x: hidden;
}

h1, h2, h3 {
    margin: 0;
}

p {
    margin: 10px 0;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Nav bar Section  ------------------*/
html {
    scroll-behavior: smooth;
}
.navbar {
    background-color: #333;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #e91e63;
    color: black;
}

.section {
    padding: 70px 15px 15px;
    min-height: 100vh;
}

/* Hero Section  ------------------*/
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    overflow: hidden;
}

.hero-content {
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;

}

.hero-content p {
    max-width: 600px; /* Ajusta el ancho máximo del texto */
    margin-bottom: 2rem;; /* Centra el texto horizontalmente */
    text-align: justify; /* Justifica el texto */
    line-height: 1.6; /* Mejora la legibilidad */
    font-size: 1.2rem; /* Ajusta el tamaño de la fuente */
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.cta-button {
    display: 1rem 2rem;
    padding: 15px 30px;
    background: linear-gradient(135deg, #e91e63, #ff4081);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.6);
    transform: scale(1.1);
}


.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://source.unsplash.com/1920x1080/?neon,style') no-repeat center center/cover;
    opacity: 0.3;
    z-index: 0;
}

.slider-container {
    flex: 1;
    position: relative;
    max-width: 600px;
    margin: 0 2rem;
    margin-top: 1.5rem;
}

.slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.arrow {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
}



/* Features Section ------------------*/
.features {
    padding: 60px 20px;
    text-align: center;
    background-color: #1a1a1a;
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #ff4081;
}

.features-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    background: #0d0d0d;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature p {
    margin-bottom: 20px; /* Ajusta el espacio según necesites */
    vertical-align: middle;
    text-align: left;
}

.feature h3 {
    margin-bottom: 30px; /* Ajusta el espacio según necesites */
    vertical-align: middle;

}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(255, 64, 129, 0.4);
}

.icon i {
    font-size: 2rem;
    color: #ff4081;
    margin-bottom: 15px;
}



/* Gallery Section  ------------------*/
.gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
}

.gallery-text {
    max-width: 500px;
    margin-right: 30px;
}

.gallery-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #e91e63;
}

.gallery-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    margin-right: 20px;
    margin-left: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 64, 129, 0.4);
}




/* Testimonials Section ------------------*/
.testimonials {
    padding: 60px 20px;
    text-align: center; /* Centers the text elements */
    background: #1a1a1a;
    display: flex;       /* Ensures proper alignment */
    flex-direction: column; /* Stacks elements vertically */
    align-items: center; /* Centers child elements horizontally */
}




/* Heading Styling ------------------*/
.testimonials h2 {
    font-size: 2.5rem;
    color: #ff4081;
    margin-bottom: 40px;
    text-align: center; /* Extra safety for heading alignment */
}




/* Testimonial Slider ------------------*/
.testimonial-slider {
    display: flex;
    overflow: auto;
    gap: 20px;
    padding: 0 20px;
    scroll-snap-type: x mandatory;

    justify-content: center; /* Centers the slider within the parent */
    align-items: center;     /* Aligns testimonials vertically */
}

/* Individual Testimonial Box ------------------*/
.testimonial {
    flex: 0 0 300px;           /* Fixed width for consistent scrolling */
    scroll-snap-align: center; /* Centers the testimonials when scrolling */
    padding: 20px;
    background: #0d0d0d;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.2);
    color: #e0e0e0;
    text-align: center;        /* Ensures text inside is centered */
}

/* Testimonial Text ------------------*/
.testimonial p {
    margin-bottom: 15px;
    font-style: italic;
    text-align: center; /* Centers the paragraph text */
}

/* Testimonial Author ------------------*/
.testimonial span {
    font-weight: 600;
    color: #e91e63;
    text-align: center; /* Centers the author name */
    display: block;     /* Ensures proper alignment as a block element */
}

.testimonial {
    text-align: center; /* Alinear contenido al centro */
    margin-bottom: 20px; /* Espaciado entre testimonios */
}

.testimonial-img {
    width: 80px; /* Tamaño de la imagen */
    height: 80px; /* Tamaño de la imagen */
    border-radius: 50%; /* Hace la imagen circular */
    object-fit: cover; /* Ajusta la imagen para llenar el contenedor */
    margin-bottom: 10px; /* Espaciado entre la imagen y el texto */
    border: 2px solid #ccc; /* Borde decorativo opcional */
}







/* Form section ------------------*/
.form-section {
    padding: 50px 20px;
    text-align: center;
}

form {
    max-width: 500px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.2);
}

form p {
    margin-bottom: 20px;
    text-align: left;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #0d0d0d;
    color: #e0e0e0;
}

form button {
    width: 100%;
    padding: 12px 30px;
    background: linear-gradient(90deg, #e91e63, #ff4081);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: linear-gradient(90deg, #ff4081, #e91e63);
}



/* Legal Commitment Section */
.legal-commitment {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.legal-commitment-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    width: 100%;
    gap: 2rem;
}

.legal-image {
    width: 100%;
    max-width: 400px;
}

.legal-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 64, 129, 0.4);
}

.legal-content {
    text-align: center;
    padding-left: 0;
    margin-bottom: 20px;
}

.legal-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1rem;
    margin-bottom: 1.4rem;
}


.legal-guarantees {
    text-align: left;
    margin-bottom: 1.4rem;
}

.legal-icon {
    text-align: center;
    font-size: 3.5rem; /* Aumentar el tamaño de la fuente */
    margin-bottom: 1rem;
    margin-right: 10px;
    color: #e91e63;
}

@media (max-width: 768px) {
    .legal-icon {
        font-size: 2.5rem; /* Tamaño más pequeño en pantallas más pequeñas */
    }
}

/* Media Queries */
@media (max-width: 768px) {
     .hero {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .cta-button {
        margin: 0 auto;
    }

    .slider-container {
        margin: 2rem 0;
        width: 100%;
        max-width: 100%;
        margin-top: 1.5rem; 
    }

    .slider {
        height: 200px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .legal-commitment-container {
        gap: 1.5rem;
    }

    .legal-image {
        max-width: 100%;
    }

    .legal-content h2 {
        font-size: 1.5rem;
    }

    .legal-guarantees li {
        padding-left: 0;

    }

    .legal-guarantees li:before {
        display: none;
    }
}


/* Footer ------------------*/
footer {
    padding: 20px;
    text-align: center;
    background-color: #0d0d0d;
    color: #e0e0e0;
    font-size: 0.9rem;
}




/* General Reset ------------------*/
body, h1, h2, p, a, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}






/* Modal Styles ------------------*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #f00;
}


/* Media Query para pantallas pequeñas */
@media screen and (max-width: 768px) {
    /* Ajustes generales */
    body {
        font-size: 14px; /* Reducir el tamaño general del texto */
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem; /* Ajustar el tamaño del título */
    }

    .hero-content p {
        max-width: 90%; /* Ensanchar el texto para dispositivos móviles */
        font-size: 1rem; /* Reducir tamaño del texto */
    }

    .hero-content .cta-button {
        font-size: 1rem; /* Reducir tamaño del botón */
        padding: 10px 20px; /* Ajustar padding */
    }

    /* Features Section */
    .features-container {
        flex-direction: column; /* Cambiar a columna en pantallas pequeñas */
        align-items: start; /* Centrar elementos */
    }

    .feature {
        max-width: 90%; /* Limitar el ancho */
        margin-bottom: 20px; /* Añadir espacio entre elementos */
    }

    .feature h3 {
        font-size: 1.2rem; /* Reducir tamaño de encabezados */
    }

    /* Gallery Section */
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
}

.gallery-text {
    max-width: 100%;
    margin-right: 0;
    text-align: center;
    margin-bottom: 40px;
}

.gallery-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.gallery-text p {
    font-size: 1rem;
    margin-right: 0;
    margin-left: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 64, 129, 0.4);
}

    /* Testimonials Section */
    .testimonials h2 {
        font-size: 1.5rem; /* Reducir tamaño de encabezado */
    }

    .testimonial {
        padding: 10px; /* Reducir padding de cada testimonial */
    }

    .testimonial-slider {
        gap: 10px; /* Menor espacio entre testimonials */
    }

    /* Modal */
    .modal-content {
        width: 90%; /* Aumentar el ancho del modal */
        padding: 15px; /* Reducir padding */
    }

    .modal-content h2 {
        font-size: 1.5rem; /* Ajustar tamaño de encabezado en el modal */
    }

    .modal-content p {
        font-size: 1rem; /* Ajustar texto del modal */
    }

    .modal-content .cta-button {
        font-size: 1rem; /* Reducir tamaño del botón */
        padding: 10px 16px; /* Ajustar padding */
    }
}



/* Ajustar la visualización del select de país y el input de teléfono ---------------------*/
select[name="country_code"] {
    font-size: 1rem;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[name="phone_number"] {
    font-size: 1rem;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    width: 100%;
    font-size: 1rem;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none; /* Deshabilita el redimensionamiento */
}

label {
    font-size: 1rem;
    font-weight: 500;
}













/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    margin: 20px auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
}

/* Close Button */
.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #e0e0e0;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #e91e63;
}

/* Form Styles */
.modal-content h2 {
    color: #e91e63;
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.modal-content > p {
    color: #e0e0e0;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 700;  /* Made labels bold */
    text-align: left;  /* Explicitly set left alignment */
}

/* Input size adjustments */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="url"] {
    width: 100%;
    max-width: 400px;
    height: 40px; /* Reduced height */
    padding: 8px 12px; /* Adjusted padding */
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.form-group textarea {
    width: 100%;
    max-width: 400px;
    height: 100px; /* Fixed height */
    padding: 8px 12px;
    resize: none; /* Prevents resizing */
}

/* Phone input adjustments */
.phone-input select {
    width: 110px; /* Reduced width */
    height: 40px; /* Match other inputs */
    padding: 0 8px;
}

.phone-input input[type="tel"] {
    height: 40px; /* Match other inputs */
}

/* Radio Groups */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #e0e0e0;
    font-weight: 400;  /* Reset font weight for radio labels */
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #e91e63;
    cursor: pointer;
}

/* Radio Group Parent Label */
.form-group > label:not(.radio-group label) {
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

/* Textarea Styles */
textarea {
    min-height: 100px;
    resize: vertical;
}

/* Submit Button */
.modal-content .cta-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #e91e63, #ff4081);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
}

.modal-content .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.toggle-text {
  color: #e91e63;
  text-decoration: underline;
  cursor: pointer;
}

.toggle-text:hover {
  color: #ff4081;
}

.privacy-text {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .modal-content {
        padding: 20px;
        margin: 10px auto;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .phone-input {
        flex-direction: column;
        gap: 10px;
    }

    .phone-input select {
        width: 100%;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .radio-group label {
        font-size: 0.9rem;
    }

    .modal-content .cta-button {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Small Screen Adjustments */
@media screen and (max-width: 480px) {
    .modal {
        padding: 10px;
    }

    .modal-content {
        padding: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="url"],
    .form-group textarea,
    .phone-input select {
        padding: 10px;
        font-size: 0.9rem;
    }
}


/* Footer social icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.social-icon {
    color: #e0e0e0;
    font-size: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #e91e63;
    transform: translateY(-3px);
}

/* Add spacing to footer */
footer {
    padding: 30px 20px;
    text-align: center;
    background: #1a1a1a;
    color: #e0e0e0;
}

