@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&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&family=Quicksand:wght@300..700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", serif;
}

html,body{
    width: 100%;
    height: 100%;
}
.main{
    display: flex;
    width: 100%;
    height: 100%;
  

}
.left{
    width: 38%;
    height: 100%;
    position: relative;
 
}
.lnav{
    justify-content: space-between;
    align-items: center;
    display: flex;
    width: 100%;
    padding: 20px 30px;
}
.lnav i{
    font-size: 20px;
    cursor: pointer;
}
.lnavr a {
    margin-right: 20px;
    text-decoration: none;
    color: black;  
    font-weight: 700; 
   font-size: 20px;
   cursor: pointer;
}
.lnavr a:hover{

    border-bottom: 2px solid black;

    transition: border-bottom 0.10s ease-in-out ;
}
.lnavr i{
    font-size: 20px;
    cursor: pointer;
}
.left .text-center{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: text 1.29s ease-in-out 1s  ;

}
.text-center h1{
    font-size: 100px;
    font-weight: 900;
}
.text-center p{
    color: rgb(85, 82, 82);
    font-size: 13px;
    line-height: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.text-center a{
    text-decoration: none;
    color: black;
    cursor: pointer;
    font-weight: 700;
    font-size: 17px;
    padding-bottom: 5px;
    border-bottom: 2px solid gray;
}
.right{
    width: 62%;
    height: 100%;
    background-color: white;

}
 .rtop{
    display: flex;
    width: 100%;
    height: 50%;
    background-color: royalblue;
}
.rbottom{
    width: 100%;
    height: 50%;
   background-image: url(image3.avif);
   background-size: cover;
   background-position: center;
}  

.rtleft{
    width: 55%;
    height: 100%;
    background-image: url(image1.avif);
    background-size: cover;
    background-position: center;

}


.rtright{
    width: 45%;
    height: 100%;
    background-image: url(image2.avif);
    background-size: cover;
    background-position: center;
}



/* Apply transition and animation for a smooth page effect */
html, body {
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.rtleft, .rtright, .rbottom {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.rtleft:hover, .rtright:hover, .rbottom:hover {
    transform: scale(1.1) rotate(3deg);
}

.text-center h1, .text-center p {
    transition: transform 0.4s ease-in-out;
}

.text-center:hover h1, .text-center:hover p {
    transform: translateY(-5px);
}


@media(max-width:1000px){
    .main{
        flex-direction: column;
    }
    .main .left{
        width: 100%;
    }
    .main .right{
        width: 100%;
    }
}
@keyframes text {
    0% {
        transform: translate(-150%, -50%);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%); 
        opacity: 1;
    }
}
