:root{
    --white : white;
    --bg: #F8F5F1;
    --black: #374151;
    --grey : #626262;
    --blue : #374151;
}
html{
    scroll-behavior: smooth;
}
*{
    margin: 0;
    box-sizing: border-box;
}

body{
    width: 1280px;
    margin: 0 auto;
    height: 6000px;
    background-color: var(--bg);
}

header{
    display: inline-flex;
padding: 19px 27px;
align-items: center;
gap: 221px;
margin-bottom: 50px;
}

ul{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
}

li a {
color: var(--grey, #626262);
text-align: center;
font-family: Montserrat;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: normal;
text-decoration: none;
}

.selected{
    color: var(--grey, #626262);
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700 !important;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: 58%; /* 9.28px */
    text-underline-position: from-font;
}

.options{
    display: flex;
align-items: center;
gap: 35px;
}

.lang{
    display: flex;
    gap: 5px;
}

.language{
    display: flex;
    width: 39px;
    height: 39px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    color: var(--grey, #626262);
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 20px; /* 142.857% */
transition: all 300ms ease;
cursor: pointer;
}

.language1{
    background: #2D8B8B;
    color: var(--white, #FFF);
    
}

.language:hover{
     background: #2D8B8B;
    color: var(--white, #FFF);
    
}

.music{
    display: flex;
width: 91px;
padding: 3px 6px;
justify-content: center;
align-items: center;
gap: 27px;
border-radius: 52px;
border: 1px solid var(--grey, #626262);
background: #FFF;
color: var(--blue, #374151);
font-family: Montserrat;
font-size: 14.193px;
font-style: normal;
font-weight: 500;
line-height: 16.697px; /* 117.647% */
}

.icon{
    display: flex;
width: 31.042px;
height: 31.161px;
padding: 6.679px 5.844px;
align-items: center;
gap: 8.349px;
flex-shrink: 0;
border-radius: 48px;
background: var(--blue, #374151);
}

.section1{
    display: flex;
width: 1280px;
flex-direction: column;
align-items: center;
height: 624px;
position: relative;
gap: 226px;
}

.section1 h1{
    color: var(--grey, #626262);
text-align: center;
font-family: Boldonse;
font-size: 71.644px;
font-style: normal;
font-weight: 400;
opacity: 0;
transform: translateY(50px);
line-height: 102.349px; /* 142.857% */
transition: all 0.8s ease;
}

.heroimg{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
transform: translateX(-50px);
transition: all 0.8s ease;
}

.explore{
display: flex;
padding: 14.25px 28px;
justify-content: center;
align-items: center;
gap: 14.25px;
border-radius: 51px;
border: 2px solid var(--blue, #374151);
background: var(--white, #FFF);
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
position: relative;
z-index: 11;
color: var(--blue, #374151);
text-align: center;
font-family: Montserrat;
font-size: 22.8px;
font-style: normal;
font-weight: 600;
line-height: normal;
transition: all 300ms ease;
cursor: pointer;
}

.explore:hover{
    background-color: var(--blue);
    color: var(--white);
}

.paper{
    position: absolute;
    bottom: -45px;
    left: 0;
    z-index: 999;
}

.section2{
    display: inline-flex;
padding: 90px 86px 96px 86px;
flex-direction: column;
align-items: center;
gap: 54px;
justify-content: center;
width: 100%;
position: relative;
}

.title{
    display: flex;
width: 655.47px;
height: 163px;
padding: 40.148px 138.911px;
justify-content: center;
align-items: center;
gap: 8.03px;
background-image: url(img/titlebg.svg);
background-position: center;
color: var(--blue, #374151);
text-align: center;
font-family: Boldonse;
font-size: 37.806px;
font-style: normal;
font-weight: 400;
line-height: normal;
opacity: 0;
transform: translateY(50px);
transition: all 0.8s ease;
}

.sectcontent{
    display: flex;
align-items: center;
gap: 82px;
align-self: stretch;
}

.sec2txt{
    display: flex;
width: 603.089px;
flex-direction: column;
align-items: center;
gap: 52px;
opacity: 0;
transform: translateX(50px);
transition: all 0.8s ease;
}

.secp{
    color: var(--grey, #626262);
font-family: Montserrat;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 30px; /* 166.667% */
}

.cards{
    display: flex;
align-items: center;
gap: 19px;
align-self: stretch;
}

.card{
    display: flex;
    width: 188px;
height: 175.098px;
padding: 3.537px 7.959px;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 13.265px;
border-radius: 12.381px;
border: 0.884px solid #2D8B8B;
background: #FFF;
transition: all 300ms ease;
cursor: pointer;
box-shadow: 0 3.537px 3.537px 0 rgba(0, 0, 0, 0.25);
}

.card:hover{
    scale: 1.1;
    background-color: #2D8B8B;
}

.card:hover img{
    filter: brightness(6.5);
}

.card:hover h3{
    color: #FFF;
}
.card:hover p{
    color: #c1c1c1;
}

.card h3 {
    color: var(--blue, #374151);
text-align: center;
font-family: Montserrat;
font-size: 15.918px;
font-style: normal;
font-weight: 600;
line-height: 108.357%; /* 17.248px */
}

.card p{
    color: var(--grey, #626262);
text-align: center;
font-family: Montserrat;
font-size: 10.612px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.earth{
opacity: 0;
transform: translateX(50px);
transition: all 0.8s ease;
animation: earthrotate 5s ease  infinite ;
}
@keyframes earthrotate {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}


.section3{
    display: flex;
width: 1280px;
height: 722px;
padding: 45px 117px;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 18px;
flex-shrink: 0;
background: var(--blue, #374151);
position: relative;
}


.section3 h1{
    color: #F8F5F1;
    text-align: center;
    font-family: Boldonse;
    font-size: 37.806px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.stories{
    display: flex;
    padding: 22px;
    align-items: flex-start;
    gap: 35px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.story{
    display: flex;
padding: 22px;
flex-direction: column;
align-items: flex-start;
gap: 15px;
border-radius: 19px;
background: #FFF;
width: 304px;
}

.row1{
    display: flex;
justify-content: space-between;
align-items: center;
align-self: stretch;
}

.name{
    display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
}

.name h4{
    color: var(--blue, #374151);
font-family: Boldonse;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.name h6{
    color: var(--grey, #626262);
font-family: Montserrat;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 17px; /* 121.429% */
}

.langflag{
    display: flex;
flex-direction: column;
align-items: flex-end;
gap: 8px;
}

.langtyp{
    display: flex;
padding: 2.631px 4.385px;
justify-content: center;
align-items: center;
gap: 8.769px;
border-radius: 3.508px;
background: var(--grey, #626262);
color: #FFF;
font-family: Montserrat;
font-size: 12.277px;
font-style: normal;
font-weight: 600;
line-height: 14.908px; /* 121.429% */
}

.story p{
    color: var(--grey, #626262);
font-family: Montserrat;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 17px; /* 121.429% */
}

.read{
    display: flex;
padding: 9.705px 19.069px;
justify-content: center;
align-items: center;
gap: 9.705px;
border-radius: 34.733px;
background: var(--blue, #374151);
box-shadow: 0 2.724px 2.724px 0 rgba(0, 0, 0, 0.25);
color: var(--white, #FFF);
text-align: center;
font-family: Montserrat;
font-size: 15.528px;
font-style: normal;
font-weight: 600;
line-height: normal;
border: none;
cursor: pointer;
transition: all 300ms ease;

}

.read:hover{
    background-color: var(--bg);
    color: #374151;
}

.pagetit{
    display: inline-flex;
padding: 59px 57px;
justify-content: center;
align-items: center;
gap: 10px;
width: 100%;
position: relative;

}

.pagetit h1{
color: var(--blue, #374151);
font-family: Boldonse;
font-size: 56.239px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.firstscene{
    width: 1280px;
    height: 836px;
    background-color: #D6EBFF;
    position: relative;
    overflow:hidden ;
}

#sandbottom{
    position: absolute;
    bottom: -63px;
    left: 0;
    z-index: 0;
    transform: translateY(100%); 
  opacity: 1;
  transition: transform 0.6s ease 500ms;
}

.page1{
    position: relative;
}

#sandtop{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9;
     transform: translateY(100%); 
  opacity: 1;
  transition: transform 0.6s ease;
}

#sun{
    position: absolute;
       top: 11px;
    left: 31px;
     transform: translateY(261%); 
  opacity: 1;
  transition: transform 0.6s ease 1.2s;
}

#house{
    position: absolute;
   top: 145px;
    right: 14px;
    transform: translateY(135%); 
  opacity: 1;
  transition: transform 0.6s ease 800ms;
}

#clouds{
        position: absolute;
    top: 47px;
    right: 24px;
    transform: translateX(107%); 
  opacity: 1;
  transition: transform 0.6s ease 1.4s;
}

#girl{
    position: absolute;
    top: 276px;
    right: 620px;
    transform: translateY(220%); 
  opacity: 1;
  transition: transform 0.6s ease 1.4s;
}

#page1:hover #sandtop{
    transform: translateY(0);
}

#page1:hover #sandbottom{
    transform: translateY(-3%);
}
#page1:hover #house{
     transform: translateY(4%);
}

#page1:hover #sun{
     transform: translateY(0%);
}

#page1:hover #clouds{
     transform: translateX(0%);
}
#page1:hover .caption{
     transform: translateX(0%);
}
#page2:hover .caption{
     transform: translateX(0%);
}
#page3:hover .caption{
     transform: translateX(0%);
}
 #page1:hover #girl{
     transform: translateX(-3%);
}

.caption{
   display: flex;
width: 547px;
height: 136.026px;
padding: 33.504px 57px;
justify-content: center;
align-items: center;
gap: 6.701px;
    position: absolute;
    bottom: 40px;
    left: 50px;
    z-index: 999;
     transform: translateX(-107%); 
  opacity: 1;
  transition: transform 0.6s ease 1.4s;
background-image: url(img/Group\ 6.png);
}

.caption p{
    color: var(--grey, #626262);
text-align: center;
font-family: Montserrat;
font-size: 17.86px;
font-style: normal;
font-weight: 600;
line-height: normal;
}

#page2 , #page3{
    position: relative;
    background-color: #314558;
    
    
}

.sand2{
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(105%);
    transition: all 600ms ease;
}
.moon{
    position: absolute;
    top: 0;
    left: 11px;
    opacity: 0;
    transform: translateY(221%);
    transition: all 600ms ease 300ms;
}
.girl2{
    position: absolute;
    top: 138px;
    right: 235px;
     transform: translateX(191%);
    transition: all 2s ease 500ms;
}

.fly{
     position: absolute;
    top: 0;
    left: 450px;
    transform: translateY(0%); /* start below screen/section */
    opacity: 0;  
}
.secondscene , .thirdscene{
    overflow: hidden;
    height: 683px;
    width: 1280px;
    position: relative;
}

.blurhouse{
    position: absolute;
    top: 300px;
    right: 0px;
    transform: translateX(100%);
    transition: all 400ms ease 1s;
}

#page2:hover .blurhouse{
    transform: translateX(0px);
}
#page2:hover .sand2{
    transform: translateY(20%);
}

#page2:hover .moon{
    transform: translateY(10%);
    opacity: 1;
}
#page3:hover .moon{
    transform: translateY(10%);
    opacity: 1;
}
#page2:hover .girl2{
     transform: translateX(-30%);
}
#page2:hover .fly{
    animation: fly 700ms ease 2s forwards;
}
@keyframes fly {
    0% {
        transform: translateY(0) rotateZ(0deg);
        opacity: 0;
    }
    50% {
        transform: translateY(50%) rotateZ(30deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100%) rotateZ(30deg);
        opacity: 1;
    }
}

.sand3{
    position: absolute;
    bottom: -15px;
    left: 0;
    transform: translateY(114px);
    transition: all 400ms ease;
}

.girl3{
    position: absolute;
    top: 135px;
    left: 339px;
    transform: translateX(153%);
    transition: all 1s ease 200ms;
}

#page3:hover .sand3{
    transform: translateY(0);
}

#page3:hover .girl3{
    transform: translateX(0%);
}