  html {
   scroll-behavior: smooth;
  }
  /*Style de barra superior negra*/
  .top-bar {
    background-color: #070707; 
    font-size: 1rem;
    text-decoration: none;
  }
  .social-icons a {
    margin-right: 30px;
    font-size: 24px;
    text-decoration: none;
    color: #FFFFFF;
  }
  .contact-info {
    background-color: #F2D06B;
    color: #000000;
    padding: 2px 5px;
    border-radius: 10px;
    margin-left: 10px;
    text-decoration: none
  }


  /* Navbar */
  .navbar-custom {
    background-color: #3b4da3;
    align-items: center;
  }
  .navbar-nav ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }
  .nav-link {
    font-size: 1.2rem;
    position: relative;
    font-weight: 500;
    color: #ffffff;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 4px;
    background-color: white;
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }
  .dropdown-custom {
    position: relative;
  }
  .dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    background-color: #ffffff;
    padding: 5px 0;
    border-radius: 0 0 8px 8px;
    z-index: 10;
  }
  .dropdown-custom:hover .dropdown-menu-custom {
    display: block;
  }
  .dropdown-menu-custom li a {
    display: block;
    padding: 8px 20px;
    color: rgb(0, 0, 0);
    text-decoration: none;
  }
  .dropdown-menu-custom li a:hover {
    background-color: #cbcbcc;
  }
  .icon-btn {
    font-size: 1.1rem;
    background-color: #cfd4f3;
    color: black;
    border-radius: 15px;
    padding: 15px 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    margin-left: 20px;
    transition: all 0.3s ease;
  }
  .icon-btn:hover {
    filter: brightness(90%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .logo {
    height: 100px;
    filter: drop-shadow(10px 4px 4px rgba(0, 0, 0, 0.4));
  }


  /*Navbar para móviles*/
  .text-bg-canvas {
    background-color: #3F4EA6;
    color: white;
  }
  .offcanvas .nav-link::after {
    display: none !important;
  }


  /*Banner principal*/
  .hero-section {
    background-image: url('images/banner.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 90px 20px;
    color: black;
  }

  .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .text-content h2 {
    font-size: 2.7rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 20px;
    filter: drop-shadow(10px 4px 4px rgba(0, 0, 0, 0.7));
  }

  .text-content h2 span {
    color: #f1c40f;
  }

  .btn-servicios {
    background-color: #f1c40f;
    color: #000;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    filter: drop-shadow(10px 4px 4px rgba(0, 0, 0, 0.7));
    margin-left: 100px;
  }

  .btn-servicios:hover {
    background-color: #d4af0d;
  }

  .logo-content img {
    max-width: 300px;
    margin-right: 100px;
  }


  /*Sección QUIENES SOMOS*/
  .stats-card img {
    height: 300px;
    object-fit: cover;
  }
  .card-mv {
    font-size: 1.1rem;
    font-weight: 600;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .card-mv:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  .card-mv .header {
    border-bottom: 2px solid #ffffff55;
  }
  .card-mv .body {
    flex-grow: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .bg-cards {
    background-color: #f2d06b;
  }
  .bg-azul{
    background-color: #3b4da3;
  }
  .bg-stats{
    background: linear-gradient(
    120deg,
    rgba(238, 203, 49, 0.979) 0%,
    rgba(245, 237, 171, 0.925) 50%,
    rgba(238, 203, 49, 0.979) 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .bg-stats:hover{
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }


/*SECCION CERTIFICACIONES*/
  .bg-gold {
    background-color: #f2d06b;
  }
  .cert-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  .cert-body {
    border-top: 2px solid #fff2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .cert-img img {
    height: 200px; 
    width: auto; 
    max-width: 100%;
    object-fit: contain;
  }


  /*SECCION ALIADOS*/
  .aliado-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    max-width: 100%;
  }

  .aliado-logo:hover {
    transform: scale(1.1);
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: black;  
    background-image: none;      
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4.854 1.146a.5.5 0 010 .708L2.707 4l2.147 2.146a.5.5 0 11-.708.708l-2.5-2.5a.5.5 0 010-.708l2.5-2.5a.5.5 0 01.708 0z'/%3E%3C/svg%3E"); /* flecha izquierda */
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: 100% 100%;
    width: 2rem;
    height: 2rem;
  }
  .carousel-control-next-icon {
    transform: rotate(180deg);
  }


  /*SECCIÓN SERVICIOS*/
  .servicios-section {
    background: url('images/fondo2.jpeg') no-repeat center center;
    background-size: cover;
    position: relative;
  }
  .servicios-section::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
  }
  .servicios-section .container {
    position: relative;
    z-index: 2;
  }
  .servicio-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  .servicio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  .servicio-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    transition: background-color 0.3s ease;
    z-index: 2; 
  }
  .servicio-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
  }
  .servicio-desc {
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
    margin-top: 1rem;
  }
  .ver-mas {
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 1rem;
    padding: 0.3rem 1rem;
    font-size: 0.9rem;
    background-color: #ffffff;
    color: #000;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
  }
  .servicio-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.6);
  }
  .servicio-card:hover .servicio-overlay {
    background-color: rgba(0, 0, 0, 0.6);
  }
  .servicio-card:hover .servicio-desc,
  .servicio-card:hover .ver-mas {
    opacity: 1;
  }


  /*SECCIÓN MAPA*/
  .contacto-section .container {
    display: flex;
    justify-content: center;
  }

  .contacto-section .row {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
  }

  .contacto-section h4 {
    font-size: 1.5rem;
  }

  .map-responsive iframe {
    width: 100%;
    border-radius: 15px;
    height: 300px;
    border: none;
  }

  @media (max-width: 768px) {
    .contacto-section .row {
      flex-direction: column;
      text-align: center;
    }

    .contacto-section .map-responsive {
      margin-top: 1.5rem;
    }

    .contacto-section .d-flex {
      justify-content: center;
    }
  }


  /*SECCIÓN DE PIE DE PÁGINA*/
  .footer {
  background-color: #212529;
  font-size: 0.95rem;
}

.footer-logo {
  max-width: 160px;
  height: auto;
}

.footer i {
  width: 20px;
  text-align: center;
}

.footer ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Centrado responsivo */
@media (max-width: 768px) {
  .footer .row {
    text-align: center;
    justify-content: center;
  }

  .footer ul {
    align-items: center;
  }

  .footer li {
    justify-content: center;
  }

  .footer .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
  .offcanvas-footer {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .sidebar-footer {
    background-color: #212529;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }




  /*SERVICIOS.PHP*/

  /*BANNER DE SERVICIOS*/
 .hero-section2 {
    background-image: url('images/banner2.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 90px 20px;
    color: black;
    overflow: hidden;
    z-index: 0;
  }

  .hero-section2::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
  }
  .hero-section2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    clip-path: ellipse(100% 100% at 50% 100%);
    z-index: 1;
  }
  .hero-content2 {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  @media (min-width: 768px) {
    .hero-content2 {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      text-align: left;
    }
  }
  .text-content2 h2 {
    font-size: 2.7rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 80px;
    filter: drop-shadow(10px 4px 4px rgba(0, 0, 0, 0.7));
  }
  .logo-content2 img {
    max-width: 320px;
    height: auto;
    margin-bottom: 80px;
  }



  /*SECCIÓN SERVICIOS*/
  .servicio {
    padding: 4rem 0;
  }
  .servicio-img {
    width: 80%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 30px 25px rgba(0, 0, 0, 0.6); 
    transition: transform 0.3s ease;
  }
  .servicio-img:hover {
    transform: scale(1.05);
  }
  .servicio-titulo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .servicio-desc {
    font-size: 1rem;
    line-height: 1.6;
  }
  .servicio-1 {
    background-color: #ffffff;
  }
  .servicio-2 {
    background-image: url('images/bgserv1.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(128, 126, 126, 0.6);
    background-blend-mode: lighten;
  }
  .servicio-3 {
    background-color: #ffffff;
  }
  .servicio-4 {
    background-image: url('images/bgserv1.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #eee569;
    background-blend-mode: multiply;
    color: rgb(0, 0, 0);
  }
  .servicio-5 {
    background-color: #f8f8f8;
  }
  .servicio-6 {
    background-image: url('images/bgserv1.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #033552;
    background-blend-mode: multiply;
    color: white;
  }
  .servicio-1 .servicio-desc {
    font-size: 1rem;
  }
  .servicio-2 .servicio-desc {
    font-size: 1.1rem;
  }
  .servicio-3 .servicio-desc {
    font-size: 0.95rem;
  }
  .servicio-4 .servicio-desc {
    font-size: 1rem;
  }
  .servicio-5 .servicio-desc {
    font-size: 1.05rem;
  }
  .servicio-6 .servicio-desc {
    font-size: 1rem;
  }


  /*SECCIÓN DE CONTACTO*/
  .contacto-section {
    background-color: #ffffff;
  }
  .contacto-card {
    max-width: 1000px;
    background: url('images/fondoform.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    color: white;
    backdrop-filter: blur(1px);
    padding: 40px;
    margin-bottom: 100px;
  }
  .contacto-card input,
  .contacto-card select,
  .contacto-card textarea {
    font-size: 0.95rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    border: none;
    border-radius: 5px;
  }
  .contacto-card ::placeholder {
    color: #666;
  }
  .contacto-card select {
    color: #000;
  }
  @media (max-width: 768px) {
    .contacto-card {
      padding: 20px;
    }

    .contacto-card img {
      margin: 0 auto;
    }
  }


  /*EXPERIENCIA.PHP*/
  /*SECCIÓN SUBESTACIONES*/
  .carrusel-fondo {
    position: relative;
    padding: 30px 15px;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
  }
  .carrusel-fondo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('images/subfondo.jpeg');
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    opacity: 1.6;
    z-index: -2;
  }
  .carrusel-fondo::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.062); /* Aclara el fondo */
    z-index: -1;
    backdrop-filter: brightness(0.7);
  }
  .card-subestacion {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
  }
  .card-subestacion img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
  }
  .card-subestacion .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .card-subestacion:hover .overlay {
    opacity: 1;
  }
  .card-subestacion .titulo-abajo {
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-radius: 0 0 15px 15px;
    font-weight: bold;
  }
  .carousel-control-prev,
  .carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    z-index: 10;
  }
  .carousel-control-prev {
    left: -40px;
  }
  .carousel-control-next {
    right: -40px;
  }

  /*SECCIÓN PROYECTOS*/
  .bg-proyectos {
    background-image: url(images/);
  }
  .card-proyecto {
    background-color: #fcd659;
    border-radius: 30px 30px 15px 15px;
    overflow: hidden;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.9);
    margin-bottom: 20px;
  }
  .card-proyecto img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
  .proyecto-contenido {
    padding: 15px;
    text-align: center;
    height: 200px; 
    overflow: hidden; 
    align-items: center !important;      
    justify-content: center !important;
  }
  .card-proyecto2 {
    background-color: #fcd659;
    border-radius: 30px 30px 15px 15px;
    overflow: hidden;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.9);
    margin-bottom: 20px;
  }
  .card-proyecto2 img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    display: block;
    background-color: #f5f5f5; 
    padding: 10px; 
  }
  .proyecto-contenido {
    padding: 15px;
    text-align: center;
    height: 200px; 
    overflow: hidden; 
    align-items: center !important;      
    justify-content: center !important;
   }

   /*INMARKET.PHP*/
   /*BANNER*/
  .seccion-tienda {
    position: relative;
    overflow: hidden;
    border: 2px solid #000;
  }
  .seccion-tienda::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('images/fondoshop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(6px) brightness(1.2);
    opacity: 0.7;
    z-index: 1;
  }
  .seccion-tienda .container-fluid {
    position: relative;
    z-index: 2;
  }

  .logo-tienda img {
    height: 150px;
    width: 100%;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.8));
  }

  .texto-tienda h3 {
    color: #000;
    font-size: 3.9rem;
    padding-left: 100px;
    margin-left: 100px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  }
  /* Estilo personalizado para las tarjetas de productos */
.card-custom {
  border: 1px solid #ccc;
  border-radius: 15px;
  overflow: hidden;
  background-color: white;
  transition: transform 0.2s;
}
.card-custom:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-img-top-custom {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background-color: #f9f9f9;
}

.bg-azul {
  background-color: #1d2b65;
  border-top: 1px solid #ccc;
  padding: 15px;
  border-radius: 0 0 15px 15px;
}

.modal-body img {
  max-height: 250px;
  max-width: 100%;
  margin-bottom: 1rem;
  object-fit: contain;
  border-radius: 8px;
  background-color: #f9f9f9;
}
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
  padding: 1rem;
  text-align: center;
}

.modal-body p {
  text-align: left;
  word-wrap: break-word;
  white-space: pre-wrap;
}

 /*LOGIN.PHP*/
  #login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image: url('images/loginfondo.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  #login-body::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(6px) brightness(0.85);
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
  }
  #login-body .login-box {
    position: relative;
    z-index: 1;
    background-color: rgba(46, 60, 145, 0.92); 
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 350px;
    color: white;
    text-align: center;
    backdrop-filter: blur(2px); 
  }
  #login-body .login-box img {
    width: 180px;
    margin-bottom: 15px;
  }
  #login-body .login-box input[type="text"],
  #login-body .login-box input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border: none;
    border-radius: 5px;
    outline: none;
  }
  #login-body .login-box button {
    background-color: #fcd659;
    border: none;
    color: #000;
    padding: 10px 25px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
  }
  #login-body .login-box .form-label {
    text-align: left;
    display: block;
    margin-bottom: -8px;
    margin-top: 10px;
    font-size: 14px;
  }
  #login-body .login-box a {
    color: #fff;
    text-decoration: underline;
    display: block;
    margin-top: 15px;
  }
  #login-body .mensaje-error {
    color: #ff9999;
    margin-bottom: 10px;
    font-size: 14px;
  }

 
 
 /*DASHBOARD-INTRANET*/
  .dashboard-body {
    margin: 0;
    font-family: sans-serif;
    background-color: #eee;
  }
  /*SIDEBAR*/
  .dashboard-body .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100%;
    background: linear-gradient(#f4f4f4, #ddd);
    padding-top: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
  }

  .dashboard-body .sidebar h5 {
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
  }

  .dashboard-body .sidebar img {
    width: 180px;
  }

  .dashboard-body .sidebar .nav-link {
    padding: 14px 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: black;
    text-decoration: none;
  }

  .dashboard-body .sidebar .nav-link:hover {
    background-color: #ccc;
  }

  /*BARRA SUPERIOR*/
  .dashboard-body .topbar {
    margin-left: 240px;
    height: 60px;
    background-color: #1a1a1a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    font-size: 18px;
  }

  .dashboard-body .logout-btn {
    background-color: #fcd659;
    border: none;
    padding: 6px 15px;
    border-radius: 5px;
    color: black;
    font-weight: bold;
    text-decoration: none;
  }

  .dashboard-body .logout-btn:hover {
    background-color: #ffde69;
  }
  
  .dashboard-body .main-content {
    margin-left: 240px;
    padding: 40px 30px;
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .dashboard-body .box {
    background-color: #fcd659;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    width: 250px;
    height: 160px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .dashboard-body .box i {
    font-size: 60px;
  }

  .dashboard-body .box span {
    font-size: 40px;
    font-weight: bold;
  }

  /*SECCIÓN RESUMEN DE CONTACTOS*/
  .dashboard-body .solicitudes-recientes {
    margin-left: 380px;
    padding: 0px 30px 60px;
  }
  .dashboard-body .solicitudes-recientes h4 {
    font-size: 30px;
    margin-right: 10px;
  }
  .dashboard-body .solicitudes-recientes .card {
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .dashboard-body .solicitudes-recientes .card:hover {
    transform: translateY(-4px);
  }
  .dashboard-body .solicitudes-recientes .titulo-compartido {
    display: flex;
    font-size: 16px;
    font-weight: bold;
    background-color: #fcd659;
    color: #000;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .dashboard-body .solicitudes-recientes .titulo-seccion {
    flex: 1;
    padding: 10px;
    border-right: 1px solid #ccc;
  }
  .dashboard-body .solicitudes-recientes .titulo-seccion:last-child {
    border-right: none;
  }
  .dashboard-body .solicitudes-recientes .row.g-0 {
    flex: 1;
    display: flex;
  }
  .dashboard-body .solicitudes-recientes .row.g-0 > .col-6 {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .dashboard-body .solicitudes-recientes .bg-datos {
    background-color: #d8d8d8;
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
    padding: 20px;
    flex-grow: 1;
    text-align: center;
    overflow-y: auto;
    border-bottom-left-radius: 10px;
    max-height: 240px;  
  }
  .dashboard-body .solicitudes-recientes .bg-datos strong {
    font-weight: bold;
    color: #000000;
  }
  .dashboard-body .solicitudes-recientes .bg-asunto {
    background-color: #ffffff;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 240px;
    border-bottom-right-radius: 10px;
  }




  /*SIDEBAR RESPONSIVO*/
  /* Sidebar Móvil */
  .sidebar-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px;
    height: 100%;
    background: linear-gradient(#f4f4f4, #ddd);
    z-index: 1050;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }
  .sidebar-mobile.show {
    left: 0;
  }
  .sidebar-mobile .sidebar-content {
    padding: 20px;
  }
  .sidebar-mobile .nav-link {
    display: block;
    padding: 12px 15px;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
  }
  .sidebar-mobile .nav-link:hover {
    background-color: #ccc;
  }
  .btn-sidebar-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1100;
    background-color: #fcd659;
    color: black;
    border: none;
    border-radius: 50%;
    padding: 10px 13px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  }
  .btn-sidebar-toggle i {
    font-size: 20px;
  }
  .topbar {
    margin-left: 240px;
    height: 60px;
    background-color: #1a1a1a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    font-size: 18px;
  }
  .topbar-mobile {
    background-color: #1a1a1a;
    color: white;
    height: 60px;
    font-size: 18px;
  }
  .main-content-mobile {
    padding: 0 20px;
  }
  .box-mobile {
    background-color: #fcd659;
    width: 90%;
    max-width: 350px;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .box-mobile i {
    font-size: 50px;
    margin-bottom: 10px;
  }
  .box-mobile span {
    font-size: 36px;
    font-weight: bold;
  }

  .box-mobile p {
    margin: 0;
    font-size: 16px;
  }
  
  /*SECCIÓN SERVICIOS*/
  .seccion-cards-servicios .container {
    max-width:fit-content;
  }
  .seccion-cards-servicios {
    margin-left: 240px;
    padding-bottom: 60px;
  }
  .card-servicio {
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .card-servicio-layout {
    display: flex;
    height: 300px;
    width: 100%;
  }
  .datos-servicio {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #000;
  }
  .asunto-servicio {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
  }
  .bg-titulo {
    background-color: #fcd659;
    text-align: center;
    font-weight: bold;
    padding: 8px;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
  }
  .contenido-datos {
    flex: 1;
    background-color: #f0f0f0;
    font-size: 15px;
    line-height: 1.1;
    color: #000;
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 260px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .contenido-asunto {
    flex: 1;
    background-color: #fff;
    font-size: 15px;
    line-height: 1.4;
    color: #000;
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 250px;
    word-break: break-word;
    overflow-wrap: break-word;
    border-left: 1px solid #000;
  }


  /* SECCIÓN RESPONSIVA PARA MÓVILES */
  .card-servicio-movil {
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
  }
  .card-servicio-movil-layout {
    display: flex;
    flex-direction: row;
    height: 300px;
  } 
  .bg-titulo-movil {
    background-color: #fcd659;
    padding: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    border-bottom: 1px solid #ddd;
  }
  .datos-servicio-movil {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #000;
  }
  .asunto-servicio-movil {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
  }
  .contenido-datos-movil,
  .contenido-asunto-movil {
    flex: 1;
    font-size: 14px;
    line-height: 1.1;
    padding: 10px;
    overflow-y: auto;
    max-height: 240px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .contenido-datos-movil {
    background-color: #f0f0f0;
    max-height: 260px;
  }
  .contenido-asunto-movil {
    background-color: #fff;
    border-left: 1px solid #000;
  }

  /*SECCIÓN DE ARTICULOS*/
  .ultimos-articulos {
    background-color: #ffffff00;
    margin-left: 240px;

  }
  .articulo-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease-in-out;
  }
  .articulo-card:hover {
    transform: translateY(-5px);
  }
  .articulo-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #fff;
  }
  .articulo-card .card-body {
    background-color: #0d1a56;
    color: white;
    border-top: 1px solid #ccc;
  }
  .articulo-card .btn {
    background-color: #fcd659;
    color: black;
    border: none;
  }
  .articulo-card .btn:hover {
    background-color: #ffde66;
    color: black;
  }
  /* SECCIÓN MÓVIL*/
  .ultimos-articulos-movil {
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .articulo-card-movil {
    width: 90%;
    max-width: 360px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
  }
  .articulo-card-movil:hover {
    transform: translateY(-3px);
  }
  .articulo-card-movil img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #fff;
  }
  .articulo-card-movil .card-body {
    padding: 15px;
    text-align: center;
  }
  .articulo-card-movil .btn {
    font-size: 14px;
  }


  /*SOLICITUDES.PHP*/
  #solicitudes-contenedor {
    margin-left: 370px;
    padding-top: 80px;
  }
  .card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    margin: 10px;
  }
  .solicitud-titulo {
    background-color: #fcd659;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    border-bottom: 1px solid #000;
  }
  .seccion-solicitud {
    padding: 8px;
    border-right: 1px solid #000;
  }

  .seccion-solicitud:last-child {
    border-right: none;
  }
  #bloques-solicitudes > .col-md-6:first-child {
    border-right: 2px solid #205185;
  }
  .datos-solicitud,
  .asunto-solicitud {
    background-color: #f8f9fa;
    font-size: 14px;
    line-height: 1;
    color: #000;
    height: 220px;
    overflow-y: auto;
    padding-left: 50px;
    word-break: break-word;
    border: 1.2px solid #ccc;
  }
  .datos-solicitud {
    border-right: 2px solid #000;
  }
  .asunto-solicitud {
    border-left: none;
  }
  .card-actions {
    background-color: #245386b7;
    padding: 8px;
    border-top: 1px solid #0056b3;
  }
  .card-actions .btn-solicitud {
    font-weight: bold;
    padding: 6px 10px;
    font-size: 14px;
  }
  .datos-solicitud::-webkit-scrollbar,
  .asunto-solicitud::-webkit-scrollbar {
    width: 6px;
  }
  .datos-solicitud::-webkit-scrollbar-thumb,
  .asunto-solicitud::-webkit-scrollbar-thumb {
    background-color: #dad9d9;
    border-radius: 3px;
  }

  /*RESPONSIVA SOLICITUDES*/
  .solicitud-titulo-movil {
    background-color: #fcd659;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    padding: 6px;
    border-bottom: 1px solid #000;
    color: #000 ;
  }
  .card-solicitud-movil {
    border-radius: 12px;
    border: 1px solid #ccc;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }
  .datos-solicitud-movil {
    background-color: #f8f9fa;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.2;
    word-break: break-word;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e2e2;
  }
  .asunto-solicitud-movil {
    background-color: #ffffff;
    color: #333;
    font-size: 14px;
    line-height: 1.2;
    word-break: break-word;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e2e2;
  }
  .card-actions-movil {
    background-color: #245386b7;
    border-top: 1px solid #245386b7;
    color: #fff;
  }


  /*ARTICULOS.PHP*/
  .articulo-card-movil {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
  }
  .articulo-card-movil img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    object-position: center;
    background-color: white;
    border-bottom: 1px solid #ced4da;
    padding: 5px;
  }
  .articulo-card-movil .card-body {
    background-color: #212529;
    color: white;
    padding: 12px;
  }
  .articulo-card-movil h6 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .articulo-card-movil p {
    font-size: 0.85rem;
    min-height: 40px;
    margin-bottom: 10px;
  }
  .articulo-card-movil .btn {
    font-size: 0.85rem;
    padding: 6px 8px;
  }