*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

.logo {
    width: 90px;
    height: auto;
    margin-top: 7px;
}

.logo img{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 0cm 0cm;
    
}

nav .logo{
    display: none;
}

nav ul{
    display: flex;
    width: 330px;
    align-items: flex-start;
    justify-content: space-between;
}

nav ul li {
    position: relative; /* Added */
  }

nav ul li a{
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #212526;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 5px;
    border-style: solid;
    border-width: 2px;
    border-color: white;
}

nav ul li a img{
    width: 20px;
    transform: rotate(90deg);
    margin-left: 10px;
    display: none;
}

nav ul li a:hover {
    border-color: #212526;
    }
    
nav ul li a.active {
    background-color: #212526;
    border-color: #212526;
    border-style: solid;
    border-width: 2px;
    color:white
}

#dropdown {
    display: none;
    position: absolute; /* Added */
    top: 100%; /* Added */
    left: 0;
    background-color: white; /* Added */
    width: max-content;
    border-radius: 5px;
    z-index: 20;
  }
  
  nav ul li:hover #dropdown {
    display: flex;
    flex-direction: column;
  }

  nav ul li ul li a:hover {
    border-color: #212526;
    text-decoration: underline;
    text-decoration-color: #000000;
    text-decoration-thickness: 2px;
    border-color: #ffffff;
  }

  nav ul li ul li{
    padding: 5px;
  }

.hamburger{
    display: none;
    height: fit-content;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 5px;
    transition: 0.2s;
}

.hamburger:hover{
    background: #f6f4ff;
}

.hamburger div{
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: #212526;
    border-radius: 2px;
}

body{
    background-color: #efefef;
    position: relative;
    height: 100%;
}

header{
    width: 100%;
    height: 70px;
    background: #fefefe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 30px;
    padding-left: 10px;
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
    z-index: 30;
}

header img{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 0cm 0cm;
}


/* IMAGE SLIDER */

.swiper{
    width: 100%;
    height: calc(100vh - 70px);
}

.swiper-wrapper{
    width: 100%;
    height: calc(100vh - 70px);
    display: flex;
}

.swiper-slide {
    width: 100%;
    height: calc(100vh - 70px);
    object-fit: cover;
    display: flex;
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    width: 100vw;
    height: calc(100vh - 70px);
    object-fit: cover;
}

/* TEXT_BLOCK*/

.Text-Block{
    display: flex;
    flex-direction: column;
    position: absolute;
    color: white;
    padding: 3vw;
    width: 100vw;
    height: calc(100vh - 70px);
    z-index: 2;
}

.Text-Block h1{
    font-family: "Figtree", sans-serif;
    font-weight: 600;
    font-style: normal;
    top: 0;
    left: 0;
    font-size: 7.5vw;
    line-height: 0.95;
}

.Text-Block ul{
    position: absolute;
    width: max-content;
    margin: 7vw;
    bottom: 0;
    right: 0;
}

.Text-Block ul p{
    font-family: "Figtree", sans-serif;
    color: white;
    border-color: white;
    border-style:solid;
    border-width: 2px;
    padding: 12px 18px 10px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.Text-Block ul p a{
    font-weight: 500;
    font-style: normal;
    display: block;
    color: inherit;
    font-size: 1.2rem;
}

.Text-Block ul p:hover{
    background-color: white;
    color: #212526;
    cursor: pointer;
}

footer{
    display: flex;
    height: auto;
    width: 100vw;
    background-color: #efefef;
    place-content: center;
}

footer .footer-content{
    display: flex;
    justify-content: space-evenly;
    width: 30%;
    padding-top: 30px;
    padding-bottom: 20px;
}

footer .footer-content a{
    color:#000000;
    margin: 0 10px;
    font-family: "Figtree", sans-serif;
    font-weight: 100;
    font-size: 12px;
}


@media screen and (max-width: 1000px){
    nav{
        position: fixed;
        right: -70vw;
        bottom: 0;
        z-index: 10;
        width: 70vw;
        height: calc(100% - 70px);
        transition: all 0.5s ease;
        background-color: #fefefe;
        box-shadow: 2px 0 20px 0 rgb(0,0,0,0.05);
        padding: 0 10px;
    }
    #nav_check:checked ~ nav{
        right: 0;
        bottom: 0;
    }

    nav ul li{
        margin: 10px 0;
    }

    nav ul li a{
        width: calc(70vw - 20px);
    }

    .hamburger{
        display: block;
    }
    nav ul{
        display: block;
    }

    nav .logo{
        display: block;
        width: 80px;
        height: auto;
        margin-top: 8px;
    }

    nav ul li a img{
        display: flex;
    }

    #dropdown li a{
    padding: 0px 50px;
    color: #000000;
    }

    #dropdown {
    display: block;
    position: relative; /* Added */
    }

    nav ul li:hover #dropdown {
        display: block;
      }

    nav ul li ul li a:hover {
        border-color: none;
        text-decoration: none;
        border-color: none;
      }


    .grid-container{
        grid-template-columns: repeat(1, 1fr);
    } 

    .smallNav ul{
        flex-direction: column;
        font-size: 40px;
        align-items: center;
    }

    .smallNav ul li{
        margin-top: 15px;
        width: auto;
    }

    .smallNav ul li a{
        display:inline-block;
    }

}

@media screen and (max-width: 1000px){
    .Text-Block h1{
        font-size: 11vw;
        white-space: wrap;
        margin-top: 2vh;
        margin-left: 10px;

    }

    .Text-Block ul{
        margin-top: 25vh;;
    }

.Text-Block ul p{
    background-color: white;
    color: #212526;
    cursor: pointer;
    border-style: none;
}

    
}