@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;

        .newhead {
            width: 100% !important;
            padding: 10px 20px;

            .left img {
                width: 100px;
            }
        }

        span {
            display: none;
        }
    }

    .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: 125px;
        }
    }

    .BannerBg {

        h1,
        p,
        br {
            display: none;
        }

        .lbcol1 {
            border-radius: 10px 10px 0 0;
        }

        .lbcol2 {
            border-radius: 0 0 10px 10px;
        }

        #flight_submit {
            width: 100% !important;
            padding: 5px 20px !important;
            display: block;
        }

        .row {
            padding-bottom: 20px;
        }

        .search_flights {
            margin-top: 0;
        }
    }

    .herobg .row {
        padding-block: 20px;
    }

    .bg1 {
        .column {
            width: 100%;
        }
    }
}