*{
    padding: 0;
    margin: 0;
    text-transform: capitalize;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header{
    padding: 20px 100px;
    height: 100vh;
    background-image: linear-gradient(rgba(52, 97, 134, 0.5),rgba(52, 97, 134, 0.5)), url(image/bg-1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.logo{
    font-size: 25px;
    font-weight: 500;
    color: #fff;
}
nav{
    display: flex;
    justify-content: space-between;
}
ul{
    font-size: 20px;
    color: #fff;
    display: flex;
    list-style-type: none;
    gap: 30px;
}
.list ul li{
    text-transform: uppercase;
}
.list>ul>li:hover{
    transition: 0.5s;
    color: #669ccb;
}
.left{
    margin-top: 70px;
    color: #fff;
}
.left h1{
    font-size: 80px;
    font-weight: 500;
}
.left p{
    text-align: start;
    color: #fff;
    font-weight: 500;
    width: 400px;
}
.left>button{
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 10px;
    background-color: #669ccb;
    border: 2px solid #669ccb;
    color: #fff;
}
.left>button:hover{
    transition: 0.5s;
    background-color: transparent;
    color: #669ccb;
}
.left>h1,p,button{
    margin-bottom: 20px;
}
.main-section{
    background-color: #e8f1fa;
    padding: 60px 100px;
}
.flex{
    gap: 30px;
    display: flex;
    flex-wrap: wrap;
}
.main-section>h1{
    text-align: center;
    color: #669ccb;
}
.main-section>h5{
    color: #669ccb;
    text-align: center;
    font-style:italic ;
    padding: 20px 0px;
}
.img-1 img{
    width: 360px;
    height: 360px;
}
.img-1>h4{
    background-color: #fff;
    padding: 20px 10px;
    margin-top: -4px;
    color: #a8a1a1;
}




/* second-section */
.second-section{
    color: #fff;
    background-image: linear-gradient(rgba(42, 89, 95, 0.5),rgba(40, 129, 125, 0.5)),url(image/bg-2.jpg);
    height: 70vh;
    background-position: center;
    background-size: cover;
}
.add{
    font-weight: 700;
    border-radius:10px ;
    padding: 10px 26px;
    border: 2px solid #669ccb;
    color: #fff;
    background-color: transparent;
}
.add:hover{
    transition: 0.5s;
    color: #fff;
    background-color: #669ccb;
}
.right{
    position: relative;
    top: 70px;
    padding: 20px 100px;
    text-align: end;
}
.right>h1,p,button{
    margin-bottom: 20px;
}
.right p{
    color: #fff;
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    right: -350px;
    width: 800px;
}


/* grid-section */



.third-section{
    padding: 10px 100px;
    background-color: #e8f1fa;
}
.third-section>h1,.third-section>p{
    text-align: center;
    color: #669ccb;
    margin-top: 20px;
}




@media (max-width:452px){
    .third-section>h1{
        font-size: 30px;
    }
}




.third-section>p{
    padding-bottom:50px ;
    font-style: italic;
    margin-bottom: 20px;
}

.grid-item img{
    width: 320px;
    height: 320px;
}



.grid{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

 



/* fooer */
footer{
    line-height: 2;
    color: #fff;
    background-color: #282d31;
    padding: 150px 0px;
    text-align: center;
}
.icons{
    margin: 30px 0px;
    justify-content: center;
    display: flex;
    gap: 30px;
}
.travel{
    font-style: italic;
}
.icons i:hover{
    color:#669ccb;
}





.checkbtn{
    position: absolute;
    top: 28px;
    right: 50px;
    display: none;
    color: #fff;
    font-size: 20px;
}
#check{
    display: none;
}
.logo-1{
    display: none;
}
@media (max-width:890px){
    .checkbtn{
        display: block;
    }
    ul{
        display: block; 
        z-index: 100;
        position: fixed;
        width: 40%;
        background-color: #1a69aa;
        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:551px){
    .left>p{
        width: 400px;
    }
    .left,.logo{
        margin-left: -30px;
    }
}



@media (max-width:531px){
    .left>p{
        width: 350px;
    }
}


@media (max-width:456px){
    .left{
        margin-left: -50px;
    }
}


.flex{
    justify-content: center;
}
@media (max-width:1273px){
    .grid-1 img,.grid-11 img,.grid-2,.grid-5{
        width: 350px;
    }
}



@media (max-width:1200px){
    .grid-1 img,.grid-11 img,.grid-2,.grid-5{
        width: 300px;
        margin-right: -70px;
    }
}


@media (max-width:1069px){
    .grid-1 img,.grid-11 img,.grid-2,.grid-5{
        width: 300px;
        margin-right: -70px;
    }
}

.right>p{
    position: absolute;
    right: 40px;
}
.right>button{
    margin-top: 190px;
}
@media (max-width:1276px){
    .right>p{

        width: 500px;
    }
}

.right>p{
    text-align: end;
}
@media (max-width:586px){
    .right>p{
        margin-top: -10px;
        width: 300px;
    }
}

.right>h1,button{
    margin-right: -65px;
}


@media (max-width:529px){
    .right>h1{
        font-size: 30px;
    }
}




@media (max-width:501px){
    .main-section>h1{
        font-size: 26px;
    }
}




@media (max-width:639px){

  /* Header adjustments */
  header {
    padding: 20px 20px;
    height: auto; /* avoid fixed 100vh squeeze on small screens */
    text-align: center;
  }

  nav {
    padding: 20px 40px;
    /* flex-direction: column; */
    align-items: center;
    gap: 15px;
  }

  .logo {
    font-size: 22px;
  }

  /* Left section (hero) */
  .left {
    margin-top: 40px;
    margin-left: 0;
    text-align: center;
  }

  .left h1 {
    font-size: 40px;
  }

  .left p {
    width: calc(100% - 40px); /* auto shrink */
    margin: 0 auto 20px auto;
    font-size: 15px;
  }

  .left>button {
    padding: 12px 24px;
    font-size: 15px;
  }

  /* Main section */
  .main-section {
    padding: 40px 20px;
  }
  .main-section>h1 {
    font-size: 28px;
  }
  .main-section>h5 {
    font-size: 15px;
  }

  .img-1 img {
    width: calc(100% - 40px);
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .img-1>h4 {
    font-size: 14px;
    text-align: center;
  }

  /* Second section */
  .second-section {
    height: auto;
    padding: 40px 20px;
    text-align: center;
  }

  .right {
    position: static;
    padding: 20px;
    text-align: center;
  }

  .right h1 {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .right p {
    width: 100%;
    position: static;
    margin: 0 auto 20px auto;
    font-size: 14px;
    text-align: center;
  }

  .right button {
    margin-top: 10px;
  }

  /* Third section */
  .third-section {
    padding: 30px 20px;
  }
  .third-section>h1 {
    font-size: 26px;
  }
  .third-section>p {
    font-size: 14px;
  }
  .grid-item img {
    width: calc(100% - 40px);
    height: auto;
    margin: 0 auto;
    display: block;
  }

  /* Footer */
  footer {
    padding: 60px 20px;
    font-size: 14px;
  }

  .icons {
    gap: 20px;
  }

  .icons i {
    font-size: 18px;
  }

  .travel {
    font-size: 14px;
    margin-top: 20px;
  }
}