/* Estilos para el sistema de selecci��n m��ltiple de servicios */
.multi-select-container {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(3, 31, 137, 0.1);
  margin: 20px 0;
}

.select-title {
  color: #031f89;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.option-item {
  position: relative;
}

.option-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.option-label {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.option-label:hover {
  border-color: #031f89;
  background: #f8faff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(3, 31, 137, 0.15);
}

.option-checkbox:checked + .option-label {
  border-color: #031f89;
  background: linear-gradient(135deg, #031f89 0%, #0d47a1 100%);
  color: white !important;
}

.option-checkbox:checked + .option-label .option-title {
  color: white !important;
}

.option-checkbox:checked + .option-label .option-description {
  color: rgba(255, 255, 255, 0.95) !important;
}

.option-icon {
  font-size: 2rem;
  margin-right: 16px;
  min-width: 40px;
  text-align: center;
}

.option-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.option-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.option-description {
  font-size: 0.9rem;
  color: #6b7280;
  transition: color 0.3s ease;
}

.proceed-button {
  width: 100%;
  background: linear-gradient(135deg, #031f89 0%, #0d47a1 100%);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.6;
  pointer-events: none;
}

.proceed-button.active {
  opacity: 1;
  pointer-events: auto;
}

.proceed-button.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 31, 137, 0.3);
}

.button-icon {
  font-size: 1.2rem;
}

.selected-info {
  margin-top: 16px;
  padding: 12px;
  background: #f0f9ff;
  border-radius: 6px;
  border-left: 4px solid #031f89;
  display: none;
}

.selected-info.show {
  display: block;
}

.selected-info h4 {
  color: #031f89;
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 600;
}

.selected-info ul {
  margin: 0;
  padding-left: 20px;
  color: #374151;
}

.selected-info li {
  margin-bottom: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .multi-select-container {
    padding: 16px;
    margin: 16px 0;
  }

  .select-title {
    font-size: 1.3rem;
  }

  .option-label {
    padding: 12px 16px;
  }

  .option-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    min-width: 32px;
  }

  .option-title {
    font-size: 1rem;
  }

  .option-description {
    font-size: 0.85rem;
  }

  .proceed-button {
    padding: 14px 20px;
    font-size: 1rem;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.selected-info.show {
  animation: fadeIn 0.3s ease;
}

/* Estados de carga */
.proceed-button.loading {
  position: relative;
  color: transparent;
}

.proceed-button.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



/* despegable */

/* CSS to fix nested dropdown positioning and remove yellow border */
.dropdown-menu .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-top: 0;
  margin-left: 0;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  background-color: #fff;
  z-index: 1000;
  min-width: 200px;
}

.dropdown-menu .nav-item.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu .dropdown-toggle::after {
  float: right;
  margin-top: 8px;
}

/* Remove any yellow borders or outlines */
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
  border: none;
  outline: none;
}

.dropdown-menu .dropdown-toggle:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

/* Ensure proper positioning for nested dropdowns */
.dropdown-menu .nav-item.dropdown {
  position: relative;
}

@media (max-width: 991px) {
  .dropdown-menu .dropdown-menu {
    position: static;
    left: auto;
    top: auto;
    margin-left: 1rem;
    box-shadow: none;
    border: none;
    background-color: transparent;
  }
}




/* css de pdf de resoluciones /*

/* CSS específico para el botón de descarga PDF */
.pdf-download-section {
  background-color: #f8f9fa;
  padding: 40px 0;
  margin-top: 40px;
  border-top: 2px solid #e9ecef;
}

.pdf-download-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.pdf-download-title {
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.pdf-download-description {
  color: #666;
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #007bff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.pdf-download-btn:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  color: white;
  text-decoration: none;
}

.pdf-download-btn:active {
  transform: translateY(0);
}

.pdf-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .pdf-download-section {
    padding: 30px 0;
  }

  .pdf-download-title {
    font-size: 1.3rem;
  }

  .pdf-download-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}


/* seguridad de red */

.infor{
  text-align:center;
  padding: 60px;
  margin: 10px;
  font-size:large;
}


/* infantil */

.ti{
  text-align: center;
  padding: 20px;
  font-size: 60px;
  margin: 40px;
}

.des{
  text-align:center;
  padding: 60px;
  margin: 10px;
  font-size:large;
}

.ley{
  text-decoration: underline;
  text-decoration: red;
}


/* caracteristicas del servicio*/

.desc{
  text-align:center;
  padding: 80px;
  margin: 10px;
  font-size: 30px;
}


/* politicas */

.img3{

  display: block;
  margin: 0 auto;
  max-width: 70%;
  height: auto;
}

.info{
  text-align: auto;
  padding: 30px;
  font-size: 3rem;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;

}


.info2{
  text-align: left;
  font-size: 20px;
}


/* parental */


  /* Parental Control page enhancements */
  /* Section backgrounds */
  .pc-section-soft {
    background: #f8f9fa;
  }
  .pc-section-highlight {
    background: #eef3ff;
  }

  /* Card accents */
  .pc-card-accent {
    border-top: 4px solid #4479d9;
  }
  .pc-card--success {
    border-top: 4px solid #28a745;
  }
  .pc-card--danger {
    border-top: 4px solid #dc3545;
  }

  /* Icon circle base */
  .pc-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pc-icon-primary {
    background: #4479d922;
    color: #4479d9;
  }
  .pc-icon-success {
    background: #28a74522;
    color: #28a745;
  }
  .pc-icon-warning {
    background: #ffc10722;
    color: #ffc107;
  }
  .pc-icon-info {
    background: #17a2b822;
    color: #17a2b8;
  }
  .pc-icon-danger {
    background: #dc354522;
    color: #dc3545;
  }

  /* Gradient buttons for legal links */
  .btn-grad-ley679 {
    background: linear-gradient(135deg, #3a3dff, #8a2be2);
    border: none;
  }
  .btn-grad-ley1098 {
    background: linear-gradient(135deg, #2d4263, #b31217);
    border: none;
  }
  .btn-grad-decreto1078 {
    background: linear-gradient(135deg, #2b5876, #4e4376);
    border: none;
  }
  .btn-grad-crc5050 {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    border: none;
  }



  /* Index */
  .pqr{
    text-align: center;
    padding: 0;
    margin: 0;
    font-size:large;
  }
  
  .pqrs{
    text-align: center;
    padding: 0;
    margin: 0 auto;
    font-size:large;
    max-width: 1280px;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .pqr img{
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    border: 6px solid #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }


 /* planes */
/* Estilos específicos para pages/planes.html */
body.page-planes {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: linear-gradient(135deg, #0b3d91, #851b9a) fixed;
}

body.page-planes .login-card {
  width: 95%;
  max-width: 380px;
  background: rgba(10,16,40,0.9);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  padding: 22px;
}

body.page-planes .login-card h1 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  text-align: center;
}

body.page-planes .form-group { margin-bottom: 12px; }
body.page-planes label { font-size: .9rem; display:block; margin-bottom:6px; }
body.page-planes input,
body.page-planes select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #31419a;
  background: #0f1a3a;
  color: #fff;
  outline: none;
}

body.page-planes input::placeholder { color:#a9b3d6; }

body.page-planes .actions { display:flex; gap:10px; margin-top:10px; }
body.page-planes .btn { flex:1; padding:10px 12px; border:none; border-radius:8px; cursor:pointer; font-weight:600; }
body.page-planes .btn-primary { background:#2b56ff; color:#fff; }
body.page-planes .btn-outline { background:transparent; color:#fff; border:1px solid #5f6fff; }

body.page-planes .footer-links { display:flex; justify-content:center; margin-top:12px; font-size:.95rem; }
body.page-planes .footer-links a { text-decoration:none; }
body.page-planes .back-btn {
  display:inline-flex; align-items:center; gap:8px;
  background: linear-gradient(90deg, #3551f0, #8a49d6);
  color:#fff; padding:10px 16px; border-radius:12px;
  box-shadow:0 6px 14px rgba(0,0,0,.25); font-weight:700;
}
body.page-planes .back-btn:hover { filter:brightness(1.06); }



/* carrusel banner */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* Ancho máximo fijo */
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: 20px;
    height: 500px; /* Altura por defecto */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    left: 0;
    right: 0;
}

.carousel-slide {
    display: flex;
    width: 800%; /* 8 imágenes al 100% de ancho cada una (100% * 8) */
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    position: relative;
    left: 0;
    margin: 0;
    padding: 0;
}

.carousel-slide .carousel-link {
    display: block;
    width: 12.5%; /* Cada enlace ocupa 1/8 del ancho */
    height: 100%;
    flex-shrink: 0;
    text-decoration: none;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    display: block;
}

/* Controles de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    color: #333;
    font-size: 24px;
    padding: 10px 16px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.carousel-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
}

.prev { 
    left: 15px; 
}

.next { 
    right: 15px; 
}

/* Indicadores - Puntos de navegación del carrusel */
.carousel-indicators {
    position: absolute;  /* Posicionamiento absoluto respecto al contenedor padre */
    bottom: 20px;       /* Ajustado para posicionar más arriba */
    left: 0;            /* Alineado a la izquierda del contenedor */
    right: 0;           /* Alineado a la derecha del contenedor */
    margin: 0 auto;     /* Centrado horizontal */
    display: flex;      /* Muestra los puntos en línea */
    justify-content: center;  /* Centra los puntos horizontalmente */
    align-items: center;     /* Centra verticalmente los puntos */
    gap: 8px;          /* Espacio entre puntos */
    z-index: 10;        /* Asegura que esté por encima de otros elementos */
    padding: 8px 12px;  /* Espaciado interno */
    border-radius: 20px; /* Bordes redondeados */
    flex-wrap: wrap;    /* Permite que los puntos se envuelvan si no caben en una línea */
    max-width: 90%;     /* Ancho máximo del contenedor de indicadores */
}

/* Estilo de cada punto individual */
.carousel-indicators .dot {
    width: 10px;        /* Ancho del punto */
    height: 10px;       /* Altura del punto */
    background: rgba(255, 255, 255, 0.5);  /* Color blanco semitransparente */
    border-radius: 50%;  /* Forma circular */
    cursor: pointer;    /* Cursor de puntero al pasar el ratón */
    transition: all 0.3s ease;  /* Transición suave */
    border: 2px solid transparent;  /* Borde transparente */
}

/* Efecto al pasar el ratón sobre un punto */
.carousel-indicators .dot:hover {
    background: rgba(255, 255, 255, 0.8);  /* Se hace más visible */
    transform: scale(1.2);  /* Aumenta ligeramente de tamaño */
}

/* Estilo del punto activo */
.carousel-indicators .dot.active {
    background: white;  /* Color blanco sólido */
    transform: scale(1.3);  /* Tamaño ligeramente mayor */
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);  /* Sutil sombra */
}

/* Media Queries para ajustar la altura */
@media (max-width: 1200px) {
    .carousel-container {
        max-width: 95%; /* Más espacio en los lados */
    }
}

@media (max-width: 1024px) {
    .carousel-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 300px;
        border-radius: 0;
        margin-bottom: 20px; /* Menos espacio en móviles */
    }
    
    .carousel-btn {
        font-size: 20px;
        padding: 8px 12px;
        opacity: 0.9; /* Más visibilidad en móviles */
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 200px;
    }
    
    .carousel-indicators .dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-btn {
        padding: 6px 10px;
        font-size: 18px;
    }
}

/* Clases para ajustar la altura manualmente */
.carousel-sm { 
    height: 300px !important; 
}
.carousel-md { 
    height: 500px !important; 
}
.carousel-lg { 
    height: 700px !important; 
}
.carousel-full { 
    height: 100vh !important; 
    max-height: 800px; /* Altura máxima para pantallas grandes */
}

/* Efecto hover para mejor interacción */
.carousel-slide .carousel-link:hover img {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Mejoras de accesibilidad */
.carousel-btn:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* Los estilos de .carousel-indicators ya están definidos más arriba */

.dot {
    width: 12px;
    height: 12px;
    background: #ffffff7a;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: white;
    width: 20px;
    border-radius: 20px;
}

/* Responsivo */
@media (max-width: 768px) {
    .carousel-container {
        border-radius: 20px;
    }
    .carousel-btn {
        font-size: 22px;
        padding: 8px 12px;
    }
}
