@media (max-width: 1024px) {
    .row {
        width: 100%;
        padding: 20px;
        margin: auto;
    }

    h1 {
        font-size: 1.7em !important;
    }

    h2 {
        font-size: 1.4em !important;
    }

    h3 {
        font-size: 1.2em !important;
    }

    button {
        font-size: 14px;
    }

    .gap,
    .gap3 {
        gap: 10px;
    }

    .newheader {
        width: 100% !important;

        .latesthide {
            display: none;
        }

        .newhead {
            width: calc(100% - 20px) !important;
            padding: 10px 20px;

            .icon {
                margin: auto 0;
                flex: 1;
            }

            .left {
                img {
                    width: 100px;
                }
            }
        }

        .right {
            text-align: 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: 60%;
        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(--fifth-color);
        max-width: 30px;
    }

    .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) {
    h1 {
        font-size: 1.5em !important;
    }

    h2 {
        font-size: 1.3em !important;
    }

    h3 {
        font-size: 1.17em !important;
    }

    .d-flex {
        flex-direction: column;
    }

    .grid1,
    .grid2,
    .grid3 {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .newfooter {
        padding-bottom: 50px;

        .grid {
            grid-template-columns: repeat(1, 1fr);
        }

        .row {
            padding-top: 30px;
        }
    }

    .newheader {
        .right {
            a {
                font-size: 13px;
            }
        }

        .newhead {
            .left {
                img {
                    width: 75px;
                }
            }
        }
    }

    .BannerBg {
        .row {
            padding-block: 80px 20px;
        }

        br {
            display: none;
        }

        .col3 {
            gap:5px;
        }

        .search_flights {
            margin-top: 10px;
        }
    }

    .usps {
        p {
            line-height: 1.5;
            font-size: 14px;
        }
    }

    .destinations {
        p {
            line-height: 1.5;
        }

        .slide1 {
            min-width: 100%;
            max-width: 100%;
        }

        .prev-btn1,
        .next-btn1 {
            display: block;
        }
    }

    .textmedia {
        .img {
            height: 300px;
        }

        .img:last-child {
            margin-top: 35px;
        }

        .grid1 .grid1 {
            grid-template-columns: repeat(2, 1fr);
        }

        h2 {
            font-size: 1.7em !important;
        }

        br {
            display: none;
        }
    }

    .NewBG {
        .column {
            width: 100%;
        }

        .row {
            padding-top: 50px;
        }

        p {
            line-height: 1.6;
            font-size: 14px;
        }
    }

    .galleryimg {
        .grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .imgim {
            height: 135px;
            grid-row: span 1;
        }
    }

    .sections {
        .col1 {
            height: auto;
        }

        .col2 {
            padding: 20px;
        }

        .col4 {
            grid-column: span 1;
        }
    }

    .belowhero .row {
         gap: 0;
     }
}