/* ----------------- GLOBAL ----------------- */
@keyframes fadeInOpacity {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fade-in {
    opacity: 0;
    animation: fadeInOpacity 2s ease-in-out forwards;
}

/* ----------------- HEADER ----------------- */
.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2; /* Asegura que el texto esté encima del overlay */
}

/* Estilos responsivos para header */
@media (max-width: 768px) {
    .header-content {
        text-align: center;
        padding: 20px 15px;
    }

    .header-content h1 {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .header-content button {
        width: auto;
        font-size: 0.95rem;
        padding: 12px 20px;
        margin: 0 auto;
        display: inline-block;
        border-radius: 10px;
        background-color: #028484;
        color: white;
        transition: background-color 0.3s ease;
    }

    .header-content button:hover {
        background-color: #02a5a5;
    }
}

/* ----------------- NAVBAR ----------------- */
.navbar {
    padding: 0 !important;
    min-height: 45px !important;
}

/* Ajustes para los enlaces */
.nav-link {
    padding: 5px 8px !important;
    font-size: 0.9rem;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #FFF;
}

/* Espaciado entre los items del menú */
.navbar-nav .nav-item {
    margin: 0 5px !important;
}

/* Ajustes para el botón hamburguesa (mobile) */
.navbar-toggler {
    padding: 5px !important;
}

/* Ajuste para separar el botón "Contactános" en pantallas pequeñas */
@media (max-width: 768px) {
    .navbar-nav .nav-item:last-child {
        margin-bottom: 20px !important;
    }

    button {
        margin-bottom: 10px !important;
    }
}

/* ----------------- BOTONES ----------------- */
button {
    padding: 6px 20px !important;
    font-size: 0.9rem;
    height: 40px !important;
    line-height: normal !important;
}

/* ----------------- LOGO ----------------- */
.icon-container img {
    width: 100px !important;
    height: auto !important;
}

@media (min-width: 768px) {
    .icon-container img {
        width: 120px !important;
    }
}

/* ----------------- LOADER ----------------- */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #072146;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-text {
    color: #d4edfc;
    font-size: 54px;
    animation: fadeInOpacity 2s infinite alternate;
}

/* ----------------- FOOTER ----------------- */
.footer-nav a {
    text-decoration: none;
    color: #444;
    margin: 0 15px;
}

.footer-nav a:hover {
    color: #028484;
}

.atlansystem-link {
    text-decoration: none;
    color: #028484;
}

.atlansystem-link:hover {
    text-decoration: underline;
}

/* ----------------- ESTILOS PERSONALIZADOS NAVBAR ----------------- */

.custom-navbar {
    background-color: #072146;
    padding: 0 !important;
    border-bottom: solid 1px #CCC;
}

.custom-navbar .container {
    padding: 0 !important;
}

.custom-navbar .icon-container {
    margin: 10px;
    text-align: center;
}

.custom-navbar .icon-container img {
    width: 150px;
    height: auto;
    display: block;
    margin: 0;
}

.custom-navbar .navbar-toggler {
    margin-right: 20px;
}

.custom-navbar .navbar-toggler-icon {
    background: none;
}

.custom-navbar .toggler-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #CCC; /* Ajusta color si lo deseas */
    margin: 4px auto;
}

/* Estilos Generales Navbar */
.navbar-nav {
    height: auto;
}

.nav-item {
    margin-bottom: 15px;
}

.nav-custom {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0 15px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: color 0.3s, transform 0.2s;
    color: #FFF;
}

.nav-custom.active {
    color: #028484;
}

/* Efectos hover y active para links del navbar */
.nav-custom:hover, 
.nav-custom:active {
    color: #02a5a5;
    transform: scale(1.1);
}

.nav-custom:active {
    transform: scale(0.95);
}

/* Botón de contacto */
.btn-contacto {
    background-color: #028484;
    color: white;
    padding: 10px 25px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-contacto:hover, 
.btn-contacto:active {
    background-color: #02a5a5;
    transform: scale(1.05);
}

.btn-contacto:active {
    transform: scale(0.95);
}



.box-title {
    color: #000;
}


.input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da; /* Color del borde */
    border-radius: 5px; /* Ajusta el radio de borde */
    overflow: hidden; /* Para que los bordes queden bien alineados */
}

.input-group-addon {
    background-color: #f8f9fa; /* Fondo similar al input */
    padding: 8px 12px; /* Ajusta el espaciado interno */
    border-right: 1px solid #ced4da; /* Borde derecho para separación */
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group-addon i {
    font-size: 16px; /* Tamaño del ícono */
    color: #495057; /* Color del ícono */
}
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 15px;
    }
    .box-title {
        font-size: 1.2rem;
    }
}
html, body {
    overflow-x: hidden; /* Oculta el desplazamiento horizontal */
}



.promo-cards-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
}
.promo-card {
    width: 320px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.05), 0 1.5px 4px #00e5b814;
    display: flex;
    flex-direction: column;
    transition: transform .13s;
}
.promo-card:hover { transform: translateY(-5px) scale(1.025); box-shadow: 0 12px 32px #00e5b833; }

.promo-card-header {
    padding: 18px 0 10px 24px;
    font-size: 1.12em;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.promo-efectivo { background: linear-gradient(90deg,#20e2c6 60%,#05b0a9 100%);}
.promo-cuotas { background: linear-gradient(90deg,#64b7fa 60%,#13b9a5 100%);}
.promo-6 { background: linear-gradient(90deg,#64b7fa 60%,#13b9a5 100%); }

.promo-card-body {
    padding: 30px 28px 24px 28px;
    background: #fff;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: #075950;
    font-family: 'Poppins',Arial,sans-serif;
}
.promo-card-6-body {
    background: linear-gradient(0deg,#212b36 80%,#68c6e5 100%);
    color: #fff;
}
.promo-card-body .big-valor {
    font-size: 2.1em;
    font-weight: 700;
    color: #08c1ad;
}
.promo-card-body .big-valor2 {
    font-size: 2.0em;
    font-weight: 700;
    color: #24f1dd;
    margin-bottom: 4px;
}
.promo-card-body .big-label {
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 4px;
    color: #007b7b;
}
.promo-card-body .detalle {
    color: #727e89;
    font-size: 1.08em;
    margin-bottom: 10px;
}
.promo-card-body hr {
    border: none;
    border-bottom: 1.5px solid #ecf3f7;
    margin: 22px 0 12px 0;
}
.promo-card-body .costo-table td {
    padding: 2.5px 0;
    font-size: 1.04em;
}
.promo-card-body .costo-final {
    font-weight: 700;
    color: #08c1ad;
    font-size: 1.16em;
}
.promo-card-6-body .costo-final {
    color: #fff;
}
.promo-card-6-body hr { border-bottom: 1.5px solid #264252; }
@media (max-width: 900px) {
    .promo-cards-container { flex-direction: column; align-items: center; }
    .promo-card { width: 98%; }
}
