@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


body{
    margin: 0;
    padding: 0;
}
*{
    margin: 0;
    padding: 0;
    /* font-family: 'poppins', sans-serif; */
}
.main{
    height: 100px;
    width: 100%;
    background-color: rgb(35, 35, 35);
    position: sticky;
    top: 0px;
}
.main .nav1{
    height: 50px;
    width: 100%;
    background-color: white;
}
.main .nav1 .logo1{
    margin:0;
    padding:0;
    display: block;
}
.main .nav1 .logo2{
        display: none;
}
.main .nav1 ul{
    display: flex;
    height: 100%;
    align-items: center;
}
.main .nav1 ul li{
    color: black;
    font-size: 22px;
    margin: 10px;
    list-style: none;
}
.main .nav1 ul li a{
    color: black;
    font-size: 22px;
    text-decoration: none;
}
.main .nav1 ul li a:hover{
    color: #285989;
}
.main .nav1 .loginsignupbtns{
    display: flex;
    height: 100%;
    width: auto;
}
.main .nav1 .loginsignupbtns a{
    text-decoration: none;
}
.main .nav1 .loginsignupbtns a button{
    font-size: 16px;
}
.main .nav2{
    height: 50px;
    width: 100%;
    background-color: #003d7a;
    display: flex;
    align-items: center;
    overflow: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.main .nav2 ul li a button:hover{
    color: greenyellow;
}
.main .nav2 ul{
    display: flex;
    gap: 10px;
    height: 100%;
    white-space: nowrap;
}
.main .nav2 ul li{
    list-style: none;
}
.main .nav2 ul li a button{
    width: auto;
    margin-left: 8px;
    margin-right: 8px;
    height: 100%;
    font-size: 15px;
    color: white;
    background-color: transparent;
    border-style: none;
}
.nav1 .toggle{
    display: none;
}
.dropmenu {
    position: fixed;
    top: 100px; /* Below the header height */
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: linear-gradient(to right, #f8f9fa, #e0e0e0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: max-height 0.4s ease;
    border-radius: 0 0 15px 15px;
    z-index: 9999;
}

.dropmenu.show {
    max-height: 400px; /* Tall enough for contents */
}


.dropmenu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    margin: 0;
}

.dropmenu li {
    list-style: none;
    margin: 10px 0;
    font-size: 22px;
    width: 100%;
    text-align: center;
    transition: transform 0.2s ease;
}

.dropmenu li:hover {
    transform: scale(1.05);
}

.dropmenu li a {
    text-decoration: none;
    color: #222;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    width: 80%;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

.dropmenu li a:hover {
    background-color: #007bff;
    color: #fff;
}
.footer{
    width: 100%;
    height: 600px;
    background-color: rgb(23, 28, 54);
    display: flex;
    justify-content: space-between;
}
.footer1{
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer1 h2{
    color: white;
    font-size: 35px;
}
.footer1 ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.footer1 ul li{
    list-style: none;
}
.footer1 ul li a{
    text-decoration: none;
    color: white;
}
.footer2{
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
}
.footer2 h2{
    color: white;
    font-size: 35px;
}
.footer2 ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.footer2 ul li{
    list-style: none;
}
.footer2 ul li a{
    text-decoration: none;
    color: white;
}
.footer3{
    width: 33%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
}
.footer3 h2{
    color: white;
    font-size: 35px;
}
.footer3 ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.footer3 ul li{
    list-style: none;
}
.footer3 ul li a{
    text-decoration: none;
    color: white;
}
@media only screen and (max-width:840px){
    .nav1 .toggle{
        display: block;
        width: auto;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav1  .toggle h1{
        color: black;
        font-size: 23px;
        font-display: swap;
    }
    .nav1  .toggle i{
        color: black;
        font-size: 22px;
        font-display: swap;
    }
    .main .nav1 ul{
        display: none;
    }
    .main .nav1 .logo1{
        display: none;
    }
    .main .nav1 .logo2{
        display: block;
    }
    .footer{
        width: 100%;
        height: 1200px;
        display: flex;
        flex-direction:  column;
        align-items: center;
    }
    .footer1{
        width: 90%;
        height: 33%;
    }
    .footer2{
        width: 90%;
        height: 33%;
    }
    .footer3{
        width: 90%;
        height: 33%;
    }
}
