/* Estilos para el banner de bienvenida */
.welcome-banner {
    background: linear-gradient(135deg, #142448 0%, #142448 100%);
    min-height: 600px;
}

.welcome-content {
    background-color: #142448;
}

.form-content {
    background-color: #ebece8;
}

.welcome-text h5 {
    font-size: 1.5rem;
    font-weight: 600;
}

.welcome-text h1 {
    font-weight: 800;
    line-height: 1.2;
}

.quote-form {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.quote-form h3 {
    font-weight: 700;
}

.form-control, .form-select {
    border: 2px solid #bfe1ff;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #CBE1E1;
    box-shadow: 0 0 0 0.2rem rgba(23, 169, 250, 0.25);
}

.explore-btn {
    background-color: #029e99;
    color: #ebece8;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s;
}

.explore-btn:hover {
    background-color: #59d2ec;
    color: #ebece8;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(254, 213, 19, 0.3);
}

.submit-btn {
    background-color: #029e99;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #59d2ec;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px #0417934d;
}

/* Ajustes responsivos */
@media (max-width: 992px) {
    .welcome-content, .form-content {
        padding: 40px 20px;
    }
    
    .welcome-text, .quote-form {
        padding: 30px !important;
    }
}

@media (max-width: 768px) {
    .welcome-banner {
        min-height: auto;
    }
    
    .welcome-text h1 {
        font-size: 2.5rem;
    }
}

/* Contenedor general de las tarjetas */
.cards-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    justify-items: center;
    padding: 20px;
}

/* Estilo general para las tarjetas */
.card {
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(65, 65, 65, 0.63);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    height: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(55, 55, 55, 0.963);
}

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

.card-content {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.881);
    color: #fff;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #fff;
}

.card p {
    font-size: 1.2rem;
    color: #fff;
}

.card-image {
    position: relative;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(65, 65, 65, 0.63);
    overflow: hidden;
    max-width: 600px;
    height: 350px;
    margin: 20px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.card-content-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-image:hover .card-content-image {
    opacity: 1;
    transform: translateY(0);
}

.card-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(55, 55, 55, 0.963);
}

.card-content-image h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #fff;
}

.card-content-image p {
    font-size: 1.2rem;
    color: #fff;
}

.same-size .card-image {
    width: 100%;
    max-width: 500px;
    height: 350px;
}

.same-size .card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.cards-container .same-size {
    grid-template-columns: 1fr 1fr;
    display: grid;
    grid-gap: 20px;
    width: 100%;
}

.same-size {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    justify-items: center;
    width: 100%;
}

@media (max-width: 768px) {
    .same-size {
        grid-template-columns: 1fr;
    }

    .card {
        max-width: 100%;
        height: auto;
    }

    .card img {
        height: 250px;
        object-fit: cover;
    }

    .card-content h2,
    .card-content p {
        font-size: 1rem;
    }
}

/* Estilos generales */
.mision-vision-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mision,
.vision {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.mision {
    background-color: #ffffff;
    color: #142448;;
}

.vision {
    background-color: #ffffff;
    color: #142448;;
}

.vision:hover,
.mision:hover {
    background-color: /*#17a9fa*/ #142448;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ebece8;;
}

/* Específicamente para los h2 dentro de mision y vision */
.mision h2, 
.vision h2 {
    color: #142448;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Y para el hover */
.vision:hover h2,
.mision:hover h2 {
    color: #ebece8; /* Mismo color que el texto del hover */
}

p {
    font-size: 18px;
    line-height: 1.5;
    text-align: justify;
}

/* Contenedor principal del carrusel */
.carrusel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

.carrusel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel-item {
    flex: 0 0 100%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.carrusel-item iframe {
    width: 100%;
    height: 500px;
    border-radius: 10px;
}

.carrusel-name {
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.221);
    border: none;
    padding: -19px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s;
}

.carrusel-btn:hover {
    background-color: rgba(0, 0, 0, 0.183);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Responsividad */
@media (max-width: 768px) {
    .carrusel-item iframe {
        height: 300px;
    }

    .carrusel-btn {
        font-size: 20px;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .mision-vision-container {
        flex-direction: column;
        gap: 10px;
    }

    .mision,
    .vision {
        font-size: 14px;
        padding: 10px;
    }

    h2 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* Ajustes para pantallas muy pequeñas (móviles más pequeños) */
@media (max-width: 576px) {
    .welcome-text h5 {
        font-size: 1.2rem;
    }

    .welcome-text h1 {
        font-size: 1.5rem;
    }

    .explore-btn {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .welcome-text p {
        font-size: 0.8rem;
    }
}
/* Estilos para la sección de Preguntas Frecuentes - NUEVO DISEÑO */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23142448' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.faq-title {
    color: #142448;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.faq-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #029E99, #59D2EC);
    border-radius: 2px;
}

.faq-subtitle {
    color: #029E99;
    font-size: 1.3rem;
    max-width: 700px;
    margin: 25px auto 0;
    font-weight: 500;
}

/* Search Section */
.search-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 20px;
}

.search-box input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #029E99;
    box-shadow: 0 0 0 3px rgba(2, 158, 153, 0.2);
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #029E99;
    font-size: 1.2rem;
}

.suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.suggestion-chip {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-chip:hover {
    background: #029E99;
    color: white;
    border-color: #029E99;
}

/* Categories Section */
.categories-section {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.categories-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #142448;
    text-align: center;
    font-weight: 700;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #029E99;
}

.category-icon {
    font-size: 2.5rem;
    color: #029E99;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #142448;
    font-weight: 600;
}

.category-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* FAQ Container */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.questions-list {
    max-width: 900px;
    margin: 0 auto;
}

.question-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s;
}

.question-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.question-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color: #142448;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.question-header:hover {
    background-color: #f8f9fa;
}

.question-icon {
    font-size: 1.2rem;
    color: #029E99;
    transition: transform 0.3s;
}

.question-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #142448;
    line-height: 1.7;
    background-color: #f8f9fa;
}

.question-answer p {
    margin: 0;
    padding: 10px 0;
}

.question-item.active .question-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.question-item.active .question-icon {
    transform: rotate(180deg);
}

.question-item.active {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.no-results {
    text-align: center;
    padding: 50px 30px;
    color: #666;
    display: none;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.no-results h3 {
    color: #142448;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.no-results p {
    font-size: 1.1rem;
}

.faq-cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.faq-cta p {
    color: #142448;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-contact-btn {
    background: linear-gradient(135deg, #029E99 0%, #59D2EC 100%);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(2, 158, 153, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.faq-contact-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
}

.faq-contact-btn:hover::before {
    left: 100%;
}

.faq-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(2, 158, 153, 0.4);
}

/* Animación para los elementos FAQ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.question-item:nth-child(1) { animation-delay: 0.1s; }
.question-item:nth-child(2) { animation-delay: 0.2s; }
.question-item:nth-child(3) { animation-delay: 0.3s; }
.question-item:nth-child(4) { animation-delay: 0.4s; }
.question-item:nth-child(5) { animation-delay: 0.5s; }
.question-item:nth-child(6) { animation-delay: 0.6s; }

@media (max-width: 768px) {
    .faq-title {
        font-size: 2.2rem;
    }
    
    .faq-subtitle {
        font-size: 1.1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box input {
        padding: 14px 45px 14px 18px;
    }
    
    .question-header {
        padding: 18px 20px;
        font-size: 1.05rem;
    }
    
    .question-answer {
        padding: 0 20px;
    }
    
    .question-item.active .question-answer {
        padding: 18px 20px;
    }
}