/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
    background-color: rgba(29, 29, 58, 0.171);
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: white;
}
::-webkit-scrollbar-thumb {
    background: blue;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.message-container {
    padding: 20px; /* Aumentar el padding para que sea más visible */
    margin-bottom: 20px;
    border-radius: 8px; /* Bordes más redondeados */
    font-weight: bold;
    display: none; /* Por defecto estará oculto */
    text-align: center; /* Centrar el texto dentro del contenedor */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para darle profundidad */
    max-width: 90%; /* Ancho máximo para que no ocupe toda la pantalla */
    width: auto; /* Ancho responsivo */
    min-width: 250px; /* Ancho mínimo para que no sea ilegible */
    box-sizing: border-box; /* Padding incluido en width/max-width */
    /* Ajuste de fuente para responsividad si es muy grande */
    font-size: 1.1em; /* Un poco más grande, usa em para ser relativo */
    position: fixed; /* Fijo en la pantalla */
    top: 20%; /* 50% desde arriba */
    left: 50%; /* 50% desde la izquierda */
    transform: translate(-50%, -50%); /* Ajustar la posición para centrarlo perfectamente */
    z-index: 1000; /* Asegurar que esté por encima de otros elementos */
}
.message-success {
    background-color: #d4edda; /* Verde claro */
    color: #155724; /* Texto verde oscuro */
    border: 1px solid #c3e6cb;
}
.message-error {
    background-color: #f8d7da; /* Rojo claro */
    color: #721c24; /* Texto rojo oscuro */
    border: 1px solid #f5c6cb;
}
/* all similar content styling codes */
section{
    padding: 70px 0;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
.about, .services, .skills, .teams, .contact, footer{
    font-family: 'Poppins', sans-serif;
}
.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
section .title{
    position: relative;
    text-align: center;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 10px;
    padding-bottom: 1px;
    font-family: 'Ubuntu', sans-serif;
}
section .title::before{
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}


/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background: blue;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo p{
    color: blue;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo p span{
    color: white;
    transition: all 0.3s ease;
}
.navbar.sticky .logo p{
    color: white;
}
.navbar.sticky .logo span{
    color: white;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: white;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: white;
}
.navbar.sticky .menu li a:hover{
    color: red;
}

/* menu btn styling */
.menu-btn{
    color: red;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: blue;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover{
    filter: brightness(90%);
}


/* home section styling */
.home{
    display: flex;
    background-image: url(../images/fondo.png) ;
    height: 107vh;
    color: white;
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
}
.home img{
    position: absolute;
    top: 130px;
    left: 799px;
}
.home .max-width{
  width: 100%;
  display: flex;
}
.home .max-width .row{
  margin-right: 10px;
}
.home .home-content .text-1{
    font-size: 34px;
}
.home .home-content .text-2{
    font-size: 55px;
    font-weight: 600;
    margin-left: -3px;
}
.home .home-content .text-3{
    font-size: 40px;
    margin: 5px 0;
}
.home .home-content .text-3 span{
    color: rgb(211, 129, 7);
    font-weight: 500;
}
.home .home-content a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.home .home-content a:hover{
    color: crimson;
    background: none;
}

/* about section styling */

.about .about-content .left img{
    width: 450px;
    object-fit: scale-down;
}
.about .about-content .right{
    width: 60%;
    font-size: 15px;
    text-align: justify;
}
.contenedor{    
  display: flex;
  flex-direction: row;
  text-align: justify;
}
.uno{
    font-size: 25px;
    width: 40%;
    margin-left: 40px;
    margin-right: 40px;
}
.dos{
    font-size: 25px;
    width: 40%;
}

.nose{
    font-size: 14px;
    margin-bottom: 8px;
}


/* teams section styling */
.teams{
    color: white;
    background: black;
}

.teams span{
    color: red;
}

.teams .carousel .card{
    background: rgb(10, 83, 117);
    border-radius: 7px;
    padding: 25px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}


.teams .carousel .card:hover{
    background: crimson;
}

.teams .carousel .card .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.teams .carousel .card:hover .box{
    transform: scale(1.05);
}
.teams .carousel .card .text{
    font-size: 23px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}
.teams .carousel .card img{
    height: 250px;
    width: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    transition: all 0.3s ease;
}
.teams .carousel .card:hover img{
    border-color: rgb(201, 164, 42);
}

#igmGrande .popup-image,
.popup-image1,
.popup-image2,
.popup-image3,
.popup-image4,
.popup-image5{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .9);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}

#igmGrande .popup-image span,
.popup-image1 span,
.popup-image2 span,
.popup-image3 span,
.popup-image4 span,
.popup-image5 span{
    position: absolute;
    top:13%;
    right: 12%;
    font-size: 60px;
    font-weight: bolder;
    color: white;
    cursor: pointer;
    z-index: 100;
}

#igmGrande .popup-image img,
.popup-image1 img,
.popup-image2 img,
.popup-image3 img,
.popup-image4 img,
.popup-image5 img{
      position: absolute;
    top: 20%; left: 22%;
    transform: translate(-3%, -3%);
    border: 5px solid red;
    border-radius: 10px;
    object-fit: fill;
}

.owl-dots{
    text-align: center;
    margin-top: 30px;
}
.owl-dot{
    height: 13px;
    width: 13px;
    margin: 0 5px;
    outline: none!important;
    border-radius: 50%;
    border: 2px solid blue!important;
    transition: all 0.3s ease;
}
.owl-dot.active{
    width: 35px;
    border-radius: 14px;
}
.owl-dot.active,
.owl-dot:hover{
    background: blue!important;
}

/* Galeria Styling */

.galeria .ContenedorIMG .caja{   
    background-color: rgb(24, 110, 136); 
    width: 70%;
    height: 500px;
    min-width: 520px; 
    position: relative;
    left: 15%;
    top: 50%;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0px 0px 40px  rgba(0, 32, 99, 9); 
    align-content: center;
    justify-content: center;
}


.ContenedorIMG .caja img{
    position: relative;
    width: 97%;
    height: 95%;
    display: none;
    border-radius: 10px;
    margin-left: 12px;
    object-fit: fill;
} 

.ContenedorIMG .caja .acti{
    display: block;
}

 
.dot-container{
    width: 450px;
    margin: 20px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
} 

.galeria .ContenedorIMG button{
    outline: none;
    cursor: pointer;
}

.galeria .ContenedorIMG .dot-container button{
    height: 13px;
    width: 13px;
    border-radius: 50px;
    border: 3px solid rgb(12, 47, 70);
    background-color: transparent;
}

.galeria .ContenedorIMG .dot-container button:nth-child(1){
    background-color: rgb(12, 47, 70);
}

.galeria .ContenedorIMG #prev, #next{
    height: 40px;
    width: 40px;
    position: absolute;
    background-color: rgb(12, 160, 160);
    color: white;
    margin: auto;
    top: 0;
    bottom: 0;
    border: none;
    border-radius: 4px;
    font-size: 30px;
    font-weight: bolder;
}

#prev{
    left: -60px;
}

#next{
    right: -60px;
}
/* contact section styling */

.contact{
    color: white;
    background: black;
}

.contact .contact-content .column{
    width: calc(50% - 20px);
}
.contact .contact-content .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact .contact-content .left p{
    text-align: justify;
}
.contact .contact-content .left .icons{
    margin: 10px 0;
}
.contact .contact-content .row{
    display: flex;
    height: 75px;
    align-items: center;
}
.contact .contact-content .row .info{
    margin-left: 30px;
}
.contact .contact-content .row i{
    font-size: 35px;
    color: rgb(28, 61, 104);
}
.contact .contact-content .info .head{
    font-weight: 500;
}

.contact .right form .fields{
    display: flex;
}
.contact .right form .field,
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .right form .textarea{
    height: 80px;
    width: 100%;
}
.contact .right form .name{
    margin-right: 10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}
.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus{
    border-color: #b3b3b3;
}
.contact .right form .textarea textarea{
  padding-top: 10px;
  resize: none;
}
.contact .right form .button-area{
  display: flex;
  align-items: center;
}
.right form .button-area button{
  color: #fff;
  display: block;
  width: 160px!important;
  height: 45px;
  outline: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  flex-wrap: nowrap;
  background: rgb(179, 126, 29);
  border: 2px solid rgb(220, 167, 20);
  transition: all 0.3s ease;
}
.right form .button-area button:hover{
  color: rgb(220, 60, 20);
  background: none;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 15%; /* Distancia desde la parte inferior */
    right: 20px; /* Distancia desde la parte derecha */
    background-color: #25D366; /* Color verde de WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Propiedades para la animación de aparición/desaparición */
    opacity: 0; /* Oculto por defecto */
    visibility: hidden; /* Oculto para lectores de pantalla, etc. */
    transform: translateY(100px); /* Empieza un poco más abajo para el efecto */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* Clase que se agregará/quitará con JavaScript para mostrar el botón */
.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Vuelve a su posición original */
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(0); /* Efecto al pasar el ratón, manteniendo la posición */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra más pronunciada */
}

.whatsapp-icon {
    margin-top: 0px; /* Ajusta la posición vertical del ícono si es necesario */
}

/* footer section styling */
footer{
    background: #111;
    padding: 15px 23px;
    color: #fff;
    text-align: center;
}

/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img{
        height: 350px;
        width: 350px;
    }
    .home .home-content .text-3{
    font-size: 23px;
}
    
    section .title{
        font-size: 23px;
        margin-top: -30px;
    }
    .about .about-content .column{
        width: 100%;
        margin-top: -85px;
    }
    .about .about-content .right{
        margin-top: -200px;
        margin-left: -35px;
    }
    .nose{
        margin-bottom: -100px;
        font-size: 11px;
        width:  155px;
        text-align: justify;
        hyphens: auto;
    }
    .uno{
        margin-right: 30px;
        margin-left: 37px; 
    }
    .galeria .ContenedorIMG #prev, #next{
        display: none;
    }
    .contact .contact-content .info .sub-title{
        letter-spacing: 1px;
        font-size: 10px;
    }
    .message-container {
        font-size: 1em; /* Reducir el tamaño de fuente en pantallas pequeñas */
        padding: 15px; /* Reducir padding si es necesario */
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 10px;
        font-size: 25px;
    }
}

@media (max-width: 991px) {
    .max-width{
        padding: 0 50px;
    }

    #igmGrande .popup-image img,
    .popup-image1 img,
    .popup-image2 img,
    .popup-image3 img,
    .popup-image4 img,
    .popup-image5 img{
        width: 60%;
        height: 66%;
    }

    .teams .carousel .card .text{
        font-size: 17px;
    }
    
    section .title{
        font-size: 23px;
        margin-top: -30px;
    }
    .about .about-content .column{
        width: 100%;
        margin-top: -85px;
    }
    .about .about-content .right{
        margin-top: -200px;
        margin-left: -35px;
    }
    .nose{
        margin-bottom: -100px;
        font-size: 11px;
        width:  155px;
        text-align: justify;
        hyphens: auto;
    }
    .uno{
        margin-right: 30px;
        margin-left: 37px; 
    }
    .galeria .ContenedorIMG #prev, #next{
        display: none;
    }
    .contact .contact-content .info .sub-title{
        letter-spacing: 1px;
        font-size: 10px;
    }
    .message-container {
        font-size: 1em; /* Reducir el tamaño de fuente en pantallas pequeñas */
        padding: 15px; /* Reducir padding si es necesario */
    }
}
@media (max-width: 947px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .text-2{
        font-size: 70px;
    }
    .home .home-content .text-3{
        font-size: 23px;
    }
    .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .max-width{
        max-width: 930px;
    }
    .about .about-content .column{
        width: 100%;
    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right{
        flex: 100%;
    }
    .services .serv-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    
    section .title{
        font-size: 23px;
        margin-top: -30px;
    }
    .about .about-content .column{
        width: 100%;
        margin-top: -85px;
    }
    .about .about-content .right{
        margin-top: -200px;
        margin-left: -35px;
    }
    .nose{
        margin-bottom: -100px;
        font-size: 11px;
        width:  155px;
        text-align: justify;
        hyphens: auto;
    }
    .uno{
        margin-right: 30px;
        margin-left: 37px; 
    }
    .galeria .ContenedorIMG #prev, #next{
        display: none;
    }
    .contact .contact-content .info .sub-title{
        letter-spacing: 1px;
        font-size: 10px;
    }
    .message-container {
        font-size: 1em; /* Reducir el tamaño de fuente en pantallas pequeñas */
        padding: 15px; /* Reducir padding si es necesario */
    }
}
@media (max-width: 690px) {
    .contact .contact-content .row{
        height: 105px;
     
    }
    .galeria .ContenedorIMG .caja{  
        width: 30%;
        min-width: 100%;
        left: -1%;
    }
    .galeria .ContenedorIMG .caja img{
        width: 100%;
        margin-bottom: 20px;
    }
    
    .galeria .ContenedorIMG #prev{
        background-color: rgb(14, 9, 9);
        left: 135px;
        font-size: 24px;
    }
    .galeria .ContenedorIMG #next{
        background-color: rgb(5, 5, 5);
        right: -205px;
        font-size: 24px;
    }

    .galeria .ContenedorIMG #prev, #next{
        position: relative;
    }

    .max-width{
        padding: 0 23px;
    }
    .home .home-content .text-2{
        font-size: 60px;
    }
    .home .home-content .text-3{
        font-size: 23px;
    }
    .home .home-content a{
        font-size: 20px;
    }
    .services .serv-content .card{
        width: 100%;
    }
    .ContenedorIMG .caja img{
        margin-left: 3px;
    }
    .dot-container{
      width: 250px;
      margin: 30px auto 0 auto;
    }
    .contact .contact-content .row .info{
        margin-left: 10px;
    }
    .contact .contact-content .row i{
        font-size: 27px;
    }
    .contact .contact-content .info .head{
        font-size: 25px;
    }
    .contact .contact-content .info .sub-title{
        letter-spacing: 1px;
        font-size: 10px;
    }

    section .title{
        font-size: 23px;
        margin-top: -30px;
    }
    .about .about-content .column{
        width: 100%;
        margin-top: -85px;
    }
    .galeria .ContenedorIMG #prev, #next{
        display: none;
    }
    .message-container {
        font-size: 1em; /* Reducir el tamaño de fuente en pantallas pequeñas */
        padding: 15px; /* Reducir padding si es necesario */
    }

}

@media (max-width: 500px) {
    .galeria .ContenedorIMG #prev{
        left: 100px;
    }
    .galeria .ContenedorIMG #next{
        right: -115px;
    }
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 23px;
    }
    .about .about-content .right .text,
    .skills .skills-content .left .text{
        font-size: 19px;
    }
    .contact .right form .fields{
        flex-direction: column;
    }
    .contact .right form .name,
    .contact .right form .email{
        margin: 0;
    }
    .right form .error-box{
       width: 150px;
    }
    .scroll-up-btn{
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
     .contact .contact-content .info .head{
        font-size: 15px;
    }
    
    section .title{
        font-size: 23px;
        margin-top: -30px;
    }
    .about .about-content .column{
        width: 100%;
        margin-top: -85px;
    }
    .about .about-content .right{
        margin-top: -200px;
        margin-left: -35px;
    }
    .nose{
        margin-bottom: -100px;
        font-size: 11px;
        width:  155px;
        text-align: justify;
        hyphens: auto;
    }
    .uno{
        margin-right: 30px;
        margin-left: 37px; 
    }
    .galeria .ContenedorIMG #prev, #next{
        display: none;
    }
    
    .contact .contact-content .info .sub-title{
        letter-spacing: 1px;
        font-size: 10px;
    }
    .message-container {
        font-size: 1em; /* Reducir el tamaño de fuente en pantallas pequeñas */
        padding: 15px; /* Reducir padding si es necesario */
    }
}