*{
    padding: 0;
    margin: 0;
    text-transform: capitalize;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header{
    background-image: url(img/main.png);
    background-position: center;
    background-size: cover;
    padding:50px 100px; 
}



body,html{
    overflow-x: hidden;
}





nav{
    display: flex;
    justify-content: space-between;
}
.logo>img{
    position: relative;
    top: -10px;
}
.list>ul{
    display: flex;
    list-style-type: none;
}
.list>ul>li{
    color: #949292cc;
    margin-right: 40px;
}
.main{
    line-height: 1.2;
    color: white;
    align-content: center;
    text-align: center;
}
.main>h2{
    font-size: 30px;
}
.main>h1{
    font-size: 50px;
}
.main>p{
    margin-top: 30px;
}
.get{
    margin-top: 20px;
    background-color: #ffff36;
    border: 1px solid #ffff36;
    padding: 7px 10px;
    border-radius: 10px;
}






/* get hover */
.get:hover{
    transition: 0.5s;
    border: 3px solid #ffff36;
    background-color: transparent;
}




/* services */
.service>h1{
    text-align: center;
    margin-bottom: 10px;
}
.service{
    color: #575757;
    padding: 20px 120px;
}
.ser{
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
}
.ser-1>h3,.ser-1>{
    margin-left: 30px;
}
.ser-1{
    margin-bottom: 30px;
}
.ser-1>img{
    margin-left: 30px;
    margin-bottom: 10px;
    width: 320px;
    height: 400px;
    transition: 0.2s ease-in-out;
}

.ser-1:hover img{
    transition: 0.2s ease-in-out;
    transform: scale(1.05);
    width: 320px;
    height: 400px;
}

.ser-1>p{
    width: 310px;
}







/* original place */
.ori{
    line-height: 2;
    color: #575757;
    padding: 60px 120px;
    background-color: #e6e4e4;
    text-align: center;
}


/* about */
.about{
    gap: 40px;
    padding: 20px 120px;
    display: flex;
}
.left{
    align-content: center;
}
.left h4,h5{
    color: #575757;
}
.left p{
    color: #aaa;
}
.right img{
    height: 400px;
}



/* question */
.question{
    line-height: 2;
    align-content: center;
    text-align: center;
    background-image: url(img/main-2.png);
    height: 70vh;
    background-position: center;
    background-size: cover;
    padding:0px 120px;
}
.question>h2{
    color: green;
}



/* footer */
footer ul{
    gap: 20px;
    display: flex;
}
ul{
    list-style-type: none;
}
footer{
    align-content: center;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
}

.li>ul li,.link{
    margin-top: 20px;
}





@media (max-width:697px){
    .logo>img{
        right: 40px;
    }
}




.checkbtn{
    color: #fff;
    position: absolute;
    top: 45px;
    right: 50px;
    display: none;
}

.checkbtn>i{
    font-size: 25px;
}
#check{
    display: none;
}
.logo-1{
    display: none;
}
@media (max-width:890px){
    .checkbtn{
        display: block;
    }
    .list ul{
        display: block;
        z-index: 100;
        position: fixed;
        width: 50%;
        background-color:#575757;
        top: 100px;
        
        left: -100%;
        text-align: center;
        transition: all .7s;
    }
    .list ul li{
        color: #fff;
    }
    .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:611px){
    footer{
        text-align: center;
        gap: 40px;
        flex-wrap:wrap ;
    }
}

@media (max-width:990px){
    .about{
        text-align: center;
        flex-direction: column-reverse;
    }
}



@media (max-width:503px){
    .about{
        text-align: center;
        flex-direction: column-reverse;
    }
    .right img{
        margin-left:-50px;
    }
    .about{
        padding: 20px s;
    }
}








@media (max-width:418px){


    .logo>img{
        width: 50px;
        margin-left: -30px;
    }
  header {
    
    text-align: center;
  }

  .main>p{
    max-width: 600px;
  }

  .main h1 {
    font-size: 32px; /* smaller for mobile */
  }

  .main h2 {
    font-size: 22px;
  }

  .service {
    padding: 20px; /* full-width feel */
  }

  .ser-1 img {
    width: calc(100% - 20px); /* 20px margin from screen */
    height: auto;
    margin: 0 auto 10px auto;
    display: block;
  }
  .ser-1 p {
    width: 100%;
  }

  .ori {
    padding: 40px 20px; 
  }

  .about {
    padding: 20px;
    flex-direction: column-reverse;
    text-align: center;
  }
  .about .right img {
    width: calc(100% - 20px); /* full width minus 20px */
    height: auto;
    margin: 0 auto;
  }

  .question {
    padding: 20px;
    height: auto; /* let content decide */
  }

  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  footer img {
    max-width: 150px;
    margin: 0 auto;
  }

  /* Buttons full width look */
  .get {
    width: calc(100% - 20px);
    margin: 15px auto;
    display: block;
  }
}







@media (max-width:336px){

  header {
    padding: 20px 15px; 
  }

  .main h1 {
    font-size: 26px; /* even smaller */
  }

  .logo>img{
    margin-top: 20px;
    margin-left: 50px;
  }
  .main h2 {
    font-size: 18px;
  }

  .service {
    padding: 15px;
  }

  .ser-1 img {
    width: calc(100% - 20px); /* still 10px margin on both sides */
    margin: 0 auto 8px auto;
  }

  .ori {
    padding: 30px 15px;
  }

  .about {
    padding: 15px;
    text-align: center;
  }
  .about .right img {
    width: calc(100% - 20px);
    margin: 0 auto;
  }

  .question {
    padding: 15px;
  }

  footer {
    gap: 15px;
    padding: 15px;
  }
  footer img {
    max-width: 120px;
  }

  .get {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}