:root{
    /* Colores */
    --color-principal-fondo: rgb(248 235 180 / 63%);
    /* Tipo de Letra */
    --font-family: Montserrat, sans-serif;
    --font-size: 16px;
}

/* Inicio Carrusel ---------------------------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
        html {
            scroll-behavior: smooth;
        }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #6daf7a49 0%, #fffb0c4c 100%);
    color: #fff;
    
}
img {
    -webkit-user-drag: none;
    user-select: none;


}
.filosofia-educativa {
    padding: 80px 20px;
    font-family: 'Arial', sans-serif;
    position: relative;
    overflow: hidden;
}

.contenido-filosofia {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.tarjeta-contenido {
    background: #ffffff7d;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
    border: 1px solid #e8f5e8;
}

.tarjeta-contenido h2 {
    color: #2c5530;
    font-size: 2.8rem;
    margin-bottom: 35px;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.texto-contenido p {
    color: #444;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid #4a7c59;
}

.texto-contenido p:first-child {
    border-left-color: #2c5530;
}

.texto-contenido p:last-child {
    border-left-color: #6ba86b;
}

/* Decoraciones */
.decoracion {
    position: absolute;
    width: 220px;
    height: auto;
    z-index: 1;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.decoracion-izquierda {
    left: -220px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}

.decoracion-derecha {
    right: -220px;
    top: 50%;
    transform: translateY(-50%);
}



/* Responsive */
@media (max-width: 1200px) {
    .decoracion {
        width: 180px;
    }
    
    .decoracion-izquierda {
        left: -40px;
    }
    
    .decoracion-derecha {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .filosofia-educativa {
        padding: 50px 15px;
    }
    
    .tarjeta-contenido {
        padding: 35px 25px;
        border-radius: 15px;
    }
    
    .tarjeta-contenido h2 {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .texto-contenido p {
        font-size: 1.05rem;
        line-height: 1.7;
        padding-left: 15px;
        margin-bottom: 20px;
    }
    
    .decoracion {
        width: 120px;
        opacity: 0.7;
    }
    
    .decoracion-izquierda {
        left: -20px;
        top: 40%;
    }
    
    .decoracion-derecha {
        right: -20px;
        top: 60%;
    }
}

@media (max-width: 480px) {
    .filosofia-educativa {
        padding: 40px 10px;
    }
    
    .tarjeta-contenido {
        padding: 25px 20px;
    }
    
    .tarjeta-contenido h2 {
        font-size: 1.8rem;
    }
    
    .texto-contenido p {
        font-size: 1rem;
        text-align: left;
        padding-left: 12px;
        border-left-width: 2px;
    }
    
    .decoracion {
        display: none; /* Ocultamos decoraciones en móvil muy pequeño */
    }
}

/* Estilos Base y Fondo */
.baby-care-section {
  min-height: 100vh;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
/*   background: linear-gradient(135deg, #f8f5e8 0%, #fff9e6 50%, #f0f7e6 100%); */
}

.bubbles-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  bottom: -100px;
  animation: floatUp linear infinite;
  border: 1px solid rgba(255, 255, 255, 0.79);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0.7;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) scale(1.2);
    opacity: 0;
  }
}

/* Estilos Mejorados para las Cards */
.modern-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.card {
  flex: 1;
  min-width: 350px;
  max-width: 500px;
  background: linear-gradient(135deg, #ffffff88 0%, #fdfdfd7b 100%);
  border-radius: 24px;
  padding: 0;
  box-shadow: 
    0 15px 35px rgba(139, 121, 75, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.scroll-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(139, 121, 75, 0.15),
    0 15px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Efecto de brillo al hacer hover */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transition: left 0.8s ease;
  z-index: 1;
}

.card:hover::before {
  left: 100%;
}

.card-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
/*   background: linear-gradient(90deg, #9BC1A1, #D4A76A, #9BC1A1); */
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Header de la Card */
.card-header {
  padding: 40px 40px 20px;
  text-align: center;
/*   background: linear-gradient(135deg, rgba(155, 193, 161, 0.05) 0%, rgba(212, 167, 106, 0.05) 100%); */
  position: relative;
}

.card-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

.card-title {
  font-size: 2.2rem;
  color: #2c5530;
  margin-bottom: 0;
  font-weight: 700;
  background: linear-gradient(135deg, #2c5530, #4a7c59);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Contenido de la Card */
.card-content {
  padding: 30px 40px;
}

.card-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #5a4a2a;
  text-align: justify;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Footer de la Card */
.card-footer {
  padding: 20px 40px 40px;
  position: relative;
}

.card-decoration {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.decoration-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: dotPulse 2s infinite ease-in-out;
}

.mission-card .decoration-dot {
  background: linear-gradient(135deg, #9BC1A1, #7AA37E);
}

.vision-card .decoration-dot {
  background: linear-gradient(135deg, #D4A76A, #C19A5B);
}

.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.4s; }
.dot-3 { animation-delay: 0.8s; }

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Efectos específicos para cada card */
.mission-card {
  border-top: 4px solid #9BC1A1;
}

.vision-card {
  border-top: 4px solid #D4A76A;
}

/* Efecto de partículas en las cards */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(155, 193, 161, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 167, 106, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .modern-cards {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
  }
  
  .card {
    width: 100%;
    min-width: unset;
  }
  
  .card-header {
    padding: 30px 30px 15px;
  }
  
  .card-content {
    padding: 25px 30px;
  }
  
  .card-footer {
    padding: 15px 30px 30px;
  }
  
  .card-title {
    font-size: 1.8rem;
  }
  
  .card-icon {
    font-size: 3.5rem;
  }
}

@media (max-width: 480px) {
  .baby-care-section {
    padding: 40px 15px;
  }
  
  .card-header {
    padding: 25px 25px 15px;
  }
  
  .card-content {
    padding: 20px 25px;
  }
  
  .card-text {
    font-size: 1rem;
    line-height: 1.7;
  }
}



.two-column-section {
  padding: 75px 90px;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.columns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Columna Izquierda */
.left-column {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.left-column.visible {
  opacity: 1;
  transform: translateX(0);
}

.section-header {
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #d30c9eff !important;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #3499ffff, #ef2293ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Carrusel de Servicios Mejorado */
.services-carousel-wrapper {
  position: relative;
  height: 420px;
  border-radius: 20px;
  padding: 30px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.services-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  top: 100px;
}

.carousel__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  opacity: 0;
  transform: translateY(100%) scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.carousel__item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
  z-index: 3;
}

.carousel__item.prev {
  opacity: 0.4;
  transform: translateY(-100%) scale(0.9);
  z-index: 2;
}

.carousel__item.next {
  opacity: 0.4;
  transform: translateY(100%) scale(0.9);
  z-index: 1;
}

.carousel__item-head {
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(36, 74, 56, 0.85), #34f052);
  width: 80px;
  height: 80px;
  padding: 18px;
  position: relative;
  margin-right: -30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
  z-index: 2;
  transition: all 0.3s ease;
}

.carousel__item.active .carousel__item-head {
  transform: scale(1);
}

.carousel__item:hover .carousel__item-head {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(52, 152, 219, 0.4);
}

.carousel__item-body {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px 25px 20px 60px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.carousel__item.active .carousel__item-body {
  transform: translateX(0);
}

.carousel__item:hover .carousel__item-body {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  text-transform: none;
}

.carousel__item-body p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

/* Controles del carrusel */
.carousel-controls {
  position: absolute;
  right: 2px;
  top: 52%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(36, 74, 56, 0.85), #34f052);
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.carousel-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: scale(1);
}

/* Columna Derecha */
.right-column {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.right-column.visible {
  opacity: 1;
  transform: translateX(0);
}

.visual-content {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.main-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-container:hover .main-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.1), rgba(52, 152, 219, 0.1));
  pointer-events: none;
}

/* Elementos flotantes */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  animation: floatElement 6s ease-in-out infinite;
}

.element-1 {
  top: 10%;
  left: -30px;
  animation-delay: 0s;
}

.element-2 {
  top: 50%;
  right: -30px;
  animation-delay: -2s;
}

.element-3 {
  bottom: 20%;
  left: -20px;
  animation-delay: -4s;
}

@keyframes floatElement {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .columns-grid {
    gap: 60px;
  }
  
  .column-content h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .columns-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .two-column-section {
    padding: 60px 20px;
  }
  
  .column-content h2 {
    font-size: 2.4rem;
  }
  
  .services-carousel-wrapper {
    height: 400px;
    padding: 20px;
  }
  
  .carousel__item-head {
    width: 60px;
    height: 60px;
    padding: 14px;
    font-size: 24px;
  }
  
  .carousel__item-body {
    padding: 15px 20px 15px 45px;
  }
  
  .title {
    font-size: 1.1rem;
  }
  
  .floating-elements {
    display: none;
  }
  
  .carousel-controls {
    display: none;
  }
}

@media (max-width: 480px) {
  .column-content h2 {
    font-size: 2rem;
  }
  
  .services-carousel-wrapper {
    height: 350px;
    padding: 15px;
  }
}




        .contact-container {
            position: relative;
            padding: 5rem 1.5rem;
 
            overflow: hidden;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .contact-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }
        

        



        

        
        .contact-wrapper {
            position: relative;
            z-index: 1;
            max-width: 1400px;
            width: 100%;
        }
        
        .contact-header {
            text-align: center;
            margin-bottom: 4rem;
        }
        
        .title-decoration {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .title-circle {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: linear-gradient(45deg, #3498db, #2ecc71);
            animation: pulse 2s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.2);
                opacity: 0.7;
            }
        }
        
        .contact-main-title {
            font-size: 3.5rem;
            font-weight: 800;
            background: linear-gradient(
212deg, #c869d7, #3498db, #b51ae9);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            letter-spacing: -1px;
        }
        
        .title-divider {
            width: 120px;
            height: 3px;
            background: linear-gradient(to right, transparent, #3498db, #2ecc71, transparent);
            margin: 0 auto 2rem;
            border-radius: 2px;
        }
        
        .contact-intro {
            font-size: 1.3rem;
            color: #202020ff;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
            font-weight: 300;
        }
        
        /* GRID DE 4 COLUMNAS */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-bottom: 4rem;
        }
        
        .contact-card {
            position: relative;
            background: rgba(255, 255, 255, 0.74);
            border-radius: 20px;
            padding: 0;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 280px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .card-glow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1), transparent);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .card-inner {
            position: relative;
            padding: 2rem 1.5rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            z-index: 2;
            height: 100%;
            justify-content: center;
        }
        
        .contact-card:hover {
            transform: translateY(-15px) scale(1.02);
            border-color: rgba(52, 152, 219, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }
        
        .contact-card:hover .card-glow {
            opacity: 1;
        }
        
        /* CORRECCIÓN DEL ICONO DE YOUTUBE - CÍRCULO PERFECTO */
        .card-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: white;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
            /* Asegurar que sea perfectamente circular */
            aspect-ratio: 1 / 1;
            flex-shrink: 0;
        }
        
        /* Corrección específica para YouTube */
        .youtube-bg {
            background: linear-gradient(45deg, #ff0000, #cc0000);
            /* Asegurar que el gradiente también sea circular */
            border-radius: 50% !important;
        }
        
        .instagram-bg {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            border-radius: 50% !important;
        }
        
        .whatsapp-bg {
            background: linear-gradient(45deg, #25d366, #128c7e);
            border-radius: 50% !important;
        }
        
        .email-bg {
            background: linear-gradient(45deg, #ea4335, #d14836);
            border-radius: 50% !important;
        }
        
        .contact-card:hover .card-icon {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }
        
        .card-content {
            flex: 1;
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .card-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 0.8rem;
            letter-spacing: 0.5px;
        }
        
        .card-detail {
            color: #2d2d2dff;
            font-size: 0.95rem;
            line-height: 1.4;
            font-weight: 300;
        }
        
        .card-hover-effect {
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.6s ease;
        }
        
        .contact-card:hover .card-hover-effect {
            left: 100%;
        }
        
        .card-link {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 3;
        }
        
        .contact-footer {
            text-align: center;
            /* padding-top: 3rem; */
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
        }
        
        .footer-decoration {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .footer-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: linear-gradient(45deg, #3498db, #2ecc71);
            animation: bounce 2s ease-in-out infinite;
        }
        
        .footer-dot:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .footer-dot:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
        
        .footer-text {
            font-size: 1.1rem;
            color: #222222ff;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
            font-weight: 300;
        }
        
        /* RESPONSIVE */
        @media (max-width: 1200px) {
            .contact-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
            
            .contact-card {
                height: 260px;
            }
        }
        
        @media (max-width: 768px) {
            .contact-main-title {
                font-size: 2.5rem;
            }
            
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                max-width: 400px;
                margin-left: auto;
                margin-right: auto;
            }
            
            .contact-card {
                height: 240px;
            }
            
            .card-inner {
                padding: 2rem 1.5rem;
            }
            
            .title-decoration {
                gap: 0.5rem;
            }
        }
        
        @media (max-width: 480px) {
            .contact-container {
                padding: 3rem 1rem;
            }
            
            .contact-main-title {
                font-size: 2rem;
            }
            
            .contact-intro {
                font-size: 1.1rem;
            }
            
            .card-icon {
                width: 70px;
                height: 70px;
            }
            
            .contact-card {
                height: 220px;
            }
        }
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: floatpar 15s infinite linear;
}

@keyframes floatpar {
    0% {
        transform: translateY(100vh) translateX(0);
    }
    100% {
        transform: translateY(-100px) translateX(20px);
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    position: relative;
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #02250d63;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease-out;
    z-index: -1;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.slide p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.3);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
    z-index: 10;
}

.arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.arrow i {
    font-size: 24px;
    color: white;
}

.slide-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    z-index: 10;
    opacity: 0.8;
    animation: bounce 2s infinite;
    bottom: 60px;
}

.scroll-indicator span {
    margin-bottom: 5px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}



/* Indicador de carga */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgb(72 160 94);
    width: 0%;
    transition: width 0.1s linear;
    z-index: 10;
}

/* Secciones adicionales */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    color: #333;
}

/* .section:nth-child(even) {
    background: #f5f5f5;
} */

.section-content {
    max-width: 1000px;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .slide h2 {
        font-size: 2.5rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .carousel-arrows {
        padding: 0 15px;
    }
    
    .arrow {
        width: 40px;
        height: 40px;
    }
    .arrow img {
        width: 50px !important;
        height: 50px !important;
    }
}
/* Fin Carrusel ------------------------------------------------------------------------------------ */


/* Section 1 ----------------------------------------------------------------------------------------*/
@keyframes ffloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@media (min-width: 768px) {
    .section1 {
        padding: 100px 20px !important;
    }
    
    .section-inner {
        flex-direction: row !important;
        gap: 0 !important;
    }
    
    .content-card {
        margin-right: -60px !important;
        margin-bottom: 0 !important;
        transform: translateY(-20px) !important;
        order: 1 !important;
        padding: 50px 40px !important;
        border-radius: 24px !important;
    }
    
    .image-card {
        margin-bottom: 0 !important;
        order: 2 !important;
        height: 500px !important;
        padding: 30px !important;
        border-radius: 24px !important;
        flex: 0 0 450px !important;
        width: auto !important;
    }
    
    .content-card h2 {
        font-size: 2.5rem !important;
        text-align: left !important;
    }
    
    .content-card p {
        text-align: left !important;
        font-size: 1.1rem !important;
    }
    
    .content-card .button-container {
        justify-content: flex-start !important;
    }
    
    .particle-1, .particle-2 {
        display: block !important;
    }
    
    .content-card:hover {
        transform: translateY(-25px) !important;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .content-card {
        max-width: 400px !important;
        margin-bottom: -30px !important;
    }
    
    .image-card {
        max-width: 350px !important;
        height: 300px !important;
    }
    
    .content-card h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 479px) {
    .content-card {
        padding: 30px 20px !important;
        margin-bottom: -20px !important;
    }
    
    .image-card {
        padding: 20px !important;
        /* height: 280px !important; */
        margin-bottom: 25px !important;
    }
    
    .content-card h2 {
        font-size: 1.6rem !important;
    }
    
    .stats-container div {
        font-size: 1.3rem !important;
    }
    
    .button-container a {
        min-width: 120px !important;
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
    }
}

/* Mejoras de usabilidad táctil */
@media (max-width: 768px) {
    .content-card, .image-card {
        transition: transform 0.3s ease !important;
    }
    
    .content-card:active {
        transform: translateY(-2px) !important;
    }
    
    .image-card:active {
        transform: scale(0.98) !important;
    }
    
    a {
        -webkit-tap-highlight-color: transparent;
    }
}
/* Fin Section 1 ----------------------------------------------------------------------------------- */

        @keyframes ubicacion-float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-15px) rotate(5deg); }
        }


        @media (min-width: 768px) {
            .ubicacion-section {
                padding: 80px 20px !important;
            }
            
            .ubicacion-container {
                flex-direction: column !important;
                gap: 0 !important;
            }
            
            .ubicacion-info-card {
                margin-bottom: -40px !important;
                transform: translateY(0) !important;
                order: 1 !important;
                padding: 50px 40px !important;
                border-radius: 24px !important;
            }
            
            .ubicacion-map-card {
                margin-top: -30px !important;
                order: 2 !important;
                height: 400px !important;
                padding: 30px !important;
                border-radius: 24px !important;
                width: 450px !important;
            }
            
            .ubicacion-info-card h2 {
                font-size: 2.2rem !important;
            }
            
            .ubicacion-particle-1, .ubicacion-particle-2 {
                display: block !important;
            }
        }

        @media (min-width: 480px) and (max-width: 767px) {
            .ubicacion-info-card {
                max-width: 400px !important;
                margin-bottom: -30px !important;
            }
            
            .ubicacion-map-card {
                max-width: 640px !important;
                height: 420px !important;
                margin-top: -25px !important;
            }
            
            .ubicacion-info-card h2 {
                font-size: 2rem !important;
            }
        }

        @media (max-width: 479px) {
            .ubicacion-info-card {
                padding: 30px 20px !important;
                margin-bottom: -20px !important;
            }
            
            .ubicacion-map-card {
                padding: 20px !important;
                height: 424px !important;
                margin-top: -15px !important;
            }
            
            .ubicacion-info-card h2 {
                font-size: 1.6rem !important;
            }
        }

        /* Mejoras de usabilidad táctil */
        @media (max-width: 768px) {
            .ubicacion-info-card, .ubicacion-map-card {
                transition: transform 0.3s ease !important;
            }
            
            .ubicacion-info-card:active {
                transform: translateY(-2px) !important;
            }
            
            .ubicacion-map-card:active {
                transform: scale(0.98) !important;
            }
            
            a {
                -webkit-tap-highlight-color: transparent;
            }
        }
/* Fin Ubicación ----------------------------------------------------------------------------------- */
@media(max-width: 614px) {
    .durmiendo-div{
        top: 97% !important;
    }
}




            @media (max-width: 1068px) {
                .durmiendo2 {
                    top: 1% !important;
                    /* display: none; */
                }
                .img-durmiendo2 {
                    width: 40% !important;
                    /* display: none; */
                }
            }
            @media (max-width: 1004px) {
                .fresita {
                    right: -20% !important;
                }
            }
            @media (max-width: 980px) {
                .fresita {
                    top: 10% !important;
                    right: -30% !important;
                }
                .fresita-img {
                    width: 30% !important;
                }
            }
            @media (max-width: 653px) {
                .fresita {
                    top: 10% !important;
                }
            }
            @media (max-width: 598px) {
                .fresita {
                    top: 4% !important;
                }
            }
            @media (max-width: 510px) {
                .fresita {
                     display: none;
                }
            }

            @media (max-width: 1209px) {
                .arbol2 {
                    display: none;
                }
                .arbol1{
                    display: none;
                }
            }

            @media (max-width: 950px) {
                .crayon{
                    display: none;
                }
                .durmiendo2 {
                    top: 1% !important;
                    left: -2px !important;
                    /* display: none; */
                }
                .img-durmiendo2 {
                    width: 40% !important;
                    /* display: none; */
                }
            }
            @media (max-width: 796px) {
                .img-durmiendo2 {
                    display: none;
                }
            }
    
        .gallery-modern-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
            align-items: stretch;
            position: relative;
            min-height: 500px;
        }
        .gallery-modern-item {
            border-radius: 22px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(102,126,234,0.13), 0 1.5px 8px rgba(0,0,0,0.04);
            background: #fff;
            transition: box-shadow .3s, transform .3s;
            cursor: pointer;
            position: relative;
        }
        .gallery-modern-img-wrap {
            width: 100%;
            height: 100%;
            aspect-ratio: 4/3;
            overflow: hidden;
            position: relative;
            display: flex;
            align-items: stretch;
            justify-content: center;
            background: #eaeaea;
        }
        .gallery-modern-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform .35s cubic-bezier(.4,2,.6,1);
            filter: brightness(0.93) saturate(1.1);
        }
        .gallery-modern-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg,rgba(0,0,0,0.05) 60%,rgba(111,33,135,0.85) 100%);
            color: #fff;
            opacity: 0;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding: 0 18px 22px 18px;
            font-size: 1.13rem;
            font-weight: 700;
            letter-spacing: -.5px;
            border-radius: 0 0 22px 22px;
            transition: opacity .32s cubic-bezier(.4,2,.6,1);
            text-shadow: 0 2px 12px rgba(0,0,0,0.18);
            pointer-events: none;
        }
        .gallery-modern-item:hover img {
            transform: scale(1.08) rotate(-1deg);
            filter: brightness(1.05) saturate(1.2);
        }
        .gallery-modern-item:hover .gallery-modern-overlay {
            opacity: 1;
            pointer-events: auto;
        }
        .gallery-nav:hover {
            transform: translateY(-50%) scale(1.1);
        }
        .gallery-nav:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: translateY(-50%);
        }
        .gallery-nav:disabled:hover {
            transform: translateY(-50%);
        }
        .page-dot:hover {
            background: linear-gradient(45deg, rgba(36, 74, 56, 0.85), rgb(57 239 102)) !important;
        }
        @media (max-width: 900px) {
            .gallery-modern-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .gallery-nav {
                display: none !important;
            }
        }
        @media (max-width: 600px) {
            .gallery-modern-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }
            .gallery-modern-img-wrap { aspect-ratio: 16/11; }
        }
    
            @media (max-width: 1030px) {
                .flechas {
                   top: 3% !important;
                   width: 40% !important;
                }
                .lapiz, .social-handle {
                   display: none !important;
                }


  
            }
            @media (max-width: 630px) {
                .flechas {
                   top: 5% !important;
                   width: 50% !important;
                }
  
            }
            @media (max-width:1020px) {
                .title{
                    top: -16% !important;
                }
  
            }
            @media (max-width: 955px) {
                .title{
                    top: -16% !important;
                    left: 22% !important;
                    
                }
  
            }
            @media (max-width: 945px) {
                .title{
                    top: -16% !important;
                    left: 22% !important;
                    
                }
  
            }
            @media (max-width: 935px) {
                .title{
                    top: -16% !important;
                    left: 22% !important;
                    
                }
  
            }
            @media (max-width: 880px) {
                .title{
                    top: -16% !important;
                    left: 16% !important;
                    
                }
  
            }
            @media (max-width: 818px) {
                .title{
                    top: -12% !important;
                    left: 16% !important;
                    
                }
  
            }
                        @media (max-width: 770px) {
                .title{
                    top: -12% !important;
                    left: 16% !important;
                    
                }
  
            }
            @media (max-width: 768px) {
                .title{
                   display: none !important;
                    
                }
  
            }

       .contact-section {
    position: relative;
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
/*     padding: 50px 40px; */
    display: block;
    margin: 0 auto;
    text-align: center;
}



.section-content {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 98%;
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 60px auto;
}

.contact-title {
    font-size: 3rem;
    margin-top: 90px;
    background: linear-gradient(45deg, #6f2187, #ff1ec7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(111, 33, 135, 0.1);
}

.title-decoration {
    margin-bottom: 40px;
}

.title-decoration img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.contact-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 50px;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 90px;
    margin-bottom: 50px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    width: 120px;
}

.social-link:hover {
    transform: translateY(-10px);
}

.social-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 30px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.youtube {
    background: linear-gradient(45deg, #FF0000, #CC0000);
}

.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.email {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.social-name {
    font-weight: 600;
    color: #444;
    font-size: 1.1rem;
}

.social-handle {
    color: #777;
    font-size: 0.9rem;
    margin-top: 5px;
}

.contact-footer {
    margin-top: 30px;
    color: #777;
    font-size: 1rem;
}

/* Efectos de animación */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.social-link:nth-child(1) .social-icon {
    animation: float 3s ease-in-out infinite;
}

.social-link:nth-child(2) .social-icon {
    animation: float 3s ease-in-out 0.5s infinite;
}

.social-link:nth-child(3) .social-icon {
    animation: float 3s ease-in-out 1s infinite;
}

.social-link:nth-child(4) .social-icon {
    animation: float 3s ease-in-out 1.5s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 20px;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .social-links {
        gap: 130px;
    }
    
    .social-link {
        width: 100px;
    }
    
    .social-icon {
        width: 70px;
        height: 70px;
        font-size: 25px;
    }
    
    .crayon-decoration {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 43px;
    }
    
    .social-link {
        width: 80px;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .social-name {
        font-size: 0.9rem;
    }
    
    .social-handle {
        font-size: 0.8rem;
    }
}
