
/*---------------Basic setup---------------*/

* { margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }


html {
    background-color: #fff;
    color: black;
    font-size: 20px;
    font-family: 'Sahel', sans-serif;
    text-align: right;
    text-rendering: optimizeLegibility;  
}

html,body {
        overflow-x: hidden;
    }

/*-------------reusable component----------*/

.row {
    max-width: 1140px;
    margin: 0 auto 0 auto;
}

/*-----------------Headings----------------*/

h1,h2 { 
    
    margin: 0;
    font-weight: 300;   
}

h1 {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 240%;
}

h2 {
    margin-bottom: 30px;
    font-size: 180%;
    text-align: center;
}

h4 {
    text-align: center;
    margin-bottom: 10px;}

h5,h6 {
    font-weight: 400;
    text-align: center;
    margin-top: 1%;
}


/*-----Buttons-----*/

.btn:link,
.btn:visited
{
    display: inline-block;
    padding: 15px 30px;
    font-weight: 300;
    text-decoration: none;
    color: black;
    border-radius: 20px;
    border: 1px solid black;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
}
.btn-full:link,
.btn-full:visited {
    background-color: rgba(255, 255, 162, 0.5);
    border: 1px solid rgba(255, 255, 162, 0.5);
}

.btn:hover {
    background-color: rgba(255, 255, 162, 0.5);
    border: 1px solid black;
}

.btn:active {
    background-color: rgba(255, 255, 162, 1);
}

.btn-full {
    margin-right: 15px;
}

.btn-book {
    width: 22%;
    margin-left: 39%;
    margin-right: 39%;
    margin-top: 5%;
    margin-bottom: 0%;
    text-align: center;
}


/*-------------------header----------------*/

header {
    background-image:radial-gradient(rgba(256, 256,66,1),rgba(255,255,66,0)),url(resources/img/origin.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.hero-text-box {
    position: absolute;
    width: 1140px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    text-align: center;
}

.logo {
    width: 313px;
    border-radius: 150px;
    opacity: 0.5;
}
  

/*------main navi------*/

.main-nav {
    float: right;
    margin-top: 30px;
}

.main-nav li {
    display: inline;
    margin-left: 60px;
}


.main-nav li a:link,
.main-nav li a:visited {
    padding: 8px 0;
    color: black;
    text-decoration: none;
    font-size: 90%;
    word-spacing: 3px;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active{
    border-bottom: 2px solid;
}



/*---mobile navi---*/

.mobile-nav-icon {
    float: right;
    margin-top: 30px;
    cursor: pointer;
    display: none;
}

.mobile-nav-icon i {
    font-size: 200%;
}

/*------sticky navi------*/

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-image:-webkit-gradient(linear,left top, left bottom,from(rgb(252, 252, 252)),to(rgb(255, 255, 177)));
    background-image:linear-gradient(rgb(252, 252, 252),rgb(255, 255, 177));
    -webkit-box-shadow: 0px 20px 100px rgb(255, 255, 241);
    box-shadow: 0px 20px 100px rgb(255, 255, 241);  
    z-index: 9999;
}

.sticky .main-nav {
    margin-top: 18px;
    margin-bottom: 16px;
}

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
    padding: 10px 0;
    color: #555;
}


/*-----------section-intro----------------*/



section {
    padding: 80px 0;
    background-color: rgb(255, 255, 255);
}

.section-intro {
    background-color: rgb(255, 255, 255);
}

.section-intro p {
    margin-bottom: 5%;
}

.vid {

    border-radius: 20px;
    margin-top: 2%;
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;

}

.vid1 {

    border-radius: 20px;
    margin-top: 5%;
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;

}

h2:after {
    display: block;
    height: 1px;
    background-color: black;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

h5 a {
    color: #006bad;
    text-decoration:none;
}

/*----paragraph----*/



.persianumber{
    font-family: 'Parastoo FD', sans-serif;
    line-height: 200%; 
    direction: rtl;
    text-align: justify;
}

.refer {
    text-decoration: none;
    font-size: 90%;
    color: #910096;
    
}

.test {
    
    max-width: 1140px;
    margin: 0 auto 0 auto;
    text-align: center;
    margin-top: 30px;  
    margin-bottom:50px;  
}

.box {
    overflow: hidden;
    background-color: rgb(255, 255, 104);
    border-radius: 10%;
}

.box img {
    width: 100%;
    height: auto;
    padding: 5% 5% 3% 5%;
    -webkit-transform: scale(1.16);
    transform: scale(1.16);
    -webkit-transition:-webkit-transform 0.5s;
    transition:-webkit-transform 0.5s;
    transition:transform 0.5s;
    transition:transform 0.5s, -webkit-transform 0.5s;
    
}

.box img:hover{
    -webkit-transform: scale(1);
    transform: scale(1); 
}


.box2 {
    
    overflow: hidden;
    border-radius: 10%;
}

.box2 img {
    width: 100%;
    height: auto;  
}



/*----section-lessons---*/

.section-lessons {
    background-color: #f4f4f4;
}

.section-lessons .persianumber {
    margin-bottom: 30px;
}

.lessons-showcase {
    list-style: none;
    width: 100%;   
}

.lessons-showcase li {
    display: block;
    float: left;
    width: 25%;   
}

.lesson-photo {
    width: 100%;
    margin: 0;
    overflow: hidden; 
}

.lesson-photo img {
    width: 100%;
    height: auto;
    padding: 10%;
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
    
    -webkit-transition: -webkit-transform 0.5s;
    
    transition: -webkit-transform 0.5s;
    
    transition: transform 0.5s;
    
    transition: transform 0.5s, -webkit-transform 0.5s;
}

.lesson-photo img:hover {
    
    -webkit-transform: scale(1.03);
    
    transform: scale(1.03);
}

.book:link,
.book:visited
{
    display: inline-block;
    padding: 3%;
    text-decoration: none;
    color: black;
    text-align: center;
    width: 40%;
    margin-right: 30%;
    margin-top: 5%;
    border: 1px solid black;
    border-radius: 20px;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

.book:hover{
    background-color: #ffffd2;
}

.book:active {
    border: 1px solid #ffffd2;
}


/*----section-clips---*/

.section-clips h4 {
    color: red;
}

.vid2 {
    display: inline-block;
    border-radius: 20px;
    margin-top: 2%;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

/*----section-more---*/

.section-more {
    background-color: #fff7f7; 
}

.section-more p {
    margin-bottom: 5%;
}

.more-box {
    text-align: center;
    font-weight: 600;
}

.poster {
    width: 60%;
    border-radius: 10%;
}

.explanation {
    text-align: center;
    word-spacing: 120%;
    font-size: 120%;
    line-height: 150%;
    padding-top: 25%;
    padding-bottom: 30%;
}

/*-------section-opi-------*/

.opi {
    margin-bottom: 3%;
}


/*-------form-------*/

*:focus {outline: none;}

.col.span-1-of-3 {float: right;}

.contact-form .persianumber {margin-bottom: 20px;}

.contact-form {
    font-size: 90%;
    width: 60%;
    margin: 20px auto 0 auto;
    font-family: 'Sahel', sans-serif;
}

input[type=text],
input[type=email],
textarea
{
    width: 100%;
    padding: 7px;
    text-align: right;
    border-radius: 5px;
    border: 1px solid gray;
}

textarea {
    height: 100px;
}

input[type=submit]{
    width: 40%;
    margin-right: 30%;
    text-align: center;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid gray;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s; 
}

input[type=submit]:hover{
    background-color: rgba(255, 255, 162, 0.5) 
}

input[type=submit]:active{
    background-color: rgba(255, 255, 162, 1);
}



/*-----------------------help------------------------*/

.help-box {
    text-align: center;
}

.section-help  .logo {
    width: 200px;
    opacity: 1;
    max-width: 50%;
    margin-top: 5%;
    margin-right: 40%;
}

.logo-owaic {
    width: 20%;
    margin-top: 2%;
    border-radius: 200%;
    border: 5px solid white;
}

.logo-owaic:link,
.logo-owaic:visited {
    border: 5px solid white;
}

.logo-owaic:hover {
    border: 5px solid yellow;
}




/*-----------------------footer------------------------*/

footer {
    background-color: #444444;
    font-size: 70%;
    padding: 40px;
}

.footer-nav {
    list-style: none;
    float: right;
}

.social-links {
    list-style: none;
    float: left;
}

.footer-nav li,
.social-links li {
    display: inline;
    margin-right: 30px;
}


.social-links li:last-child {
    margin-right: 0;
}

footer p {
    text-align: center;
    color: #9f9f9f;
    font-size: 90%;
    word-spacing: 2px;
    
    
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link, 
.social-links li a:visited {
    text-decoration: none;
    border: 0;
    color: #9f9f9f;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active{
    color: #c9c9c9;
    
}

.social-links li a:link, 
.social-links li a:visited {
    font-size: 160%;
}


.fa-whatsapp,
.fa-twitter, 
.fa-telegram, 
.fa-instagram {
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
} 


.fa-whatsapp:hover { color: #58ed68;}
.fa-twitter:hover { color: #1da1f2;}
.fa-telegram:hover { color: #0088CC;}
.fa-instagram:hover { color: #833ab4;}








/*---------------------section-form--------------------*/

.contact-form {
    width: 60%;
    margin: 0 auto;
}

input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid gray;
}

textarea {
    height: 100px;
}

input[type=checkbox] {
    margin: 10px 5px 10px 0;
}

*:focus {outline: none;}


.form-messages {
    
    width: 50%;
    margin: 0 auto;
    text-align: center;
    border-radius: 10%;
    margin-bottom: 30px;
    color: #333;
}


.success {background-color: rgb(255, 255, 104);}
.error {background-color: #acacac;}





/*------------------------footer2-------------------------*/


.footer2 {
    padding: 40px 0 20px 0;
    background-color: #747474;
    color: #c1c1c1;
}

.footer2 h4 {
    margin-bottom: 25px;
}

h4:after {
    display: block;
    height: 1px;
    background-color: #c1c1c1;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 20px;
}

.footerlist {
    float: right;
    text-decoration: none;
    list-style: none;
    line-height: 25px;  
}
    
.ansar {
    margin-top: 15px;
    width: 250px;
    float: left;
    border-radius: 20px;
}
    
.footer2 p {
    color: #aaaaaa;
    font-size: 60%;
    text-align: center;
    margin-top: 40px;
}


/*-----------------------Animation------------------------*/


.js--wp-1,
.js--wp-2,
.js--wp-3,
.js--wp-4,
.js--wp-5,
.js--wp-6
    {
        opacity: 0;
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
    
}

.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated,
.js--wp-4.animated,
.js--wp-5.animated,
.js--wp-6.animated
    {
    opacity: 1;
}



