*{
    padding: 0;
    margin: 0;
    text-transform: capitalize;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
    overflow-x: hidden;
}


body,html{
    overflow-x: hidden;
}



header{
    background-image: url(image/background.png);
    background-position: center;
    background-size: cover;
    height: 100vh;
}
nav{
    display: flex;
    justify-content: space-between;
    padding: 10px 50px;
}
.logo>img{
    width: 60px;
}
.list>ul{
    position: relative;
    top: 20px;
    color: #fff;
    display: flex;
    gap: 20px;
    list-style-type: none;
}


/* left-right */
.left-right{
    gap: 80px;
    padding: 50px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.left{
    line-height: 1.3;
    width: 50%;
    color: #fff;
}
.left>h1{
    font-size: 90px;
}
.one{
    width: 200px;
    height: 230px;
    background-position: center;
    background-size: cover;
    color: #fff;
    background-image: linear-gradient(rgba(00,0,0,0.4),rgba(0,0,0,0.4)), url(image/pic-1.png);
    border-radius:20px;
    padding: 20px;
}


.two{
    width: 200px;
    height: 230px;
    background-position: center;
    background-size: cover;
    color: #fff;
    background-image: linear-gradient(rgba(00,0,0,0.4),rgba(0,0,0,0.4)), url(image/pic-2.png);
    border-radius:20px;
    padding: 20px;
}


.three{
    width: 200px;
    height: 230px;
    background-position: center;
    background-size: cover;
    color: #fff;
    background-image: linear-gradient(rgba(00,0,0,0.4),rgba(0,0,0,0.4)), url(image/pic-3.png);
    border-radius:20px;
    padding: 20px;
}

.four{
    width: 200px;
    height: 230px;
    background-position: center;
    background-size: cover;
    color: #fff;
    background-image: linear-gradient(rgba(00,0,0,0.4),rgba(0,0,0,0.4)), url(image/pic-4.png);
    border-radius:20px;
    padding: 20px;
}


button{
    margin-top: 40px;
    background-color: #fff;
    border: none;
    padding: 10px 60px;
    border-radius: 40px;
}

.right{
    justify-content:center;
    margin-top: -30px;
    flex-wrap: wrap;
    gap: 30px;
    width: 50%;
    display: flex;

}
.on1>p{
    color: #ccc;
    font-size: 10px;
}









@media (max-width:1058px){
    .right>img{
       width: 150px;
    }
    .left-right{
        flex-direction: column;
    }
    .left,.right{
        width: 100%;
    }
    header{
        height: 120vh;
    }
}





.on1:hover{
    transition: 0.5s;
    transform: translate(0px,-20px);
}










@media (max-width:1005px){
    header{
        height: 180vh;
    }
}






@media (max-width:535px){
    header{
        height: 260vh;
    }
}






.checkbtn{
    color: #fff;
    position: absolute;
    top: 40px;
    right: 50px;
    display: none;
}
#check{
    display: none;
}
.logo-1{
    display: none;
}
@media (max-width:1188px){
    .checkbtn{
        display: block;
    }
    .list ul{
        flex-direction: column;
        display: block;
        z-index: 100;
        position: fixed;
        width: 40%;
        background-color: #ffa343;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .7s;
    }
    .sub{
        text-align: center;
        width: 90%;
    }
    .list ul li:hover{
        width: 90%;
    }
    .list{
        height: 50px;
    }
    .list ul li{
        display: block;
        margin: 10px 0;
        line-height: 30px;
    }
    #check:checked~ul{
        left: 0;
    }
    label .logo-1{
        font-size: 22px;
    }
}


@media (max-width: 782px) {
    .right {
        justify-content: center;
        gap: 20px;
    }
    .right .on1 {
        width: calc(100% - 40px); /* 20px gap from both sides */
        max-width: 480px;
    }
    header {
        height: auto; /* expand naturally */
        padding-bottom: 40px;
    }
}

/* 435px */
@media (max-width: 435px) {
    .left>h1 {
        font-size: 60px; /* shrink title */
    }
    .right .on1 {
        width: calc(100% - 40px);
    }
    .left-right {
        padding: 20px;
    }
}

/* 336px */
@media (max-width: 336px) {
    .left>h1 {
        font-size: 45px;
    }
    .left>p {
        font-size: 14px;
    }
    .right {
        gap: 15px;
    }
    .right .on1 {
        width: calc(100% - 30px); /* keep small side gap */
    }
    button {
        padding: 8px 40px;
    }
}