@media (max-width: 1024px) {
    .row {
        width: 100%;
        padding: 20px;
        margin: auto;
    }

    h1 {
        font-size: 1.8em !important;
    }

    h2 {
        font-size: 1.5em !important;
    }

    h3 {
        font-size: 1.2em !important;
    }

    button {
        font-size: 14px;
    }

    .gap,
    .gap3 {
        gap: 10px;
    }

    .newheader {
        width: 100% !important;

        .latesthide {
            display: none;
        }

        .newhead {
            width: 100% !important;
            padding: 15px 20px;

            .icon {
                margin: auto 0;
                flex: 1;
            }

            .left {
                img {
                    width: 125px;
                }
            }
        }

        .right {
            max-width: 100%;
            justify-content: center;
            flex: 1;
        }
    }

    .navigate {
        z-index: 99;
        display: none;
        position: absolute;
        background-color: var(--fourth-color);
        box-shadow: 0px 2px 2px rgba(20, 20, 20, 0.5);
        padding: 30px;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        border: none;

        ul {
            flex-direction: column;
            gap: 5px !important;


            li {
                margin: 0;
                padding: 5px;
                cursor: pointer;
            }

            a {
                color: var(--fifth-color) !important;
            }
        }
    }

    #on,
    #off {
        display: block !important;
        font-size: 22px;
        text-align: right;
        color: var(--fifth-color);
    }

    #on {
        color: var(--fourth-color);
        max-width: 30px;
    }

    .newfooter {
        .foot {
            width: 100%;

            p {
                font-size: 15px;
            }
        }

        .row {
            padding: 20px;
        }
    }

    .cta {
        display: block;

        a {
            color: var(--fourth-color) !important;
            line-height: 1.5;
        }
    }
    
    .grid1,
    .grid2,
    .grid3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .d-flex {
        flex-direction: column;
    }

    .grid1,
    .grid2,
    .grid3 {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .contact {
        .right {
            max-width: 100%;
            margin-bottom: 20px;
        }
    }

    .newfooter {
        .grid {
            grid-template-columns: repeat(1, 1fr);
        }

              .newgrid1 {
        grid-column: span 1;
    }
    }

    .bg1 {
    .row {
             padding-block: 80px 10px;
         }

.row-custom {
    padding: 10px;
}

    h1 {
        font-size: 32px !important;
        color: var(--fourth-color) !important;
    }

    .col3 {
        margin-top:10px;
        border-radius:10px;

    input
{
    border-bottom: 1px solid #cacaca;
    border-right: 0;
}
    }

    .autocomplete-results_to {
    left: 40px !important;
}
}

    .bglogos {
        .grid3 {
                   grid-template-columns: repeat(4, 1fr);
               }

    img {
            width: 100%;
        }

        .row {
            padding-block: 10px;
        }
}

    .slider-container1, .slider-container2 {
    .slide1, .slide2 {
        min-width: 100%;
    }
}

    .herobg {
        .row {
                 padding-top: 80px;
             }

             h1 {
                 font-size:30px !important;
             }
    .flight-details {
                        border-radius:5px;
                        padding: 10px;
                        input {
                                  border-right: 0;
                                  border-bottom: 1px solid #cacaca;
                              }
                    }

.search_flights {
    margin-top:10px;
    justify-content:end;
    text-align:right;

    #flight_submit {
                       padding: 2px 15px;
                       border-radius: 25px;
                   }
}
}
}