/* Estilos globales */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 36px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float ion-icon {
    color: white;
    font-size: 36px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .whatsapp-float ion-icon {
        font-size: 28px;
    }
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F7F7F5;
    color: #1a3b5d;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', serif;
    font-weight: 700; /* Bold */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.main-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-brand {
    padding: 10px 0;
}

.nav-logo {
    height: 50px;
    width: auto;
}

.nav-shape {
    height: 50px;
}

.nav-menu {
    margin-left: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    color: #1a3b5d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #4d88cc;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #1a3b5d;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background-color: rgba(26, 59, 93, 0.1);
}

.nav-toggle ion-icon {
    display: block;
}



/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 150px 20px;
    background-color: #1a3b5d; /* Color de fondo de respaldo */
    
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pool-party.jpg'); /* Ajusta la ruta según tu estructura */
    background-size: cover;
    background-position: center;
    filter: brightness(0.7); /* Oscurece la imagen */
}

.hero .container {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
}

.hero-title {
    font-size: 80px;
    margin-bottom: 10px;
    font-weight: 700; /* Bold para mayor impacto */
    /* Eliminado: Propiedades de animación */
}

.hero .fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.5s; /* Retraso antes de iniciar la animación */
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 400; /* Regular */
    opacity: 0; /* Inicialmente oculto para la animación */
    animation: fadeIn 1s forwards;
    animation-delay: 0.7s; /* Retraso opcional */
}

.hero-svg-overlay {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-svg-overlay svg {
    display: block;
    width: 100%;
    height: auto;
}

.curved-hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 150px 0 200px; /* Aumentamos el padding inferior para la curva */
    background-color: #1a3b5d;
    margin-bottom: -100px; /* Para compensar la curva */
}

.curved-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 0;
}

.curved-hero .container {
    position: relative;
    z-index: 2;
}

/* Curvatura inferior */
.curved-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Altura de la curva */
    background-color: #F7F7F5; /* Color de fondo de tu página */
    clip-path: ellipse(70% 100% at 50% 100%);
    z-index: 1;
}

/* Path navigation */
.path-nav {
    margin-bottom: 20px;
}

.path-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.path-nav span {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
}

.btn-primary {
    background-color: #4d88cc;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: inline-block;
    font-weight: 600; /* Semi-bold para mejor visibilidad */
    opacity: 0; /* Inicialmente oculto para la animación */
    animation: fadeIn 1s forwards;
    animation-delay: 0.9s; /* Retraso opcional */
}

.btn-primary:hover {
    background-color: #3b73a3;
}

/* About Section */
.about, .services, .gallery, .contact, .cta {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #1a3b5d;
}

/* Sección Sobre Nosotros */
.about {
    position: relative; /* Para posicionamiento absoluto de elementos internos */
    padding: 80px 0;
    background-color: #f7f7f5;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    position: relative;
    flex: 1;
}

.about-image img:first-child {
    width: 100%;
    border-radius: 8px;
}

.about-shape {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
}

.about-shape-2 {
    position: absolute;
    top: -90px; /* Posiciona en la parte superior */
    right: 0; /* Posiciona en el borde derecho */
    width: 250px; /* Ajusta el tamaño según tus necesidades */
    z-index: 0; /* Asegura que esté detrás del contenido principal */
}

.about-text {
    flex: 1;
}

.about-text .section-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a3b5d;
}

.about-text p {
    color: #3b5e80;
    margin-bottom: 30px;
    line-height: 1.6;
}

.about-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.about-list ion-icon {
    color: #4d88cc;
    font-size: 32px;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 5px;
}

.about-list div {
    flex: 1;
}

.about-list h3 {
    margin: 0 0 5px;
    font-size: 24px;
    color: #1a3b5d;
}

.about-list p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.about-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 150px 20px;
    background-color: #1a3b5d;
}

.about-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/about-hero.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 0;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-hero .hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-hero .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.about-illustration {
    position: relative;
    padding: 20px;
}

.animation-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.about-content-1 {
    padding: 20px;
}

.about-content-1 .section-title {
    color: #1a3b5d;
    margin-bottom: 30px;
}

.about-content-1 .lead {
    color: #4d88cc;
    font-size: 1.25rem;
    font-weight: 500;
}

.about-text p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Animaciones */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.5s;
}


  /* Stats Section Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: 0 auto;
}

.stats-item {
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.primary-bg {
    background-color: #1a3b5d;
}

.secondary-bg {
    background-color: #4d88cc;
}

.stats-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.stats-item:hover .stats-icon-circle {
    transform: scale(1.1);
}

.stats-icon-circle i {
    font-size: 2rem;
    color: white;
}

.stats-info {
    color: white;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.stats-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Timeline Section */
.wave-timeline {
    padding: 100px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    padding: 60px 0;
}

/* Línea base */
.wave-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
    background: rgba(77, 136, 204, 0.3);
    overflow: hidden;
}

/* Efecto de ola */
.wave-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        #4d88cc 20%,
        #4d88cc 40%,
        transparent 50%,
        transparent 60%,
        #4d88cc 80%,
        transparent 100%
    );
    animation: waveMove 3s linear infinite;
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline-item {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Puntos en la línea */
.timeline-dot {
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #4d88cc;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(77, 136, 204, 0.2);
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.timeline-content:hover {
    transform: translateY(-10px);
}

.timeline-year {
    background: #4d88cc;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

.timeline-content h3 {
    color: #1a3b5d;
    margin: 10px 0;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Hover effects */
.timeline-content:hover {
    transform: translateY(-10px);
}

.timeline-dot:hover {
    background: #4d88cc;
    transform: scale(1.2);
    transition: all 0.3s ease;
}


         /* Additional styles for about page */
.team-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}
        
.team-card {
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s;
}
        
.team-card:hover {
    transform: translateY(-10px);
}
        
.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}
        

/* Botón */
.btn-primary {
    background-color: #4d88cc;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #3b73a3;
}

/* Services Section */
.service-list {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-item {
    background-color: #b3d1e6;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.service-item:hover {
    transform: scale(1.05);
}

/* Estilos para los íconos de las tarjetas de servicio */
.service-item ion-icon {
    font-size: 48px;
    color: #1a3b5d;
    margin-bottom: 10px;
}

/* Imagen decorativa */
.services {
    position: relative;
    padding: 60px 0;
}

.services-hero {
    background-image: linear-gradient(rgba(26, 59, 93, 0.7), rgba(26, 59, 93, 0.7)), url('../img/services-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    color: white;
    text-align: center;
}

.services-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/services-hero.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 0;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 100%
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: #4d88cc;
    margin-bottom: 20px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #4d88cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    color: white;
    font-size: 24px;
}

.feature-card h3 {
    color: #1a3b5d;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    margin: 0;
}

.price-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.price-card.premium {
    transform: translateY(-20px);
    border: 2px solid #4d88cc;
    box-shadow: 0 8px 25px rgba(77, 136, 204, 0.2);
}

.price-header {
    margin-bottom: 20px;
}

.price-header h3 {
    color: #1a3b5d;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    font-family: 'Roboto', serif;
}


.price {
    font-size: 3rem;
    color: #4d88cc;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: 'Roboto', serif;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.btn-outline-primary {
    color: #4d88cc;
    border-color: #4d88cc;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #4d88cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 136, 204, 0.3);
}

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

.price-card.premium:hover {
    transform: translateY(-25px);
    box-shadow: 0 15px 40px rgba(77, 136, 204, 0.3);
}

.testimonial-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

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

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

/* Definimos la animación de rebote */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* Clase que activa la animación */
.about-shape-2.bounce {
    animation: bounce 2s;
}

/* Animación Fade-In */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clase para aplicar la animación específica a la sección Hero */
.hero .fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.5s; /* Retraso antes de iniciar la animación */
}

/* Responsividad */
@media screen and (max-width: 768px) {
    .services-decor {
        display: none;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.contact-info-card {
    background-color: #1a3b5d;
    color: white;
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #4d88cc;
}

.map-container {
    height: 400px;
    margin-top: 50px;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 20px;
}

.form-floating label {
    color: #666;
}

/* CTA Section */
.cta {
    background-color: #4d88cc;
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 32px;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #4b7cad 0%, #0a1f35 100%);
    color: white;
    padding-top: 60px;
  }
  
  .footer-content {
    padding-bottom: 40px;
  }
  
  .footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  
  .footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-logo {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
  }
  
  .footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
  }
  
  .footer-column h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }
  
  .footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #4d88cc;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-column ul li a:hover {
    color: #4d88cc;
  }
  
  .contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .contact-info ion-icon {
    color: #4d88cc;
    width: 20px;
  }
  
  .social-links {
    display: flex;
    gap: 15px;
  }
  
  .social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: #4d88cc;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
  }
  
  .footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .social-container {
    margin-top: 20px;
  }
  
  .social-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .social-circle:hover {
    transform: translateY(-3px);
  }
  
  .social-circle ion-icon {
    font-size: 1.2rem;
  }

/* Enhanced form styles */
.form-control:focus {
    border-color: #4d88cc;
    box-shadow: 0 0 0 0.2rem rgba(77, 136, 204, 0.25);
}

.form-select:focus {
    border-color: #4d88cc;
    box-shadow: 0 0 0 0.2rem rgba(77, 136, 204, 0.25);
}

/* Enhanced button styles */
.btn-primary {
    background-color: #4d88cc;
    border-color: #4d88cc;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3b73a3;
    border-color: #3b73a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 136, 204, 0.3);
}

/* Enhanced card hover effects */
.service-card:hover,
.price-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}




/* Media Queries para Mobile */
@media (max-width: 768px) {
    /* Header y Navegación */
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-top: 10px;
        z-index: 1000;
    }

    .nav-menu.active {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-shape {
        display: none;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
    }

    .nav-link {
        padding: 15px;
        border-bottom: 1px solid rgba(26, 59, 93, 0.1);
        display: block;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background-color: rgba(77, 136, 204, 0.1);
        padding-left: 20px;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        width: 100%;
        padding: 15px;
    }

    .about-shape {
        display: none;
    }

    .about-shape-2 {
        width: 100px;
        top: 100px;
        right: 10px;
    }

    /* About section adjustments */
    .about {
        overflow: visible;
        position: relative;
    }

    /* Reduce bounce animation on mobile */
    @keyframes bounceSmall {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-5px);
        }
        60% {
            transform: translateY(-2px);
        }
    }

    .about-shape-2.bounce {
        animation: bounceSmall 2s;
    }

    /* Timeline Section */
    .timeline-items {
        flex-direction: column;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 30px;
    }

    /* Statistics Section */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-item {
        padding: 20px;
    }

    /* Services Section */
    .service-list {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .service-item {
        width: 100%;
        max-width: 350px;
        margin-bottom: 20px;
        padding: 25px 20px;
    }

    /* Price Cards */
    .price-card {
        margin-bottom: 30px;
    }

    .price-card.premium {
        transform: none;
        margin: 30px 0;
    }

    /* Contact Section */
    .contact-form,
    .contact-info {
        margin-bottom: 30px;
    }

    .map-container {
        height: 300px;
    }

    /* Footer */
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
}

/* Ajustes adicionales para pantallas más pequeñas */
@media (max-width: 576px) {
    /* Container */
    .container {
        padding: 0 10px;
        max-width: 100%;
    }

    /* Sections spacing */
    .about, .services, .gallery, .contact, .cta {
        padding: 40px 0;
    }


    /* Header */
    .nav-logo {
        height: 40px;
    }

    /* Hero */
    .hero {
        padding: 80px 0;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    /* Statistics */
    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Services */
    .service-list {
        padding: 0 10px;
    }

    .service-item {
        max-width: 280px;
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 2rem;
    }

    /* Team Section */
    .team-image {
        width: 150px;
        height: 150px;
    }

    /* Contact */
    .contact-info-card {
        padding: 20px;
    }

    /* Footer */
    .footer-logo {
        max-width: 150px;
    }

    .social-circle {
        width: 35px;
        height: 35px;
    }
}

/* Ajustes para la navegación móvil */
.navbar-collapse.show {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos adicionales para el menú móvil */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Animación para el ícono del menú hamburguesa */
.nav-toggle.active ion-icon {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* Estilos para asegurar que el menú funcione en todas las pantallas móviles */
@media (max-width: 480px) {
    .nav-menu {
        left: 5px;
        right: 5px;
        padding: 15px;
        max-width: calc(100vw - 10px);
        box-sizing: border-box;
    }

    .nav-link {
        padding: 12px;
        font-size: 16px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* About Section Images - Ajustar en pantallas muy pequeñas */
    .about-shape-2 {
        width: 70px;
        top: 140px;
        right: 30px;
        opacity: 0.7;
    }

    /* Gallery Section */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
    }

    /* CTA Section */
    .cta-title {
        font-size: 1.8rem;
    }

    /* Ensure no horizontal scroll */
    body {
        overflow-x: hidden;
    }
}
