* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    /* text-align: justify; */
}


header {
    width: 100%;
    background-color: #A3ACB3;
    padding: 0px 30px;
    height: 110px;
}

/* nav  */
nav {
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    /* justify-content: space-between; */
}

/* Logo */
.logo {
    width: 15%;
    /* background-color: red; */
}

/* search bar  */
.searchbar {
    /* width: 20%; */
    /* max-width: 300px; */
    background-color: rgb(248, 248, 248);
    padding: 1px 0;
    border-radius: 30px;
}

.searchbar input[type="search"] {
    border: none;
    outline: none;
    padding: 10px;
    background-color: transparent;
    width: 82%;
    max-width: 200px;
    line-height: 20px;
    font-size: 18px;
}

.searchbar button {
    border: none;
    padding: 10px;
    border-radius: 20px;
    background-color: transparent;
}

.searchbar button i {
    font-size: 18px;
    color: #0086ec;
    cursor: pointer;
}

.nav-text {
    /* background-color: red; */
    width: 80%;
}

.nav-text p {
    text-align: center;
    font-size: 20px;
    /* line-height: 40px; */
    font-weight: 550;
}

.bars {
    display: none;
}

/* bar btn  */
.bars button {
    border: none;
    background-color: transparent;
    font-size: 22px;
    cursor: pointer;
}

/* menu  */
.menu {
    width: 100%;
    height: 60px;
    position: relative;
    padding: 10px;
}

.menu ul {
    display: flex;
    justify-content: center;
    gap: 5px;
    /* flex-wrap: wrap; */
}

.menu li {
    list-style: none;
    background-color: rgb(0, 12, 119);
    border-radius: 5px;
    position: relative;
}

.menu a {
    padding: 0px 3.1px;
    width: 145px;
    height: auto;
    line-height: 33px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: block;
}


.sub-menu ul {
    position: absolute;
    display: none;
    flex-wrap: wrap;
    width: 100%;
    left: 0;
    z-index: 1000;
    top: 100%;

}


.sub-menu ul li {
    background-color: rgb(122, 69, 0);
    margin: 2px auto;
    width: 100%;
    margin-top: 6%;
}

.sub-menu>ul li>a {
    text-align: center;
    display: block;
}


.menu li:hover>.sub-menu ul {
    display: block;
}


/* 
.menu li:hover>a {
    background-color: rgb(9, 23, 153);
    border-radius: 5px;
} */

/* .menu ul li:hover ul li:hover {
    background-color: rgb(150, 85, 0);
} */


.footer-logo {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 11%;
    margin-bottom: 0;
    bottom: -60px;
}

footer {
    background-color: #A3ACB3;
    padding: 20px 0;
}

footer span {
    font-weight: bold;
}

footer strong {
    color: rgb(39, 39, 255);
}

.mbl-ul {
    display: none;
}

/* style for home content  */
.home-content {
    position: relative;
    /* padding: 30px; */
    width: 90%;
    /* background-color: blueviolet; */
    border-radius: 10px;
    margin: 2% auto;
    animation: fadeInScale 1s ease-out forwards;
    z-index: 1000;
    transition: 0.3s ease;
    display: flex;
    gap: 15px;
}

/* .togle{
    margin-top: 150%;
} */
.main-home-content {

    background-color: #D6DCE5;
    border-radius:8px;
    padding: 20px;
    width: 70%;
}

/* Styling for the paragraph */
.home-content p {
    /* width: 95%; */
    line-height: 25px;
    font-size: 18px;
    /* color: white; */
    text-align: justify;
}

/* img section  */
.home-content-img{

    /* background-color: red; */
    width: 30%;
    
}
.home-content-img img{
    /* width: 400px !important; */
    max-width: 100% !important;
}
.home-img-text {
    /* width: 300px; */
    text-align: center;
    margin: auto;
    width: 100%;
}

.home-img-text p {
    background-color: #D6DCE5;
    font-size: 14px !important;
    line-height: 20px !important;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
}
.home-img-text span{
    font-weight: bold;
}
.home-img-text a{
    text-decoration: none;
    color: black;
    font-size: 13px;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* media query  */

@media screen and (max-width:900px) {
    .bars {
        display: block;
    }

    nav {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;

    }

    .logo {
        display: block;
    }

    .text-search {
        width: 70%;
        /* background-color: red; */
        margin-left: 0 !important;
    }

    .nav-text {
        width: 70%;
        /* background-color: red; */

    }

    .searchbar {
        display: none;
    }

    .nav-text p {
        /* display: none; */
        font-size: 15px !important;
        font-weight: 550;
    }

    .menu {
        width: 90%;
        margin-bottom: 5%;
        margin: auto;
        display: none;
    }

    .menu ul {
        flex-direction: column;
        /* display: non; */
    }

    .menu ul li {
        margin-bottom: 1%;
    }

    .menu ul li a {
        width: 100%;
        text-align: start;
        padding: 0 29px;
    }

    /* logos area  */
    .footer-logo {
        margin-top: 80%;
        flex-direction: column-reverse;

        margin-bottom: 5%;
    }

    .left-logo,
    .right-logo {
        display: flex;
        justify-content: center;
    }

    footer {
        margin-top: 15%;
        /* width: 10%; */
        /* background-color: red   ; */
    }

    .mbl-ul {
        position: absolute;
        top: 20%;
        left: 5%;
        width: 90%;
        /* margin: auto; */
        display: none;
        margin: auto;
        background-color: rgb(0, 12, 119);
        border-radius: 10px;
        box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.1);
        overflow-y: scroll;
        height: 80vh;
        transition: 0.3s ease;
    }

    /* mbl menu area  */
    .mbl-list {
        display: block;
        list-style: none;
    }

    .mbl-list li {
        margin: 4%;
        position: relative;
    }

    .mbl-list a {
        border-bottom: 1px solid grey;
        /* background-color: red; */
        width: 100%;
        height: auto;
        line-height: 40px;
        padding: 0 10px;
        /* border-radius: 8px; */
        display: block;
        text-decoration: none;
        color: white;
    }

    .mbl-drop {
        color: white;
        position: relative;
        transition: 0.3s ease;

    }

    .mbl-drop i {
        background-color: rgba(172, 172, 255, 0.452);
        border-radius: 50%;
        width: 26px;
        height: 26px;
        text-align: center;
        align-self: center;
        line-height: 26px;
        font-size: 20px;
        position: absolute;
        right: 25px;
        top: 5px;
        /* bottom: 10px; */
        cursor: pointer;
    }

    .mbl-subm {
        list-style: none;
        position: relative;
        width: 100%;
        margin: auto;
        background-color: rgb(122, 69, 0);
        border-radius: 10px;
        box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.1);
        padding: 1px 0;
        margin-top: 24px;
        display: none;
        border: 1px solid rgb(185, 185, 185);
    }

    .msub-main i {
        background-color: rgba(172, 172, 255, 0.452);
        border-radius: 50%;
        width: 26px;
        height: 26px;
        text-align: center;
        align-self: center;
        line-height: 26px;
        font-size: 18px;
        position: absolute;
        right: 15px;
    }

    .mbl-lastmenu {
        list-style: none;
        position: relative;
        width: 100%;
        margin: auto;
        background-color: rgb(248, 248, 248);
        border: 1px solid rgb(185, 185, 185);
        border-radius: 10px;
        box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.1);
        padding: 1px 0;
        margin-top: 24px;
        /* display: none; */
    }



    /* .home-content */
    .home-content {
        /* position: relative; */
        padding:20px 5px;
        width: 90%;
        /* background-color: blueviolet; */
        margin: 2% auto;
        border-radius: 10px;
        animation: fadeInScale 1s ease-out forwards;
        z-index: 1000;
        flex-direction: column;
    }

    /* Styling for the paragraph */
    /* .home-content p {
      
        line-height: 25px;
        font-size: 18px;
        color: white;
    } */
     .main-home-content{
        width: 100%;
     }
     .home-content-img{
        width: 100%;
     }
}

@media screen and (max-width: 690px) {
    header {
        padding: 0 20px !important;
    }

    .searchbar {
        display: none;
    }

    .nav-text p {
        /* display: none; */
        font-size: 15px !important;
        font-weight: 550;
        margin-left: 24px;
    }
}