
@import "login.css";
@import "slide.css";
/*fonts*/
@font-face {
  font-family: 'syne';
  font-weight: 400;
  font-display: swap;
  src: url(../font/en.woff2) format('woff2');
}
@font-face {
  font-family: 'fa1';
  font-weight: 400;
  font-display: swap;
  src: url(../font/p.ttf) format('truetype');
}
@font-face {
  font-family: 'fa2';
  font-weight: 400;
  font-display: swap;
  src: url(../font/h12.ttf) format('truetype');
}
.logo, .stat-number{
  font-family:syne;
}
h1 span, {
  font-family: 'fa2';
}
.menu, h1 , .stat-label , .category-title span, .q2 ,.q3 span, .course-item,
.service-image,.blog-item, .footer-content p, .footer-bottom p,
.login, .login_input, .login_button, .footer-heading-title, .footer-widget-container,
.services-heading-title, .service-itemtt, .trust-symbols-heading-title,.singup{
  font-family: 'fa1';
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
  --header-color: #fff;
  --menu-color: #fff;
}
body{
 background-color: #f9f9fb;
}

/*نویگیشن بالای صفحه*/
.navbar{
    position: fixed;
    width: 95%;
    background-color: var(--header-color);
    margin: 5px auto 0;
    box-shadow: 0 2px 3px #00000040;
    border-radius: 10px;
    top: 3px;
    inset: 0;
    height: 3.5rem;
	z-index:1;
	
}
.navbar nav{
  height: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  margin-inline: 1rem;
}
nav .logo {
    color: #1d2f50;
    font-weight: 600;
    transition: color .4s;
	text-decoration:none;
}
.actions #search-btn,
.actions #login-btn,
.actions #toggle-btn{
    font-size: 1.25rem;
    color: var(--title-color);
    cursor: pointer;
    transition: color .4s;
	width:19px;
}
.overlay {
    position: fixed;
    z-index: 1;
    inset: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}
.menu ul {
    display: flex;
    flex-direction: column;
    row-gap: 0.3rem;
    text-align: right;
    
    padding:15px;
	list-style: none;
}
.menu ul li{
  border-bottom:1px #E3E3E8 solid;
  padding:10px 5px 10px 5px;
}
.menu ul li a{
    color: #1A2948;
    
    transition: color .4s;
	text-decoration: none;
}
.close {
    position: absolute;
    top: .7rem;
    right: 1rem;
    color:#000;
}
nav .actions {
    display: flex;
    align-items: center;
    column-gap: .6rem;
	margin-top:5px;
}
/*پایان نویگیشن*/


.head-section {
    width: 100%;
    position: relative;
    text-align: center;
	background: linear-gradient(60deg, #543AB7 0%, #0094C1 100%);
			}
.head-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    direction: rtl;
	margin-bottom:30px;
}

.head-title {
    margin-top: 95px;
    color: rgb(255, 255, 255);
    text-align: center;
}

.head-title h1 {
    font-size: 2.5rem;
    font-weight: 500;
    
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.head-title span {
    margin-bottom: 5px;
    font-weight: 700;
}

.head-stats{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto 15px;
    color: rgb(255, 255, 255);
    text-align: center;
    width: 100%;
    margin-top:30px;
}

.stat {
    flex: 1;
    min-width: 100px;
}

.stat:not(:last-child) {
    border-left: 1px dashed rgba(255, 255, 255, 0.34);
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 5px;
}

.stat-label {
    font-weight: 500;
    font-size: 1rem;
    
}
        
        .waves {
            position: relative;
            width: 100%;
            height: 15vh;
            margin-bottom: -7px;
            min-height: 100px;
            max-height: 150px;
        }
		@keyframes move-forever {
    0% { transform: translate3d(90px, 0, 0); }
    100% { transform: translate3d(-85px, 0, 0); }}
        .parallax > use {
            animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
        }
        .parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
        .parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
        .parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
        .parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
		        @media (max-width: 768px) {
            .waves { height: 40px; min-height: 40px; }
          }
        }
		

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .head-title h1{
        font-size: 2rem;
    }

    .head-line {
        border-left: none;
        margin-bottom: 20px;
    }

}

@media (max-width: 480px) {
    .head-title h1{
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}


/*برای صفحه نمایش کوچک تر از ۷۶۸ پیکسل*/
@media (max-width: 768px) {
  /*منو نویگیشن نمایشگر های کوچک*/
    .menu{
        position: fixed;
        right: -100%;
        top: 0%;
        background-color: var(--menu-color);
        box-shadow: 0 8px 16px hsla(230, 75%, 32%, .15);
        width: 70%;
        height: 100%;
        padding-block: 4.5rem 4rem;
        transition: right .4s;
		z-index:3;
		
    }

}
     /* برای صفحه نمایش بزرگتر از ۷۶۸ پیکسل */
@media (min-width: 769px) {
  main{
  margin:0 auto;
  width:90%;
}
.blog-content{
  grid-template-columns: repeat(2, minmax(0, 1fr));

}
  /*نویگیشن حالت نمایشگر بزرگ*/
    nav {
        height: 4rem;
        column-gap: 2rem;
    }
    .menu ul li {
        border: 0;
        padding: 0;
    }
    #close,
    #toggle-btn {
        display: none;
    }
    .menu {
        margin-left: auto;
       }
    .menu ul {
        flex-direction: row-reverse;
        column-gap: 1.2rem;
    }
	
	.actions #search-btn,
	.actions #login-btn{
   border: 1px solid #667085;
	  padding:3px 6px 2px 6px;
    border-radius: 10px;
	width:30px;
}
}

