/*=========================================
PANTALLAS GRANDES
==========================================*/
@media (max-width: 1200px){
    .hero h1{
        font-size: 52px;
    }
    .hero-image{
        max-width: 450px;
    }
}

/*=========================================
TABLETS
==========================================*/
@media (max-width: 992px){
    /* Ocultar barra superior */
    .top-bar{
        display: none;
    }
    /* Navbar */
    .navbar{
        top: 0 !important;
        background: #0A4D8C !important;
    }
    .navbar-brand{
        font-size: 28px;
    }
    .navbar-collapse{
        background: white;
        margin-top:15px;
        border-radius:15px;
        padding:20px;
        box-shadow:0 10px 30px rgba(0,0,0,.15);
    }
    .navbar .nav-link{
        color:#0A4D8C !important;
        font-weight:600;
        margin:10px 0;
        text-align:center;
    }
    .dropdown-menu{
        border:none;
        text-align:center;
        box-shadow:none;
    }
    .hero{
        padding-top:110px;
        text-align:center;
        min-height:auto;
        padding-bottom:60px;
    }
    .hero h1{
        font-size:42px;
    }
    .hero p{
        font-size:18px;
    }
    .hero-image{
        margin-top:40px;
        max-width:350px;
    }

    .hero .btn{
        margin-bottom:10px;
    }
}

/*=========================================
CELULARES
==========================================*/

@media (max-width:768px){
    h2{
        font-size:30px;
    }
    .hero h1{
        font-size:36px;
    }
    .hero p{
        font-size:16px;
    }
    .hero-image{
        max-width:280px;
    }
    .btn-lg{
        width:100%;
        margin-bottom:10px;
    }
    .icon-box{
        margin-bottom:25px;
    }
    footer{
        text-align:center;
    }
}

/*=========================================
CELULARES PEQUEÑOS
==========================================*/
@media (max-width:576px){
    .navbar-brand{
        font-size:24px;
    }
    .hero{
        padding-top:90px;
    }
    .hero h1{
        font-size:30px;
        line-height:1.2;
    }
    .hero p{
        font-size:15px;
    }
    .hero-image{
        max-width:220px;
    }
    .container{
        padding-left:20px;
        padding-right:20px;
    }
}


/*=========================================
PANTALLAS MUY PEQUEÑAS
==========================================*/
@media (max-width:360px){
    .hero h1{
        font-size:26px;
    }
    .hero p{
        font-size:14px;
    }
    .navbar-brand{
        font-size:20px;
    }
}

/*=========================================
SERVICIOS RESPONSIVE
==========================================*/
@media(max-width:768px){
    .service-image{
        height:220px;
    }
    .service-content{
        padding:25px;
    }
}

@media(max-width:576px){
    .service-image{
        height:200px;
    }
    .service-content h3{
        font-size:22px;
    }

}

@media (max-width: 768px) {
    .form-page-header h1 {
        font-size: 32px;
    }
    .form-card {
        padding: 30px 25px;
    }
}

@media (max-width: 992px) {

    .hero-slide {
        min-height: 85vh;

        text-align: center;

        background-position: center;
    }

    .hero-slide h1 {
        font-size: 44px;
    }

    .hero-slide p {
        margin-left: auto;
        margin-right: auto;
    }

}

/*------ PARTE CARRUSEL --------*/
@media (max-width: 576px) {

    .hero-slide {
        min-height: 78vh;
    }

    .hero-slide h1 {
        font-size: 32px;
    }

    .hero-slide p {
        font-size: 15px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
    }

}