@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;
    }

    .headersection {
        width: 100% !important;

        .latesthide {
            display: none;
        }

        .newhead {
            width: 100% !important;
            padding: 15px 20px;

            .icon {
                margin: auto 0;
                flex: 1;
            }

            .left {
                img {
                    width: 125px;
                }
            }
        }

        .right {
            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;
    }

    .footersection {
        .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;
        }
    }

    .footersection {
        .grid {
            grid-template-columns: repeat(1, 1fr);
        }
    }

    .homebanner {
        hr {
            display: block;
            margin-block: 10px;
        }
    }

    .newctasection {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);

        img {
            width: 75px;
        }
    }

    .eazair {
        .column {
            width: 100%;
        }
    }
}