:root {
    --primary-color: #007AFF;
    --bs-primary: #23A6F0;
    --bs-btn-bg: #23A6F0;
    --bs-btn-bg-hover: #23A6F0;
    --secondary-color: rgb(0, 30, 100, 0.88);
    --dark-color: #1a1a1a;
}

body {
    /*font-family: 'Inter', sans-serif;*/
    font-family: 'Montserrat', sans-serif;
}

.fs-6{
    font-size: 0.8rem !important;
    letter-spacing: 0.2px;
}

.top-bar {
    background-color: #252B42;
}
.hero-section {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    height: 100%;
    color: white;
    position: relative;
    /*min-height: 400px;*/
    display: flex;
    align-items: center;
    /*height: 100vh;*/
    width: 100%;
}
.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    left: 0.2px;
}

.hero-section button {
    background-color: var(--bs-primary);
    letter-spacing: 0.1px;
}

.hero-section button:hover {
    background-color: var(--primary-color);
}

.hero-footer{

}

.hero-footer-r{
    height: 15px;
    width: 90px;
    margin-right: 3px;
}


.hero-footer-l {
    background-color: var(--primary-color) ; /* color secundario */
    filter: contrast(0.3);
}

.hero-section2 {
    height: 65vh;
    text-align: center;
    min-height: 0px;
}

.hero-section2 p{
    font-weight: 500;
    font-size: 0.9rem !important;
}
/* Service Cards */
.services {
    background: #F5F6FF;
}
.service-card {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    width: 3rem;
    height: 3rem;
    /*margin-bottom: 1rem;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: var( --primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    /*margin-top: 40px;*/
}

.icon-wrapper i {
    font-size: 1.5rem;
}

.card-overlay {
    overflow: hidden;
}

.card-overlay img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.card-overlay:hover img {
    transform: scale(1.1);
}

.overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10%;
    background: rgb(0, 30, 70,0.85);
    color: white;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    width: 70%;
    height: 60%;
}

.overlay-content h4 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.overlay-content a {
    text-decoration: none;
    padding: 15px 40px 15px 40px;
    text-transform: uppercase;
}

.overlay-content a.btn-outline-light {
    border: 2px solid white;
    color: white;
    transition: all 0.3s ease;
}

.overlay-content a.btn-outline-light:hover {
    background-color: white;
    color: black;
}

/* Benefits Section */
.benefits{
    background: #F5F6FF;
}
.benefit-card {
    padding: 0 2rem;
    height: 100%;
}

h3, h4, h5,h2{
    color: #252B42;
}



/* Footer */
.footer {
    background: #F5F6FF;

}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.transition-scroll {
    transition: background-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out, color 0.5s ease-in-out;
}

.navbar.scrolled {
    background-color: rgb(11 61 169 / 80%) !important;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-link , .navbar.scrolled .text-info {
    color: white !important;
    transition: color 0.3s ease-in-out;
}

.navbar.scrolled img {
    filter: grayscale(100%) brightness(3.2);
}

.navbar.scrolled .navbar-toggler{
    background: aliceblue;
    color: white;
}


@media (min-width: 1200px) {

}

/* Dispositivos medianos (laptops y tabletas horizontales) */
@media (max-width: 1199px) and (min-width: 768px) {
    .hero-footer{
        padding-top: 20px !important;
    }
}

/* Dispositivos pequeños (tabletas en orientación vertical) */
@media (max-width: 767px)  {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section h4 {
        font-size: 1rem;
    }

    .hero-section img{
        margin-bottom: 10px !important;
        height: 35px;
        width: 320px;
    }

    .pre-footer .col-md-6{
        text-align: center !important;
        padding-top: 15px;
    }

    .pre-footer .col-md-6 div{
        display: block !important;
    }

    .icon-wrapper{
        padding: 9px 10px 0px 12px !important;
    }

    .overlay-content{
        height: 60% !important;
    }
    .overlay-content a{
        padding: 10px !important;
    }
    /*.hero-footer{*/
    /*    padding-top: 20px !important;*/
    /*}*/
}

/*!* Dispositivos extra pequeños (teléfonos y pantallas más pequeñas) *!*/
/*@media (max-width: 480px) {*/
/*    !* Estilos para teléfonos *!*/

/*}*/