*{
    margin: 0;
    padding: 0 ;
    box-sizing: border-box;
    text-transform: capitalize;
}
html,body{
    line-height: 1.5;
    font-weight: 400;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: capitalize;
}


body,html{
    overflow-x: hidden;
}



/* nav bar */
nav{
    position: sticky;
    top: 0px;
    z-index: 50;
}
.logo{
    width: 50px;
    height: 50px;
    margin: 20px 10px 30px 0px;
}
.topbar{
    display: flex;
    justify-content: space-between;
    box-shadow: 5px 5px 5px rgb(1, 1, 1, 0.05);
    margin-top: 20px;
    background-color: white;
    padding: 0;
}
.img-container{
    padding-left: 70px;
}
/* hero-section */
.parent{
    display: flex;
    gap: 50px;
}
.tag{
    background-color:#149f39;
    color: white; 
    width: 190px;
    height: 35px;
    margin-top:70px;
    margin-bottom: 20px;
    text-align: center;
    justify-content: center ;
    align-content: center;
}
.hero-section{
    margin-top: 50px;
}
.hero-section h2{
    font-size: 79px;
    font-weight: 400;
    line-height: 1.1;
    margin-top: 20px;
}
.hero-section p{
    font-size: 15px;
    font-weight: 100;
    margin-top: 20px;
}
button{
    margin-top: 20px;
    background-color: #ffc066;
    border: none;
    padding: 10px 20px;
}
.image-container{
    margin: 40px 70px;
}
/* one, content */
 .two{
    display:flex;
    margin-top: 100px;
    justify-content: center;
    margin-bottom: 50px;
}
 .con-1{
    display: flex;
    gap: 20px;
    padding: 20px; 
    padding-left: 80px;
}
 /* divider */
 .divider{
    border: 1px solid #ccc;
    margin: 60px;
}
 /* our menu  */
.tag2{
    background-color: #149f39;
    padding: 8px 14px;
    color: white;
} 
.menu{
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 50px 0;
    align-items: center;
}
/* grid */
.grid{
    margin: 0px -60px;
    transition: 0.4  ease-in-out;
    display: grid;
    gap: 20px;
    grid-template-areas:
    "I1 I1 I2 I3"
    "I1 I1 I2 I7"
    "I4 I5 I6 I7";
}
.grid-image{
    width :100%;
    height: 100%;
}
.item1{
    grid-area: I1;
}
.item2{
    grid-area: I2;
}
.item3{
    grid-area: I3;
}
.item4{
    grid-area: I4;
}
.item5{
    grid-area: I5;
}
.item6{
    grid-area: I6;
}
.item7{
    grid-area: I7;
}
.grid img{
    border-radius: 10px;
    transition: 0.2s ease-in-out;
}
.grid img:hover{
    transform: scale(1.05);
    transition: 0.2s  ease-in-out;
}
/* footer */
footer{
    background-color:  #fff0db;    
}
.company{
    padding: 0 60px;
    display: flex;
    padding:0 50px;
    justify-content: space-between;
    padding: 30px;
}
.link ul{
    list-style-type:none;
}
.link h2{
    margin-bottom: 10px;
    color: gray;
}
.icons img{
    width: 55px;
    height: 50px;
}
.email{
    color: grey;
}
.icons{
    display: flex;
}
.padding{
    padding:0px 500px ;
}
.email input{
    padding: 5px 8px;
}



@media (max-width: 786px) {
    .parent {
      flex-direction: column;
    }
  
    .image-container {
      display: flex;
      justify-content: center;
    }
    .hero_image img {
      width: 80%;
    }
    .hero-section {
      gap: 10px;
  
      padding: 0 20px;
    }
    .hero-section h2{
      font-size: 32px;
    }
    .two {
      flex-direction: column;
    }
    .con-1 {
      flex-direction: column;
    }
    .company {
      flex-direction: column;
    }
}


@media (max-width:1113px){
    .parent{
        text-align: center;
        flex-direction: column;
    }
}



@media (max-width:1009px){
    .hero-section>h2{
        font-size: 70px;        
    }
}

@media (max-width:874px){
    .hero-section>h2{
        font-size: 60px;        
    }
}



@media (max-width:773px){
    .hero-section>h2{
        font-size: 50px;        
    }
}



@media (max-width:666px){
    .image-container img{
        width: 400px;
    }
    .hero-section{
        margin-top: -50px;
    }
    .hero-section>h2{
        font-size: 40px;
    }
}



@media (max-width:527px){
    .image-container img{
        width: 300px;
    }
    .hero-section{
        margin-top: -50px;
    }
    .hero-section>h2{
        font-size: 30px;
    }
}


@media (max-width:1145px){
    .two{
        text-align: center;
        flex-direction: column;
    }
    .con-1{
        flex-direction: column;
    }
    .con-1 img{
        margin-left: 430px;
        width: 150px;
    }
}



@media (max-width:1082px){
    .con-1 img{
        margin-left: 400px;
        width: 150px;
    }
}


@media (max-width:1038px){
    .con-1 img{
        margin-left: 380px;
        width: 150px;
    }
}



@media (max-width:1000px){
    .con-1 img{
        margin-left: 350px;
        width: 150px;
    }
}


@media (max-width:972px){
    .con-1 img{
        margin-left: 340px;
        width: 150px;
    }
}



@media (max-width:886px){
    .con-1 img{
        margin-left: 310px;
        width: 150px;
    }
}




@media (max-width:837px){
    .con-1 img{
        margin-left: 290px;
        width: 150px;
    }
}



@media (max-width:795px){
    .con-1 img{
        margin-left: 260px;
        width: 150px;
    }
}


@media (max-width:777px){
    .con-1 img{
        margin-left: 250px;
        width: 150px;
    }
}



@media (max-width:738px){
    .con-1 img{
        margin-left: 220px;
        width: 150px;
    }
}


body{
    overflow-x: hidden;
}

@media (max-width:709px){
    .con-1 img{
        margin-left: 210px;
        width: 150px;
    }
}



@media (max-width:681px){
    .con-1 img{
        margin-left: 200px;
        width: 150px;
    }
}


@media (max-width:674px){
    .con-1 img{
        margin-left: 190px;
        width: 150px;
    }
}


@media (max-width:645px){
    .con-1 img{
        margin-left: 150px;
        width: 150px;
    }
}


@media (max-width:541px){
    .con-1 img{
        margin-left: 120px;
        width: 150px;
    }
}



@media (max-width:496px){
    .con-1 img{
        margin-left: 100px;
        width: 150px;
    }
}




@media (max-width:450px){
    .con-1 img{
        margin-left: 90px;
        width: 150px;
    }
}



@media (max-width:1242px){
    .menu{
        padding: 0px 90px;
    }
}
footer{
    
    text-align: center;
}
footer>.link,.email{
    margin-top: 30px;
}
.follow{
    margin-top: 30px;
}
.icons{
    justify-content: center;
}



@media (max-width:377px){
    .con-1 img{
        margin-left: 10px;
        width: 150px;
    }

    .con-text{
        margin-left: -50px;
    }
}




@media (max-width:475px){
    .img-container>img{
        margin-left: -50px;
    }
}
