/* Hero: banner completo en azul intenso (como antes). */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
    padding: 1.75rem 1.35rem;
    margin-bottom: 60px;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 4px 14px rgba(13, 110, 253, 0.35),
        0 12px 36px rgba(8, 61, 140, 0.22);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-subtitle strong {
    color: #fff;
    font-weight: 600;
}

.hero-illustration-col {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.75rem;
}

@media (min-width: 992px) {
    .hero-illustration-col {
        margin-top: 0;
        min-height: 14rem;
    }
}

/* Fondo claro solo donde está el dibujo: ajustado al borde del arte, sin sombra interior (evita “capa” entre imagen y banner). */
.hero-illustration-surface {
    display: inline-block;
    background: linear-gradient(145deg, #cfe8ff 0%, #d7e6fc 42%, #e2eefb 100%);
    padding: 0.6rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    line-height: 0;
    animation: hero-illustration-float 5.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hero-illustration-surface {
        animation: none;
    }
}

.hero-illustration-frame {
    display: block;
    padding: 0;
    line-height: 0;
}

@keyframes hero-illustration-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* School + map scene (slightly wider art than before) */
.hero-school-illustration {
    max-width: 300px;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.feature-card {
    height: 100%;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.125);
    border-radius: 10px;
    padding: 1rem 0.5rem;
    overflow: hidden;
}

.feature-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.search-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin: 60px 0;
}

.search-section .text-muted {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: #0d6efd;
}

.stats-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 60px 0;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 10px;
}

.stat-label {
    color: #6c757d;
    font-size: 1.1rem;
}

.cta-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-top: 60px;
    border-radius: 1rem;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.school-card {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-section h2 {
    color: #0d6efd;
    font-weight: 700;
}

.about-section .lead {
    color: #495057;
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-section p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-section .btn-outline-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-section .btn-outline-primary:hover {
    transform: translateX(5px);
}