@font-face {
    font-family:"farsi";
    src: url(../Farsi-Digits/Dirooz-FD.eot)format(eot),url(../Farsi-Digits/Dirooz-FD.ttf) format(ttf),url(../Farsi-Digits/Dirooz-FD.woff) format(woff);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "farsi";
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

header{
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1000;
    align-items: center;
    background: transparent;
    padding: 22px 15%;
    border-bottom: 1px solid transparent;
    transition: all ease .45s;
    background-color: #ffffff;
    opacity: 0.8;
}
.logo_img{
    width: 110px;
    height: 100px;
}
.nav_list{
    display: flex;
}
.nav_list{
    direction: rtl;
}
.menu_item{
    color: rgb(0, 0, 0);
    font-size: 17px;
    font-weight: 500;
    transition: all .45s ease;
    margin: 0 24px;
}
.menu_item1{
    margin: 0 24px;
    color: rgb(0, 0, 0);
}

.menu_item:hover{
    color: rgb(255, 0, 0);
    transition: all ease 0.7s;
    font-size: 18px;
}
#menu_icon{
    font-size: 32px;
    cursor: pointer;
    z-index: 10001;
    
    padding: 0 25px;
    color: black;
    display: none;
}

header.stiky{
    background: rgb(255, 255, 255);
    border-bottom:1px solid #000000;
    padding: 12px 15%; 
    opacity: 1;
}
@media screen and (max-width:1480px){
    header{
        padding:12px 2.5%;
        transition: all ease 1s;
        
    }
    header.stiky{
        padding: 10px 2.5%;
        transition: all ease 1s;
        
    }
    section{
        padding: 110px 3% 60px;
    }
}
@media (max-width:840px){
    #menu_icon{
        display: block;

    }
    .nav_list{
        position: absolute;
        top: -1000px;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        background: rgb(255, 255, 255);
        text-align: center;
        transition: all 0.8s ease;
        
    }
    .nav_list a{
        display: block;
        margin: 17px;
        font-size: 17px;
        transition: all 1s ease;
        color: #000000;

    }
    .nav_list a:hover{
        color: #ff0000;

    }
    .nav_list.open{
        top: 100%;
        
    }

}
    @media screen and (max-height:450px) {
        .nav_list{
            flex-direction: row;
            text-align: center;
            justify-content: space-between;
            padding: 20px 0;
        }
}
@media screen and (max-height:352px){
    .nav_list a{
        font-size: 12px;
    }
    
}
/*-----------بالااااااااااااااااااااااا یادت نره-------------*/
/*------------------------*/
.main{
    height: 100vh;
    width: 100%;

}
.wrapper , .slide{
    position: relative;
    width: 100%;
    height: 100%;
}
.slide .image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide .image_data{
    text-align: center;
    position: absolute;
    z-index: 100;
    top: 50%;
    width: 100%;
    left: 50%;
    transform: translate(-50%,-50%);
}
span ,.text{
    font-size: 25px;
    display: block;
    color: #fff;
}
.title{
    font-size: 45px;
    font-weight: 600;
    color: #fff;
}
.slide::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0,0.4);
    z-index: 10;
}
a.btn{
    background: radial-gradient(circle, rgba(238,174,202,0.767927239255077) 0%, rgba(148,187,233,0.9247899843531162) 100%);
    padding: 15px 25px;
    border-radius: 12px;
    padding-top: 10px;
  padding-bottom: 10px;
    display: inline-block;
    transition: all ease 0.5s;
    color: rgb(0, 0, 0);
    margin-top: 20px;
    font-weight: bold;
}
a.btn:hover{
    transition: all ease 0.5s;
    color: rgb(0, 0, 0);
    border-radius: 25px;
}
.slide{
    overflow: hidden;
}

.nav_btn{
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.nav_btn::before,
.nav_btn::after{
    font-size: 25px;
    color: #fff;
}
.nav_btn:hover{
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.5);
}

.swiper-button-next{
    right: 50px;
}
.swiper-button-prev{
    left: 50px;
}

@media screen and (max-width:1000px){

    .swiper-button-next,
    .swiper-button-prev{
        visibility: hidden;
    }
    
}
@media screen and (max-width:850px) {
    .title{
        font-size: 33px;
    }
}
@media screen and (max-width:520px) {
    .title{
        font-size: 30px;
    }
}

@media screen and (max-width:480px) {
    .title{
        font-size: 26px;
    }
    .text{
        font-size:23px;
    }
}

@media screen and (max-width:410px) {
    .title{
        font-size: 24px;
    }
    .text{
        font-size:18px;
    }
}

@media screen and (max-width:376px) {
    .title{
        font-size: 21px;
    }
    .text{
        font-size: 19px;
    }
}
@media screen and (max-width:330px) {
    .title{
        font-size: 18px;
    }
    .text{
        font-size: 18px;
    }
}
@media screen and (max-width:285px) {
    .title{
        font-size: 17px;
    }
    .text{
        font-size: 14px;
    }
}
@media screen and (max-width:275px) {
    .title{
        font-size: 15px;
    }
    .text{
        font-size: 14px;
    }
}
@media screen and (max-width:237px) {
    .title{
        font-size: 14px;
    }
    .text{
        font-size: 14px;
    }
}
@media screen and (max-height:430px){
    .image_data{
        margin-top: 45px;
    }
}



/*-------------------about----------------------*/

.about{
    width: 100%;
    min-height: 100vh;
    display: grid;
    place-items: center;
}
.row{
    width: 80%;
    max-width: 1170px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
    overflow-x: hidden;
    padding: 5rem 0;
}
.row .ima-wrapper{
    overflow: hidden;
    border-radius: 10px;
}
.row .ima-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
.row .content-wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    padding-left: 30px;
}


.span-about{
    color: #000;
    background: radial-gradient(circle, rgba(63,171,251,0.8043418050814075) 0%, rgba(252,70,107,0.8099440459777661) 100%);
    text-align: center;
    border-radius: 50px;
    padding: 5px 70px;
    margin-top: 40px;

}



.row .ima-wrapper:hover img{
    transform: scale(1.25);
    border-radius: 10px;
}


.row .content-wrapper h2{
    font-size: 40px;
    font-weight: 700;
    color: #383f47;
    padding-bottom: 20px;
    text-align: end;
}
.text-about{
    font-size: 16px;
    padding-bottom: 25px;
    text-align: end;
    line-height: 25px;
}


@media screen and (max-width:991px){
    .row{
        grid-template-columns: 1fr;
        grid-gap: 50px;
    }
    .row .content-wrapper{
        padding-left: 0;
    }
}
@media screen and (max-width:768px){
    .row {
        width: 90%;
    }
    .row .content-wrapper h2{
        font-size: 30px;
        padding-bottom: 20px;

    }
    .text-about{
        line-height: 24px;
        text-align: center;
    }
}
@media screen and (max-width:575px){
    .row .content-wrapper h2{
        font-size: 25px;


    }
    .text-about{
        font-size: 15px;
        line-height: 22px;
    }

}

@media screen and (max-width:350px){
    .span-about{
        font-size: 20px;
        padding: 4px 55px;
    }
}
/*-------------------teacher-------------------------*/
.teacher{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
.card{
    border-radius: 25px;
    background-color: #EFEFEF;

}
.card-image{
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    padding: 3px;
}
.card-image .card-img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #6fb0da  ;
}
.slide-content{
    margin: 0 40px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 25px;
}
.content-img, .card-content{
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}
.name-teacher{
    font-size: 18px;
    font-weight: 500;
    color: #333;
}
.Description{
    font-size: 14px;
    align-items: center;
    color: #707070f4;
    text-align: end;
    line-height: 35px;
}
.content-img{
    position: relative;
    row-gap: 5px;
}
.btn-teacher{
    font-size: 16px;
    background-color:#3498db ;
    padding: 5px 25px;
    border-radius: 10px;
    color: rgb(0, 0, 0);
    margin:14px;
    transition: all 0.8s;
}
.btn-teacher:hover{
    transition: all 0.5s;
    background-color:#c39bd3 ;
}

.overlay{
    position:absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    background-color: #6a8ae1;
    border-radius: 25px 20px 0 25px;
}
.overlay::before,
.overlay::after{
    right: 0;
    bottom: -40px;
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    background-color: #6a8ae1;
}
.overlay::after{
    border-radius: 0 25px 0 0;
    background-color: #EFEFEF;
}

.slide-container{
    max-width: 1120px;
    width: 100%;
    background-color: #fff;
}

.teacher .swiper{
    padding: 40px 0 ;
}
.swiper-navBtn{
    color:#6a8ae1 ;
    transition: color 0.4s ease;
}
.swiper-navBtn:hover{
    color: #4070f4;
}

.swiper-navBtn::before,
.swiper-navBtn::after{
    font-size: 40px;
}
.teacher .swiper-button-next{
    right: 0;
}
.teacher .swiper-button-prev{
    left: 0;
}


@media screen and (max-width:768px){
    .swiper-navBtn{
        display: none;
    }
    .slide-content{
        margin: 0 10px;
    }
}
.text-teachers{
    text-align: center;
    font-size: 33px;
    margin: 0 20rem 35px;
    border-radius: 50px;
    background-color: #e8cece;
}
@media screen and (max-width:1110px) {
    .text-teachers{
        margin: 0 17rem 35px;
     }   
}

@media screen and (max-width:990px) {
    .text-teachers{
        font-size: 30px;
        margin: 0 17rem 35px;
     }   
}
@media screen and (max-width:900px) {
    .text-teachers{
        font-size: 25px;
        margin: 0 12rem 35px;
     }   
}

@media screen and (max-width:750px) {
    .text-teachers{
        font-size: 25px;
        margin: 0 9rem 40px;
     }   
}

@media screen and (max-width:550px) {
    .text-teachers{
        font-size: 22px;
        margin: 0 4rem 40px;
     }   
}
@media screen and (max-width:380px) {
    .text-teachers{
        font-size: 23px;
        margin: 0 1.5rem 40px;
     }   
}





/*----------------------------*/
.instrument-container{
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.instrument{
    width: 325px;
    background-color: #f4f4f4;
    border-radius: 10px;
    box-sizing: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    overflow: hidden;
    transition:0.6s ease ;
}
.instrument-content h3{
    font-size: 25px;
    margin-bottom:10px;
}
.instrument-content p{
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.img-instrument{
    width: 100%;
    height: auto;
    object-fit: cover;
}
.instrument-content{
    padding: 20px;
    text-align: right;
}

.btn-instrument {
    background-color: #8cd1e8; 
    border: none;
    color: rgb(50, 49, 49);
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border-radius: 12px;
    transition-duration: 0.4s;
}

.btn-instrument:hover {
    background-color: #a9d9e9; 
    color: #000000; 
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}


.btn-instrument2 {
    background-color: #FFD700; 
    border: none;
    color: black;
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border-radius: 12px;
    transition-duration: 0.6s;
}

.btn-instrument2:hover {
    transition-duration: 0.5s;
    background-color: #181717; 
    color: #FFD700; 
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}



  .btn-instrument3 {
    background-color: #6a0dad; 
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border-radius: 12px;
    transition-duration: 0.4s;
}

.btn-instrument3:hover {
    background-color: #4CAF50; 
    color: white;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.btn-instrument4 {
    background-color: #5ccb43ea; 
    border: none;
    color: white;
    padding: 10px 20px;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 12px;
    transition-duration: 0.6s;
}

.btn-instrument4:hover {
    transition-duration: 0.4s;
    background-color: #7b7878; 
    color: #32CD32; 
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.instrument:hover{
    transform: translateY(-20px);
}
.title-instruments{
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    padding-bottom: 4rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
      
}
.instruments{
    position: relative;
    margin-top: 100px;
    margin-bottom: 2rem;
}

/*--------------footer-----------*/
body footer{
    display: grid;
    align-items: center;
    justify-content: center;
}
footer{
    margin-top:10rem ;
}
footer{
    position: relative;
    width: 100%;
    height: auto;
    padding: 50px 100px;
}
footer .contianer-footer{
    width: 100%;
    display: grid;
    grid-gap:30px;
    grid-template-columns:2fr 1fr 1fr 1fr;
}
footer .contianer-footer .sec-about p{
    color: #000;
}

footer .contianer-footer .sec-about h2{
    position: relative;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
}
.icon-fo{
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4,50px);
    grid-gap:10px;
}

.icon-fo li a{
    display: inline-block;
    width: 48px;
    height: 48px;
    justify-content: center;
    display: grid;
    align-items: center;
    border-radius: 5px;
    background: #FFD700;
    color: #000;
    transition:all 0.5s;
}

.icon-fo li a:hover{
    background: #6380fe;
    transition:all 0.8s;
}

.icon-fo li a{
    font-size: 20px;
    color: #000;
}
.title-footer{
    position: relative;
}
.title-footer li a{
    margin-bottom: 10px;
    color: #000;
    display:inline-block;
    transition: all 0.5s;
}

.title-footer li a:hover{
    color: #0d60ad;
    transition: all 0.5s;
}
.info{
    position: relative;
    display: inline flow-root list-item;
}
.info li{
    display: grid;
    grid-template-columns: 30px 1fr;
    margin-bottom: 16px;
}
.info li span{
    color: #000;
    font-size: 15px;
}

.info li span:nth-child(1){
    color: #000;
    font-size: 20px;
}
.info a{
    color: #000;
}
.copyright{
    display: flex;
    width: 100%;
    justify-content: space-between;
    text-align: center;
    padding: 8px 100px;
}
.copyright a{
    background-color: #a3daff;
    padding: 3px 8px;
    color: #000;
    border-radius: 17px;
}
@media (max-width:991px) {
    footer{
        padding: 40px;
    }
    footer .contianer-footer{
        grid-template-columns: repeat(2,1fr);
    }
    .copyright{
        padding: 8px 40px;
    }
}
/*-------------------JJ----*/
@media (max-width:768px) {
    footer .contianer-footer{
        grid-template-columns: repeat(1,1fr);
        text-align: center;
    }
    .icon-fo{
        justify-content: center
    }
    
}


.hr-footer{
    color: #efeeee;
}

@media (max-width:511px){
    .copyright{
        display: block;
    }
    .copyright-text{
        font-size: 14px;
        padding-bottom: 10px;
    }
    
}
/*--------------------instruments-----------------------------------*/
.violin{
    background-image: url(../img/vi-0.jpg);
    background-size: cover;
    font-family: "farsi";
    background-attachment: fixed;
}
.gutar{
    background-image: url(../img/g1.jpg);
    background-size: cover;
    font-family: "farsi";
    background-attachment: fixed;    
}
.cantaur{
    background-image: url(../img/santor.jpeg);
    background-size: cover;
    font-family: "farsi";
    background-attachment: fixed;
}
.piano{
    background-image: url(../img/piano.jpg);
    background-size: cover;
    font-family: "farsi";
    background-attachment: fixed;
}
.Def{
    background-image: url(../img/daff.jpg);
    background-size: cover;
    font-family: "farsi";
    background-attachment: fixed;
}
.wire{
    background-image: url(../img/Taar-11.jpg);
    background-size: cover;
    font-family: "farsi";
    background-attachment: fixed;
}
.wire .content-text{
    background-color: rgba(92, 91, 91, 0.729);
    margin-top: 60px;
}
.fiddle .content-text{
    background-color: rgba(92, 91, 91, 0.729);
    margin-top: 60px;
}
.fiddle {
    background-image: url(../img/206.jpg);
    background-size: cover;
    font-family: "farsi";
    background-attachment: fixed;
}
.threewire{
    background-image: url(../img/setar.jpg);
    background-size: cover;
    font-family: "farsi";
    background-attachment: fixed;
}
.Tambak{
    background-image: url(../img/x.jpg);
    background-size: cover;
    font-family: "farsi";
    background-attachment: fixed;
}
.Tambak .content-text{
    background-color: rgba(92, 91, 91, 0.729);
    margin-top: 60px;
}
.Def .content-text{
    background-color: rgba(92, 91, 91, 0.729);
    margin-top: 60px;
}
.Handpen{
    background-image: url(../img/hen.png);
    background-size: cover;
    font-family: "farsi";
    background-attachment: fixed;
}
.Handpen .content-text{
    background-color: rgba(92, 91, 91, 0.729);
    margin-top: 60px;
}
.content-text{
    background-color: rgba(0, 0, 0, 0.729);
    margin-left: 100px;
    margin-right: 100px;
    color: #fff;
    padding-left: 15px;
    padding-right: 15px;
    text-decoration: none;
    padding-top: 30px;
    text-align: right;
}

.piano .content-text{
    margin-top: 50px;
}

.violin .content-text{
    margin-top: 50px;
    background-color: rgba(0, 0, 0, 0.508);
}

@media screen and (max-width:500px) {
    .content-text{
        font-size: 15px;
        margin: 20px;
        text-align: center;
    }
}
.link-container {
    text-align: center;
    margin-top: 20px;
}

.more-info-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


.more-info-link:hover {
    background-color: #0056b3;
}


@media screen and (max-width: 600px) {
    .more-info-link {
        padding: 8px 15px;
        font-size: 14px;
    }
}


/*-------------Regulations-------------------*/
html{
    scroll-behavior: smooth;
}





.Regulations {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f8ff;
    direction: rtl;
  }
  
  .container-Regulations {
    width: 90%;
    max-width: 800px;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: right;
  }
  
  .h1-Regulations {
    font-size: 24px;
    color: #4a90e2;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  
  .p-Regulations {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
  }
  
  @media (max-width: 768px) {
    .container-Regulations {
      width: 95%;
      padding: 15px;
    }
  
    .h1-Regulations {
      font-size: 22px;
    }
  
    .p-Regulations {
      font-size: 14px;
    }
  }
  .home-icon {
    position: fixed;
    left: 20px;
    top: 20px; 
    background-color: rgba(44, 43, 32, 0.7);
    color: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 24px;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.home-icon:hover {
    transform: scale(1.1);
    background-color: rgba(59, 32, 32, 0.9);
}

.home-icon i {
    display: inline-block;
    line-height: 1;
}





@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .alert p {
        font-size: 16px;
    }
    .alert button {
        font-size: 14px;
        padding: 8px 15px;
    }
}
