/* Variables CSS para consistencia */
:root {
    --primary-color: #1a3a5f;
    --secondary-color: #f1c40f;
    --accent-color: #1a3a5f;
    --gradient-start: #1a3a5f;
    --gradient-end: #2c5282;
    --text-dark: #2d3748;
    --text-light: #718096;
    --background-light: #f8fafc;
    --card-bg: #ffffff;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Estilos base para la sección servicios */
#servicios {
    padding: 80px 0;
    background-color: #f8f9fa; /* fondo claro */
}

/* Título con gradiente animado */
#servicios .section-title {
    font-size: 2.5rem;
    background: #1a3a5f;
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
    position: relative;
    display: inline-block;
    margin-bottom: 20px !important;
}

#servicios .section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 8%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #f1c40f;
    border-radius: 2px;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Texto descriptivo */
#servicios .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Tarjetas de servicios */
.service-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 1 !important; /* Forzar visibilidad */
    transform: none !important; /* Resetear transformaciones */
    height: 100%;
}

/* Efecto de borde luminoso */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Efecto de fondo en hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(76, 201, 240, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-hover);
    border-color: rgba(67, 97, 238, 0.2);
}

.service-card:hover::after {
    opacity: 1;
}

/* Iconos */
.service-card .icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition);
    display: inline-block;
}

.service-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-color), var(--gradient-start));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Títulos de las tarjetas */
.service-card h4 {
    color: var(--text-dark);
    font-size: 1.25rem;
    transition: var(--transition);
    position: relative;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card:hover h4 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Texto de las tarjetas */
.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    transition: var(--transition);
    margin-bottom: 0;
}

.service-card:hover p {
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    #servicios .section-title {
        font-size: 2.5rem;
    }
    
    #servicios .lead {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .service-card {
        margin: 0 0.5rem;
    }
    
    .service-card .icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    #servicios .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem !important;
    }
    
    #servicios {
        padding: 60px 0 !important;
    }
}

/* Asegurar que las tarjetas sean visibles */
.service-card {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Estilo Whatsapp*/

/* ===== Sección WhatsApp ===== */
#whatsapp {
    background-color: #ffffff;
    padding: 100px 0;
  }
  
  #whatsapp .section-title {
    font-size: 2.2rem;
    color: #2b2d42;
  }

  #whatsapp .section-title::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: #f1c40f;
    bottom: 0;
    left: 32%;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  
  .text-gradient {
    background: #1a3a5f;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .btn-whatsapp {
    background: linear-gradient(90deg, #25d366, #128c7e);
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }
  
  .btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  }
  
  /* ===== Animación scroll ===== */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
  }
  
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }

  
  /* ===== Sección Quiénes Somos ===== */
#quienes-somos {
    background-color: #f8f9fa;
    padding: 80px 0;
    font-style: #1a3a5f;
}

#quienes-somos .fw-bold {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.text-muted {
    font-family: "Poppins", sans-serif;
    font-size: large;
    font-weight: 300;
    font-style: normal;
    text-align: justify;
    line-height: 1.8;
}

.about-section {
    background-color: #f8f9fa;
    padding: 100px 0;
    border-top: 1px solid #eee;
  }
  
  .about-section .section-title {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
  }
  
  
  /* Contenedor de contenido */
  .about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
  }
  
  .about-text {
    flex: 1 1 50%;
    line-height: 1.7;
    font-size: 1.1rem;
    color: #444;
  }
  
  .about-image {
    flex: 1 1 40%;
    text-align: center;
  }
  
  .about-image img {
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    width: 100%;
    height: auto;
  }
  
  .about-image img:hover {
    transform: scale(1.03);
  }
  
  /* ===== Animación scroll ===== */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
  }
  
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ===== Responsivo ===== */
  @media (max-width: 992px) {
    .about-content {
      flex-direction: column;
      text-align: center;
    }
    .about-text {
      flex: 1 1 100%;
    }
    .about-image {
      margin-top: 30px;
    }
  }
  
  