@media (max-width: 768px) {
    .index {
        background: radial-gradient(circle at top center, rgb(78, 124, 241), rgba(0, 0, 0) 12%, rgb(0, 0, 0) 70%, rgba(0, 0, 0) 100%);
    }
    
    .kpi-section {
        flex-direction: row; 
        justify-content: space-around;
        align-items: center; 
        gap: 1.5rem;  
        flex-wrap: wrap; 
    }

    .kpi {
        flex: 1; 
        min-width: 79px;
        margin: 0.5rem;  
    }

    .kpi h3 {
        font-size: 1rem;  
    }

    .kpi p {
        font-size: 1.4rem; 
    }

    .container_servicios {
        gap: 0.5rem;
    }

    .service_card {
        width: 100%; 
        margin-bottom: 1rem; 
    }
    
    .service_cards-container {
        display: block; 
        padding: 1rem;
    }  

    .service_card-img img {
        border-radius: 20px 20px 0 0;
        height: auto; 
    }

    .service_card-info h3 {
        font-size: 1.4rem;
    }

    .service_card-info p {
        font-size: 0.9rem; 
    }

    .round-button {
        width: 30px;
        height: 30px;
    }

    .round-button i {
        font-size: 1rem;
    }

    .round-buttons-container {
        display: flex;
        justify-content: center; 
        gap: 10px; 
        position: absolute;
        top: 50%; 
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    .icon-image {
        max-width: 50vw; 
        width: 100%;
        height: auto;
    }
    
    .icon-left {
        position: relative; 
        top: 10px;
    }
    
    .centered-image {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    .security {
        font-size: 2rem;
    }    
    
    .navbar-container {
        display: none; 
        flex-direction: column;
        gap: 1rem;
        background-color: #111;
        padding: 1rem;
        position: absolute;
        top: 60px; 
        right: 0;
        width: 100%;
        transition: all 0.3s ease-in-out; 
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3); 
    }

    .navbar-link {
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 500;
        transition: color 0.3s ease-in-out;
        padding: 0.5rem 1rem;
        display: block;
    }

    .navbar-link:hover {
        color: #4E7CF1;
    }

    .navbar-toggle {
        display: block;
        background-color: #000;
        color: #fff;
        padding: 1rem;
        cursor: pointer;
        font-size: 1.5rem;
        border: none;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 100;
    }

    .navbar-container.show {
        display: flex; 
    }
    
    .guards-image {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        max-width: 90%;
        height: auto;
    }
    
    .guards-text {
        position: absolute;
        top: 3%; 
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        z-index: 1;
        color: white;
        width: 90%; 
        padding-right: 20px; 
    }
    
    .guards-title {
        font-size: 1.2rem;
    }
    
    .guards-subtitle {
        font-size: 1.4rem;
    }
    
    .guards-description {
        position: absolute;
        left: 50%;
        top: 35%;
        transform: translate(-50%, -50%);
        color: #000000;
        font-size: 0.9rem; 
        line-height: 1.4; 
        text-align: center;
        padding: 6px; 
        max-width: 80%; 
        margin-left: auto;
        margin-right: auto;
    }
    
    .guards-description p {
        margin: 0;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }
    
    .guards-description p br {
        line-height: 1.4;
    }
    
    .arrow-left {
        position: absolute;
        left: auto; 
        right: 10; 
        top: 50%; 
        transform: translateY(-50%) rotate(-45deg); 
        width: 20px; 
        height: 20px; 
        border-top: 4px solid #3966CE;
        border-left: 4px solid #3966CE; 
        background-color: transparent;
        z-index: 1;
    }        

    .contenedor-imagenes {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    }

    .card-curso .descripcion {
        padding: 15px;
    }

    .card-curso .descripcion h3 {
        font-size: 1.5rem;
    }

    .card-curso .descripcion .curso-desc-info p {
        font-size: 0.9rem;
    }
    
    .values{
        height: 15vh;
    }
    
    .texto-container{
        text-align: center;
    }

    .coverage-layout {
        flex-direction: column; 
        align-items: center;
        gap: 30px;
    }

    .texto-coverage, .word {
        width: 100%; 
        text-align: center;
    }

    .texto-coverage h2{
        font-size: 2.5rem;
        margin-top: 20%;
        font-weight: 400; 
    }
}

@media (max-width: 480px) {
    .service_card-info h3 {
        font-size: calc(1rem + 1vw); 
    }
    
    .service_card-info p {
        font-size: calc(0.8rem + 0.3vw); 
    }
    
    .section--container_servicios {
        padding: 5%; 
    }
    
    .round-buttons-container {
        position: absolute;
        top: 70%; 
        transform: translateY(-50%); 
        gap: 2rem; 
        display: flex; 
        justify-content: center;
        align-items: center;
        flex-wrap: wrap; 
    }    

    .comments-container {
        margin-top: 5rem;  
        padding: 0 2vw;  
    }

    .comments-slide {
        flex-direction: column;
        padding: 1.5rem 1rem;
    }

    .hexagonal-image {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 30vw;  
    }

    .comments-side-button {
        padding: 0.6rem;
        font-size: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    .coments {
        height: auto; 
    }

    /*---formulario---*/
    .buttons-container {
        align-items: center;
    }

    .btn {
        width: 100%; 
    }

    .footer__content {
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center;
    }

    .footer__social-icons {
        display: flex;
        justify-content: center; 
        gap: 1rem;
        margin-top: 1rem;
    }

    .footer__social-icon {
        font-size: 1.5rem;
        transition: color 0.3s ease;
    }

    .footer__social-icon:hover {
        color: #4E7CF1;
        transform: scale(1.1);
    }
    
    .solutions h2 {
        font-size: 1.5rem;
        letter-spacing: .2vw;
    }

    .solutions p {
        font-size: 0.9rem;
    }

    .menu button {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .info, .info-text {
        flex-direction: row; 
        gap: 1.5rem;
        justify-content: flex-start; 
        align-items: center;
        text-align: left; 
    }

    .mission img {
        width: 90%; 
    }

    .content h1 {
        font-size: 5vw;
    }

    .content h2 {
        font-size: 4vw;
    }
    
    .contac-us h2 {
        font-size: 1.5rem;
    }

    .contac-us p {
        font-size: 1rem; 
    }
    
    .btn {
        font-size: 0.9rem; 
        padding: 8px 16px;
    }
}