/* Importar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@600;700&display=swap');

/* Reset CSS básico para asegurar consistencia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #545373;
    background-color: #FCFCFC;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #38246B;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

button {
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease-in-out;
    outline: none;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

button:focus {
    outline: 2px dashed #37266B;
    outline-offset: 4px;
}

/* Navigation Menu Styles */
header {
    background-color: #38246B; /* Background color of the navbar */
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.brand-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.navbar-nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 20px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #f39c12;
}

.button {
    background-color: #7AC368;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #c0392b;
}


/* Estilos para la Sección de Introducción */
.introduction {
    background-color: #38246B;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-content {
    display: flex;
    align-items: center;
}

.intro-image .logo {
    height: 100px; /* Ajustar según sea necesario */
    margin-right: 20px; /* Espacio entre la imagen y el texto */
}

.intro-text {
    color: #FFFFFF;
}

.intro-text h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.intro-text p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.intro-button-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.intro-button {
    background-color: #7AC368;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.intro-button:hover {
    background-color: #c0392b;
}


/* Estilos para la sección Simulador */
.simulator {
    padding: 50px;
    background-color: #FFFFFF;
    text-align: center;
}

.simulator-intro h2 {
    color: #38246B;
    font-size: 2rem;
}

.simulator-intro p {
    color: #545373;
    font-size: 1rem;
    margin-bottom: 20px;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

input {
    width: calc(100% - 22px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #7AC368;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: #38246B;
}

.output {
    margin-top: 20px;
}

.output div {
    margin: 10px 0;
}

.disclaimer p {
    color: #948BB3;
    font-size: 0.8rem;
}

/* Estilos para la sección Productos */
.products {
    padding: 50px;
    background-color: #FFFFFF;
    text-align: center;
}

.products-intro h2 {
    color: #38246B;
    font-size: 2rem;
    margin-bottom: 30px;
}

.carousel {
    position: relative;
}

.carousel-items {
    display: flex;
    overflow: hidden;
}

.carousel-item {
    min-width: 100%;
    transition: transform 0.5s ease;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #948BB3;
    border: none;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.product-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.product-button {
    background-color: #d3d3d3; /* Fondo gris claro cuando está inactivo */
    color: #000; /* Texto negro cuando está inactivo */
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border 0.3s; /* Transiciones suaves */
}

.product-button.active {
    background-color: #38246B; /* Fondo cuando está activo */
    color: #fff; /* Texto blanco cuando está activo */
}

.product-button:hover {
    border: 2px dotted #38246B; /* Borde punteado cuando se coloca el cursor encima */
    background-color: #7BBE6D;
    color: #fff;
}


/* Estilos para la sección Beneficios */
.benefits {
    padding: 50px;
    background-color: #FFFFFF;
    text-align: center;
}

.benefits-intro h2 {
    color: #38246B;
    font-size: 2rem;
    margin-bottom: 30px;
}

.benefit-cards {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.benefit-card {
    width: 30%;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #FCFCFC;
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-icon img {
    width: 64px;
    height: auto;
    filter: grayscale(100%);
}

.benefit-card h3 {
    color: #38246B;
    margin-bottom: 10px;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.benefit-card ul li {
    color: #545373;
    padding: 5px 0;
}

.benefit-action button {
    background-color: #7BBE6D;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.benefit-action button:hover {
    background-color: #948BB3;
}

/* Estilos para la sección Proceso */
.process {
    background-color: #FFFFFF;
    padding: 50px 0;
    text-align: center;
}

.process-intro h2 {
    color: #38246B;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.process-intro button {
    background-color: #7BBE6D;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 50px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.process-intro button:hover {
    background-color: #948BB3;
}

.process-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step {
    width: 80%;
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.step-number {
    font-size: 1.5rem;
    background-color: #7BBE6D;
    color: #FFFFFF;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.step-detail h3 {
    color: #38246B;
    font-size: 1.25rem;
    margin: 0;
}

.step-detail p {
    color: #545373;
    font-size: 1rem;
}

/* Estilos para la sección Acerca de Nosotros */
.about-us {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: url('images/culiacan.jpeg') no-repeat center center;
    background-size: cover;
    color: white; /* Texto en blanco */
    text-align: center; /* Centrar el texto */
    position: relative;
    min-height: 400px; /* Altura mínima para asegurarnos de que se vea la imagen */
}

.about-content {
    max-width: 800px; /* Limitar el ancho del contenido */
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro semi-transparente para mejor legibilidad */
    border-radius: 10px;
    z-index: 1;
    position: relative;
}

.about-content h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.about-content button {
    background-color: #7BBE6D;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-content button:hover {
    background-color: #948BB3;
}


/* Estilos para la sección Preguntas Frecuentes */
.faqs {
    max-width: 800px;
    margin: auto;
    padding: 40px 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faqs h2 {
    text-align: center;
    color: #38246B;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.faq-question {
    width: 100%;
    padding: 15px 15px 15px 40px; /* Espacio adicional a la izquierda para el símbolo */
    font-size: 1rem;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    position: relative;
    color: #000; /* Color de texto negro por defecto */
    transition: background-color 0.3s, color 0.3s; /* Transiciones suaves */
}

.faq-question::before {
    content: '+';
    position: absolute;
    left: 15px; /* Alineación izquierda */
    top: 50%;
    transform: translateY(-50%);
    color: #7BBE6D;
    font-size: 1.5rem;
    font-weight: bold;
}

.faq-answer {
    display: none;
    padding: 15px;
    text-align: left;
    color: #545373;
    border-radius: 0 0 8px 8px;
}

/* Estilos para cuando el mouse está sobre la pregunta */
.faq-question:hover {
    background-color: #38246B;
    color: #FFFFFF;
}

.faq-action {
    text-align: center;
    padding-top: 20px;
}

.faq-action button {
    background-color: #7BBE6D;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.faq-action button:hover {
    background-color: #5da558;
}

/* Estilos para la sección Pie de Página */
.footer {
    background-color: #38246B;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #FFB400;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-social a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 1.5rem;
}

.footer-contact p {
    margin-top: 20px;
    font-size: 1rem;
}

.footer-contact a {
    color: #FFB400;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}


/* Estilos para el modal del formulario */
.form-modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); 
    padding-top: 60px;
}

.form-modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 500px;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

form label {
    display: block;
    margin-top: 10px;
}

form input,
form select,
form button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form button {
    background-color: #38246B;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

form button:disabled {
    background-color: #d3d3d3;
    cursor: not-allowed;
}

form button:hover:enabled {
    background-color: #7BBE6D;
}


/* Responsive Design */
@media (max-width: 768px) {
    .introduction, .simulator, .products, .benefits, .process, .about-us, .faqs, .our-office {
        flex-direction: column;
        padding: 20px;
    }
    .intro-text, .intro-image {
        width: 100%;
        text-align: center;
    }
    .step {
        flex-direction: column;
        align-items: flex-start;
    }
}