.loading-container,
.loading {
    height: 250px !important;
    width: 250px !important;
}

#loading-icon {
    max-width: 200px;
}

#loading-icon img {
    max-width: none;
    width: 200px;
}


/* HEADER */

.homeBg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.videoBg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


/* Capa oscura translúcida por encima del video */

.homeBg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, .30);
    /* Cambia 0.45 para más claro u oscuro (0 a 1) */
    z-index: 2;
}


/* Asegura que el contenido (textos y botones) quede por encima de la capa oscura */

.homeBg .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    margin-top: 150px;
    padding: 35px;
    background-color: #055d6dbb;
    border-radius: 15px;
}

header {
    background-color: var(--primary-color);
    background-image: url('../images/dark-section-bg-image.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    position: fixed !important;
    width: 100%;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    border-bottom: 3px solid transparent !important;
    border-image: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-secondary-color) 100%) 1 !important;
}

.main-menu ul li a {
    font-size: 20px;
}

.imageLogo {
    /* margin-top: 20px; */
    width: 300px;
}

.main-menu {
    /* margin-top: 40px; */
}


/* END HEADER */


/* SERVICES */

#serviciosTabs .nav-link {
    color: #444444;
    font-weight: 500;
    padding: 14px 20px;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 16px;
}

#serviciosTabs .nav-link:hover {
    background-color: #f4f5f8;
    color: #1a1a1a;
}

#serviciosTabs .nav-link.active {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-secondary-color) 100%);
    color: #ffffff !important;
    box-shadow: 0px 8px 15px rgba(0, 91, 181, 0.25);
    font-weight: 600;
}

.page-category-list ul li {
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#serviciosTabs .nav-link {
    padding: 15px 20px;
    margin-bottom: 0px;
}

.service-process-no h3 {
    font-size: 40px;
    font-weight: bold;
}

.service-process-no {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-secondary-color) 100%);
}


/* END SERVICES */


/* BRANCHES */

.sucursales-tabs {
    border-bottom: 2px solid #eaeaea;
    margin-bottom: 30px;
}

.sucursales-tabs .nav-item {
    flex: 1;
    /* Hace que los tabs midan lo mismo */
    text-align: center;
}

.sucursales-tabs .nav-link {
    color: #444444;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 20px;
    border-radius: 0;
    background-color: #f8f9fa;
    border: 1px solid #eaeaea;
    border-bottom: none;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.sucursales-tabs .nav-link:hover {
    background-color: #e9ecef;
}

.sucursales-tabs .nav-link.active {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-secondary-color) 100%);
    /* Azul institucional */
    color: #ffffff;
    /* border-color: #005bb5; */
    border-color: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-secondary-color) 100%);
}


/* Estilos del Panel Lateral (Datos de contacto) */

.panel-sucursal {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.panel-heading {
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-secondary-color) 100%);
    color: #ffffff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.panel-body {
    padding: 25px 20px;
}


/* Espacio para la imagen */

.img-placeholder {
    width: 100%;
    height: 220px;
    background-color: #e9ecef;
    border: 2px dashed #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 25px;
    border-radius: 6px;
    text-align: center;
    padding: 20px;
}

.img-placeholder i {
    font-size: 30px;
    display: block;
    margin-bottom: 10px;
}


/* Texto de datos de contacto */

.panel-body p {
    font-size: 15px;
    color: #555555;
    margin-bottom: 15px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.panel-body p i {
    background: linear-gradient(to right, var(--accent-color) 0%, var(--accent-secondary-color) 50%, var(--accent-color) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 18px;
    margin-right: 12px;
    margin-top: 3px;
    min-width: 20px;
    text-align: center;
}

.panel-body p strong {
    background: linear-gradient(to right, var(--accent-color) 0%, var(--accent-secondary-color) 50%, var(--accent-color) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 5px;
}


/* Estilo del Mapa */

.mapa-iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}


/* Estilos del Formulario Inferior */

.form-contacto-wrapper {
    background: #f4f5f8;
    padding: 60px 0;
    margin-top: 60px;
    border-radius: 16px;
}

.input-gray {
    width: 100%;
    padding: 15px 20px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #555;
}

.input-gray:focus {
    outline: none;
    border-color: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-secondary-color) 100%);
    /* border-color: #005bb5; */
}

textarea.input-gray {
    min-height: 150px;
    resize: vertical;
}

#branches,
#contact {
    margin-top: 120px;
    margin-bottom: 100px;
}


/* END BRANCHES */


/* FOOTER */

.footer-logo-prime img {
    width: 150px;
    max-width: none;
}

.footer-working-hours-elite {
    border-top: 0px;
    padding-top: 0px;
    margin-top: 0px;
}

.footer-links {
    max-width: 100%;
}

.footer-copyright-text-prime {
    padding: 28px 0;
}

.btnFooter {
    margin-top: 30px;
}

.footer-links ul li {
    margin-bottom: 0px;
}

.footer-links ul {
    margin-bottom: 15px;
}

.about-footer-elite {
    margin-right: 0.0;
}


/* END FOOTER */