/* Defined font face */

@font-face {
  font-family: 'VazirMatnBold';
  src: url('/static/fonts/my_custom_fonts/vazir/fonts/ttf/Vazirmatn-Bold.ttf') format('truetype');
  font-weight: bold !important;
  font-style: normal !important;
}
@font-face {
  font-family: 'VazirMatnRegular';
  src: url('/static/fonts/my_custom_fonts/vazir/fonts/ttf/Vazirmatn-Regular.ttf') format('truetype');
  font-weight: 100 !important;
  font-style: normal !important;
}
@font-face {
  font-family: 'Vazirmatn-Thin';
  src: url('/static/fonts/my_custom_fonts/vazir/fonts/ttf/Vazirmatn-Thin.ttf') format('truetype');
  font-weight: normal !important;
  font-style: normal !important;
}
@font-face {
  font-family: 'Average-Regular';
  src: url('/static/fonts/my_custom_fonts/english/Average-Regular.ttf') format('truetype');
  font-weight: normal !important;
  font-style: normal !important;
}
/* ____________________________________________________________________________________________ */
/* general style */

#main_body{
  background-color:#1e1e1e;
}


.messages_style , .error_style {
  font-family: 'VazirMatnRegular';
  font-size: 18px;
}
.messages_head_style{
  font-family: 'VazirMatnBold';
  font-size: 22px;

}

.custom-container {
  margin-left: 48px;
  margin-right: 48px;
}


@media (max-width: 768px) {
  .custom-container {
    margin-left: 30px;
    margin-right: 30px;
  }
}

@media (max-width: 576px) {
  .custom-container {
    margin-left: 25px;
    margin-right: 25px;
  }
}


.breadcrumb li a {
  color:#2176ff;
  font-family: 'VazirMatnBold';
  font-size: 22px;
  font-weight: bold;
}
.breadcrumb li {
  font-family: 'VazirMatnBold';
  font-size: 22px;
  font-weight: bold;
}





/* End general style */
/* #__________________________________________________________________________________________________ */
/* Home and Contact and about me*/ 

@media (max-width: 768px) {
  #home_portfolio_0 , #home_portfolio_1 ,
  #home_portfolio_2 , #home_portfolio_3,
  #home_portfolio_4 {
    display: none !important;
  }

  #home_service_0 , #home_service_1 {
    display: none !important;
  }
  
  #home_courses_0 , #home_courses_1 {
    display: none !important;
  }
  
  #home_blog_1 , #home_blog_2 {
    display: none !important;
  }

}



.home_main_text {
  margin-top:80px;
  max-height: auto !important;
}

.home_main_text > h1{
    color:#fff;
    font-family: 'VazirMatnBold';
    font-size: 34px;
    font-weight: bold;
  }
  
.home_main_text > p {
    color:#fff;
    font-family: 'Vazirmatn-Thin';
    font-size: 22px;
    font-weight: 100;
} 

.social_media_home_style{
  margin-top: 32px;
}

.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  
.photo {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

  
.icon_custom{
    font-size:1.5rem;
    color:#2176ff !important;
}
.icon_custom:hover{
    font-size:2.1rem;
    color:#fff !important;
}

.container_home_title > h3{
  color: #fff;
  font-family: 'VazirMatnBold';
  font-size: 22px;
  font-weight: 600;

}

.title_cards_home_space {
  margin-bottom: 16px;
}

.section_home_space {
  margin-top: 40px;
}

.section_footer_home_space {
  margin-bottom: 40px;
}

.btn__seen_all{
    border:0.1mm solid white ;
    padding:3px 8px;
    color: white;
    border-radius: 8px;
    font-family: 'VazirMatnRegular';
    font-size: 18px;
    font-weight: 100;
    align-items: center;
}

.btn__seen_all:hover{
    border:0.1mm solid #2176ff ;
    padding:3px 8px;
    color: #2176ff;
    border-radius: 8px;

}

.about_me_title_text > h3 > span {
  color:#fff;
  font-family: 'VazirMatnBold';
  font-size: 34px;
  font-weight: bold;
}

.about_me_title_text > p{
  color:#fff;
  text-align: justify;
  font-family: 'Vazirmatn-Thin';
  font-size: 22px;
  font-weight: 100;
  max-height: 500px;
}

#about-section , #contact-section {
  margin-bottom:120px;
}

@media (max-width: 500px) {
  #about-section {
    margin-bottom:350px;
  }
}

@media (max-width: 340px) {
  #about-section {
    margin-bottom:500px;
  }
}

/* End Home and Contact */
/* #__________________________________________________________________________________________________ */
/* Portfolio */

#portfolio-section{
  margin-bottom:200px;
}

.border_radius {
  border-radius:8px !important;
}

.portfolio_tab_style {
  font-family: 'VazirMatnRegular' !important;
  font-size: 18px !important;
  font-weight: normal;
}

/* End Portfolio */
/* #__________________________________________________________________________________________________ */
/* Services */

.equal-height-cards {
    display: flex;
    flex-wrap: wrap;
}
  
.equal-height-cards .card-sl {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px !important; 
    overflow: hidden;
}

.card-image_servises img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px !important;
}
  
.card__head_servises {
  font-family: 'VazirMatnBold';
  font-size: 22px;
  font-weight: bold;
  background: #2e2e2e;
  color: #000000;
  padding: 12px;
  margin-bottom: -15px;
  
}

.card__text_servises {
  padding: 20px;
  background: #2e2e2e;
  font-family: 'VazirMatnRegular';
  font-size: 16px;
  font-weight: normal;
  color: #d5d5d5;
  word-wrap: break-word;
  text-align: justify;
}

.card_title{
  color:#fff;
}

.card__button_servises {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  width: 100%;
  background: #2176ff;
  border-color: #2176ff;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-family: 'VazirMatnRegular';
}

.card__button_servises:hover {
  text-decoration: none;
  background: #1059ce;
  border-color: #1358c7;
  color: #fff;
}

/* End Services */
/* #__________________________________________________________________________________________________ */
/* article */

.custom_short_text_article{
    text-align: justify;
}

.hr_style{
    border: 1.5px solid #808080;
    border-radius: 4px;
    width: 95%;
}

.article_date , .article_group{
  color: #fff;
  font-family: 'Vazirmatn-Thin';
  font-size: 16px;
  font-weight:300 ;
}

.btn_article_card{
    border:0.1mm solid #2176ff ;
    padding:3px 8px;
    color: #2176ff;
    border-radius: 8px;
    font-family: 'VazirMatnRegular';
    font-size: 18px;
    font-weight:400 ;
}

.btn_article_card:hover{
  border:0.1mm solid #0e69fc ;
  color: #0e69fc;
}

.img-cardBlog{
    width:350px;
    height:320px;    
    border-radius: 3px;
    object-fit: cover;
}
@media (max-width: 500px) {
  .img-cardBlog {
    width:310px;
    height:280px;
  }
}


/* End article */
/* #__________________________________________________________________________________________________ */
/* contactus */ 

/* for all the form: (cources,services and contact us ) */

.contactus__form__style{
    background-color:#2e2e2e;
    border-radius: 10px;
    color:#fff;
}

.contactus__form__style > h2 {
  color: #fff !important;
  font-family: 'VazirMatnBold';
  font-size: 34px;
  font-weight:bold ;

}

@media (max-width: 768px) {
  .contactus__form__style > h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .contactus__form__style > h2 {
    font-size: 20px;
  }
}

.contactus__form__style label {
  color: #fff !important;
  font-family: 'VazirMatnRegular';
  font-size: 22px;
  font-weight:300 ;
}

#submitForm {
  font-family: 'VazirMatnRegular';
  font-size: 18px;
  font-weight:400 ;
  background-color: #2176ff !important;
  color: #fff !important;
  border-radius: 8px !important;
} 

#submitForm:hover{
  background-color: #1059ce !important;
}


.contactus_information > div > p span:nth-child(2){
  color:#fff;
}
.contactus_information > div > p span:nth-child(1){
  color:#2176ff;
}

#id_service_name {
  display: flex;
  flex-wrap: wrap;
}

#id_service_name > div {
  display: inline-block;
  width: calc(33.33% - 10px);
  margin-right: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

  @media (max-width: 768px) {
    #id_service_name > div {
      width: 100%;
      margin-right: 0;
    }
  }

  
  #id_service_name > div > label > input {
    transform: scale(1.3) !important;
    outline: none !important;
  }
  
  input[class="form-control"] , textarea[class="form-control"] , select[class="form-control"] , input[type="number"]{
    background-color: #383838 !important;
    color: #fff !important;
  }
  input[class="form-control"]::placeholder , textarea[class="form-control"]::placeholder , select[class="form-control"]::placeholder , input[type="number"]::placeholder {
    color: #ffffffd0 !important;
    font-family: 'VazirMatnRegular';
    font-size: 16px;
    font-weight: 100;
  }





/* contactus */
/* #__________________________________________________________________________________________________ */
/* courses */

.course_image {
    width:300px;
    height: 300px;
}


.course_text_syle{
    text-align: justify;
}

.card_courses_subtitile{
    color: #fff;
    font-family: 'Vazirmatn-Thin';
    font-size: 16px;
    font-weight:300 ;

}
@media (max-width:500px) {
  .card_courses_subtitile{
    font-size: 13px;
  }
  
}

/* End courses */
/* #__________________________________________________________________________________________________ */

/* new navbar */
ul.navbar-nav {
    margin-right: 0 !important;
    padding-right: 32px ;
  }

a.navbar-brand {
    margin-left: 0 !important;
  } 


/* #__________________________________________________________________________________________________ */
/* navbar style */

.order_btn {
  border-radius: 8px;
  padding: 10px 30px; 
  font-size: 16px;
  font-family: 'VazirMatnRegular';
}
  .order_btn:hover, .order_btn:active, .order_btn:focus {
    outline: none;
    -webkit-box-shadow: none !important;
    box-shadow: none !important; }
  .order_btn.order_btn_color {
    background: #2176ff;
    border-color: #2176ff;
    color: #fff !important; 
  }

  .order_btn.order_btn_color:hover {
    text-decoration: none;
    background: #1059ce;
    border-color: #1059ce;
    color: #fff;
  }

.navbar .nav-link {
    color: #fff;
    font-family: 'VazirMatnRegular';
    font-size: 18px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff;
    text-decoration: none;
}

/* Change navbar styling on small viewports */
@media (max-width: 991.98px) {
    .navbar {
        background: #fff;
    }
    
    
    .navbar .navbar-brand, .navbar .nav-link {
        color: #fff;
    }

    .navbar-brand {
      order: 1; /* change the order of the logo */
    }
  
    .my-2.my-lg-0.order_register {
      order: 2; /* change the order of the order_register div */
    }
  
    .collapse.navbar-collapse {
      order: 3; /* change the order of the navbar-collapse div */
    }
}

@media (max-width: 500px) {
    .navbar {
        background: #fff;
    }

    .order_btn {
      font-size: 14px !important;
      padding: 10px 20px; 
    }
    
    .navbar .navbar-brand, .navbar .nav-link {
        color: #fff;
    }

    .navbar-brand {
      order: 1; /* change the order of the logo */
    }
  
    .my-2.my-lg-0.order_register {
      order: 2; /* change the order of the order_register div */
    }
  
    .collapse.navbar-collapse {
      order: 3; /* change the order of the navbar-collapse div */
    }
}



/* border bottom for navbar */
.border__nav{
    border-bottom: 0.09mm solid #ffffff26;
}


/* close button mobile menu */
.close_menu {
    display: inline-block;
    cursor: pointer;
}

.navbar-toggler{
  transform: scale(0.8);
}

.bar1, .bar2, .bar3 {
    width: 23px;
    height: 5px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}
/* End close button mobile menu */


/* End navbar style */
/* #__________________________________________________________________________________________________ */
/* footer style */

.footer_fa{
    color:#fff;
    text-align: center;
    font-family: 'VazirMatnRegular';
    font-size: 16px;
    font-weight: 100;
}
.footer_en{
  color:#fff;
  text-align: center;
  font-family: 'Average-Regular';
  font-size: 20px;
  font-weight: 100;
}
  
footer{
  background-color: #2e2e2e;
}

footer  ul > li > a {
  color:#2176ff;
  font-family: 'VazirMatnRegular';
  font-size: 18px;
  font-weight: 300;
}  

/* End footer style */
/* #__________________________________________________________________________________________________ */