@media (max-width: 576px) {

    .form-section {
        position: fixed;
        width: 330px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgb(86, 122, 144, .7);
        height: 550px;
        top: 50%;
        padding: 10px;
        z-index: 120;
        left: 50%;
        transform: translate(-50%, -50%);
        flex-direction: column;
        box-shadow: rgb(0, 34, 68, .8) 0px 4px 12px;
        align-items: center;
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }

    .form-section h2 {
        font-size: 1.7rem;
        padding: 10px;
        font-family: Montserrat;
    }


    .form p {
        width: 100%;
        margin-inline: auto;
    }

    .form p input {
        width: 100%;
        margin-bottom: 10px;
        border: none;
        font-size: 1rem;
        font-family: poppins;
        word-spacing: .1rem;
        border-top-left-radius: 5px;
        border-bottom-right-radius: 5px;
        background-color: rgb(245, 245, 245, .8);
        padding: 10px;
        transition: .3s;
    }

    /* form section */

    .form-sec1 {
        /* transform: translatex(-400px); */
        align-items: center;
        flex-direction: column;
        width: 100%;
        position: absolute;
        height: 100%;
        gap: 15px;
        /* transition: .5s ease-in; */
        /* display: none; */
    }

    .form-sec1 h2 {
        font-size: 3rem;
        color: #002244;
        opacity: .9;
    }

    .form-sec2 {
        transform: translatex(-400px);
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: absolute;
        height: 100%;
        gap: 20px;
        transition: .2s linear;
        /* display: none; */
    }

    .form-sec2 h2 {
        font-size: 1.7rem;
    }

    .form-sec3 {
        transform: translatex(-400px);
        flex-direction: column;
        width: 100%;
        align-items: center;
        position: absolute;
        height: 100%;
        gap: 0px;
        transition: .2s linear;
        /* display: none; */
    }

    .form-sec3 h2 {
        font-size: 1.2rem;
    }

    .form-sec4 {
        transform: translatex(-400px);
        flex-direction: column;
        width: 100%;
        align-items: center;
        position: absolute;
        height: 100%;
        gap: 0px;
        transition: .2s linear;
        /* display: none; */
    }

    .form-sec4 h2 {
        font-size: 1.7rem;
    }

    .form-sec5 {
        transform: translatex(-400px);
        align-items: center;
        flex-direction: column;
        width: 100%;
        position: absolute;
        height: 100%;
        gap: 5px;
        transition: .2s linear;
        /* display: none; */
    }

    #otherstextarea {
        height: 250px;
    }

    /* end form secvtions */


    .container {
        max-width: 100%;
        margin-inline: auto;
        flex-direction: column;
        overflow: hidden;
        background: url(images/background.jpg);
        background-repeat: no-repeat;
        background-size: 150%;
        background-color: #fff;
    }

    /* header */
    marquee {
        font-family: Quicksand;
        word-spacing: 0.4rem;
        font-size: 1rem;
        width: 90%;
        margin-inline: auto;
        color: #002244;
    }

    /* nav */
    nav {
        width: 90%;
        background-color: rgba(255, 255, 255, 0.3);
        height: 50px;
        flex-direction: row;
        margin-inline: auto;
        padding-inline: 2px;
    }

    .left-nav {
        width: 20%;
        margin-left: 10px;
        align-items: center;
    }

    .left-nav a img {
        padding-top: 5px;
        width: 70px;
    }

    .right-nav {
        gap: 5px;
        margin-right: 10px;
        align-items: center;
        justify-content: flex-end;
        width: 80%;
    }

    .right-nav a {
        color: #002244;
        margin-inline: 5px;
        font-weight: 500;
        font-size: 0.8rem;
    }

    .right-nav a {
        background: linear-gradient(#002244 0 0) left / var(--p, 0) no-repeat;
        transition: .3s, background-position 0s;
        padding: 5px;
    }

    .right-nav a:hover {
        --p: 100%;
        color: #fff;
    }

    /* name section */
    .name-section {
        width: 80%;
        height: 100%;
        margin-bottom: 80px;
        margin-inline: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .name-section h1 {
        margin-top: 20px;
        font-size: 2.5rem;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0;
        letter-spacing: 0.2rem;

    }

    .auto-type {
        font-size: 1rem;
        margin-left: 1px;
        font-family: Quicksand;
        padding: 5px 0px;
        font-weight: 500;
        word-spacing: 0.2rem;
        color: #fff;
    }

    /* about us section */
    .about-section {
        border-top: 2px solid #fff;
        margin-inline: auto;
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        height: auto;
        margin-bottom: 2px;
        align-items: center;
        justify-content: center;
        background-color: #000;
        background: url(images/aboutbg.jpg);
    }

    .about-section h2 {
        font-size: 2.5rem;
        margin-top: 50px;
        margin-bottom: 20px;
        text-align: center;
        width: 90%;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-inline: auto;
    }

    .about-section p {
        font-size: 1rem;
        line-height: 2.3rem;
        width: 90%;
        margin-inline: auto;
    }

    .about-type1,
    .about-type2,
    .about-type3 {
        background-color: rgb(0, 34, 68, 0.6);
        margin-top: 10px;
        padding: 10px;
        color: white;
    }

    /* visit-us-form */
    .visit-us-form {
        width: 100%;
        height: 100%;
        background-color: #fff;
        flex-direction: column;
        margin-inline: auto;
        justify-content: center;
        align-items: center;
        background: url(images/formbg.jpg);
        background-size: auto;
        background-repeat: no-repeat;
        padding-bottom: 100px;
        gap: 50px;
    }

    .visit-us-formlink {
        width: 90%;
    }

    .visit-us-formlink .form-box {
        width: 100%;
        height: auto;
    }

    .visit-us-form p {
        width: 100%;
        font-size: 1rem;
        line-height: 2rem;
    }

    .visit-us-desc {
        width: 90%;
        flex-direction: column;
        margin-top: 100px;
        margin-inline: auto;
        margin-left: 0;
    }

    .visit-us-p p {
        font-size: 1rem;
        border-left: 1px solid #002244;
        padding-left: 10px;
        margin-left: 20px;
        color: #002244;
        margin-top: 40px;
        line-height: 2rem;
    }

    .changing-text {
        width: 100%;
        height: 30px;
        margin-left: 20px;
    }

    .contact-type {
        color: #002244;
        font-size: 1.5rem;
        width: 100%;
        height: 100%;
        font-family: montserrat;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .visit-form {
        margin-top: 50px;
        width: 90%;
        align-items: center;
        height: 90%;
        margin-inline: auto;
        margin-bottom: 100px;
        background-color: rgb(0, 34, 68, 0.7);
        z-index: 1;
        flex-wrap: nowrap;
        border-radius: 20px;
        box-shadow: 2px 2px 10px #000;
    }

    .visit-form p {
        padding: 15px;
        color: #fff;
        width: 100%;
        font-size: 1.2rem;
        font-family: poppins;
        text-align: center;
        word-spacing: 0.1rem;
        letter-spacing: 0.1rem;
    }

    .visit-form input {
        margin-top: 5px;
        border-radius: 8px;
        color: #002244;
        border: 1px solid #cccc;
        padding: 10px;
        width: 100%;
        font-family: poppins;
        font-size: 1rem;
        transition: .3s;
    }

    .visit-form input:hover {
        border: 1px solid #002244;
    }

    .visit-form select {
        margin-top: 5px;
        border-radius: 8px;
        color: #002244;
        border: 1px solid #cccc;
        padding: 10px;
        width: 100%;
        font-family: poppins;
        font-size: 1rem;
    }

    .visit-form select:hover {
        border: 1px solid #002244;
    }

    #submit {
        color: #002244;
        font-size: 1rem;
        font-family: poppins;
        transition: 0.3s;
        width: 170px;
        padding: 5px;
        border-radius: 40px;
        margin-top: 0;
        text-align: center;
        margin-inline: auto;
        letter-spacing: 0.1rem;
        transition: 0.3s;
    }

    #submit:hover {
        color: white;
        cursor: pointer;
        background-color: #002244;
    }

    /* contact section */
    .contact-section {
        width: 100%;
        height: 100%;
        margin-inline: auto;
        margin-bottom: 2px;
        background: url(images/globe.jpg);
        background-position: center;
        background-repeat: no-repeat;
        color: #fff;
        flex-direction: column;
        justify-content: center;
    }

    .locate-disc {
        margin-top: 0px;
        flex-direction: column;
        width: 100%;
        padding-left: 0;
        padding: 10px;
    }

    .locate-disc h2 {
        font-family: Montserrat;
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }

    .locate-text {
        width: 100%;
        height: 20px;
        margin-bottom: 50px;
    }

    .locate-type {
        font-family: poppins;
        font-size: 1rem;
        color: #567A90;
    }

    .locate-disc span {
        font-size: 1.3rem;
        font-family: poppins;
        margin-bottom: 0px;
    }

    .address-p,
    .contact-p {
        font-size: 1rem;
        color: #567A90;
        word-spacing: 0.2rem;
    }

    .address-p span {
        font-size: 1.8rem;
    }

    .contact-p a {
        color: whitesmoke;
        font-size: 1rem;
        font-family: Quicksand;
    }

    .contact-p a:hover {
        animation: a-hover .3s linear forwards infinite;
    }

    @keyframes a-hover {
        from {
            border-bottom: none;
        }

        to {
            border-bottom: 1px solid #002244;
        }
    }

    .contact-section iframe {
        margin-top: 50px;
        border-radius: 150px;
        margin-bottom: 50px;
        width: 300px;
        height: 300px;
        margin-inline: auto;
        box-shadow: -4px 4px 20px #567A90, 4px -5px 20px #567A90;
        opacity: 70%;
        transition: .3s;
    }

    .contact-section iframe:hover {
        opacity: 100%;
        transform: scale(1.1);
    }

    /* footer */
    .footer-div {
        width: 100%;
        height: 30vh;
        background: url(images/aboutbg.jpg);
        background-position: center;
        align-items: center;
        flex-direction: column;
        background-size: 100%;
    }

    footer {
        width: 90%;
        height: 80%;
        margin-inline: auto;
        background-color: rgb(0, 34, 68, 0.4);
        align-items: center;
        flex-direction: column;
        gap: 0;
    }

    .footer-logo {
        width: 100%;
        margin-left: 0px;
        padding: 5px;
        text-align: center;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer-desc {
        flex-direction: column;
        gap: 30px;
    }

    .footer-type-text {
        width: 100%;
        height: 20px;
        border: none;
    }

    .footer-type {
        font-family: poppins;
        font-size: 1rem;
        width: 100%;
        height: 100%;
        color: #fff;
    }

    .footer-desc p {
        font-size: .8rem;
        color: #fff;
    }

    .footer-desc a {
        font-size: .8rem;
        color: #fff;
    }

    .footer-desc a:hover {
        animation: a-hover .4s linear forwards infinite;
    }
}

@media (min-width: 577px) and (max-width:768px) {

    .container {
        max-width: 100%;
        margin-inline: auto;
        flex-direction: column;
        overflow: hidden;
        background: url(images/background.jpg);
        background-repeat: no-repeat;
        background-size: 150%;
        background-color: #fff;
    }

    /* header */
    marquee {
        font-family: Quicksand;
        word-spacing: 0.4rem;
        font-size: 1rem;
        width: 90%;
        margin-inline: auto;
        color: #002244;
    }

    /* nav */
    nav {
        width: 90%;
        background-color: rgba(255, 255, 255, 0.3);
        height: 50px;
        flex-direction: row;
        margin-inline: auto;
        padding-inline: 2px;
    }

    .left-nav {
        width: 20%;
        margin-left: 10px;
        align-items: center;
    }

    .left-nav a img {
        padding-top: 5px;
        width: 70px;
    }

    .right-nav {
        gap: 5px;
        margin-right: 10px;
        align-items: center;
        justify-content: flex-end;
        width: 80%;
    }

    .right-nav a {
        color: #002244;
        margin-inline: 5px;
        font-weight: 500;
        font-size: 0.8rem;
    }

    .right-nav a {
        background: linear-gradient(#002244 0 0) left / var(--p, 0) no-repeat;
        transition: .3s, background-position 0s;
        padding: 5px;
    }

    .right-nav a:hover {
        --p: 100%;
        color: #fff;
    }

    /* name section */
    .name-section {
        width: 80%;
        height: 400px;
        margin-bottom: 10px;
        margin-inline: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .name-section h1 {
        margin-top: 50px;
        font-size: 4rem;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0;
        letter-spacing: 0.2rem;

    }

    .auto-type {
        font-size: 1.5rem;
        margin-left: 5 px;
        font-family: Quicksand;
        padding: 5px 0px;
        font-weight: 500;
        word-spacing: 0.2rem;
        color: #fff;
    }

    /* about us section */
    .about-section {
        margin-inline: auto;
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        height: auto;
        margin-bottom: 2px;
        align-items: center;
        justify-content: center;
        background-color: #000;
        background: url(images/aboutbg.jpg);
    }

    .about-section h2 {
        font-size: 2.5rem;
        margin-top: 50px;
        margin-bottom: 20px;
        text-align: center;
        width: 90%;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-inline: auto;
    }

    .about-section p {
        font-size: 1rem;
        line-height: 2.3rem;
        width: 90%;
        margin-inline: auto;
    }

    .about-type1,
    .about-type2,
    .about-type3 {
        background-color: rgb(0, 34, 68, 0.6);
        margin-top: 10px;
        padding: 10px;
        color: white;
    }

    /* visit-us-form */
    .visit-us-form {
        width: 100%;
        height: 100%;
        background-color: #fff;
        flex-direction: column;
        margin-inline: auto;
        align-items: center;
        justify-content: center;
        background: url(images/formbg.jpg);
        background-size: auto;
        background-repeat: no-repeat;
        padding-bottom: 100px;
        gap: 50px;
    }

    .visit-us-formlink {
        width: 90%;
    }

    .visit-us-formlink .form-box {
        width: 100%;
        height: auto;
    }

    .visit-us-form p {
        width: 90%;
        font-size: 1.5rem;
        line-height: 2.3rem;
    }

    .visit-us-desc {
        width: 90%;
        flex-direction: column;
        margin-top: 100px;
        margin-left: 0;
    }

    .visit-us-p p {
        font-size: 1.5rem;
        border-left: 1px solid #002244;
        padding-left: 10px;
        margin-left: 20px;
        color: #002244;
        margin-top: 40px;
        line-height: 2rem;
    }

    .changing-text {
        width: 100%;
        height: 30px;
        margin-left: 20px;
    }

    .contact-type {
        color: #002244;
        font-size: 2rem;
        width: 100%;
        height: 100%;
        font-family: montserrat;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .visit-form {
        margin-top: 50px;
        width: 55%;
        align-items: center;
        height: 90%;
        margin-inline: auto;
        margin-bottom: 100px;
        background-color: rgb(0, 34, 68, 0.7);
        z-index: 1;
        flex-wrap: nowrap;
        border-radius: 20px;
        box-shadow: 2px 2px 10px #000;
    }

    .visit-form p {
        padding: 15px;
        color: #fff;
        width: 100%;
        font-size: 1.2rem;
        font-family: poppins;
        text-align: center;
        word-spacing: 0.1rem;
        letter-spacing: 0.1rem;
    }

    .visit-form input {
        margin-top: 5px;
        border-radius: 8px;
        color: #002244;
        border: 1px solid #cccc;
        padding: 10px;
        width: 100%;
        font-family: poppins;
        font-size: 1rem;
        transition: .3s;
    }

    .visit-form input:hover {
        border: 1px solid #002244;
    }

    .visit-form select {
        margin-top: 5px;
        border-radius: 8px;
        color: #002244;
        border: 1px solid #cccc;
        padding: 10px;
        width: 100%;
        font-family: poppins;
        font-size: 1rem;
    }

    .visit-form select:hover {
        border: 1px solid #002244;
    }

    #submit {
        color: #002244;
        font-size: 1rem;
        font-family: poppins;
        transition: 0.3s;
        width: 170px;
        padding: 5px;
        border-radius: 40px;
        margin-top: 0;
        text-align: center;
        margin-inline: auto;
        letter-spacing: 0.1rem;
        transition: 0.3s;
    }

    #submit:hover {
        color: white;
        cursor: pointer;
        background-color: #002244;
    }

    /* contact section */
    .contact-section {
        width: 100%;
        height: 100%;
        margin-inline: auto;
        margin-bottom: 2px;
        background: url(images/globe.jpg);
        background-position: center;
        background-repeat: no-repeat;
        color: #fff;
        flex-direction: column;
        justify-content: center;
        padding-inline: 20px;
    }

    .locate-disc {
        margin-top: 0px;
        flex-direction: column;
        width: 100%;
        padding-left: 0;
        padding: 10px;
    }

    .locate-disc h2 {
        font-family: Montserrat;
        font-size: 3rem;
        letter-spacing: 0.2rem;
    }

    .locate-text {
        width: 100%;
        height: 20px;
        margin-bottom: 20px;
    }

    .locate-type {
        font-family: poppins;
        font-size: 1rem;
        color: #567A90;
    }

    .locate-disc span {
        font-size: 1.3rem;
        font-family: poppins;
        margin-bottom: 0px;
    }

    .address-p,
    .contact-p {
        font-size: 1rem;
        color: #567A90;
        word-spacing: 0.2rem;
    }

    .contact-p a {
        color: whitesmoke;
        font-size: 1rem;
        font-family: Quicksand;
    }

    .contact-p a:hover {
        animation: a-hover .3s linear forwards infinite;
    }

    @keyframes a-hover {
        from {
            border-bottom: none;
        }

        to {
            border-bottom: 1px solid #002244;
        }
    }

    .contact-section iframe {
        margin-top: 50px;
        border-radius: 200px;
        margin-bottom: 30px;
        width: 400px;
        height: 400px;
        margin-inline: auto;
        box-shadow: -4px 4px 20px #567A90, 4px -5px 20px #567A90;
        opacity: 70%;
        transition: .3s;
    }

    .contact-section iframe:hover {
        opacity: 100%;
        transform: scale(1.1);
    }

    /* footer */
    .footer-div {
        width: 100%;
        height: 30vh;
        background: url(images/aboutbg.jpg);
        background-position: center;
        align-items: center;
        flex-direction: column;
        background-size: 150%;
    }

    footer {
        width: 90%;
        height: 80%;
        margin-inline: auto;
        background-color: rgb(0, 34, 68, 0.4);
        align-items: center;
        flex-direction: column;
        gap: 0;
    }

    .footer-logo {
        width: 100%;
        margin-left: 0px;
        padding: 5px;
        text-align: center;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer-desc {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .footer-type-text {
        width: 100%;
        height: 20px;
        border: none;
    }

    .footer-type {
        font-family: poppins;
        font-size: 1.5rem;
        width: 100%;
        height: 100%;
        color: #fff;
    }

    .footer-desc p {
        font-size: 1rem;
        color: #fff;
    }

    .footer-desc a {
        font-size: 1rem;
        color: #fff;
    }

    .footer-desc a:hover {
        animation: a-hover .4s linear forwards infinite;
    }
}

@media (min-width:769px) and (max-width:1024px) {
    .container {
        max-width: 100%;
        margin-inline: auto;
        flex-direction: column;
        overflow: hidden;
        background: url(images/background.jpg);
        background-repeat: no-repeat;
        background-size: 160%;
        background-color: #fff;
    }

    /* header */
    marquee {
        font-family: Quicksand;
        word-spacing: 0.4rem;
        font-size: 1rem;
        width: 90%;
        margin-inline: auto;
        color: #002244;
    }

    /* nav */
    nav {
        width: 90%;
        background-color: rgba(255, 255, 255, 0.3);
        height: 50px;
        flex-direction: row;
        margin-inline: auto;
        padding-inline: 2px;
    }

    .left-nav {
        width: 20%;
        margin-left: 10px;
        align-items: center;
    }

    .left-nav a img {
        padding-top: 5px;
        width: 70px;
    }

    .right-nav {
        gap: 5px;
        margin-right: 10px;
        align-items: center;
        justify-content: flex-end;
        width: 80%;
    }

    .right-nav a {
        color: #002244;
        margin-inline: 5px;
        font-weight: 500;
        font-size: 0.8rem;
    }

    .right-nav a {
        background: linear-gradient(#002244 0 0) left / var(--p, 0) no-repeat;
        transition: .3s, background-position 0s;
        padding: 5px;
    }

    .right-nav a:hover {
        --p: 100%;
        color: #fff;
    }

    /* name section */
    .name-section {
        width: 80%;
        height: 600px;
        margin-bottom: 10px;
        margin-inline: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .name-section h1 {
        margin-top: 100px;
        font-size: 6rem;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0;
        letter-spacing: 0.2rem;

    }

    .auto-type {
        font-size: 1.5rem;
        margin-left: 5 px;
        font-family: Quicksand;
        padding: 5px 0px;
        font-weight: 500;
        word-spacing: 0.2rem;
        color: #fff;
    }

    /* about us section */
    .about-section {
        margin-inline: auto;
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        height: auto;
        margin-bottom: 2px;
        align-items: center;
        justify-content: center;
        background-color: #000;
        background: url(images/aboutbg.jpg);
    }

    .about-section h2 {
        font-size: 4rem;
        margin-top: 50px;
        margin-bottom: 20px;
        text-align: center;
        width: 90%;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-inline: auto;
    }

    .about-section p {
        font-size: 1.5rem;
        line-height: 3rem;
        width: 90%;
        margin-inline: auto;
    }

    .about-type1,
    .about-type2,
    .about-type3 {
        background-color: rgb(0, 34, 68, 0.6);
        margin-top: 10px;
        padding: 10px;
        color: white;
    }

    /* visit-us-form */
    .visit-us-form {
        width: 100%;
        padding: 50px;
        height: 100%;
        background-color: #fff;
        flex-direction: row;
        margin-inline: auto;
        justify-content: space-between;
        align-items: center;
        background: url(images/formbg.jpg);
        background-size: auto;
        background-repeat: no-repeat;
        gap: 50px;
    }

    .visit-us-formlink {
        width: 50%;
        align-items: center;
        justify-content: center;
    }

    .visit-us-formlink .form-box {
        width: 100%;
        height: 100%;
    }

    .visit-us-form p {
        width: 100%;
        font-size: 1.2rem;
        line-height: 2rem;
    }

    .visit-us-desc {
        width: 50%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-top: 0px;
        margin-left: 0;
    }

    .visit-us-p p {
        font-size: 1rem;
        border-left: 1px solid #002244;
        padding-left: 10px;
        margin-left: 10px;
        color: #002244;
        margin-top: 50px;
        line-height: 2rem;
    }

    .changing-text {
        width: 100%;
        height: 10px;
        margin-left: 20px;
    }

    .contact-type {
        color: #002244;
        font-size: 1.2rem;
        width: 100%;
        height: 100%;
        font-family: montserrat;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .visit-form {
        margin-top: 50px;
        width: 350px;
        align-items: center;
        height: 90%;
        margin-inline: auto;
        margin-bottom: 100px;
        background-color: rgb(0, 34, 68, 0.7);
        z-index: 1;
        flex-wrap: nowrap;
        border-radius: 20px;
        box-shadow: 2px 2px 10px #000;
    }

    .visit-form p {
        padding: 15px;
        color: #fff;
        width: 100%;
        font-size: 1.2rem;
        font-family: poppins;
        text-align: center;
        word-spacing: 0.1rem;
        letter-spacing: 0.1rem;
    }

    .visit-form input {
        margin-top: 5px;
        border-radius: 8px;
        color: #002244;
        border: 1px solid #cccc;
        padding: 10px;
        width: 100%;
        font-family: poppins;
        font-size: 1rem;
        transition: .3s;
    }

    .visit-form input:hover {
        border: 1px solid #002244;
    }

    .visit-form select {
        margin-top: 5px;
        border-radius: 8px;
        color: #002244;
        border: 1px solid #cccc;
        padding: 10px;
        width: 100%;
        font-family: poppins;
        font-size: 1rem;
    }

    .visit-form select:hover {
        border: 1px solid #002244;
    }

    #submit {
        color: #002244;
        font-size: 1rem;
        font-family: poppins;
        transition: 0.3s;
        width: 170px;
        padding: 5px;
        border-radius: 40px;
        margin-top: 0;
        text-align: center;
        margin-inline: auto;
        letter-spacing: 0.1rem;
        transition: 0.3s;
    }

    #submit:hover {
        color: white;
        cursor: pointer;
        background-color: #002244;
    }

    /* contact section */
    .contact-section {
        width: 100%;
        height: 100vh;
        margin-inline: auto;
        margin-bottom: 2px;
        background: url(images/globe.jpg);
        color: #fff;
        flex-direction: row;
        justify-content: center;
        gap: 50px;
    }

    .locate-disc {
        margin-top: 50px;
        flex-direction: column;
        width: 50%;
        padding-left: 0px;
    }

    .locate-disc h2 {
        font-family: Montserrat;
        font-size: 4rem;
        letter-spacing: 0.2rem;
    }

    .locate-text {
        width: 100%;
        height: 50px;
        margin-bottom: 20px;
    }

    .locate-type {
        font-family: poppins;
        font-size: 1.5rem;
        color: #567A90;
    }

    .locate-disc span {
        font-size: 1.5rem;
        font-family: poppins;

        margin-bottom: 10px;
    }

    .address-p,
    .contact-p {
        font-size: 1rem;
        color: #567A90;
        word-spacing: 0.2rem;
    }

    .contact-p a {
        color: whitesmoke;
        font-size: 1rem;
        font-family: Quicksand;
    }

    .contact-p a:hover {
        animation: a-hover .3s linear forwards infinite;
    }

    @keyframes a-hover {
        from {
            border-bottom: none;
        }

        to {
            border-bottom: 1px solid #002244;
        }
    }

    .contact-section iframe {
        margin-top: 50px;
        border-radius: 150px;
        width: 300px;
        height: 300px;
        box-shadow: -4px 4px 20px #567A90, 4px -5px 20px #567A90;
        opacity: 70%;
        transition: .3s;
    }

    .contact-section iframe:hover {
        opacity: 100%;
        transform: scale(1.1);
    }

    /* footer */
    .footer-div {
        width: 100%;
        height: 30vh;
        background: url(images/aboutbg.jpg);
        background-position: center;
        align-items: center;
        flex-direction: column;
        background-size: 150%;
    }

    footer {
        width: 90%;
        height: 80%;
        margin-inline: auto;
        background-color: rgb(0, 34, 68, 0.4);
        align-items: center;
        flex-direction: column;
        gap: 0;
    }

    .footer-logo {
        width: 100%;
        margin-left: 0px;
        padding: 5px;
        text-align: center;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer-desc {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .footer-type-text {
        width: 100%;
        height: 20px;
        border: none;
    }

    .footer-type {
        font-family: poppins;
        font-size: 1.5rem;
        width: 100%;
        height: 100%;
        color: #fff;
    }

    .footer-desc p {
        font-size: 1rem;
        color: #fff;
    }

    .footer-desc a {
        font-size: 1rem;
        color: #fff;
    }

    .footer-desc a:hover {
        animation: a-hover .4s linear forwards infinite;
    }
}

@media (min-width:1025px) and (max-width:1440px) {
    .container {
        max-width: 100%;
        margin-inline: auto;
        flex-direction: column;
        overflow: hidden;
        background: url(images/background.jpg);
        background-repeat: no-repeat;
        background-size: 150%;
        background-color: #fff;
    }

    /* header */
    marquee {
        font-family: Quicksand;
        word-spacing: 0.4rem;
        font-size: 1rem;
        width: 90%;
        margin-inline: auto;
        color: #002244;
    }

    /* nav */
    nav {
        width: 90%;
        background-color: rgba(255, 255, 255, 0.3);
        height: 50px;
        flex-direction: row;
        margin-inline: auto;
        padding-inline: 2px;
    }

    .left-nav {
        width: 20%;
        margin-left: 10px;
        align-items: center;
    }

    .left-nav a img {
        padding-top: 5px;
        width: 70px;
    }

    .right-nav {
        gap: 5px;
        margin-right: 10px;
        align-items: center;
        justify-content: flex-end;
        width: 80%;
    }

    .right-nav a {
        color: #002244;
        margin-inline: 10px;
        font-weight: 500;
        font-size: 1rem;
    }

    .right-nav a {
        background: linear-gradient(#002244 0 0) left / var(--p, 0) no-repeat;
        transition: .3s, background-position 0s;
        padding: 5px;
    }

    .right-nav a:hover {
        --p: 100%;
        color: #fff;
    }

    /* name section */
    .name-section {
        width: 70%;
        height: 90vh;
        margin-bottom: 10px;
        margin-inline: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .name-section h1 {
        margin-top: 100px;
        font-size: 7rem;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0;
        letter-spacing: 0.2rem;

    }

    .auto-type {
        font-size: 1.5rem;
        margin-left: 5 px;
        font-family: Quicksand;
        padding: 5px 0px;
        font-weight: 500;
        word-spacing: 0.2rem;
        color: #fff;
    }

    /* about us section */
    .about-section {
        margin-inline: auto;
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        height: auto;
        margin-bottom: 2px;
        align-items: center;
        justify-content: center;
        background-color: #000;
        background: url(images/aboutbg.jpg);
    }

    .about-section h2 {
        font-size: 6rem;
        margin-top: 50px;
        margin-bottom: 20px;
        text-align: center;
        width: 90%;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-inline: auto;
    }

    .about-section p {
        font-size: 1.5rem;
        line-height: 3rem;
        width: 90%;
        margin-inline: auto;
    }

    .about-type1,
    .about-type2,
    .about-type3 {
        background-color: rgb(0, 34, 68, 0.6);
        margin-top: 10px;
        padding: 10px;
        color: white;
    }

    /* visit-us-form */
    .visit-us-form {
        width: 100%;
        padding: 100px;
        height: 100%;
        background-color: #fff;
        flex-direction: row;
        margin-inline: auto;
        justify-content: space-between;
        align-items: center;
        background: url(images/formbg.jpg);
        background-size: auto;
        background-repeat: no-repeat;
        gap: 100px;
    }

    .visit-us-formlink {
        width: 50%;
        align-items: center;
        justify-content: center;
    }

    .visit-us-formlink .form-box {
        width: 100%;
        height: 100%;
    }

    .visit-us-form p {
        width: 100%;
        font-size: 1.2rem;
        line-height: 2rem;
    }

    .visit-us-desc {
        width: 50%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-top: 0px;
        margin-left: 0;
    }

    .visit-us-p p {
        font-size: 1.2rem;
        border-left: 1px solid #002244;
        padding-left: 10px;
        margin-left: 20px;
        color: #002244;
        margin-top: 40px;
        line-height: 2rem;
    }

    .changing-text {
        width: 100%;
        height: 30px;
        margin-left: 20px;
    }

    .contact-type {
        color: #002244;
        font-size: 1.6rem;
        width: 100%;
        height: 100%;
        font-family: montserrat;
        background: -webkit-linear-gradient(darkblue, #000);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .visit-form {
        margin-top: 50px;
        width: 380px;
        align-items: center;
        height: 100%;
        margin-inline: auto;
        margin-bottom: 100px;
        background-color: rgb(0, 34, 68, 0.7);
        z-index: 1;
        flex-wrap: nowrap;
        border-radius: 20px;
        box-shadow: 2px 2px 10px #000;
    }

    .visit-form p {
        padding: 15px;
        color: #fff;
        width: 100%;
        font-size: 1.2rem;
        font-family: poppins;
        text-align: center;
        word-spacing: 0.1rem;
        letter-spacing: 0.1rem;
    }

    .visit-form input {
        margin-top: 5px;
        border-radius: 8px;
        color: #002244;
        border: 1px solid #cccc;
        padding: 10px;
        width: 100%;
        font-family: poppins;
        font-size: 1rem;
        transition: .3s;
    }

    .visit-form input:hover {
        border: 1px solid #002244;
    }

    .visit-form select {
        margin-top: 5px;
        border-radius: 8px;
        color: #002244;
        border: 1px solid #cccc;
        padding: 10px;
        width: 100%;
        font-family: poppins;
        font-size: 1rem;
    }

    .visit-form select:hover {
        border: 1px solid #002244;
    }

    #submit {
        color: #002244;
        font-size: 1rem;
        font-family: poppins;
        transition: 0.3s;
        width: 170px;
        padding: 5px;
        border-radius: 40px;
        margin-top: 0;
        text-align: center;
        margin-inline: auto;
        letter-spacing: 0.1rem;
        transition: 0.3s;
    }

    #submit:hover {
        color: white;
        cursor: pointer;
        background-color: #002244;
    }

    /* contact section */
    .contact-section {
        width: 100%;
        height: 100vh;
        margin-inline: auto;
        margin-bottom: 2px;
        background: url(images/globe.jpg);
        color: #fff;
        flex-direction: row;
        justify-content: center;
        gap: 50px;
    }

    .locate-disc {
        margin-top: 50px;
        flex-direction: column;
        width: 50%;
        padding-left: 0px;
    }

    .locate-disc h2 {
        font-family: Montserrat;
        font-size: 4rem;
        letter-spacing: 0.2rem;
    }

    .locate-text {
        width: 100%;
        height: 50px;
        margin-bottom: 20px;
    }

    .locate-type {
        font-family: poppins;
        font-size: 1.5rem;
        color: #567A90;
    }

    .locate-disc span {
        font-size: 1.5rem;
        font-family: poppins;

        margin-bottom: 10px;
    }

    .address-p,
    .contact-p {
        font-size: 1rem;
        color: #567A90;
        word-spacing: 0.2rem;
    }

    .contact-p a {
        color: whitesmoke;
        font-size: 1rem;
        font-family: Quicksand;
    }

    .contact-p a:hover {
        animation: a-hover .3s linear forwards infinite;
    }

    @keyframes a-hover {
        from {
            border-bottom: none;
        }

        to {
            border-bottom: 1px solid #002244;
        }
    }

    .contact-section iframe {
        margin-top: 50px;
        border-radius: 200px;
        width: 400px;
        height: 400px;
        box-shadow: -4px 4px 20px #567A90, 4px -5px 20px #567A90;
        opacity: 70%;
        transition: .3s;
    }

    .contact-section iframe:hover {
        opacity: 100%;
        transform: scale(1.1);
    }

    /* footer */
    .footer-div {
        width: 100%;
        height: 30vh;
        background: url(images/aboutbg.jpg);
        background-position: center;
        align-items: center;
        flex-direction: row;
        justify-content: center;
        background-size: 110%;
    }

    footer {
        width: 80%;
        height: 70%;
        margin-inline: auto;
        flex-direction: row;
        background-color: rgb(0, 34, 68, 0.4);
        align-items: center;
        gap: 20px;
        padding: 5 px;
    }

    .footer-logo {
        width: 30%;
        margin-left: 100px;
        padding: 10px;
    }

    .footer-logo img {
        width: 80%;
    }

    .footer-desc {
        flex-direction: column;
        gap: 20px;
        width: 70%;
        padding: 10px;
    }

    .footer-type-text {
        width: 100%;
        height: 40px;
        border: none;
    }

    .footer-type {
        font-family: poppins;
        font-size: 2rem;
        width: 100%;
        height: 100%;
        color: #fff;
    }

    .footer-desc p {
        font-size: 1rem;
        color: #fff;
    }

    .footer-desc a {
        font-size: 1rem;
        color: #fff;
    }

    .footer-desc a:hover {
        animation: a-hover .4s linear forwards infinite;
    }
}