*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    
}
.main{
    background-color: rgb(218,218,218);
    padding-bottom: 50px;
}

.menu h1 {
    flex: 1;
    font-size: 30px;
    margin-right: 20px;
}
nav{
    display: flex;
    justify-content: space-between;
    padding: 20px;
}
.header img{
    width: 350px;
}
.menu{
    flex: 1;
    text-align: right;
    margin-top: 50px;
    display: flex;
}
.menu a{
    text-decoration: none;
    font-size: 20px;
    margin: 10px;
    color:black;
}
.menu a:hover {
    color: rgb(19,164,60);
    transition: 0.3s;
}

@media (max-width: 700px){
    nav{
        padding-left: 10px;
    }
    .header img{
        width: 150px;}
    .menu a{
        font-size: 10px;
        margin: 5px;
    }
    .menu{
        margin-top: 15.5px;
    }
    .header{
        height:8vh;
    }
}

@media (700px < width < 1000px){
    nav{
        padding-left: 10px;
    }
    .header img{
        width: 180px;}
    .menu a{
        font-size: 8px;
        margin: 5px;
    }
    .menu{
        margin-top: 15.5px;
    }
    .header{
        height:8vh;
    }
}

/* wechat hover */


.icon li img{
    visibility: hidden;
    width: 120px;
    position: absolute;
    transition: 0.3s ease-in-out;
    transform: scale(0);
}
.icon li:hover img{
    visibility: visible;
    width: 120px;
    transform: scale(1);
}

.icon li{
    display: inline-block;
}


/* page */

.page {
    text-align: center;
    margin: 40px;
    font-size: 25px;
}

@media (max-width: 700px){
    .page{
        font-size: 20px;
        margin-bottom: 5px;
        
    }
}




/* Who We Are */

.who{
    width: 98%;
    display: flex;
    align-items: top;
    text-align: center;
    margin: auto;
    overflow: hidden;
    
    
}
.who h1{
    font-size: 36px;
    font-weight: 600;
    margin-left: 2%;
    padding-left: 3%;
    margin-bottom: 50px;
    text-align: left;
    background-image: linear-gradient(rgba(148, 148, 148, 0.7),rgba(148,148,148,0.1));
}
.who h4{
    color: #777;
    font-size: 15px;
    font-weight: 300;
    line-height: 22px;
    padding: 5px 0px;
    margin: 5px 5%;
    text-align: left;
    
}
.who img{
    width: 100%;
}

@media (max-width: 700px){
    .who{
        flex-direction: column;
    }
    .who h1{
        font-size: 25px;
        margin-top: 20px;
        margin-bottom: 25px;
    }
    
        
    
}

.who-col{
    flex-basis: 50%;
}






/* Values */

p.green::first-letter {
    font-size: 200%;
    color: Green;
  }

.values{
    width: 98%;
    display: flex;
    align-items: top;
    text-align: center;
    margin: auto;
    overflow: hidden;
    justify-content: space-between;
    margin-top: 50px;
    margin-bottom: 50px;
}


.values h1{
    width: 208%;
    font-size: 36px;
    font-weight: 600;
    margin-left: 2%;
    padding-left: 3%;
    margin-bottom: 50px;
    text-align: left;
    background-image: linear-gradient(rgba(148, 148, 148, 0.7),rgba(148,148,148,0.1));
    
}
.values p{
    width: 150%;
    color: #777;
    font-size: 15px;
    font-weight: 300;
    line-height: 22px;
    padding: 5px 0px;
    margin: 5px 30px;
    text-align: left;
    
}
.values img{
    width: 100%;
    margin-left: 20px;
}

.values-col{
    flex-basis: 50%;
}


@media (max-width: 700px){
    .values{
        flex-direction: column;
    }
    .values img{
        margin-left: 0;
    }
    .values h1{
        font-size: 25px;
        margin-bottom: 25px;
    }
}




/* course (Main Services) */ 

.course{
    width: 100%;
    
    text-align: center;
    margin: 100px 0;
    
}
.course h1{
    font-size: 36px;
    padding-bottom: 20px;
    
    
}

@media (max-width: 700px){
    .course h1{
        font-size: 24px;
    }

    .course {
        margin-top: 300px;
    }
}

p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    
}

.row{
    padding-top: 20px;
    margin: 0 10px;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.course-col img{
    width: 100%;
    
}
.course-col{
    flex-basis: 49%;
    
    border-radius: 10px;
    
    
    box-sizing: border-box;
    transition: 0.5s;
    
    
}
.course-col h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 30px 0px rgba(19,164,60,0.2);
    
    transform: translateY(-10px);
}
@media(max-width: 700px){
    .row{
        flex-direction: column;
        margin-top: 10px;
    }
}

.hero-btn1{
    display: inline-block;
    text-decoration: none;
    color:#000000;
    border:0px solid #000000;
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    position: relative;
    cursor: pointer;    
    border-radius: 10px;
}

.hero-btn1:hover{
    border: 1px solid rgba(19,164,60,0.2);
    background: rgba(19,164,60,0.2);
    transition: 0.3s;
}


/* Click me (inside Main Services)*/

.course a {
    text-decoration: none;
    color: inherit;

  }

.cta {
    position: relative;
    margin: auto;
    padding: 19px 22px;
    transition: all 0.2s ease;
  }
  .cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 28px;
    background: rgba(19, 164, 60, 0.5);
    width: 56px;
    height: 56px;
    transition: all 0.3s ease;
  }
  .cta span {
    position: relative;
    font-size: 12px;
    line-height: 18px;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    vertical-align: middle;
    
    text-decoration: none;
  }
  .cta svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #111;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
  }
  .cta:hover:before {
    width: 100%;
    background: rgba(19,164,60,0.8);
  }
  .cta:hover svg {
    transform: translateX(0);
  }
  .cta:active {
    transform: scale(0.96);
  }




/* footer */

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background-image: linear-gradient(rgba(218,218,218,0.7),rgba(218,218,218,0.1));
    
}

.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
}

.footer h2{
    margin-bottom: 25px;
    margin-top: 20px;
}
.icon .fa{
    color: rgb(19,164,60);
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
    font-size: 28px;
}
.fa-heart-o{
    color: #f44336;
}

.icon{
    margin-top:50px;
}
.footer p{
    line-height: 5px;
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

@media(max-width: 700px){
    .footer p{
        font-size: 10px;
    }
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color:#000000;
    border:1px solid #000000;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;    
    border-radius: 10px;
}

.hero-btn:hover{
    border: 1px solid rgba(19,164,60,0.2);
    background: rgba(19,164,60,0.2);
    transition: 0.3s;
}