/* Estilos personalizados para Alternus */

/* Colores principales */
:root {
    --color-primary: #023C8C; /* Azul principal */
    --color-secondary: #5FC3EC; /* Gris secundario */
    --color-light: #f8f9fa; /* Fondo claro */
    --color-dark: #343a40; /* Texto oscuro */
    --color-success: #28a745; /* Verde para éxito */
    --color-warning: #ffc107; /* Amarillo para advertencias */
    --color-danger: #dc3545; /* Rojo para errores */
}

.bg-primary {background: var(--color-primary)!important;}
.text-primary {color: var(--color-primary)!important;}
.text-white * {color: #fff}
.text-black * {color: #000}

.raleway-<uniquifier> {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.navbar-brand img {
    height: 50px;
}
.section {
    padding: 60px 0;
}
.testimonial-card {
    margin-bottom: 20px;
}
.carousel-item img {
    width: 100%;
    height: auto;
}

/* Estilos generales */
body {
    font-family: "Raleway", "Century Gothic", sans-serif;
    color: var(--color-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", "Century Gothic", sans-serif;
    font-weight: bold;
    color: var(--color-primary);
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-secondary);
}

/* Navbar */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 30px;
}
.nav-item {margin: 0 0 0 3rem;}
.nav-link {
    font-weight: 700;
    color: var(--color-dark) !important;
}

.nav-link:hover {
    color: var(--color-secondary) !important;
}

/* Hero Section */
#hero .hero-bg {
    background: url("../images/hero.webp") no-repeat center;
    color: white;
    padding: 100px 0;
    border-radius: 25px;
}

#hero h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
}
#hero img {margin-bottom: 1.5rem}
#hero .lead {
    font-size: 1.3rem;
    line-height: 1.5rem;
}

#hero .btn-primary {
    background-color: var(--color-primary);
    border: var(--color-primary);
    color: white;
    font-weight: bold;
    border-radius: 25px;
    padding: 10px 30px;
}

#hero .btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-dark);
}

/* Secciones */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: var(--color-primary);
/*    text-align: center;*/
}

.texto-quo p {font-size: 1.5rem; font-style: italic;}


/* Beneficios Clave */
#beneficios .col-md-4 {
    text-align: center;
    margin-bottom: 30px;
}

#beneficios img {
    height: 60px;
    margin-bottom: 20px;
}

#beneficios h4 {
    font-size: 1.2rem; font-weight: 600;
    color: #fff;
}
#beneficios p {
    font-size: 1.1rem; line-height: 1.4rem;
}

#beneficios 
.bg-beneficios {
    background: linear-gradient(#5EC4ED,#023C8C);
    border-radius: 25px;
    height: 100%;
}


.bg-img-blue {
    background: url("../images/bg-que-es.webp") no-repeat center 100%;
    background-size: cover;
}
.bg-img-light {
    background: url("../images/bg-light.webp") no-repeat center 100%;
    background-size: cover;
}
#que-es h2 {
    font-size: 2.3rem;
}
#que-es img {margin-top: -9px}
#que-es p {font-size: 1.5rem}


#solucion-head {
    background: url("../images/logo-alt.webp") no-repeat center;
}
#solucion-head h2 {
    font-weight: 400;
}
#solucion-head h4 {
    font-weight: 300;
}

/* Solución para Niños y Adultos */
.solucion ul {
    list-style-type: none;
    padding-left: 0;
}

.solucion li {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.solucion li::before {
    content: "";
    background: url(../images/check.webp) no-repeat;
    margin-right: 10px;
    width: 50px;
    height: 50px;
    display: inline-block;
    margin-bottom: -17px;
}

/* Cómo Funciona */



#como-funciona h4 {
    font-size: 1.5rem;
    color: var(--color-primary);
}

#como-funciona img {
    height: auto;
    width: 160px;
    margin-bottom: 9px;
}
#como-funciona h4 {
    background-color: white;
    border-radius: 100%;
    color: var(--color-primary);
    width: 70px;
    height: 70px;
    display: inline-block;
    font-size: 3rem;
    font-weight: 500;
    padding-top: 2px;
    text-align: center;
}
#como-funciona p {font-size: 1.3rem; line-height: 1.5rem; margin-bottom: 7px; display: inline-block;}

/* Por qué Elegir Alternus */
#por-que-elegir .lead {
    font-size: 1.2rem;
    color: var(--color-dark);
}

/* Tecnología Avanzada */
#tecnologia .lead {
    font-size: 1.2rem;
    color: var(--color-dark);
}

/* Qué hace diferente */
#diferente .col-md-4 {
    text-align: center;
    margin-bottom: 30px;
}

#diferente img {
    height: 80px;
    margin-bottom: 20px;
}

#diferente h4 {
    font-size: 1.5rem;
    color: var(--color-primary);
}


/* Estilos para la sección "¿Por qué Elegir Alternus?" */
#por-que-elegir .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 30px;
}

#por-que-elegir .table {
    margin-top: 20px;
    border-collapse: separate;
    overflow: hidden;

}

#por-que-elegir .table th, #comparativa .table th {
    background-color: #fff;
    color: #000;
    font-weight: 600;
    padding: 15px;
    font-size: 1.2rem;
    text-align: left;
}
#comparativa .table th {text-align: center}
tbody, td, tfoot, th, thead, tr {
    border: none;
}

#por-que-elegir .table td, #comparativa .table td {
    padding: 15px;
    text-align: left;
    vertical-align: middle;
    font-weight: 300;
    font-size: 1.2rem;
}

#por-que-elegir .table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

#por-que-elegir .table-bordered th,
#por-que-elegir .table-bordered td {
    border: 1px solid #dee2e6;
}

#por-que-elegir .table-primary th {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}


#tecnologia h2 {font-weight: 400; font-size: 2.7rem}
#tecnologia h5 {font-weight: 200; font-size: 1.2rem; font-style: italic;}
#tecnologia p {font-weight: 200; font-size: 1.6rem; line-height: 2rem}


#que-hace-diferente h2 {font-weight: 600; font-size: 2rem}
#que-hace-diferente h2 img {margin-top: -10px}

.diferente-list {padding-right: 2rem; margin-bottom: 2rem}
.diferente-list h3 {color: #000; font-size: 1.5rem; font-weight: 600}
.diferente-list p {color: #000; font-size: 1.2rem; font-weight: 200}

.bg-diferente {
    background: url(../images/que-diferencia.webp) no-repeat 100%; background-size: cover;
}
.bg-diferente img {opacity: 0}

/* Datos Técnicos (Carrousel) */
#datos-tecnicos .carousel-item img {
    border-radius: 10px;
}

.carousel-inner {
    display: flex;
}
.carousel-item {
    flex: 0 0 auto;
    width: 100%;
}

.carousel-item .col .card {
    border-radius: 25px; padding: 2rem;
    border: 1px solid var(--color-secondary);
}
.carousel-item .col .card img {width: 100px; margin-bottom: 1rem;}
.carousel-item .col .card p {margin-bottom: 0; color: var(--color-primary)}

.carousel-control-prev-icon {
    background: url(../images/arrow.svg) ;
}
.carousel-control-prev {
    left: -8rem;
}
.carousel-control-next-icon {
    background: url(../images/arrow.svg) ;
    transform: rotate(180deg);
}
.carousel-control-next {
    right: -8rem;
}



/* Testimonios */
#testimonios .card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#testimonios h4 {color: #000; font-weight: 300; font-size: 1.2rem}

#testimonios .card:hover {
    transform: translateY(-10px);
}

#testimonios .card-body {
    text-align: center;
}

#testimonios .card-text {
    font-size: 1.1rem;
    color: var(--color-dark);
}

/* Preguntas Frecuentes */
#preguntas-frecuentes {
    background: #01156E;
}
#preguntas-frecuentes .accordion-button {
    background-color: #01156E;
    color: white;
    border: 0; border-radius: 0;
    font-size: 1.5rem; font-weight: 300;
    padding: 15px 0;
}
#preguntas-frecuentes .accordion-button:not(.collapsed) {
    background-color: #01156E;
    color: white;
}

#preguntas-frecuentes .accordion {border-radius: 0;}
#preguntas-frecuentes .accordion-item {
    margin-bottom: 1rem; border-radius: 0;
    border: 0; border-bottom: 1px solid #fff;
}

.accordion-button::after {
    background: url(../images/arrow-2.svg);
/*    transform: rotate(180deg);*/
}
.accordion-button:not(.collapsed)::after {
    background: url(../images/arrow-2.svg)
}

#preguntas-frecuentes .accordion-body {
    font-size: 1rem;
    color: var(--color-dark);
}

/* Call to Action Final */
#respira-mejor h2 {
    font-size: 2.5rem;
    font-weight: 400; color: #000;
}

#respira-mejor .lead {font-weight: 300; font-size: 1.5rem; line-height: 1.8rem}

#respira-mejor .btn {
    border-radius: 25px; font-weight: 600;
}


/* Footer */
footer p {
    text-align: right;
    font-size: 1.2rem; line-height: 3rem;
    font-weight: 300;
}
footer p strong {font-weight: 500} 


@media (max-width: 768px) {
html, body {max-width: 100%; overflow-x: hidden;}

#que-es .img-fluid {margin: 0 auto}

#footer img {width: 200px; float: right}

#hero img {width: 220px}
#hero h1 {font-size: 1.2rem}
#hero .lead {font-size: 1rem}

#hero .p-5 {
    padding: 1rem !important;
}

}
