
:root {
  --primary: #00D1B2; /* Turquesa principal  */
  --secondary: #3D2E7C; /* Morado profundo */
  --accent: #CFDE00; /* Verde lima/amarillo para CTAs */
  --bg: #121212; /* Fondo oscuro */
  --surface: #1e1e1e; /* Superficie secundaria */
  --surface-2: #2d2d2d; /* Superficie terciaria */
  --text: #ffffff; /* Texto principal */
  --text-secondary: #b0b0b0; /* Texto secundario */
  --border: #333333; /* Bordes */
}

/* Clases de texto con colores  */
.text-turquesa {
  color: var(--primary) !important;
}

.bg-turquesa {
  background-color: var(--primary) !important;
}

/* Para mantener compatibilidad con Bootstrap */
.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

/* Feature icons used in service cards */
.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step indicators used in process flows */
.step-indicator {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Benefit indicators used in service pages */
.benefit-indicator {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Testimonial avatars */
.testimonial-avatar {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feature sections */
.feature-icon-wrapper {
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.feature-icon-sm {
  width: 40px !important;
  height: 40px !important;
}

.feature-icon-lg {
  width: 80px !important;
  height: 80px !important;
}

/* Hero backgrounds */
.hero-background {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(61, 46, 124, 0.8), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-background > * {
  position: relative;
  z-index: 2;
}

/* Contrast improvements */
.text-light-on-dark {
  color: #ffffff !important;
}

.text-dark-on-light {
  color: #212529 !important;
}

/* Card text contrast improvements */
.card-dark {
  background-color: rgba(61, 46, 124, 0.9);
}

.card-dark .card-title,
.card-dark .card-text,
.card-dark h1, .card-dark h2, .card-dark h3, 
.card-dark h4, .card-dark h5, .card-dark h6, 
.card-dark p, .card-dark span, .card-dark li {
  color: #ffffff;
}

.card-light {
  background-color: rgba(248, 249, 250, 0.9); 
}

.card-light .card-title,
.card-light .card-text,
.card-light h1, .card-light h2, .card-light h3, 
.card-light h4, .card-light h5, .card-light h6, 
.card-light p, .card-light span, .card-light li {
  color: #212529;
}

/* Soft primary background card improvements */
.bg-soft-primary {
  background-color: rgba(0, 196, 233, 0.1);
}

/* Dark mode for standard service cards */
.card.shadow-sm.bg-light,
.card.bg-dark {
  background-color: var(--secondary) !important;
  border-radius: 1rem !important;
  overflow: hidden;
}

.card.shadow-sm.bg-light .card-body,
.card.bg-dark .card-body {
  background-color: var(--secondary);
  color: #ffffff;
}

.card.shadow-sm.bg-light .card-title,
.card.shadow-sm.bg-light h3,
.card.shadow-sm.bg-light h4,
.card.shadow-sm.bg-light h5,
.card.shadow-sm.bg-light p,
.card.bg-dark .card-title,
.card.bg-dark h3,
.card.bg-dark h4,
.card.bg-dark h5,
.card.bg-dark p,
.card.bg-dark .card-text,
.text-dark-on-light {
  color: #ffffff !important;
}

/* Ensure all cards have consistent rounded corners */
.card {
  border-radius: 1rem !important;
}

/* Feature icon wrapper standardization */
.feature-icon-wrapper {
  background-color: var(--primary);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-lg {
  width: 80px;
  height: 80px;
}

/* Hero background class for consistent styling */
.hero-background {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('') no-repeat center center;
  background-size: cover;
}

.hero-background[data-bg-image] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--bg-image-url);
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/* Override for the specific cards that had white text on light background */
.card.bg-soft-primary .card-body.bg-light {
  background-color: var(--secondary) !important;
  color: #ffffff;
}

/* Button styles based on  */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #000;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #00b2d6;
  border-color: #00b2d6;
  color: #000;
}

.btn-secondary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: #beca00;
  border-color: #beca00;
  color: #000;
}

/* Custom pixel elements like  */
.pixel-element {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  position: absolute;
  opacity: 0.5;
  z-index: 1;
}

.pixel-accent {
  background-color: var(--accent);
}

/* Text highlight for key phrases */
.text-highlight {
  color: var(--primary);
  font-weight: 600;
}

/* Section titles in  style */
.section-title {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  position: relative;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 4px;
  background-color: var(--accent);
}

/* Responsive design improvements */
@media (max-width: 992px) {
  .navbar {
    padding: 0.5rem 1rem !important;
  }
  
  .navbar-brand span {
    font-size: 1.1rem;
  }
  
  .feature-icon-wrapper {
    margin: 0 auto 1rem auto;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  h1, .h1 {
    font-size: 2rem;
  }
  
  h2, .h2 {
    font-size: 1.75rem;
  }
  
  .footer-section .h6 {
    margin-top: 1rem;
  }
  
  .hero-background {
    padding: 4rem 1rem !important;
  }
}

@media (max-width: 576px) {
  h1, .h1 {
    font-size: 1.75rem;
  }
  
  h2, .h2 {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    max-width: 70%;
  }
  
  .feature-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }
}

.card.bg-soft-primary .card-body.bg-light h3,
.card.bg-soft-primary .card-body.bg-light h4,
.card.bg-soft-primary .card-body.bg-light h5,
.card.bg-soft-primary .card-body.bg-light p,
.card.bg-soft-primary .card-body.bg-light span,
.card.bg-soft-primary .card-body.bg-light strong {
  color: #ffffff;
}

.card.bg-soft-primary .card-body.bg-light .text-primary {
  color: #8bb9fe !important;
}

/* Add any other custom styles for service pages here */
