/* =======================================================

  * Page Name: Grupovegtor

  * Updated: MARZO 2025

  * Author & Developer : Karla Lara

  * License: https://inboundmkt.com.mx/

  ======================================================== */



/*================ NAV/HEADER ==========================*/

@media (max-width: 992px) {



  /* Ajustes generales del header */

  .header_section .header_top .contact_nav,

  .header_section .header_top .social_box {

    display: none;

  }



  /* Contenedor principal ajustado */

  .header_section .header_bottom .container-fluid {

    padding: 0 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    width: 100%;

  }



  /* Logo más grande y alineado */

  .navbar-brand {

    order: 3;

    flex: 0 0 auto;

    margin-right: auto;

  }



  .navbar-brand img {

    width: 180px;

    height: auto;

    max-height: 50px;

  }



  /* Botón de hamburguesa ajustado al extremo */

  .custom_nav-container .navbar-toggler {

    order: 2;

    padding: 5px;

    margin-left: 15px;

    z-index: 1000;

    flex: 0 0 auto;

  }



  /* Menú desplegable */

  .custom_nav-container .navbar-collapse {

    order: 3;

    width: 100%;

    background-color: #ffffff;

    padding: 15px;

    margin-top: 15px;

  }



  /* Items del menú */

  .custom_nav-container .navbar-nav {

    flex-direction: column;

    margin: 0 !important;

  }



  .custom_nav-container .navbar-nav .nav-item .nav-link {

    padding: 10px 15px;

    margin: 5px 0;

    text-align: left;

    display: block;

  }



  /* Ajuste para el hero en móviles */

  .hero_area {

    height: auto;

  }



  /* Ocultar elementos no necesarios en móvil */

  .quote_btn-container,

  .nav_search-btn {

    display: none !important;

  }

}



@media (max-width: 768px) {



  /* Ajustes para tablets */

  .navbar-brand img {

    width: 160px;

  }



  .custom_nav-container .navbar-toggler {

    width: 32px;

    height: 32px;

  }



  .custom_nav-container .navbar-toggler span {

    width: 28px;

    height: 3px;

    margin: 5px 0;

  }



  .custom_nav-container .navbar-toggler span::before,

  .custom_nav-container .navbar-toggler span::after {

    width: 28px;

    top: -8px;

  }



  .custom_nav-container .navbar-toggler span::after {

    top: 8px;

  }

}



@media (max-width: 576px) {



  /* Ajustes para móviles pequeños */

  .header_section .header_bottom .container-fluid {

    padding: 0 15px;

  }



  .navbar-brand img {

    width: 140px;

  }



  .custom_nav-container .navbar-toggler {

    margin-left: 10px;

  }

}





/*================= HERO ================== */

@media (max-width: 992px) {

  .hero-section h1 {

    font-size: 3rem;

  }

  

  .hero-section h2 {

    font-size: 1.8rem;

  }

}



@media (max-width: 768px) {

  .hero-section h1 {

    font-size: 2.5rem;

  }

  

  .hero-section h2 {

    font-size: 1.5rem;

  }

  

  .btn-box {

    flex-direction: column;

    align-items: center;

    gap: 15px;

    margin-top: 2.5rem;

  }

  

  .btn {

    width: 80%;

    max-width: 250px;

    padding: 12px 25px;

  }

  

  .carousel-indicators {

    bottom: 30px;

  }

}



@media (max-width: 576px) {

  .hero-section {

    min-height: 500px;

    height: 90vh;

  }

  

  .hero-section h1 {

    font-size: 2rem;

    margin-bottom: 1rem;

  }

  

  .hero-section h2 {

    font-size: 1.3rem;

  }

  

  .btn {

    font-size: 1rem;

    padding: 10px 20px;

  }

  

  .carousel-caption {

    padding: 15px;

  }

}



/*============= SECCION NOSOTROS/CLIENTES ================*/

@media (max-width: 992px) {

  /* Sección Nosotros - Mobile */

  .about_section .row {

    flex-direction: column;

    margin-top: 60px;

  }

  

  .about_section .img-box img {

    max-width: 100%;

    margin-left: 0;

    margin-bottom: 30px;

    margin-top: 30px;

  }

  

  .about_section .img-box::before,

  .about_section .img-box::after {

    display: none; 

  }

  

  .about_section .detail-box {

    padding: 0 20px;

  }

  

  .about_section .detail-box p {

    font-size: 1rem;

    text-align: left;

  }

  

  .about_section .detail-box a {

    width: 100%;

    text-align: center;

    padding: 12px 20px;

    border-radius: 4px;

  }



  /* Carrusel Clientes - Mobile */

  .clients_section {

    margin-top: 80px;

    padding: 40px 0;

  }

  

  .clients_section .heading_container h2 {

    font-size: 1.8rem;

  }

  

  .clients_section .heading_container p {

    font-size: 1rem;

    margin-top: 20px;

    padding: 0 20px;

  }

  

  .carousel-track {

    gap: 20px;

    animation-duration: 30s;

    padding: 0 20px;

  }

  

  .client-logo {

    width: 100px;

    margin-top: 20px;

  }

  

  .client-logo img {

    border-radius: 50px;

  }

}



@media (max-width: 576px) {

  /* Ajustes adicionales para móviles pequeños */

  .about_section .row {

    margin-top: 40px;

  }

  

  .heading_container h2 {

    font-size: 1.8rem;

  }

  

  .clients_section .heading_container h2 {

    font-size: 1.5rem;

  }

  

  .client-logo {

    width: 80px;

  }

  

  .carousel-track {

    gap: 15px;

    animation-duration: 25s;

  }

}



@media (max-width: 400px) {

  .client-logo {

    width: 70px;

  }

  

  .carousel-track {

    gap: 10px;

  }

}



/*============== SERVICIOS ================*/



@media (max-width: 992px) {

  .service_section .box {

    margin-top: 50px;

  }

  

  .service_section .heading_container p {

    font-size: 1.1rem;

    padding: 0 20px;

  }

}



@media (max-width: 768px) {

  .service_section .service_container {

    margin: 0 15px;

    padding: 35px 10px;

  }

  

  .service_section .box {

    margin-top: 40px;

    padding: 0 10px;

  }

  

  .service_section .box .img-box {

    height: 65px;

    margin-bottom: 15px;

  }

  

  .service_section .heading_container p {

    font-size: 1rem;

  }

}



@media (max-width: 576px) {

  .service_section .service_container {

    margin: 0 10px;

    padding: 30px 5px;

  }

  

  .service_section .box {

    margin-top: 30px;

  }

  

  .service_section .box .img-box {

    height: 55px;

  }

  

  .service_section .box .detail-box h5 {

    font-size: 1rem;

  }

  

  .service_section .box .detail-box p {

    font-size: 0.9rem;

  }

}





/* ============= CONTACTO1 ============ */

@media (max-width: 992px) {

  .why_us_section .why_us_container .box .img-box {

    width: 150px;

    min-width: 150px;

    height: 110px;

    margin-right: 20px;

  }

  

  .why_us_container h5 {

    font-size: 1.2rem;

  }

  

  .why_us_container p {

    font-size: 1.1rem;

  }

}



@media (max-width: 768px) {

  .why_us_section .why_us_container .box {

    flex-direction: column;

    align-items: center;

    text-align: center;

  }

  

  .why_us_section .why_us_container .box .img-box {

    margin-right: 0;

    margin-bottom: 20px;

    width: 130px;

    min-width: 130px;

    height: 100px;

  }

  

  .why_us_container p {

    text-align: justify;

    padding: 0 15px;

  }

  

  .why_us_section .btn-box a {

    padding: 10px 25px;

    font-size: 0.9rem;

  }

}



@media (max-width: 576px) {

  .why_us_section .why_us_container .box {

    margin-top: 30px;

  }

  

  .why_us_section .why_us_container .box .img-box {

    width: 110px;

    min-width: 110px;

    height: 80px;

  }

  

  .why_us_container h5 {

    font-size: 1.1rem;

  }

  

  .why_us_container p {

    font-size: 1rem;

    padding: 0 10px;

  }

  

  .why_us_section .btn-box {

    margin-top: 30px;

  }

  

  .why_us_section .btn-box a {

    width: 100%;

    max-width: 200px;

    text-align: center;

  }

}



/*================ PROPIEDADES ==================*/



@media (max-width: 992px) {

  .project_section .filter_box {

    flex-direction: column;

    align-items: flex-start;

  }

  

  .project_section .filter_box .owl-filter-bar {

    margin-left: 0;

    margin-top: 15px;

  }

  

  .image-overlay h3 {

    font-size: 1.5rem;

  }

}



@media (max-width: 768px) {

  .project_section .heading_container h2 {

    font-size: 1.8rem;

  }

  

  .project_section .heading_container p {

    font-size: 1.1rem;

  }

  

  .project_section .filter_box .owl-filter-bar a {

    font-size: 1rem;

    padding: 0 8px;

  }

  

  .image-overlay {

    padding: 15px;

  }

  

  .image-overlay h3 {

    font-size: 1.3rem;

  }

  

  .image-overlay span {

    font-size: 0.9rem;

  }

}



@media (max-width: 576px) {

  .project_section .filter_box h6 {

    padding: 7px 8px;

    font-size: 0.9rem;

  }

  

  .project_section .filter_box .owl-filter-bar a {

    font-size: 0.9rem;

    padding: 0 5px;

  }

  

  .image-overlay h3 {

    font-size: 1.1rem;

  }

}





/*================ TESTIMONIOS ===================*/



@media (min-width: 768px) {

  .client_section .box {

    flex-direction: row;

    max-width: 800px;

    margin: 0 auto;

  }

  

  .client_section .box .img-box {

    width: 125px;

    height: 125px;

    min-width: 125px;

    border-radius: 30px;

    margin-right: -65px;

    margin-top: 15px;

    margin-bottom: 0;

    margin-left: 0;

  }

  

  .client_section .box .detail-box {

    padding: 45px 45px 45px 85px;

    margin-top: 0;

  }

}



@media (max-width: 576px) {

  .client_section {

    padding: 40px 0;

    background-attachment: scroll;

  }

  

  .client_section .heading_container h2 {

    font-size: 1.8rem;

  }

  

  .client_section .box .img-box {

    width: 80px;

    height: 80px;

    margin-bottom: -40px;

  }

  

  .client_section .box .detail-box {

    padding: 50px 20px 20px;

  }

  

  .client_section .box .client_info .client_name h5 {

    font-size: 1rem;

  }

  

  .client_section .box p {

    font-size: 0.9rem;

  }

}



@media (max-width: 400px) {

  .client_section .box .img-box {

    width: 70px;

    height: 70px;

  }

  

  .client_section .box .client_info {

    flex-direction: column;

    align-items: flex-start;

  }

  

  .client_section .box .client_info i {

    margin-left: 0;

    margin-top: 10px;

  }

}





/* ============= CONTACTO ============ */



@media (max-width: 992px) {

  .contact_section {

    margin-top: 80px;

  }

  

  .contact_section .row {

    flex-direction: column;

  }

  

  .contact_section .form_container {

    margin-right: 0;

    margin-bottom: 30px;

  }

  

  .contact_section .map_container {

    height: 350px;

  }

  

  .info_section .contact_nav {

    flex-wrap: wrap;

  }

  

  .info_section .contact_nav a {

    flex: 0 0 50%;

    margin-bottom: 20px;

  }

}



@media (max-width: 768px) {

  .contact_section {

    margin-top: 60px;

  }

  

  .info_section {

    padding: 20px 0;

  }

  

  .info_section .info_top {

    padding: 30px 0;

  }

  

  .info_section .contact_nav a i {

    font-size: 24px;

  }

}



@media (max-width: 576px) {

  .contact_section .form_container button {

    padding: 12px 35px;

  }

  

  .info_section .info_form button {

    padding: 10px 30px;

  }

  

  .info_section .info_bottom .info_logo a img {

    width: 100px;

  }

  

  .info_section .contact_nav a {

    flex: 0 0 100%;

  }

  

  .footer_section p {

    padding: 15px 0;

    font-size: 14px;

  }

}





/*============= WAHTSAP ===============*/

@media (max-width: 768px) {

  .whatsapp-float {

    bottom: 20px;

    left: 20px; 

  }

  

  .whatsapp-link {

    width: 50px;

    height: 50px;

  }

  

  .whatsapp-link i {

    font-size: 30px;

  }

  

  .whatsapp-tooltip {

    display: none;

  }

}





/* FLECHA */

@media (max-width: 768px) {

  .scroll-top-float {

    bottom: 20px;

    right: 20px;

  }

  

  .scroll-top-link {

    width: 45px;

    height: 45px;

  }

  

  .arrow-icon {

    width: 20px;

    height: 20px;

  }

}