@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*{
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
    outline: none;

}
body{
    overflow-x: hidden;
    font-family: Verdana, Geneva, Tahoma, sans-serif;

}
.logo img{
    width: 100%;
    max-width: 100px;
    z-index: 999;
    border-radius: 5px;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 100px;
    transition: all ease 0.5s;
    z-index: 9999;
}
header ul li{
    display: inline-block;
    margin: 0 15px;
    font-size: 16px;
}
header ul li a{
    color: #fff;
    transition: all ease 0.5s;
    font-weight: 500;
    text-decoration: none;

}
header:hover{
    background-color: #fff;
}
header:hover a{
    color: #000;
}

header ul li:hover .mega-menu{
    display: block;
    width: 100%;
}
.mega-menu{
    position: absolute;
    left: 15%;
    right: 25%;
    background-color: #fff;
    padding: 18px 100px;
    border-radius: 5px;
     display: none; 
}

.mega-menu ul li{
    width: 100%;
    margin-bottom: 5px;
    display: block;
    margin-left: 162px;
    
}

.mega-menu ul li a{
    color: #000;
}
.mega-menu ul li i{
    font-size: 12px;
    opacity:0;
    transition: all ease 0.5s;

}
.mega-menu ul li a:hover{
    opacity: 1;
}

/*Header section finish*/

/*content section start*/
.content{
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
}
.content .item{
    position: relative;
    width: 100%;
    overflow: hidden;
    transition: all ease 0.8s;
}
.content .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.content .item:hover{
    width: 200%;
}
.content .item .text{
    position: absolute;
    left: 0;
    bottom: -50px;
    width:100% ;
    height: 100%;
    padding: 50px 50px 100px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: all ease 0.5s 0.2s;
}
.content .item:hover .text{
    opacity: 1;
    bottom: 0;
}
.content .item .text h3{
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 15px;
    background-color: #00000048;
    padding: 8px;

}
.content .item .text a{
    color: #fff;
    background-color: #da8787;
    font-size: 18px;
    text-decoration: none;
   padding: 8px;
}


.content .item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1;
    transition: background-color 0.5s ease;
}

.content .item:hover::after {
    background-color: rgba(0, 0, 0, 0.2);  
}
/*content section finish*/