.rd-navbar-corporate.rd-navbar-static .rd-navbar-main {
    background-color: #ffed00 !important;
    margin-top: 0 !important;
}

.highlighted-title {
    display: inline-block;
    font-size: 1.5rem;
    background-color: #ffed00;
    padding: 10px;
    border-radius: 60px;
    color: #000;
    line-height: 1.2;
}

/* Acordeón personalizado */
.custom-accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: rgba(0, 0, 0, 0.1);
    --bs-accordion-btn-focus-box-shadow: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* dos columnas responsivas */
    gap: 20px;
}

/* Ítems individuales */
.custom-accordion .accordion-item {
    border: none;
}

/* Botones del acordeón */
.custom-accordion .accordion-button {
    padding: 22px 0;
    font-size: 16px;

    font-weight: bold; /* Aplicamos negrita a todos los títulos */
    color: #000000;
    background-color: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Botón cuando está expandido */
.custom-accordion .accordion-button:not(.collapsed) {
    color: #000000;
    box-shadow: none;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* Contenido del acordeón */
.custom-accordion .accordion-body {
    padding: 15px 0;
    color: #333;
}

/* Ícono de flecha - Posición ajustada */
.custom-accordion .accordion-button::after {
    color: #000000 !important;
    -webkit-text-stroke: 1px #000;
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
    
    /* Nuevas propiedades para posición */
    position: relative;
    right: -10px;  /* Mueve hacia la derecha */
    top: -2px;     /* Mueve hacia arriba */
    margin-left: auto; /* Empuja hacia el extremo derecho */
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
    top: -2px;     /* Mantiene la posición vertical cuando está abierto */
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
}

        .btn-dark {
            background-color: #ffed00;
            color: #000000;
            text-transform: uppercase;
            padding: 12px 30px;
            border: none;
            font-weight: 600;
            transition: background-color 0.3s ease;
        }

        .btn-dark:hover {
            background-color: #222;
            color: #fff;
        }

        form .form-label {
            text-align: center;
            color: #000000;
            font-weight: 500;
        }

        form .form-control:focus,
        form textarea:focus {
            border-color: rgb(0, 0, 0);
            box-shadow: none;
            outline: none;
        }

        form .form-group,
        form .col-md-6,
        form .col-12 {
            margin-bottom: 20px;
        }

        /* Estilos para los inputs con fondo gris */
        .input-gray {
            background-color:rgb(217, 217, 217) !important;
            border: 1px solid #e0e0e0 !important;
            padding: 30px 30px !important;
        }

        /* Bordes más redondeados */
        .rounded-4 {
            border-radius: 1rem !important;
        }
        
        .rounded-pill {
            border-radius: 20rem !important;
        }

/* Contenedor de acordeones con grid */
.custom-accordion {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

/* Que los ítems cortos ocupen una celda */
.custom-accordion .accordion-item {

  border: none;
}


/* Ítems largos ocupan todo el ancho */
.custom-accordion .accordion-item.full-width {
  grid-column: span 2;
}

/* Títulos en negrita */
.custom-accordion .accordion-button {
  font-weight: bold;
  font-size: 16px;
  padding-right: 30px; /* Espacio para el + */
  background-color: transparent;
  border-bottom: 1px solid #000000;
color: #000000;
  transition: background-color 0.2s ease;
}

/* Hover opcional */
.custom-accordion .accordion-button:hover {
  background-color: #f8f9fa;
}

/* Ícono de flecha */
.custom-accordion .accordion-button::after {
    filter: none !important; /* Elimina el filtro de Bootstrap */
    color: #000000 !important; /* Fuerza color negro */
    -webkit-text-stroke: 1px #000; /* Opcional: para mayor grosor */
}


  
  /* Eliminar el padding horizontal por defecto del row */


.quality-objectives li {
  position: relative;
  padding-left: 30px;
  text-align: left;
}

.bullet {
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1.4;
}


/* Asegurar que la imagen no se solape en móviles */
            @media (max-width: 992px) {
                .position-absolute {
                    width: 100% !important;
                }
                .justify-content-end {
                    justify-content: flex-start !important;
                }
            }
            
            /* Animaciones fadeIn */
            .fadeInLeft {
                animation: fadeInLeft 1s ease-in-out;
            }
            .fadeInRight {
                animation: fadeInRight 1s ease-in-out;
            }
            
            @keyframes fadeInLeft {
                from {
                    opacity: 0;
                    transform: translateX(-50px);
                }
                to {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
            
            @keyframes fadeInRight {
                from {
                    opacity: 0;
                    transform: translateX(50px);
                }
                to {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
               /* Asegurar que la imagen no se solape en móviles */
    @media (max-width: 992px) {
        .position-absolute {
            width: 100% !important;
        }
    }
    @media (max-width: 768px) {
    .custom-accordion .accordion-button::after {
        right: -5px;  /* Ajuste menor en móviles */
        top: -1px;
    }
}
  
/* Responsive */
@media (max-width: 768px) {
    .about-content {
      flex-direction: column;
    }
    
    .about-text, .about-image {
      padding: 20px 0;
    }
    
    .section-title {
      font-size: 2rem;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }
  }

  /* Asegurar que la imagen no se solape en móviles */
@media (max-width: 992px) {
    .justify-content-end {
        justify-content: flex-start !important;
    }
  }


  @media (max-width: 767px) {
    .quienes-somos-text h1 {
      font-size: 3rem !important;
    }
  
    .quienes-somos-text h4 {
      font-size: 1.2rem !important;
    }
  
    .quienes-somos-text p {
      font-size: 1rem !important;
      padding: 0 10px;
    }
  
    .quienes-somos-img img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }
  
  
  
@media (max-width: 767px) {
    .quality-section {
      flex-direction: column !important;
    }
  
    .quality-section img {
      width: 80% !important;
      height: auto !important;
      margin: 0 auto;
    }
  
    .quality-section .text-dark {
      padding: 20px;
      text-align: center;
    }
  
    .quality-objectives {
      margin-left: 0 !important;
      font-size: 1rem !important;
    }
  }
  
  @media (max-width: 767px) {
    .quality-img,
    .quality-text {
      width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      margin-top: 1rem !important;
    }
  
    .quality-objectives {
      margin-left: 0 !important;
      font-size: 1rem !important;
      text-align: left;
      padding: 0 1rem;
    }
  
    .quality-text .container {
      padding: 0;
    }

    .banderas{
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
  }
  
  @media (max-width: 767.98px) {
    .quienes-somos-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  
    .quienes-somos-img::after {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.45); /* Nivel de oscuridad */
      z-index: 1;
    }
  
    .quienes-somos-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      position: relative;
      z-index: 0;
    }
  
    .quienes-somos-text {
      position: relative;
      z-index: 2;
    }
  }


  @media (max-width: 768px) {
    .bandera-img {
      width: 180px !important;
      left: 10px !important;
      opacity: 50%;
    }
  }
  

  @media (max-width: 768px) {
    .imagen-fondo-ajustada {
      height: auto !important;
      aspect-ratio: 16 / 9; /* o usa la proporción real de tu imagen */
      object-fit: cover;
      object-position: center center !important;
      mask-image: none !important; /* si el difuminado ya no queda bien en móvil */
    }
  }

  @media (max-width: 768px) {
  .imagen-fondo-ajustada {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center !important;

    /* Quita el difuminado lateral */
    mask-image: none !important;
    -webkit-mask-image: none !important;

    /* Agrega difuminado en la parte inferior hacia blanco */
    position: relative;
    display: block;
  }

  .imagen-fondo-ajustada::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
  }
}


.fondo-contacto {
  min-height: 600px;
  background-image: url('assets/images/logos/FONDO.jpg');
  background-size: contain; /* Muestra la imagen completa */
  background-repeat: no-repeat;
  background-position: left center;
  background-color: white; /* Si sobra espacio */
  overflow: hidden;
  position: relative;
}

/* Si quieres un difuminado a la izquierda */
.overlay-difuminado {
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  height: 100%;
  background: linear-gradient(to left, transparent 0%, white 15%, white 100%);
  z-index: 0;
}

/* Responsive: en móviles usa "cover" si prefieres llenar todo */
@media (max-width: 768px) {
  .fondo-contacto {
    background-size: cover; /* O usa contain si prefieres verla completa */
    background-position: center center;
  }

  .overlay-difuminado {
    width: 100%;
    background: linear-gradient(to bottom, transparent 0%, white 40%);
  }
}






/* Sección contenedora */
.contacto-section {
  position: relative;
  margin-bottom: 1%;
  background-color: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Contenedor de imagen */
.contacto-img-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Imagen responsive sin recortes */
.contacto-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Texto encima */
.contacto-text {
  position: relative;
  z-index: 1;
  padding: 5% 0;
}

/* Ajuste de títulos */
.contacto-text h1 {
  font-size: 5rem;
  color: #fff;
}

.contacto-text p {
  font-size: 1.3rem;
}

/* Móvil: adapta layout */
@media (max-width: 767.98px) {
  .contacto-section {
    aspect-ratio: auto;
    height: auto;
  }

  .contacto-img-wrapper {
    position: relative;
    height: auto;
  }

  .contacto-img {
    object-fit: contain;
    height: auto;
  }

  .contacto-text h1 {
    font-size: 2.8rem;
  }

  .contacto-text p {
    font-size: 1.1rem;
  }
}
.contacto-text {
  position: absolute;
  bottom: 5%;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 0 15px;
  padding-bottom: 15% !important;
}
@media (max-width: 767.98px) {
  .contacto-text {
    position: relative;
    bottom: auto;
    padding: 2rem 1rem;
    text-align: center;
  }
}




/* Fondo general de la sección */
.venezuela-section {
  position: relative;
  overflow: hidden;
}

/* Imagen como fondo en escritorio */
.venezuela-fondo {
  display: block;
}

.venezuela-fondo-mobile {
  display: none;
}

/* Título móvil sobre la imagen */
.venezuela-mobile-title {
  position: absolute;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 2.5rem;
  color: black !important;
}

/* Estilos para móvil */
@media (max-width: 767.98px) {
  /* Oculta fondo de escritorio */
  .venezuela-fondo {
    display: none !important;
  }

  /* Muestra imagen móvil */
  .venezuela-fondo-mobile {
    display: block !important;
    position: relative;
    text-align: center;
  }

  /* Ajusta contenedor */
  .venezuela-section .container {
    background-color: #ffee00;
    padding: 2rem 1rem;
  }

  /* Bandera móvil */
  .bandera-img {
    max-height: 200px;
    z-index: 3;
    position: absolute;
    top: 20px;
    left: 10px;
  }
}

.fondo-ajustado {
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  height: 100%;
  z-index: 0;
  background-image: url('../../assets/images/logos/FONDO.jpg');
  background-size: contain; /* Contiene toda la imagen sin cortes */
  background-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}
