* {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}
/**navbar new edits*/
@media (min-width: 769px) {
    #navMenu {
        display: flex !important;
        position: static;
        flex-direction: row;
       /* margin-left: 16%;*/
       margin-left:9%;
        right: 17%;
    }
}


.nav-icon-img {
    width: 7.5rem;
    height: auto;
    margin: 28px;
    margin-left: 6rem;
    position: absolute;
    /* top: 10px; */
    top: -10px;
    /* left: -58px; */
    left: 136px !important;
}

/* navbars */
/*.nav {*/
    /* background-image: url('../images/contact/untitled-11.png'*//*);
    background-image: url('../images/contact/default (2).png');
    width: 100%;
    height: 47rem;
    border-bottom-left-radius: 100% 20%;
    border-bottom-right-radius: 50% 20%;
    position: absolute;
    z-index: 0;
    background-size: cover;
    background-position: center;
}*/

.sub-second-img-nav {
    background-image: url('../images/contact/whatsapp image 2024-09-24 at 10.45.50_3663d702 1 (1).png');
    width: 100%;
    height: 100%;
    border-bottom-left-radius: 498% 93%;
    border-bottom-right-radius: 381% 85%;
    z-index: 0;
    background-color: #00679f;
    position: relative;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
}

/* second navbar */
.sub-nav {
    width: 100%;
    display: flex;
    gap: 3rem;
    height: 3rem;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background: transparent;
    padding: 0 1rem;
}

/* Logo/Icon */
.nav-icon-img {
    width: 7.5rem;
    height: auto;
    margin: 28px;
    margin-left: 6rem;
    position: absolute;
    /* top: 10px;*/
    top: -10px;
    /*left: -58px;*/
    left:192px;
}

/* Navbar Left Section */
.nav-left {
    width: 30%;
    height: 187px;
    display: flex;
    align-items: center;
    gap: 20px;
}

    .nav-left a {
        color: white;
        font-size: 18px;
        font-weight: bold;
    }

/* Mobile Navigation Menu */
.menu-icon {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 4;
}

/* Right Navigation */
.right-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    font-family: system-ui;
    font-size: larger;
    align-items: center;
    height: 187px;
    z-index: 2;
    margin-top: 80px;
    position: absolute;
    /*right: 20px;*/
   /* right:209px;*/
   right:286px;
}

.right-nav-pages a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.right-nav-button {
    background-color: #277A9A;
    all: unset;
    display: inline-block;
    padding: 6px 20px;
    border-radius: 30px;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
}

.main-nav-container-text {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    color: white !important;
}

.nav-container-text {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    width: 84%;
    height: 29rem;
}

    .nav-container-text h2,
    .nav-container-text h3 {
        font-weight: 100;
        width: 50%;
        color: white;
    }

/* first container */
.first-main-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 /*   margin-top: 190px;*/
     margin-top:10px;
    z-index: 3;
    position: relative;
    box-shadow: 0.3 ease;
}

.text {
    color: white;
}

.first-container-form {
    /*width: 80%;*/
    width:75%;
    height: auto;
    display: flex;
    justify-content: center;
    border-radius: 5px;
    flex-direction: row;
}

.form-right {
    width: 60%;
    background-color: #F4F4F4;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-radius: 10px 0px 0px 10px;
    padding: 20px 0;
}

.form-left {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0056b3;
    border-radius: 0px 10px 10px 0px;
    padding-top: 45px;
    padding-bottom: 45px;
}

.sub-form-right {
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 18px;
    justify-content: space-between;
    height: auto;
    min-height: 20rem;
}

.form-submit {
    background-image: url('../images/contact/5367260 2 (5).png');
    width: 11rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-size: cover;
}

.form-gnd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .form-gnd input {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 70%;
        height: 2rem;
        border-radius: 4px;
        border-width: 1px;
        border-color: #3CA4DB;
    }

    /* Add this to your CSS file */
    .form-gnd input,
    .form-gnd1 input,
    .ui-dropdown {
        border: 1px solid #3CA4DB !important;
    }

    /* If the above doesn't work, you can try specifying each border individually */
    .form-gnd input,
    .form-gnd1 input,
    .ui-dropdown {
        border-top: 1px solid #3CA4DB !important;
        border-right: 1px solid #3CA4DB !important;
        border-bottom: 1px solid #3CA4DB !important;
        border-left: 1px solid #3CA4DB !important;
    }

.form-left-text {
    width: 80%;
}

.form-gnd1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

    .form-gnd1 input {
        height: 5rem;
        width: 70%;
        border-radius: 4px;
        border-width: 1px;
        border-color: #3CA4DB;
    }

.ui-dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: 2rem;
    border-radius: 4px;
    border-width: 1px;
    border-color: #3CA4DB;
}

.bottom-left-form-button {
    width: 80%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* second container */
.second-container {
    margin-top: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map {
    background-image: url('../images/contact/slide 4_3 - 1.png');
/*    width: 80%;*/
    width:75%;
    height: 48rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* successful redirection */
.main-successfull-container {
    width: 100%;
    margin-top: 6rem;
    margin-bottom: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub-successfull-message {
    width: 80%;
    height: 17rem;
    background-color: #F4F4F4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

    .sub-successfull-message h1 {
        color: #0056b3;
    }

.text-successfull-message {
    width: 80%;
    display: flex;
    justify-content: start;
    align-items: end;
}

/* to remove gap between check our company profile and footer */
.pb-3, .py-3 {
    padding-bottom: 0 !important;
}

/* bottom container */
.main-bottom-container {
    width: 100%;
    background-color: #D9D9D9;
    height: auto;
    min-height: 7rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
}

.sub-bottom-container {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    padding-left: 11rem;
    gap: 3rem;
    align-items: center;
}

.sub-bottom-container-text {
    font-size: 33px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #0056b3;
}

.sub-bottom-container-image {
    height: 3rem;
    position: relative;
    display: inline-block;
}

    .sub-bottom-container-image img {
        width: 22rem;
        height: 58px;
    }

.sub-bottom-container-img-inner-text {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    width: 20rem;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    border-radius: 10px;
    position: absolute;
    top: 56%;
    left: 11rem;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 1200px) {
    .nav-container-text h2,
    .nav-container-text h3 {
        width: 70%;
    }

    .sub-bottom-container {
        padding-left: 5rem;
        gap: 2rem;
    }

    .sub-bottom-container-text {
        font-size: 28px;
    }

    .sub-bottom-container-img-inner-text {
        font-size: 18px;
    }
}

@media screen and (max-width: 992px) {
   /* .nav {
        height: 40rem;
    }*/

    .nav-container-text {
        height: 25rem;
    }

        .nav-container-text h2,
        .nav-container-text h3 {
            width: 80%;
            font-size: 22px;
        }

    .first-container-form {
        width: 90%;
    }

    .map {
        width: 90%;
        height: 40rem;
    }

    .sub-bottom-container {
        padding-left: 2rem;
        gap: 1rem;
    }

    .sub-bottom-container-text {
        font-size: 22px;
    }

    .sub-bottom-container-image img {
        width: 18rem;
    }

    .sub-bottom-container-img-inner-text {
        width: 16rem;
        font-size: 16px;
        left: 9rem;
    }

    .nav-left a {
        font-size: 16px;
    }

    .right-nav {
        font-size: medium;
        display:none;
    }

    .right-nav-button {
        font-size: 14px;
        padding: 5px 15px;
    }
}

@media screen and (max-width: 768px) {
   /* .nav {
        height: 35rem;
        border-bottom-left-radius: 50% 10%;
        border-bottom-right-radius: 50% 10%;
    }
*/
    .sub-second-img-nav {
        border-bottom-left-radius: 50% 10%;
        border-bottom-right-radius: 50% 10%;
    }

    .nav-icon-img {
        width: 8rem;
        /*margin-left: 1rem;*/
        margin-left:-7rem;
    }

    .menu-icon {
        display: block;
        font-size: 24px;
    }

    /*.right-nav {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;*/
       /* background-color: rgba(0, 0, 0, 0.8);*/
        /*flex-direction: column;
        padding: 80px 20px 20px;
    }*/

        .right-nav.active {
            display: flex;
        }

    .right-nav-pages a {
        font-size: 14px;
    }

    .right-nav-button {
        font-size: 13px;
        padding: 4px 12px;
    }

    .nav-container-text h2,
    .nav-container-text h3 {
        width: 100%;
        font-size: 20px;
    }

    .first-main-container {
       /* margin-top: -25%;*/
       margin-top:0%;
    }
    .contact-intro-content{

        padding:20px;
    }

    .first-container-form {
        width: 95%;
        flex-direction: column;
    }

    .form-right {
        width: 100%;
        border-radius: 10px 10px 0 0;
    }

    .form-left {
        width: 100%;
        border-radius: 0 0 10px 10px;
    }

    .form-gnd, .form-gnd1 {
        flex-direction: column;
        align-items: flex-start;
    }

        .form-gnd input, .form-gnd1 input, .ui-dropdown {
            width: 100%;
            margin-top: 5px;
        }

    .bottom-left-form-button {
        justify-content: center;
        width: 100%;
    }

    .map {
        width: 95%;
        height: 300px; /* Rectangular shape in mobile */
        border-radius: 10px;
    }

    .sub-bottom-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
    }

    .sub-bottom-container-text {
        font-size: 15px;
    }

    .sub-bottom-container-image {
        height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

        .sub-bottom-container-image img {
            width: 60%;
            max-width: 280px;
            height: auto;
        }

    .sub-bottom-container-img-inner-text {
        width: 80%;
        max-width: 280px;
        font-size: 14px;
        position: absolute;
        left: 50%;
    }

    .sub-successfull-message {
        width: 95%;
        padding: 1rem;
        height: auto;
    }

        .sub-successfull-message h1 {
            font-size: 22px;
            text-align: center;
        }

    .text-successfull-message {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 14px;
    }

    .form-left-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 576px) {
    /* Further reduced font sizes for small devices */
    body {
        font-size: 14px;
    }

    /*.nav {
        height: 30rem;
    }*/

    .nav-container-text {
        height: 20rem;
        width: 90%;
    }

        .nav-container-text h2,
        .nav-container-text h3 {
            font-size: 18px;
        }

    .nav-icon-img {
        width: 6rem;
        margin-top:15px!important;
        width:80px;
    }

    .form-submit {
        width: 9rem;
        height: 2.5rem;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .map {
        height: 150px; /* Even more rectangular for small phones */
    }

    .sub-bottom-container-text {
        font-size: 16px;
    }

    .sub-bottom-container-img-inner-text {
        font-size: 12px;
    }

    .right-nav-pages a {
        font-size: 13px;
    }

    .right-nav-button {
        font-size: 12px;
        padding: 4px 10px;
    }

    .sub-successfull-message h1 {
        font-size: 20px;
    }

    .form-left-text {
        font-size: 13px;
    }

    label, .form-gnd input, .form-gnd1 input, .ui-dropdown {
        font-size: 13px;
    }

    .form-submit {
        font-size: 13px;
    }
}

/* Extra small devices */
@media screen and (max-width: 400px) {
    body {
        font-size: 13px;
    }

    .nav-container-text h2,
    .nav-container-text h3 {
        font-size: 16px;
    }

    .sub-bottom-container-text {
        font-size: 15px;
    }

    .right-nav-pages a {
        font-size: 12px;
    }

    .right-nav-button {
        font-size: 11px;
        padding: 3px 8px;
    }

    .sub-successfull-message h1 {
        font-size: 18px;
    }

    .form-left-text {
        font-size: 12px;
    }

    label, .form-gnd input, .form-gnd1 input, .ui-dropdown {
        font-size: 12px;
    }

    .menu-icon {
        font-size: 20px;
    }

    .map {
        height: 150px;
    }

    .mp-190px {
        padding-top: 0px;
    }
}
