@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Open+Sans:wght@400;600&display=swap');
@font-face {
  font-family: 'SugarPieW00-Regular';
  src: url('/static/fonts/SugarPieW00-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hero-section,
.cta-section {
    background-color: #F5F6F5;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 60px 20px;
}

.hero-section h1,
.cta-section h2 {
    font-family: 'SugarPieW00-Regular', sans-serif;
    color: #1A3C6D;
}

.hero-section .lead,
.cta-section .lead,
.card-title,
.card-text {
    font-family: 'Open Sans', sans-serif;
    color: #333333;
}

.card {
    border: none;
    border-radius: 8px;
    transition: transform 0.2s;
}

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

.btn-primary {
    background-color: #4A90E2;
    border-color: #4A90E2;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #1A3C6D;
    border-color: #1A3C6D;
}

.cta-green {
    background-color: #50C878 !important;
    border-color: #50C878 !important;
}

.cta-green:hover {
    background-color: #3DA65E !important;
    border-color: #3DA65E !important;
}

.btn-outline-primary {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    color: #1A3C6D;
    border-color: #1A3C6D;
    transition: color 0.3s, border-color 0.3s;
}

.cta-outline {
    color: #1A3C6D;
    border-color: #1A3C6D;
}

.cta-outline:hover {
    color: #50C878;
    border-color: #50C878;
}

.lead {
    font-size: 1.25rem;
}

.display-4 {
    font-size: 2.5rem;
    color: #4A90E2;
}

@media (max-width: 768px) {
    .hero-section,
    .cta-section {
        padding: 40px 10px;
    }
    .card {
        margin-bottom: 20px;
    }
    .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }
}

/*Header index*/
.hero-section {
    background: linear-gradient(180deg, rgb(20, 106, 204) 0%, #50C878 100%);
    overflow: hidden;
    width: 100%;
    opacity: 0.99;
}

.background-image {
    position: absolute;
    top: -21%;
    right: 20%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.4;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.custom-container {
    max-width: 90%; /* Aumenta el ancho máximo */
    width: 90%; /* Ocupa el 90% del ancho de la pantalla */
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 3%;
}



.hero-section h1 {
    font-size: 3rem;
    font-family: 'SugarPieW00-Regular';
    -webkit-text-stroke: 3px black;
}

.hero-section h2,
.hero-section h3 {
    font-family: 'Roboto', sans-serif;
    color: #F5F6F5;
}

.hero-section .lead {
    font-family: 'Open Sans', sans-serif;
    color: #F5F6F5;
    font-size: 1.2rem;
}

.hero-section .card-body {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.hero-section .btn-primary {
    background-color: #50C878;
    border-color: #50C878;
    font-family: 'Roboto', sans-serif;
}

.hero-section .btn-primary:hover {
    background-color: #3DA65E;
    border-color: #3DA65E;
}

.hero-right-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.boton-buscar-header {
    text-align: center;
    margin: 5% auto;
    margin-top: 5%;
}

.btn-xl {
    font-family: 'Roboto', sans-serif;
    font-size: 1.60rem;
    padding: 18px 50px;
    background-color: #50C878;
    border-color: #50C878;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-xl:hover {
    background-color: #3DA65E;
    border-color: #3DA65E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    .hero-section .row {
        flex-direction: column-reverse;
    }
    .hero-section .col-md-6 {
        width: 100%;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .hero-right-image {
        margin-top: 20px;
    }
}
.caracteristicas-seccion{
    padding-top: 8%;
    padding-bottom: 8%;
}

/*Seccion IA*/
.ai-section {
    background-color: #4A90E2;
    width: 100%;
    padding: 160px 0;
    padding-top: 8%;
    padding-bottom: 8%;
}

.container-ia {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.ai-content {
    background-color: #F5F6F5;
    padding: 40px;
    margin-left: 8%;
    width: 30%; /* Ajustado para mejor balance */
    border-radius: 10px;
}

.imagen-seccion-ia {
    margin-right: 6%;
    margin-left: 5%;
}

.ai-section h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    color: #1A3C6D;
}

.ai-section .lead {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    color: #333333;
}

@media (max-width: 768px) {
    .ai-section {
        padding: 40px 0; /* Reducido para móviles */
        padding-top: 5%;
        padding-bottom: 5%;
    }
    .ai-content {
        padding: 20px;
        margin-left: 0; /* Eliminar margen fijo */
        width: 90%; /* Ocupar casi todo el ancho */
        margin: 0 auto; /* Centrar en móviles */
    }
    .imagen-seccion-ia {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 20px; /* Espacio debajo de la imagen */
    }
    .ai-section .row {
        flex-direction: column-reverse;
    }
    .ai-section .col-md-6 {
        width: 100%;
        text-align: center;
    }
    .ai-section .text-end {
        text-align: center;
    }
    .ai-section h2 {
        font-size: 2rem;
    }
    .ai-section .lead {
        font-size: 1rem;
    }
}


/* Análisis Interactivo */
.interactive-section {
    background-color: #F5F6F5;
    width: 100%;
    padding: 60px 0;
    margin: 0;
}

.feature-list {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-item {
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #4A90E2;
    background-color: #F8F9FA;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
    background-color: #E9ECEF;
    transform: translateX(10px);
}

.feature-item h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    color: #1A3C6D;
    margin-bottom: 5px;
}

.feature-item p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: #333333;
}

.feature-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 400px; /* Altura explícita para que las imágenes se vean */
}

.feature-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-img.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .interactive-section {
        padding: 30px 0;
    }
    .feature-list {
        padding: 15px;
    }
    .feature-item {
        padding: 10px;
        margin-bottom: 15px;
    }
    .feature-item h3 {
        font-size: 1.25rem;
    }
    .feature-item p {
        font-size: 0.9rem;
    }
    .interactive-section .row {
        flex-direction: column;
    }
    .col-md-5, .col-md-7 {
        width: 100%;
    }
    .feature-image {
        margin-top: 20px;
        height: 300px; /* Ajuste para móviles */
    }
}



/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, #4A90E2, #50C878);
    width: 100%;
    padding: 60px 0;
    margin: 0;
}

.cta-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    color: #1A3C6D;
    font-weight: 700;
}

.cta-section .lead {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    color: #333333;
    margin-bottom: 30px;
}

.cta-green {
    background-color: #50C878;
    border-color: #50C878;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-green:hover {
    background-color: #3DA65E;
    transform: translateY(-2px);
}

.cta-outline {
    color: #FFFFFF;
    background-color: #4A90E2;
    border-color: #FFFFFF;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.cta-outline:hover {
    color: #50C878;
    border-color: #50C878;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 30px 0;
    }
    .cta-content {
        padding: 20px;
    }
    .cta-section h2 {
        font-size: 2rem;
    }
    .cta-section .lead {
        font-size: 1rem;
    }
    .cta-green, .cta-outline {
        width: 100%;
        margin-bottom: 10px;
    }
}