﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}




/* Fuente base */
body {
    font-family: 'Nunito', sans-serif;
    color: #333;
    line-height: 1.6;
    margin-bottom: 60px;
    padding-top: 70px; /* espacio del alto del navbar */
}

/* Titulares */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #222;
}



.floating-image {
    position: fixed;
    left: 20px; /* pegado a la izquierda */
    bottom: 50px; /* desde abajo */
    z-index: 999;
    pointer-events: none; /* no bloquea clics */
}

    .floating-image img {
        width: 120px; /* tamaño de la imagen */
        max-width: 100%;
        transition: transform 0.3s ease;
    }

.vh-70 {
    height: 70vh; /* 70% de la pantalla */
}


#servicios {
    background: linear-gradient(180deg, #fefefe, #f7f9fb);
    overflow: hidden;
}

#particles-servicios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.container {
    position: relative;
    z-index: 2;
}


.service-card {
    position: relative;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    }

    /* Overlay semitransparente */
    .service-card .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
        z-index: 1;
    }

    /* Contenido */
    .service-card .content {
        position: relative;
        z-index: 2;
        padding: 20px;
        text-align: left;
    }

    .service-card h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: #fff;
    }

    .service-card p {
        font-size: 0.95rem;
        margin: 0;
        color: #eee;
    }


.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }


.titulo-servicios {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* ajusta tamaño automáticamente según pantalla */
    background: linear-gradient(90deg, #4ecdc4, #ff6b6b, #ffe66d);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s ease infinite;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 3px 6px rgba(0,0,0,0.1);
    display: inline-block;
    margin-bottom: 1rem;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
/* Sección Filosofía */
/* Fondo */
.filosofia-section {
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
}

#particles-filosofia {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.25;
}

.container {
    position: relative;
    z-index: 2;
}

/* Título animado */
.titulo-filosofia {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(90deg, #4ecdc4, #ff6b6b, #ffe66d);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Ítems interactivos */
.filosofia-item {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

    .filosofia-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    }

/* Círculo dinámico */
.icon-circle {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.giratorio {
    animation: rotar 8s linear infinite;
}

@keyframes rotar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Borde corrugado (onda animada) */
.wave {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
    animation: corrugar 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes corrugar {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Colores base */
.bg-rosa {
    background: #ff6b6b;
}

.bg-menta {
    background: #4ecdc4;
}

.bg-amarillo {
    background: #ffe66d;
}

.icon-circle i {
    position: relative;
    z-index: 1;
}

/* Tooltip */
.filosofia-item::after {
    content: attr(data-hover);
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translate(-50%, 10px);
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.filosofia-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -5px);
}

/* Fondo */
.psicologia-section {
    background: linear-gradient(120deg, #fdfbfb, #ebedee);
}

#particles-psico {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.25;
}

.container {
    position: relative;
    z-index: 2;
}

/* Título animado */
.titulo-psicologia {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(90deg, #4ecdc4, #ff6b6b, #ffe66d);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s ease infinite;
    letter-spacing: 1px;
    text-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Botón */
.btn-menta {
    background: linear-gradient(135deg, #4ecdc4, #3baea0);
    border: none;
    border-radius: 50px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .btn-menta:hover {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(78,205,196,0.4);
    }






/* Colores íconos */
.text-menta {
    color: #4ecdc4 !important;
}

.text-rosa {
    color: #ff6b6b !important;
}

.text-amarillo {
    color: #ffe66d !important;
}




/* Círculo para íconos */
.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Colores personalizados */
.bg-rosa {
    background-color: #ff8bb5;
}

.bg-menta {
    background-color: #00d6c8;
}

.bg-amarillo {
    background-color: #ffe473;
}




/* Botón estilo Mentes Felices */
.btn-menta {
    background-color: #00d6c8; /* Verde menta */
    color: #fff !important;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

    .btn-menta:hover {
        background-color: #ffe473; /* Rosa MF */
        transform: scale(1.05);
        color: #fff !important;
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }




/* Fondo moderno azul-menta */
.equipo-modern {
    background: linear-gradient(135deg, #e3f2fd, #d1f7f2);
}

#particles-equipo {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    z-index: 0;
}

.titulo-equipo {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(90deg, #0077b6, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Tarjeta moderna */
.card-equipo {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

    .card-equipo:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    }
.foto-card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    margin-top: 1rem;
}

    .foto-card img {
        width: 180px; /* tamaño del círculo */
        height: 180px;
        border-radius: 50%; /* forma circular */
        object-fit: cover; /* llena el círculo sin deformar */
        object-position: center top;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        transition: transform 0.5s ease, box-shadow 0.3s ease;
    }

.card-equipo:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.info-card {
    padding: 1.5rem;
}

.cargo {
    color: #0077b6;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.frase {
    font-style: italic;
    color: #555;
}

hr {
    width: 50px;
    margin: 0.8rem auto;
    border: 2px solid #4ecdc4;
    opacity: 0.8;
}


/* Navbar */
.navbar-nav .nav-link {
    font-family: Quicksand, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}




/* Tamaño inicial del logo */
.navbar .logo {
    height: 70px;
    transition: all 0.3s ease-in-out;
}

/* Cuando el usuario hace scroll */
.navbar-scrolled .logo {
    height: 40px;
}

.navbar-scrolled {
    background-color: rgba(255,255,255,0.95) !important;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.navbar-scrolled .nav-link {
        color: #fff !important;
}

.navbar-gradient {
    background: linear-gradient(135deg, white, #c1c1c1);
}
  
/* Base menu */
.navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 1;
}

    /* Fondo animado */
    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 0%;
        z-index: -1;
        transition: height 0.4s ease;
    }

    /* Hover → texto blanco */
    .navbar-nav .nav-link:hover {
        color: #fff !important;
    }

        .navbar-nav .nav-link:hover::after {
            height: 100%;
        }

    /* Active → mantiene fondo y texto blanco */
    .navbar-nav .nav-link.active {
        color: #fff !important;
    }

        .navbar-nav .nav-link.active::after {
            height: 100%;
        }


.link-hero {
    color: white !important; /* texto */
}

    .link-hero::after {
        background: #00d6c8; /* fondo coral */
    }

.link-servicios {
    color: white !important;
}

    .link-servicios::after {
        background: #ffe473;
    }

.link-filosofia {
    color: white !important;
}

    .link-filosofia::after {
        background: #ff8bb5;
    }

.link-equipo {
    color: white !important;
}

    .link-equipo::after {
        background: #6ec1e4;
    }

.link-contacto {
    color: white  !important;
}

    .link-contacto::after {
        background: #ffb400;
    }


    .cta-bar {
    background: #fff;
    padding: 12px 0;
    gap: 15px;
    position: sticky;
    top: 70px; /* debajo del navbar */
    z-index: 998;
}

/* Estilo base de botones CTA */
.cta-btn {
    display: inline-block;
    font-weight: 600;
    border-radius: 8px;
    padding: 14px 24px;
    min-width: 220px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover dinámico */
.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* 🎨 Colores institucionales */
.cta-menta {
    background-color: #00d6c8;
}
.cta-menta:hover {
    background-color: #00b3a8;
}

.cta-amarillo {
    background-color: #ffe473;
    color: #333 !important;
}
.cta-amarillo:hover {
    background-color: #e6c84f;
    color: #fff !important;
}

.cta-rosa {
    background-color: #ff8bb5;
}
.cta-rosa:hover {
    background-color: #e6729d;
}

.cta-morado {
    background-color: #cf7dc0;
}
.cta-morado:hover {
    background-color: #b666a8;
}









/* Frases destacadas */
.lead, blockquote {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
}

/* Botones */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 25px; /* moderno y amigable */
    padding: 10px 20px;
    transition: all 0.3s ease;
}

    .btn:hover {
        transform: scale(1.05);
    }

/* Hero Section */

/* ============================= */
/* HERO MODERNO - MENTES FELICES */
/* ============================= */
/* Hero ocupa toda la pantalla */
#hero {
    min-height: 70vh; /* Altura reducida */
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #a8edea, #fed6e3);
}

#particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #333;
}

#heroBtn {
    background: linear-gradient(135deg, #4ecdc4, #ff6b6b);
    border: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    #heroBtn:hover {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    }

.highlight-rosa {
    color: #ff6b6b;
}

.highlight-menta {
    color: #4ecdc4;
}

.footer-modern {
    background: #2b2b2b; /* gris fuerte y elegante */
    color: #f0f0f0;
    border-top: 4px solid #4ecdc4; /* línea menta superior */
    position: relative;
}

    .footer-modern h5 {
        font-size: 1.25rem;
        background: linear-gradient(90deg, #4ecdc4, #0077b6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .footer-modern p {
        color: #ccc;
        font-size: 0.95rem;
    }

    .footer-modern .social-links {
        margin: 1rem 0;
    }

    .footer-modern .social-icon {
        color: #f0f0f0;
        font-size: 1.3rem;
        margin: 0 10px;
        transition: color 0.3s ease;
    }

        .footer-modern .social-icon:hover {
            color: #4ecdc4;
        }

.contacto-section {
    background: linear-gradient(135deg, #e0e8ee, #d4f3ef);
    position: relative;
    overflow: hidden;
}

.titulo-contacto {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(90deg, #0077b6, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 6s ease infinite;
}

.info-contacto p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 0.6rem;
}

.info-contacto i {
    font-size: 1.2rem;
    vertical-align: middle;
}

.mapa-contacto iframe {
    border-radius: 12px;
}

.contacto-section img {
    max-width: 90%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}

    .contacto-section img:hover {
        transform: scale(1.03);
    }



/* ==========================================
   SECCIÓN NIVELES - MENTES FELICES PRESCHOOL
   ========================================== */

/* ==========================================
   SECCIÓN NIVELES - MENTES FELICES PRESCHOOL
   ========================================== */
/* Fondo animado dentro de la sección */
#niveles {
    position: relative;
    overflow: hidden;
}
    /* Asegurar que el contenido quede encima */
    #niveles .container {
        position: relative;
        z-index: 2;
    }
.niveles-vertical {
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* ===== Título dinámico ===== */
.titulo-dinamico {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    animation: floatTitle 5s ease-in-out infinite alternate;
}

@keyframes floatTitle {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(10px);
    }
}

.titulo-dinamico .palabra {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: popWord 1s forwards;
    font-family: 'Poppins', sans-serif;
}

    .titulo-dinamico .palabra:nth-child(1) {
        color: #00BFA6;
        animation-delay: 0.1s;
    }

    .titulo-dinamico .palabra:nth-child(2) {
        color: #FF6B81;
        animation-delay: 0.3s;
    }

    .titulo-dinamico .palabra:nth-child(3) {
        color: #FFD93D;
        animation-delay: 0.5s;
    }

    .titulo-dinamico .palabra:nth-child(4) {
        color: #845EC2;
        animation-delay: 0.7s;
    }

    .titulo-dinamico .palabra:nth-child(5) {
        background: linear-gradient(90deg, #00C2FF, #FF6B81, #FFD93D, #00BFA6);
        background-size: 300%;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        animation-delay: 0.9s;
        animation: popWord 1s forwards, gradientShift 6s linear infinite;
    }

.titulo-dinamico .emoji {
    display: inline-block;
    margin-left: 10px;
    font-size: 2.5rem;
    animation: bounceEmoji 2s infinite ease-in-out;
}

@keyframes popWord {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes bounceEmoji {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== Contenedor general ===== */
.barras-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
    min-height: 420px;
    position: relative;
}

/* ===== Cada barra (contenedor) ===== */
.barra-item {
    position: relative;
    width: 110px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/* ===== Barra base ===== */
.barra-fill {
    position: absolute;
    bottom: 0;
    width: 70%;
    height: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

    /* Colores fuertes */
    .barra-fill.nido {
        background: linear-gradient(180deg, #00BFA6, #009E8C);
    }

    .barra-fill.parvulos {
        background: linear-gradient(180deg, #FF6B81, #E34C68);
    }

    .barra-fill.prejardin {
        background: linear-gradient(180deg, #FFD93D, #FFB400);
    }

    .barra-fill.jardin {
        background: linear-gradient(180deg, #845EC2, #6A42A8);
    }

    .barra-fill.transicion {
        background: linear-gradient(180deg, #00C2FF, #009EDD);
    }

    /* Brillo superior */
    .barra-fill::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent 80%);
    }

/* ===== Imagen circular ===== */
.barra-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    position: absolute;
    bottom: 0;
    transform: translateY(0);
    z-index: 10;
}

/* ===== Texto debajo ===== */
.barra-porcentaje {
    position: absolute;
    bottom: -40px;
    font-weight: 800;
    color: #333;
    font-size: 1rem;
    text-transform: capitalize;
    letter-spacing: 1px;
}

/* ===== Colores de texto ===== */
.text-nido {
    color: #00BFA6;
}

.text-parvulos {
    color: #FF6B81;
}

.text-prejardin {
    color: #E6A800;
}

.text-jardin {
    color: #845EC2;
}

.text-transicion {
    color: #00AEEF;
}

/* ===== Pequeñas animaciones decorativas ===== */
.barra-fill,
.barra-img {
    transition: all 1s ease-in-out;
}

/* Al pasar el mouse: leve resalte */
.barra-item:hover .barra-fill {
    transform: scaleX(1.05);
    filter: brightness(1.1);
}

.barra-item:hover .barra-img {
    transform: scale(1.05);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .titulo-dinamico {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 60px;
    }

    .barra-item {
        width: 90px;
        height: 260px;
    }

    .barra-img {
        width: 70px;
        height: 70px;
    }

    .barra-porcentaje {
        font-size: 0.9rem;
        bottom: -35px;
    }
}

/* ===============================
   FONDO ANIMADO COLORIDO SUAVE
   =============================== */

/* Fondo animado ocupa toda la sección */
#fondo-animado {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(180deg, #ffffff 0%, #e8f9f1 100%);
}

/* Burbuja base */
.burbuja {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(2px);
    mix-blend-mode: multiply;
}

    /* Colores alegres */
    .burbuja:nth-child(1) {
        background-color: #00bfa6;
        width: 120px;
        height: 120px;
    }

    .burbuja:nth-child(2) {
        background-color: #ffd93d;
        width: 80px;
        height: 80px;
    }

    .burbuja:nth-child(3) {
        background-color: #ff6b81;
        width: 100px;
        height: 100px;
    }

    .burbuja:nth-child(4) {
        background-color: #845ec2;
        width: 70px;
        height: 70px;
    }

    .burbuja:nth-child(5) {
        background-color: #00c2ff;
        width: 150px;
        height: 150px;
    }

/* ==========================
   SECCIÓN METODOLOGÍA EMOCIONAL
   ========================== */

.metodologia-section {
    background: linear-gradient(180deg, #ffffff 0%, #e2fff3 100%);
    position: relative;
    overflow: hidden;
}

/* Título dinámico */
.titulo-metodologia {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #00bfa6, #ff6b81, #ffd93d, #00c2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300%;
    animation: colorShift 6s linear infinite;
    text-transform: uppercase;
}

@keyframes colorShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Tarjetas */
.metodo-card {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 40px 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Colores diferenciados por tema */
.metodo-1 {
    border-top: 8px solid #ff6b81;
}

.metodo-2 {
    border-top: 8px solid #ffd93d;
}

.metodo-3 {
    border-top: 8px solid #00c2ff;
}

.metodo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Iconos grandes y coloridos */
.metodo-card i {
    font-size: 2.8rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.metodo-card:hover i {
    transform: rotate(10deg) scale(1.1);
}

.metodo-1 i {
    color: #ff6b81;
}

.metodo-2 i {
    color: #ffd93d;
}

.metodo-3 i {
    color: #00c2ff;
}

.metodo-card h5 {
    font-weight: 800;
    color: #00bfa6;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.metodo-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Burbujas decorativas del fondo */
.metodologia-section::before,
.metodologia-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(40px);
    animation: floatBubbles 12s ease-in-out infinite alternate;
}

.metodologia-section::before {
    width: 200px;
    height: 200px;
    background: #ff6b81;
    top: -50px;
    left: 80px;
    animation-delay: 0s;
}

.metodologia-section::after {
    width: 250px;
    height: 250px;
    background: #00c2ff;
    bottom: -70px;
    right: 100px;
    animation-delay: 3s;
}

@keyframes floatBubbles {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-30px) translateX(20px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .titulo-metodologia {
        font-size: 2rem;
    }

    .metodo-card {
        padding: 30px 20px;
    }

        .metodo-card h5 {
            font-size: 1.1rem;
        }

        .metodo-card p {
            font-size: 0.95rem;
        }
}


/* ==========================
   SECCIÓN EMOCIONES Y PROFESIONALISMO
   ========================== */

.emociones-section {
    background: linear-gradient(180deg, #fefefe 0%, #e8f9f1 100%);
    position: relative;
    overflow: hidden;
}

/* Título con gradiente animado */
.titulo-emociones {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.3;
    background: linear-gradient(90deg, #00bfa6, #ff6b81, #ffd93d, #00c2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300%;
    animation: colorShift 6s linear infinite;
}

@keyframes colorShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* Texto */
.emociones-section p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== Galería dinámica ===== */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    position: relative;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .galeria-item img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: transform 0.5s ease;
        border-radius: 20px;
    }

    .galeria-item:hover img {
        transform: scale(1.1);
    }

/* Overlay de color animado */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,191,166,0.6), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 20px;
    padding-bottom: 15px;
}

    .overlay span {
        color: #fff;
        font-weight: 800;
        font-size: 1.2rem;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

.galeria-item:hover .overlay {
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .galeria-item img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .galeria-item img {
        height: 200px;
    }

    .titulo-emociones {
        font-size: 2rem;
    }
}
