body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFFFFE; /* Fondo blanco */
    color: #16161A; /* Texto negro */
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  left: 20px;  /* Cambiado a 'left' para colocarlo al lado izquierdo */
  z-index: 1000;
  background-color: transparent; /* Usaremos transparente para que no haya fondo extraño */
  border-radius: 50%;
  padding: 10px; /* Reduce el padding si es necesario para ajustarlo mejor */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-button img {
  width: 60px; /* Tamaño ajustado para mantener buena proporción */
  height: auto; /* Usar 'auto' asegura que se respete la proporción original */
  display: block; /* Esto ayudará a centrar la imagen dentro de su contenedor */
}

/* Animaciones */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50px);
  }
}

@keyframes fadeOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(50px);
  }
}

/* Clases para activar las animaciones */
[data-animation="fade-right"] {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.5s ease-in-out;
}

[data-animation="fade-left"] {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease-in-out;
}

[data-animation="fade-right"].visible {
  animation: fadeInRight 0.8s forwards;
}

[data-animation="fade-left"].visible {
  animation: fadeInLeft 0.8s forwards;
}

[data-animation="fade-right"].hidden {
  animation: fadeOutRight 0.8s forwards;
}

[data-animation="fade-left"].hidden {
  animation: fadeOutLeft 0.8s forwards;
}

/* NAVBAR */

.navbar {
  background: transparent; /* Transparent background */
  padding: 10px 20px;
  display: flex; /* Flexbox for horizontal alignment */
  justify-content: space-between; /* Space between logo and nav items */
  align-items: center;
  position: absolute; /* Position over hero */
  top: 0;
  width: 100%; /* Full width */
  z-index: 10; /* Place above hero section */
  height: 40px; /* Control height */
}

.navbar-container {
  display: flex;
  width: 100%; /* Stretch container */
  display: inline-block;
}

.navbar-brand {
  margin-right: auto; /* Push items to the right */
}

.logo {
  height: 40px;
  object-fit: contain;
}

.navbar-nav {
  justify-content: flex-end;
  display: inline-block;
  gap: 20px; /* Space between items */
  list-style: none; /* Remove default list styling */
  margin: 0; /* Resetea márgenes */
  padding: 0;
 
}

.nav-item {
  display: inline-block; /* Ensure horizontal alignment */
}

.nav-link {
  color: #FFFFFE; /* White text */
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 5px 10px; /* Add padding for spacing */
}

.nav-link:hover {
  color: #7F5AF0; /* Hover color */
}

/* Toggler Button */
.navbar-toggler {
  display: none; /* Hide toggler by default */
  background: none;
  border: none;
  color: #FFFFFE;
  font-size: 1.5rem;
  cursor: pointer;
}



@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column; /* Stack items vertically on smaller screens */
    gap: 10px; /* Adjust spacing */
    display: none; /* Hide by default on mobile */
    margin-left: 0; /* Reset margin for mobile */
    margin-right: 20px;
  }

  .navbar {
    height: auto; /* Adjust height for stacked items */
  }

  .navbar-toggler {
    display: block; /* Show toggler on smaller screens */
  }

  .navbar-nav.show {
    display: flex; /* Show navbar when toggler is clicked */
  }
}

/* Hero Section */
.hero-section {
  background-image: url('../img/hero-animation3.gif'); /* Ruta de la imagen */
  background-size: cover; /* Asegura que el GIF completo sea visible */
  background-position: center bottom; /* Centra el GIF horizontalmente y alinea arriba */
  background-repeat: no-repeat; /* Evita que el GIF se repita */
  position: relative; /* Necesario para que el botón use posicionamiento absoluto */
  height: 100vh; /* Altura completa del viewport */
}

/* Botón */
.hero-button {
  position: absolute; /* Coloca el botón dentro del contenedor */
  top: 90%; /* Ajusta esta posición para que quede debajo del texto del GIF */
  left: 25%; /* Centra horizontalmente */
  transform: translate(-50%, -50%); /* Ajusta el centrado preciso */
  background-color: #2CB67D; /* Botón verde */
  color: #FFFFFE; /* Texto blanco */
  border: none;
  padding: 10px 20px; /* Tamaño compacto */
  font-size: 1rem; /* Tamaño del texto del botón */
  border-radius: 5px; /* Bordes redondeados */
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Sombra para destacar */
}

.hero-button:hover {
  background-color: #7F5AF0;
}

@media (max-width: 768px) {
  .hero-section {
  background-image: url('../img/hero-animationmob.gif'); /* Ruta de la imagen */
  background-size: cover; /* Asegura que el GIF completo sea visible */
  background-position: center bottom; /* Centra el GIF horizontalmente y alinea arriba */
  background-repeat: no-repeat; /* Evita que el GIF se repita */
  position: relative; /* Necesario para que el botón use posicionamiento absoluto */
  height: 100vh; /* Altura completa del viewport */

 
  }

  .hero-button {
    padding: 10px 20px; /* Adjust padding for smaller screens */
    font-size: 0.9rem; /* Slightly smaller font size */
    width: 100%; /* Full width for better usability on small screens */
    max-width: 300px; /* Prevent it from stretching too wide */
    margin: 0 auto; /* Center the button */
    display: block; /* Ensure it's displayed as a block element */
  }
}

/* Responsividad para pantallas pequeñas (móviles) */
@media (max-width: 480px) {
    .hero-section {
  background-image: url('../img/hero-animationmob.gif'); /* Ruta de la imagen */
  background-size: cover; /* Asegura que el GIF completo sea visible */
  background-position: center bottom; /* Centra el GIF horizontalmente y alinea arriba */
  background-repeat: no-repeat; /* Evita que el GIF se repita */
  position: relative; /* Necesario para que el botón use posicionamiento absoluto */
  height: 100vh; /* Altura completa del viewport */
  }



    .hero-button {
    padding: 10px 20px; /* Adjust padding for smaller screens */
    font-size: 0.9rem; /* Slightly smaller font size */
    top: 95%; /* Ajusta esta posición para que quede debajo del texto del GIF */
    left: 75%; /* Centra horizontalmente */

    width: 100%; /* Full width for better usability on small screens */
    max-width: 250px; /* Prevent it from stretching too wide */
    margin: 0 auto; /* Center the button */
    display: block; /* Ensure it's displayed as a block element */
  }
}

/* ABOUT */
.about-section {
  background-image: url('../img/about2.png'); /* Ruta de la imagen */
  background-size: cover; /* Escala la imagen para cubrir todo el fondo */
  background-position: center; /* Centra la imagen */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  position: relative;
  color: #FFFFFE; /* Color del texto */
  padding: 60px; /* Espaciado superior e inferior */
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 22, 26, 0.8); /* Capa semitransparente */
  z-index: 1;
}

.about-section .container {
  position: relative;
  z-index: 2; /* Asegura que el contenido esté encima de la capa semitransparente */
  

}

.about-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #2CB67D; /* Verde */
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #94A1B2; /* Gris claro */
}

/* Estilo para la sección del código de descuento */
.codigo-descuento-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

/* Estilo para el input del código de descuento */
#codigo-descuento-input {
  max-width: 300px;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #7F5AF0; /* Borde morado */
  background-color: #2CB67D; /* Fondo verde */
  color: #FFFFFE; /* Texto blanco */
  margin-bottom: 10px;
}

/* Estilo para el botón de aplicar código */
#aplicar-codigo-btn {
  background-color: #16161A; /* Fondo morado */
  color: #FFFFFE; /* Texto blanco */
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  max-width: 300px;
  width: 100%;
  text-align: center;
}

/* Hover effect para el botón */
#aplicar-codigo-btn:hover {
  background-color: #7F5AF0; /* Cambio a gris al pasar el mouse */
}
#mensaje-descuento {
  text-align: center; /* Centrar el texto dentro del mensaje de descuento */
  margin-top: 10px;
}

/* Estilo para el botón de oferta "¡Lo quiero!" */
#oferta-plan-btn {
  background-color: #7F5AF0; /* Fondo morado */
  color: #FFFFFE; /* Texto blanco */
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block; /* Asegurar que se muestre correctamente como botón */
  margin-top: 10px; /* Añadir espacio superior */
}

/* Hover effect para el botón */
#oferta-plan-btn:hover {
  background-color: #94A1B2; /* Cambio a gris al pasar el mouse */
}

/* COLUMNAS */
.plans-section {
    display: flex;
    justify-content: space-around; /* Espacio entre las columnas */
    align-items: flex-start; /* Alineación en la parte superior */
    flex-wrap: wrap; /* Permitir filas adicionales en pantallas pequeñas */
    padding: 20px;
    gap: 20px; /* Espacio entre las tarjetas */
}

.plan-card {
    background-color: #2CB67D; /* Fondo verde */
    color: #FFFFFE; /* Texto blanco */
    border: 1px solid #7F5AF0; /* Borde morado */
    border-radius: 10px;
    padding: 20px;
    width: 300px; /* Ancho fijo para todas las tarjetas */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    text-align: center;
}

.plan-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.plan-price {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.plan-anual {
  font-size: 1rem;
  margin-bottom: 6px;
  
}

.plan-warn {
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.plan-features {
    text-align: left;
    margin-bottom: 20px;
}

.plan-features li {
    margin-bottom: 5px;
    font-size: 1rem;
}

.plan-button {
    text-decoration: none;  
    background-color: #7F5AF0; /* Fondo morado */
    color: #FFFFFE; /* Texto blanco */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
}

.plan-button:hover {
    background-color: #94A1B2; /* Fondo gris al pasar el mouse */
    color: #16161A; /* Texto negro */
    transform: scale(1.05); /* Efecto de agrandamiento */
    transition: all 0.3s ease-in-out;
}

/* MEDIOS */
.medios-plan {
  padding: 40px 20px;
  background-color: #16161A; /* Fondo oscuro para contraste */
  text-align: center;
}

/* Title of the section */
.medios-title {
  font-size: 2.5rem; /* Adjust title size */
  font-weight: bold;;
  color: #2CB67D; /* Verde para resaltar */
  margin-bottom: 20px;
  
}

/* Card container style */
.medios-card {
  background-color: #2CB67D; /* Fondo verde del plan */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Sombra para dar profundidad */
  max-width: 500px;
  margin: 0 auto;
}

/* Title inside the card */
.mediosplan-title {
  font-size: 1.5rem;
  color: #FFFFFE; /* Blanco para destacar sobre fondo verde */
  font-weight: bold;
  margin-bottom: 15px;
  
}

/* Price of the plan */
.medios-price {
  font-size: 2rem;
  color: #FFFFFE; /* Blanco para contraste */
  font-weight: 600;
  margin-bottom: 20px;
  
}

/* Description of the plan */
.medios-desc {
  font-size: 1rem;
  color: #FFFFFE;; /* Gris para menor jerarquía visual */
  margin-bottom: 30px;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  
}

/* Button style */
.plan-button {
  background-color: #7F5AF0; /* Botón morado llamativo */
  color: #FFFFFE; /* Texto en blanco */
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  
}

/* Button hover effect */
.plan-button:hover {
  background-color: #2CB67D; /* Al pasar por encima, cambia a verde */
  color: #16161A; /* Texto cambia a negro */
}

.link {
  text-decoration: none; /* Quita el subrayado */
  color: inherit; /* Mantiene el color del texto del contenedor */
  font-weight: bold; /* (Opcional) Resalta el enlace */
}

.link:hover {
  color: #7F5AF0; /* Color morado al pasar el mouse (puedes cambiarlo) */
}

/* Features */
/* Features Section Styling */

.section-title {
  width: 100%; /* Full width */
  text-align: center; /* Center align the title */
  font-size: 1.5rem; /* Adjust title size */
  font-weight: bold; /* Bold title */
  margin-bottom: 20px; /* Space below the title */
  color: #16161A; /* Dark text color */
  grid-column: span 3; /* Make the title span across all columns */
}

.features-section {
  display: grid; /* Use grid layout */
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  grid-gap: 20px; /* Space between cards */
  justify-items: center; /* Center items in each grid cell */
  align-items: flex-start; /* Align items to the top of each cell */
  padding: 20px; /* Add some padding around the section */
}

/* Features Section Styling */


/* Individual Feature Card Styling */
.feature-card {
  display: flex; /* Align icon and text horizontally */
  align-items: center; /* Align icon and text vertically */
  background-color: #2CB67D; /* Green background */
  color: #FFFFFE; /* White text */
  border: 1px solid #7F5AF0; /* Purple border */
  border-radius: 8px; /* Slightly rounded corners */
  padding: 10px; /* Compact padding */
  width: 300px; /* Smaller width */
  height: 100px; /* Smaller height */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  text-align: left; /* Align text to the left */
}

/* Icon Styling */
.feature-icon {
  font-size: 1.5rem; /* Smaller icon size */
  color: #FFFFFE; /* White icon color */
  margin-right: 10px; /* Space between icon and text */
}

/* Title and Description Styling */
.feature-title {
  font-size: 1rem; /* Smaller font for title */
  font-weight: bold;
  margin: 0; /* Remove extra margins */
  line-height: 1.1; /* Compact line height */
}

.feature-description {
  font-size: 0.85rem; /* Smaller font for description */
  margin: 0; /* Remove extra margins */
  color: #E4E4E4; /* Slightly lighter text color */
}

/* Hover Effect for Cards */
.feature-card:hover {
  background-color: #7F5AF0; /* Purple background on hover */
  color: #FFFFFE; /* Keep text white */
  transform: scale(1.02); /* Slight zoom effect */
  transition: all 0.3s ease-in-out; /* Smooth transition */
}
@media (max-width: 768px) {
  .features-section {
    display: flex; /* Enable Flexbox */
    justify-content: space-around; /* Space out columns evenly */
    align-items: flex-start; /* Align items at the top */
    flex-wrap: wrap; /* Allow wrapping for additional rows */
    padding: 10px; /* Smaller padding */
  }

  .feature-card {
    width: auto; /* Allow cards to take full width of container */
    height: auto; /* Remove fixed height to allow content to flow naturally */
    padding: 15px; /* Adjust padding for better readability */
  }

}



.portfolio-section {
    padding: 50px 0;
    background-color: #16161A;
    color: #FFFFFE;
}

.portfolio-category {
    margin-bottom: 40px;
}

.portfolio-category h3 {
  color: #7F5AF0;
  text-align: center;
  margin-bottom: 20px;
}

.portfolio-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.portfolio-item {
  position: relative;
  flex: 1 1 calc(33.333% - 40px);
  max-width: 300px;
  margin: 10px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.portfolio-item:hover img {
  transform: scale(1.2); /* Aumentar el tamaño de la imagen */
}
.portfolio-item::after {
  content: "\1F50D"; /* Unicode de lupa */
  font-size: 30px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Mostrar la lupa al pasar el mouse */
.portfolio-item:hover::after {
  opacity: 1;
}
/* Footer Section */
.footer-section {
  background-color: #16161A; /* Dark background */
  padding: 40px 20px; /* Padding for spacing */
  color: #FFFFFE; /* White text */
}

.footer-logo-img {
  width: 100px; /* Size of the logo */
  margin-bottom: 10px;
}

.footer-slogan {
  font-size: 14px;
  color: #94A1B2; /* Light gray text */
}

.footer-link {
  color: #94A1B2; /* Light gray links */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #7F5AF0; /* Hover color */
}

.social-icons a {
  color: #FFFFFE; /* Default icon color */
  font-size: 20px; /* Icon size */
  transition: background-color 0.3s ease;
  display: inline-block; /* Align icons inline */
}

.social-icons a:hover {
  background-color: #FFFFFE; /* Highlight background */
  color: #16161A; /* Icon color on hover */
  
}

.footer-section .text-center {
  margin-top: 20px;
}

/* Responsive Footer Adjustments */
@media (max-width: 768px) {
  .footer-section .container .row {
      flex-wrap: wrap;
  }

  .footer-content {
      text-align: center;
      margin-bottom: 20px;
  }
}
/* Estilos del modal */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro */
}

/* Contenedor de contenido del modal */
.modal-content {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.modal-content img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

/* Botón de cierre */
.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: black;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2000;
}

.close:hover,
.close:focus {
  color: #f00;
  text-decoration: none;
  cursor: pointer;
}

/* Estilo general del modal de términos */
#termsModal .modal-content {
  background-color: #16161A; /* Fondo oscuro */
  color: #94A1B2; /* Texto gris claro */
  border: 2px solid #7F5AF0; /* Borde morado */
  border-radius: 10px; /* Bordes redondeados */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Sombra */
  font-family: 'Poppins', sans-serif;
}

/* Estilo del encabezado del modal */
#termsModal .modal-header {
  background-color: #7F5AF0; /* Fondo morado */
  color: #FFFFFE; /* Texto blanco */
  border-bottom: 2px solid #2CB67D; /* Línea inferior verde */
  padding: 15px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Botón de cierre del modal */
#termsModal .modal-header .btn-close {
  display: none;
}

#termsModal .modal-header .btn-close:hover {
  background-color: #94A1B2; /* Hover gris */
  transform: scale(1.1); /* Efecto de agrandamiento */
}

/* Cuerpo del modal */
#termsModal .modal-body {
  padding: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #94A1B2; /* Texto gris */
  max-height: 70vh; /* Limitar altura máxima */
  overflow-y: auto; /* Habilitar scroll si es necesario */
}

/* Barra de scroll personalizada */
#termsModal .modal-body::-webkit-scrollbar {
  width: 8px;
}

#termsModal .modal-body::-webkit-scrollbar-thumb {
  background-color: #7F5AF0; /* Morado */
  border-radius: 4px;
}

#termsModal .modal-body::-webkit-scrollbar-track {
  background-color: #2CB67D; /* Fondo verde */
}

/* Pie del modal */
#termsModal .modal-footer {
  background-color: #16161A; /* Fondo verde */
  border-top: 2px solid #7F5AF0; /* Línea superior morada */
  padding: 15px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  text-align: center;
}

/* Botón de cerrar en el pie */
#termsModal .modal-footer .btn-primary {
  background-color: #7F5AF0; /* Fondo morado */
  color: #FFFFFE; /* Texto blanco */
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#termsModal .modal-footer .btn-primary:hover {
  background-color: #94A1B2; /* Hover gris */
  transform: scale(1.1); /* Efecto de agrandamiento */
}

.modal-backdrop {
  z-index: 1040; /* Fondo */
  pointer-events: none;
}

.modal {
  z-index: 1050; /* Modal */
}

.modal-content {
  z-index: 1055; /* Contenido del modal */
}
