/* METAMORFOSIS CONSCIENTE - Main Styles */
:root {
    /* Colores Principales */
    --primary-color: #6A3DE8; /* Púrpura más intenso */
    --secondary-color: #FF7D3B; /* Naranja cálido para contrastar */
    --accent-color: #151033; /* Azul oscuro más profundo */
    
    /* Colores de Fondo */
    --light-bg: #F3EAFF; /* Lavanda suave para fondos */
    --gradient-bg: linear-gradient(135deg, #6A3DE8, #B96BFF); /* Gradiente para elementos llamativos */
    
    /* Colores de Texto */
    --text-color: #2C2A40; /* Un poco más suave que negro puro */
    --text-light: #F9F7FF; /* Para texto sobre fondos oscuros */
    --text-accent: #FF7D3B; /* Para destacados en texto */
    
    /* Otros */
    --light-gray: #E3E1F0;
    --white: #FFFFFF;
    --dark-bg: #151033;
    
    /* Fuentes */
    --font-main: 'Poppins', sans-serif; /* Fuente principal moderna y limpia */
    --font-headings: 'Playfair Display', serif; /* Fuente elegante para títulos */
    --font-accent: 'Quicksand', sans-serif; /* Fuente redondeada para elementos destacados */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

html {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    min-width: 100%;
    /* Prevenir zoom accidental en iOS */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Prevenir zoom en iOS Safari - más restrictivo */
    touch-action: manipulation;
    /* Prevenir parpadeo inicial */
    opacity: 1;
    visibility: visible;
    /* Forzar contenedor */
    overflow-y: auto;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    min-width: 100%;
    /* Mejorar comportamiento de zoom en iOS */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    margin: 0 !important;
    padding: 0 !important;
    /* Prevenir zoom en iOS Safari - más restrictivo */
    touch-action: manipulation;
    /* Prevenir parpadeo inicial */
    opacity: 1 !important;
    visibility: visible !important;
    /* Forzar contenedor en iOS */
    overflow-y: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
}

.btn, .nav-links, .section-title p {
    font-family: var(--font-accent);
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    background-color: var(--accent-color); /* Black background */
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: var(--accent-color); /* Keep black on scroll */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Regla global para evitar overflow horizontal */
div, section, header, footer, nav, main, article, aside {
    max-width: 100%;
    overflow-x: hidden;
}

/* Prevenir desbordamiento en iOS Safari con zoom - SOLO MÓVIL */
@media (max-width: 768px) {
    @supports (-webkit-touch-callout: none) {
        /* Específico para iOS Safari móvil */
        html, body {
            overflow-x: hidden !important;
            width: 100% !important;
            min-width: 100% !important;
            max-width: 100vw !important;
        }
        
        /* Aplicar max-width solo a elementos que pueden causar overflow, NO a position fixed */
        div:not(.whatsapp-float), 
        section, 
        article, 
        main,
        img, 
        video, 
        iframe {
            max-width: 100vw !important;
        }
        
        img, video, iframe {
            height: auto !important;
        }
        
        /* Asegurar que navbar no cause overflow */
        .navbar {
            max-width: 100vw !important;
        }
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-buttons {
    margin-top: 30px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 90px;
    width: auto;
    max-width: 300px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
    text-align: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
    z-index: 1001;
    transition: all 0.3s ease;
}

/* Vision Section */
.vision-section {
    background-image: linear-gradient(rgba(8, 3, 38, 0.7), rgba(8, 3, 38, 0.7)), url('/assets/img/meditation-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 0;
    display: flex;
    align-items: center;
}

.vision-content {
    max-width: 800px;
}

.vision-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.vision-primary {
    color: var(--white);
}

.vision-secondary {
    font-style: italic;
    font-weight: 400;
}

.vision-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(240, 235, 255, 0.2), rgba(66, 18, 211, 0.7)), url('/assets/img/home-header.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.herow {
    background-image: linear-gradient(rgba(240, 235, 255, 0.2), rgba(66, 18, 211, 0.7)), url('/assets/img/front-01.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.neuro-hero {
    background-image: linear-gradient(rgba(8, 3, 38, 0.2), rgba(8, 3, 38, 0.2)), url('/assets/img/neuro-header.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.corporate-hero {
    background-image: linear-gradient(rgba(8, 3, 38, 0.7), rgba(8, 3, 38, 0.7)), url('/assets/img/bienestar-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.events-hero {
    background-image: linear-gradient(rgba(8, 3, 38, 0.7), rgba(8, 3, 38, 0.7)), url('/assets/img/eventos-header.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.wim-hof-hero {
    background-color: var(--accent-color);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Estilos para la estructura de dos columnas en hero */
.hero-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-image-column {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-image-column img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-content-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Media queries para responsive */
@media (max-width: 992px) {
    .hero-two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image-column {
        order: 1; /* La imagen aparece primero en móvil */
    }
    
    .hero-content-column {
        order: 2;
    }
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff; /*var(--accent-color);*/
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-image: var(--gradient-bg); /* Usar gradiente en lugar de color plano */
    color: var(--white);
    text-decoration: none;
    border-radius: 30px; /* Botones más redondeados */
    font-weight: 600;
    border: none;
    box-shadow: 0 5px 15px rgba(106, 61, 232, 0.3); /* Sombra suave del color principal */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animación más expresiva */
}

.btn:hover {
    background-color: var(--accent-color);
    background-image: none;
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(106, 61, 232, 0.5);
}

.btn-outline {
    background-color: transparent;
    background-image: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.service-card .btn-outline {
    margin-top: auto;
}

.program-card .btn {
    margin-top: auto;
}

.media-card .btn-outline {
    margin-top: auto;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: 16px; /* Bordes más redondeados */
    border-left: 4px solid var(--secondary-color); /* Borde lateral para acento */
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.service-card p {
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Intro Section */
.neurochangesolutions .intro-section,
.corporatewellness .intro-section,
.events-page .intro-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.intro-text {
    font-size: 1.4rem;
    line-height: 1.8;
    font-weight: 500;
}

/* Co-Creating Section */
.corporatewellness .co-creating-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.co-creating-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Contenedor de la imagen - estilos para desktop */
.co-creating-image-container {
    width: 100%;
}

/* Imagen - estilos para desktop */
.co-creating-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.co-creating-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .co-creating-image-container {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
        width: 100%;
    }
    
    .co-creating-content.mobile-layout .co-creating-image {
        max-width: 300px;
    }
}

/* Contenedor del texto - estilos para desktop */
.co-creating-text-container {
    width: 100%;
}

/* Texto - estilos para desktop */
.co-creating-text {
    padding: 1rem 0;
    text-align: left;
}

.co-creating-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: left;
}

.co-creating-text .btn {
    margin: 1.5rem 0 0;
    display: inline-block;
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .co-creating-content.mobile-layout .co-creating-text {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .co-creating-content.mobile-layout .co-creating-text p {
        text-align: center;
    }
    
    .co-creating-content.mobile-layout .co-creating-text .btn {
        margin: 1.5rem auto 0;
        display: block;
        max-width: 200px;
    }
}

/* Problem Section */
.corporatewellness .problem-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.problem-content {
    text-align: center;
}

  .problem-content p {
      margin-bottom: 2rem;
  }
  
 /* Science Content - desktop layout */
 .science-content {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 3rem;
     align-items: center;
     margin-top: 3rem;
 }

 /* Explicit desktop definition when using helper class */
 .science-content.mobile-layout {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 4rem;
     align-items: center;
     margin-top: 3rem;
 }

 /* Estilos para la sección science-content */
  .co-creating-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
      margin-top: 3rem;
  }

/* Estilos para la versión móvil en todos los tamaños de pantalla */
.co-creating-content.mobile-layout {
    /* En desktop: imagen a la izquierda, texto a la derecha */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .co-creating-content.mobile-layout {
        /* En móvil: imagen arriba, texto abajo */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        margin-top: 3rem;
    }
    
    .science-content.mobile-layout {
        /* En móvil: imagen arriba, texto abajo */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        margin-top: 3rem;
    }
}

/* Contenedor de la imagen - estilos para desktop */
.science-image-container {
    width: 100%;
}

/* Imagen - estilos para desktop */
.science-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.science-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .science-image-container {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
        width: 100%;
    }
    
    .science-content.mobile-layout .science-image {
        max-width: 300px;
    }
}

/* Contenedor del texto - estilos para desktop */
.science-text-container {
    width: 100%;
}

/* Texto - estilos para desktop */
.science-text {
    padding: 1rem 0;
    text-align: left;
}

.science-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: left;
}

.science-text .btn {
    margin: 1.5rem 0 0;
    display: inline-block;
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .science-content.mobile-layout .science-text {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .science-content.mobile-layout .science-text p {
        text-align: center;
    }
    
    .science-content.mobile-layout .science-text .btn {
        margin: 1.5rem auto 0;
        display: block;
        max-width: 200px;
    }
}

/* Solution Section */
.neurochangesolutions .solution-section,
.corporatewellness .solution-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.solution-intro {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 500;
    color: var(--accent-color);
}

.solution-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.solution-info {
    text-align: left;
}

.solution-info h3 {
    margin-bottom: 1rem;
}

.solution-info ul,
.solution-info ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.solution-info li {
    margin-bottom: 0.5rem;
    text-align: left;
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.solution-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-align: center;
}

.solution-card p {
    margin-bottom: 1rem;
}

.solution-card ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.solution-card li {
    margin-bottom: 0.5rem;
}

.solution-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.detail-item p {
    margin-bottom: 0;
}

/* Steps Section */
.neurochangesolutions .steps-section {
    padding: 6rem 0;
    background-color: var(--accent-color);
    color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

/* Model Section */
.model-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.model-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.model-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.model-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.model-image img {
    width: 100%;
    height: auto;
    display: block;
}

.model-cta {
    margin-top: 2rem;
}

/* Events Section */
.events-page .events-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.event-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-image {
    overflow: hidden;
    height: 220px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.event-meta p {
    margin: 0;
    display: flex;
    align-items: center;
}

.event-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.event-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

/* Past Events Section */
.events-page .past-events-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.past-events-slider {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    min-width: 100%;
    position: relative;
}

.slider-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 2rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.slider-caption h4 {
    margin: 0;
    font-size: 1.2rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.slider-nav button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background-color: var(--accent-color);
}

/* Newsletter Section */
.events-page .newsletter-section {
    padding: 6rem 0;
    background-color: var(--white);
}

/* WIM HOF PAGE STYLES */
.wim-hof-page .intro-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.wim-hof-page .facilitators-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.facilitators-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.facilitator-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.facilitator-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.facilitator-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.facilitator-info h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.facilitator-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.facilitator-info p {
    margin-bottom: 1rem;
}

.experience-block {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.experience-block h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: center;
}

.experience-block p {
    line-height: 1.7;
}

.wim-hof-page .benefits-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.benefits-content {
    max-width: 900px;
    margin: 0 auto;
}

.benefits-content > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.benefits-list {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.benefits-list h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-list ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefits-list li {
    padding-left: 1.5rem;
    position: relative;
    border-left: 3px solid var(--primary-color);
}

.benefits-list .benefit-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
}

.benefits-list a.btn {
    display: block;
    max-width: 250px;
    margin: 2rem auto 0;
    text-align: center;
}

.wim-hof-page .method-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.method-content {
    max-width: 900px;
    margin: 0 auto;
}

.method-content > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.method-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.pillar-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pillar-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.pillar-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.method-content > p:nth-of-type(2) {
    margin-top: 2rem;
}

.wim-hof-page .locations-section {
    padding: 4rem 0;
    background-color: var(--accent-color);
    color: var(--white);
}

.locations-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.location-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 800px;
}

.location-item {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.location-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.location-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.wim-hof-page .programs-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.programs-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 16px; /* Bordes más redondeados */
    border-left: 4px solid var(--secondary-color); /* Borde lateral para acento */
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

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

.program-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.program-icon i {
    font-size: 2rem;
    color: var(--white);
}

.program-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.program-card p {
    margin-bottom: 1.5rem;
    flex: 1;
}

.wim-hof-page .testimonials-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.testimonials-slider {
    max-width: 800px;
    margin: 3rem auto 0;
}

.testimonial {
    display: none;
}

.testimonial-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.wim-hof-page .cta-section {
    padding: 6rem 0;
    background-color: var(--white);
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.form-container {
    max-width: 600px;
    margin: 3rem auto 0;
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: 8px;
}

.form-container h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 16px; /* Mínimo 16px para prevenir zoom automático en iOS */
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Responsive styles for Wim Hof page */
@media (max-width: 768px) {
    .facilitator-profile {
        grid-template-columns: 1fr;
    }
    
    /* Los estilos para la sección About ahora se manejan con la clase mobile-layout */
    
    .method-pillars {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 2rem;
    }
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 1.5rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 16px; /* Mínimo 16px para prevenir zoom automático en iOS */
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Clients Section */
.clients-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.client-logo {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-width: 100%;
    height: auto;
}

/* Dr. Joe Section */
.dr-joe-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.dr-joe-flex-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.dr-joe-text-column {
    flex: 1;
}

.dr-joe-image-column {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.dr-joe-img-extended {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 600px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .dr-joe-flex-container {
        flex-direction: column-reverse;
    }
    
    .dr-joe-image-column {
        justify-content: center;
        margin-bottom: 2rem;
    }
}

.dr-joe-image {
    /*border-radius: 50%;*/
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dr-joe-image img {
    width: 100%;
    height: auto;
    display: block;
}

.dr-joe-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* About Section */
/* About Section - Welcome page */
.welcome-page .about {
    padding: 6rem 0;
    background-color: var(--white);
}

/* Estilos para la sección About */
.welcome-page .about-content.mobile-layout {
    /* En desktop: imagen a la izquierda, texto a la derecha */
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .welcome-page .about-content.mobile-layout {
        /* En móvil: imagen arriba, texto abajo */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
}

/* Contenedor de la imagen - estilos para desktop */
.welcome-page .about-image-container {
    width: 100%;
}

/* Imagen - estilos para desktop */
.welcome-page .about-content.mobile-layout .about-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .welcome-page .about-image-container {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .welcome-page .about-content.mobile-layout .about-image {
        max-width: 300px;
    }
}

/* Contenedor del texto - estilos para desktop */
.welcome-page .about-text-container {
    width: 100%;
}

/* Texto - estilos para desktop */
.welcome-page .about-content.mobile-layout .about-text {
    text-align: left;
    max-width: 800px;
}

.welcome-page .about-content.mobile-layout .about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.welcome-page .about-content.mobile-layout .about-text p {
    text-align: left;
    margin-bottom: 1.5rem;
}

.welcome-page .about-content.mobile-layout .about-text .btn {
    margin: 1.5rem 0 0;
    display: inline-block;
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .welcome-page .about-content.mobile-layout .about-text {
        text-align: center;
        margin: 0 auto;
    }
    
    .welcome-page .about-content.mobile-layout .about-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .welcome-page .about-content.mobile-layout .about-text .btn {
        margin: 1.5rem auto 0;
        display: block;
        max-width: 200px;
    }
}

/* About Content for other pages */
.about-page .about-content {
    padding: 6rem 0;
    background-color: var(--white);
}

.about-hero {
    background-image: linear-gradient(rgba(8, 3, 38, 0.7), rgba(8, 3, 38, 0.7)), url('/assets/img/conoce.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

/* Estilos para la sección about-profile */
.about-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Estilos para la versión móvil en todos los tamaños de pantalla */
.about-profile.mobile-layout {
    /* En desktop: imagen a la izquierda, texto a la derecha */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .about-profile.mobile-layout {
        /* En móvil: imagen arriba, texto abajo */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        margin-top:100px;
    }
}

.welcome-page .about-image {
    border-radius: 8px;
    overflow: hidden;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
    height: 100%;
}

.about-page .about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .welcome-page .about-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Profile in About Page */
/* Contenedor de la imagen - estilos para desktop */
.profile-image-container {
    width: 100%;
}

/* Imagen - estilos para desktop */
.profile-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .profile-image-container {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
        width: 100%;
    }
    
    .about-profile.mobile-layout .profile-image {
        max-width: 300px;
    }
}

/* Contenedor del texto - estilos para desktop */
.profile-text-container {
    width: 100%;
}

/* Texto - estilos para desktop */
.profile-text {
    padding: 1rem 0;
    text-align: left;
}

.profile-text h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: left;
}

.profile-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: left;
}

.profile-text .btn {
    margin: 1.5rem 0 0;
    display: inline-block;
}

/* Estilos responsivos para móvil */
@media (max-width: 768px) {
    .about-profile.mobile-layout .profile-text {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .about-profile.mobile-layout .profile-text h2 {
        text-align: center;
    }
    
    .about-profile.mobile-layout .profile-text p {
        text-align: center;
    }
    
    .about-profile.mobile-layout .profile-text .btn {
        margin: 1.5rem auto 0;
        display: block;
        max-width: 200px;
    }
}

/* Media Section */
.media-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.media-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px; /* Bordes más redondeados */
    border-left: 4px solid var(--secondary-color); /* Borde lateral para acento */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.media-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.media-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.media-source {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
    flex: 1;
}

/* Benefit Section */
.benefit-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-cta {
    margin-top: 3rem;
    text-align: center;
}

/* NCS Solution Section */
.ncs-solution-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.solution-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.solution-cta {
    margin-top: 3rem;
    text-align: center;
}

/* Programs Section */
.programs-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.programs-grid {
    display: grid;
}

.program-card {
background-color: var(--white);
padding: 2rem;
border-radius: 8px;
text-align: center;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
display: flex;
flex-direction: column;
height: 100%;
}

.program-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.program-card p {
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Changing Companies Section */
.changing-companies {
    padding: 6rem 0;
    background-color: var(--accent-color);
    color: var(--white);
}

.changing-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.changing-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.changing-text p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

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

.changing-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Call to Action */
.cta {
    padding: 6rem 0;
    background-color: var(--accent-color);
    color: var(--white);
    text-align: center;
}

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

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--white);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
}

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

.testimonial-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '\201C';
    font-size: 3rem;
    position: absolute;
    top: -2rem;
    left: -1rem;
    color: rgba(149, 133, 245, 0.2); /* Updated to match new purple primary color */
    font-family: serif;
}

/* Testimonials Carousel and Modal */
.testimonial-slider {
    position: relative;
    margin: 2rem auto;
    max-width: 1000px;
    overflow: hidden;
    width: 100%;
}

.testimonial-slider-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-slide {
    min-width: calc(33.333% - 20px);
    padding: 0 10px;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary-color);
}

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

.testimonial-text {
    font-size: 1rem;
    margin-top: 1rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.slider-prev,
.slider-next {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    box-sizing: border-box;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    position: relative;
    width: 90%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--accent-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* Contact Form Modal Styles */
#contact-modal .modal-content {
    max-width: 600px;
    padding: 30px;
}

.modal-close-contact {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--dark);
    cursor: pointer;
    z-index: 2001;
}

.modal-close-contact:hover {
    color: var(--primary-color);
}

#contact-modal h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

#contact-form .form-group {
    margin-bottom: 15px;
}

#contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px; /* Mínimo 16px para prevenir zoom automático en iOS */
}

#contact-form textarea {
    resize: vertical;
}

#contact-form button {
    margin-top: 10px;
    width: 100%;
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

.modal-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* Responsive styles for testimonial slider */
@media (max-width: 992px) {
    .testimonial-slide {
        min-width: calc(50% - 20px);
    }
    
    .testimonial-card {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .testimonial-slide {
        min-width: calc(100% - 20px);
    }
    
    .testimonial-card {
        margin: 0 auto;
        width: 90%;
        max-width: 280px;
        padding: 1.5rem;
    }
    
    .testimonial-image {
        width: 100px;
        height: 100px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    padding: 4rem 0;
    background-color: var(--accent-color);
    color: var(--white);
    width: 100%;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed !important; /* Forzar fixed para que siempre flote */
    width: 45px;
    height: 45px;
    bottom: 20px !important; /* Aumentado para mejor visibilidad en móviles */
    right: 15px !important; /* Forzar posición derecha */
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 22px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 99999 !important; /* Z-index muy alto para estar sobre footer */
    display: flex !important;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    transform: translateZ(0); /* Forzar aceleración por hardware */
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.whatsapp-float:hover {
    background-color: #20BA5C;
    transform: scale(1.1) translateZ(0);
    cursor: pointer;
}

/* Prevenir desbordamiento del botón de WhatsApp en iOS Safari móvil */
@media (max-width: 768px) {
    @supports (-webkit-touch-callout: none) {
        .whatsapp-float {
            right: 15px !important;
        }
        
        .whatsapp-float:hover {
            /* Reducir escala en hover para iOS móvil */
            transform: scale(1.05) translateZ(0);
        }
    }
}

.whatsapp-float i {
    margin-top: 3px;
}

.whatsapp-float .notification-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 15px;
    background-color: red;
    border-radius: 50%;
    border: 2px solid white;
}

/* Responsive Styles */

/* Hero section responsive styles */
@media (max-width: 768px) {
    .hero, .about-hero {
        background-attachment: scroll; /* Better performance on mobile */
        background-position: center center;
    }
    
    .hero h1, .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p, .about-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 90vh; /* Slightly smaller height on very small screens */
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    /* Ajustes para la sección About en dispositivos muy pequeños */
    .welcome-page .about-content.mobile-layout .about-image {
        max-width: 250px;
    }
    
    .welcome-page .about-content.mobile-layout .about-text {
        padding: 0 15px;
    }
    
    .welcome-page .about-text h2 {
        font-size: 2rem;
    }
    
    /* Ajustes para la sección about-profile en dispositivos muy pequeños */
    .about-profile.mobile-layout .profile-image {
        max-width: 250px;
    }
    
    .about-profile.mobile-layout .profile-text {
        padding: 0 15px;
    }
    
    /* Ajustes para la sección science-content en dispositivos muy pequeños */
    .science-content.mobile-layout .science-image {
        max-width: 250px;
    }
    
    .science-content.mobile-layout .science-text {
        padding: 0 15px;
    }
    
    /* Ajustes para la sección co-creating-content en dispositivos muy pequeños */
    .co-creating-content.mobile-layout .co-creating-image {
        max-width: 250px;
    }
    
    .co-creating-content.mobile-layout .co-creating-text {
        padding: 0 15px;
    }
    /* .herow {
        height: none !important;
    } */
    /* Ajustes específicos para la página de Wim Hof en dispositivos muy pequeños */
    .wim-hof-hero {
        padding-top: 200px; /* Aumentar aún más el padding en dispositivos muy pequeños */
        padding-bottom: 350px;
    }
    .wim-hof-hero {
        height:1100px;
    }
    .wim-hof-hero .hero-image-column img {
        /* margin-top: 450px; */
        max-width: 85%;
    }
    .hero-buttons .btn{
        margin-top:10px;
        margin-bottom:20px;
    }
    
    .wim-hof-hero .hero-content-column h1 {
        font-size: 1.8rem;
    }
    
    /* Ajustes para el menú móvil en dispositivos muy pequeños */
    .menu-toggle {
        right: 0.5rem;
    }
    
    .nav-links li a {
        font-size: 1rem;
        padding: 0.4rem 0;
    }
}

/* Estilos responsivos generales */
@media (max-width: 768px) {
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    body, html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
        margin: 0;
        padding: 0;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    footer {
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .footer-content {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .footer-column {
        width: 100%;
        padding: 0 15px;
        margin-bottom: 20px;
    }
    
    .whatsapp-float {
        position: fixed !important; /* Asegurar que siempre flote en móviles */
        width: 50px !important; /* Ligeramente más grande en móviles */
        height: 50px !important;
        bottom: 20px !important; /* Más espacio desde el borde inferior */
        right: 15px !important;
        font-size: 24px;
        display: flex !important; /* Asegurar que siempre se muestre */
        z-index: 99999 !important; /* Sobre todo el contenido */
    }
    
    .whatsapp-float .notification-dot {
        width: 12px;
        height: 12px;
    }
    
    .navbar {
        width: 100%;
        overflow: visible;
        z-index: 1000;
        position: relative;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        outline: none;
        padding: 0.5rem;
        cursor: pointer;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--accent-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        padding: 0;
        margin: 0;
    }
    
    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav-links li {
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: center;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links li a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
        color: white;
        text-decoration: none;
    }
    
    .nav-links li a:hover {
        color: var(--primary-color);
    }
    
    .nav-links li a.active {
        color: var(--primary-color);
        font-weight: 700;
    }
    
    .dr-joe-image {
        margin-bottom: 1.5rem;
    }
    
    .intro-text {
        font-size: 1.2rem;
    }
    
    .solution-intro {
        font-size: 1.1rem;
    }
    
    .solution-details,
    .benefit-grid,
    .solution-grid,
    .programs-grid,
    .steps-grid,
    .solution-cards,
    .clients-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card,
    .program-card {
        margin-bottom: 1rem;
    }
}

/* Correcciones específicas para Safari iOS - Prevenir descuadre en zoom */
@supports (-webkit-touch-callout: none) {
    /* Solo para Safari iOS */
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        position: relative;
        /* Prevenir zoom en doble tap */
        touch-action: manipulation;
    }
    
    * {
        max-width: 100%;
        /* Prevenir zoom en doble tap para todos los elementos */
        touch-action: manipulation;
    }
    
    /* Asegurar que elementos fixed no causen overflow */
    .navbar,
    header {
        width: 100%;
        max-width: 100vw;
        left: 0;
        right: 0;
    }
    
    /* Prevenir que el contenido se salga en zoom */
    .container,
    section,
    div {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Asegurar que imágenes no causen overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Prevenir zoom en inputs y botones */
    input,
    textarea,
    select,
    button,
    a {
        touch-action: manipulation;
    }
    
    /* Asegurar que todos los inputs tengan mínimo 16px para prevenir zoom */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    input[type="password"],
    input[type="date"],
    input[type="time"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Regla global adicional para prevenir zoom en iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}
