@font-face {
    font-family: IRANSans;
    src: url('../Font/IRANSansX-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome';
    src: url('https://kit.fontawesome.com/fonts/fa-solid-900.woff2') format('woff2');
    font-display: swap;
  }
*{
    font-display: swap;
    font-family: IRANSans;
}
i {
    margin: 8px;
}

:root {
    --black: #161021;
    --black-lo: #1610217a;
    --orange: #f3a94f;
    --white: #ffff;
    --white-bg: #eeeeee;
    --white-lo: #ffffff20;
    --orange-lo: #f3a94f5c;
    --light-orange : #f1c38a;
    --text-shadow : var(--black) 1px 1px 0px;
}

ul{
    list-style: none;
    text-align: right;
}
a{
    text-decoration: none !important;
    transition: .3s;
}
img {
    width: 100%; 
    height: auto;
  }

/*landing Page--------------------------------------------*/
body{
    background-color: var(--white-bg) !important;
    transition: background .3s linear;
    margin: 0;
    padding: 0;
}

body.landing header{
    background: url('../pictures/bg.webp');
    background-position-y: -50px;
    background-size: cover;
    background-repeat: no-repeat;
   
}

body.landing{
    background-size: contain;
   
}
body.dark{
    background-color: var(--black) !important;
}

body.landing .address{
    color: var(--white) !important;
}

header .address{
    font-size: 20px;
    padding: 20px;
    text-align:center;
}

body.sub .address , body.QA .address , body.AmpliFier .address{
    color: var(--black) ;
}
body.sub.dark .address , body.QA.dark .address , body.AmpliFier.dark .address{
    color: var(--white);
}

.logo{
    width: 70px !important;
    aspect-ratio: 4/3.1;
}
.dark .logo-light{
    display: none;
}
.logo-dark{
    display: none;
}
.dark .logo-dark{
    display: block;
}
.navbar li a{
    text-align: center;
    transition: .3s ease-in;
    border-bottom: solid transparent 1px;
    font-size: 1.2em;
}

.nav-link{
    color: var(--black) !important;
}
.dark .nav-link{
    color: var(--white) !important;
}
.nav-item{
    padding: 0 !important;
}

.title-search-container{
    padding: 50px;
    gap: 40px;
}

@media (max-width: 992px) 
{
  .title-search-container{
    gap: 20px;
  }
}

.title{
    color: var(--white);
    font-display: swap;
    font-family:IRANSans-Heavy ;
    font-size: 4.8em;
    text-align: center;
    text-shadow: var(--text-shadow);
    margin: 0;
}
.slogan{
    text-align: center;
    font-display: swap;
    font-family:IRANSans-Heavy ;
    font-size: 1.6em;
    color: var(--white);
    text-shadow: var(--text-shadow);
}



/*---------------------------------*/


/*subPage*/
body.sub.dark , .sub.dark p:active{
    background-color:var(--black);
    color: var(--white) !important;
}
body.sub{
    background-color:var(--white-bg);
    color: var(--black);
}



.description{
    font-size: 1.5em;
    line-height: 180%;
}

.description img {
    border-radius: 90px 165px 153px;
    filter: drop-shadow(10px 10px 0px var(--orange));
}

.parts-title h3 , .description h3{
    line-height: 40px;
    font-size: 1.5em;
    color: var(--black);
    display: inline;
    font-display: swap;
    font-family: IRANSans-black;
}
.parts-title i{ 
    color: var(--orange);
}
.dark .parts-title h3 , .dark .description h3{
    color: var(--white);
}
.description h2{
    line-height: 40px;
    font-size: 1.5em;
    color: var(--orange);
    text-align: right;
    font-display: swap;
    font-family: IRANSans-black;
}


.parts{
    margin: 20px;
    background-color: var(--white) !important;
    color: var(--black);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--orange) 3px 3px 0px;
}
.dark .parts , .dark .parts p:active{
    background-color: var(--white-lo) !important;
    color: var(--white) !important;
}
.parts-container{
    padding-top: 30px;
}


@media only screen and (max-width: 992px) {
    .parts img {
        border-radius: 8% !important;
        filter: none !important;
    }
}

.cons ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
.description ul i{
    width: 0.7em;
}
.description ul i{
    color: var(--orange);
}
.desc-list li{
    margin: 20px 0px;
    transition: 0.3s ease-in;
    position: relative;
}
.dark .desc-list a{
    color: var(--white);
}
.desc-list a{
    color: var(--black);
}

.social {
    position: fixed;
    left: 0;
    top: 250px;
    width: 100px;
    z-index: 1000;   
}

.social ul li a {
    color: var(--black);
    text-decoration: none;
    font-display: swap;
    font-family: IRANSans-black;
}
.social ul li a path {
    fill: var(--black);
}

.social ul {
    padding: 0px;
    transform: translate(-250px, 0);
    
}
.social ul li {
    display: block;
    margin: 5px;
    background:var(--orange);
    width: 300px;
    text-align: right;
    padding: 10px;
    border-radius: 0 30px 30px 0;
    transition: all 1s;
}


.social ul li:hover a {
    color: var(--black);
}
.social ul li:hover path{
    fill: var(--black);
}
.social ul li:hover i {
    transform: rotate(360deg);
    color: var(--white);
    transition: all 1s;
}
.social ul li i {
    margin-left: 10px;
    color: var(--black);
    border-radius: 50%;
    padding: 10px;
    font-size: 20px;
    background: var(--white);
    transform: rotate(0deg);
    transition: 0.3s;
}
.dark .social ul li a i{
    background-color: var(--black);
}
.dark .social ul li a i{
    color: var(--white);
}

.social ul li i{
    color: var(--black);
}
.dark .social i{
    color: var(--white);
    background-color: var(--black);
}


.iran-sans , .iran-sans div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.iran-sans p{
    text-align: center;
}
/*--------------------------------------------------------------*/
.dark-mode {
    width: 46px;
    height: 46px;
    box-sizing: border-box;
    padding: 12px;
    background: none;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
  }
  
  .sun {
    width: 50%;
    height: 50%;
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.6) rotate(0deg);
    transition: transform 0.3s ease-in, opacity 0.2s ease-in 0.1s;
  
    /*  white transparent for Safari  */
    background: radial-gradient(
      circle,
      var(--white),
      var(--white) 50%,
      var(--black) 50%
    );
  }
  
  .sun:before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      circle,
      var(--black) 30%,
      var(--white) 31%,
      var(--white) 50%,
      var(--black) 50%
    );
    transform: rotate(45deg);
  }
  
  .sun.visible {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1) rotate(180deg);
    transition: transform 0.3s ease-in, opacity 0.2s ease-in 0.1s;
  }
  
  .moon {
    width: 50%;
    height: 50%;
    pointer-events: none;
    position: absolute;
    left: 12.5%;
    top: 18.75%;
    border-radius: 50%;
    box-shadow: 9px 3px 0px 0px var(--white);
    opacity: 0;
    transform: scale(0.3) rotate(65deg);
    transition: transform 0.3s ease-in, opacity 0.2s ease-in 0.1s;
  }
  
  .moon.visible {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition: transform 0.3s ease-in, opacity 0.2s ease-in 0.1s;
  }
  
  .star {
    position: absolute;
    top: 25%;
    left: 5%;
    display: block;
    width: 0px;
    height: 0px;
    border-right: 7px solid var(--black);
    border-bottom: 5px solid var(--white);
    border-left: 7px solid var(--black);
    transform: scale(0.55) rotate(35deg);
    opacity: 0;
    transition: all 0.2s ease-in 0.4s;
  }
  
  .star:before {
    border-bottom: 5px solid var(--white);
    border-left: 3px solid var(--black);
    border-right: 3px solid var(--black);
    position: absolute;
    height: 0;
    width: 0;
    top: -3px;
    left: -5px;
    display: block;
    content: "";
    transform: rotate(-35deg);
  }
  
  .star:after {
    position: absolute;
    display: block;
    color: red;
    top: 0px;
    left: -7px;
    width: 0px;
    height: 0px;
    border-right: 7px solid var(--black);
    border-bottom: 5px solid var(--white);
    border-left: 7px solid var(--black);
    transform: rotate(-70deg);
    content: "";
  }
  
  .moon.visible .star {
    opacity: 0.8;
  }
  
  .star.small {
    transform: scale(0.35) rotate(35deg);
    position: relative;
    top: 50%;
    left: 37.5%;
    opacity: 0;
    transition: all 0.2s ease-in 0.45s;
  }
  
  .moon.visible .star.small {
    opacity: 0.7;
    transform: scale(0.45) rotate(35deg);
    margin-right: 11px;
    margin-bottom: 5px;
  }

  .breadcrumb{
    border-bottom: var(--black-lo) 1px solid;
    padding: 10px !important; 
  }
  .dark .breadcrumb{
    border-bottom: var(--white-lo) 1px solid;
  }
  .breadcrumb a{
    color: var(--black);
  }
  .dark .breadcrumb a{
    color: var(--white);
  }
  .breadcrumb a:hover , .breadcrumb a:focus{
    color: var(--orange);
  }
  .breadcrumb li{
    font-size:1.3em ;
  }
  

  .card-body{
    display: flex;
    flex-direction: column;
  }
  .card h5{
    font-display: swap;
    font-family: IRANSans-heavy;
    font-size: 2em;
    color: var(--black);
    margin-bottom: 30px !important;
  }
 .card a:not(.card-header a , .card-body a) {
    background-color: var(--orange);
    color: var(--black);
    padding: 2px 20px 2px 20px;
    border-radius: 5px;
   align-self: end;
  
 }

 .cards {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.625rem;
  flex-basis: 22%;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.cards > * {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}


div.orange{
    background-color: var(--orange-lo);
}
.dark div.orange{
    background-color: var(--white-lo);
}




.carousel-title , .carousel-title span{
    font-size: 35px;
    font-display: swap;
    font-family: IRANSans-heavy;
    text-shadow: var(--text-shadow)
}
.dark .carousel-title{
    color: var(--white) !important;
}
.carousel-title::after , .carousel-title::before{
    color: var(--orange);
    font-size: 10px;
    content: "ـــــــــــــــــــ";
}
.carousel-title span{
    color: var(--orange);
}

.item{
    overflow: hidden;
    border-radius: 20px;
    background-color: var(--white);
    transition: .3s;
}

.item span{
    font-size: 20px;
    font-display: swap;
    font-family: IRANSans-heavy;
}
.dark .item span{
    color: var(--white);
}
.item a{
    font-size: 15px;
    color: var(--white);
}
.dark .item a{
    color: var(--black) !important;
}
.dark .item {
    background-color: var(--white-lo);
}
.amplifier{
    margin-top: 150px;
    margin-bottom: 200px;
}
.amplifier img{
    border-radius: 30px; 
    position: relative;
    z-index: 2;  
}

.amplifier h2{
    color: var(--orange);
    font-size: 70px;
    transform: translatey(-50px);
    margin-right: 20px;
    font-display: swap;
    font-family: IRANSans-heavy;
    text-shadow: 1px 1px 1px var(--black);
}
.amplifier a{
    font-size: 40px;
    color: var(--black);
    font-display: swap;
    font-family: IRANSans-heavy;
    align-self: center;
}
.amplifier a:hover{
    text-shadow: 1px 1px 10px var(--orange);
}
.amplifier a span{
    font-size: 20px;
}
.dark .amplifier a{
    color: var(--white);
}
.amplifier .orange{
    height: 63%;
}
.ag-courses_item {
    background: var(--white);
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
}
.dark .ag-courses_item {
    background: var(--white-lo);
}
.ag-courses-item_link {
    display: block;
    overflow: hidden; 
    position: relative;
}
.ag-courses-item_link:hover {
    text-decoration: none;
    color: #FFF;
}

.ag-courses-item_link:hover .ag-courses-item_bg {
    -webkit-transform: scale(10);
    -ms-transform: scale(10);
    transform: scale(10);
}
.ag-courses-item-content {
    margin: 0 0 5px;
    padding: 0px 15px;
    overflow: hidden;  
    font-weight: bold;
    color: var(--black);
    z-index: 2;
    position: relative;
}
.ag-courses-item-content h5{
    text-align: center;
    font-display: swap;
    font-family: IRANSans-heavy;
    font-size: 20px;
}
.dark .ag-courses-item-content h5{
    color: var(--white) !important;
}
.ag-courses-item_bg {
    height: 108px;
    width: 118px;
    background-color: var(--orange); 
    z-index: 1;
    position: absolute;
    top: -75px;
    right: -75px; 
    border-radius: 50%;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.vec-box{
    border: solid 1px var(--orange);
    border-radius: 20px;
    background-color: var(--white-lo);
    overflow: hidden;
    
}
.vec-box span{
    font-display: swap;
    font-family: IRANSans-heavy;
    color: var(--orange);
    text-shadow: var(--text-shadow);
}

.vec-box .row{
    margin: 10px;
    font-size: 20px;
    color: var(--black);
}
.vec-box li{
    margin: 10px;
}
.dark .vec-box .row{
    color: var(--white);
}


.vec-box img {
    filter: drop-shadow( 0px -8px 10px var(--black));
    transition: .3s;
}
.vec-box:hover img {
    filter: drop-shadow( 0px -8px 10px var(--orange));
    transform: scale(1.05);
}
.vec-box p{
    font-display: swap;
    font-family: IRANSans-heavy;
    color: var(--black);
    background-color: transparent !important;
}

.dark .vec-box p{
    font-display: swap;
    font-family: IRANSans-heavy;
    color: var(--white);
}
.AmpliFier .vec-box p , .AmpliFier .vec-box p span ,
.sub .vec-box p , .sub .vec-box p span{
    font-size: 40px;
}
.ampli-title{
    font-display: swap;
    font-family: IRANSans-heavy;
    color: var(--orange);
    font-size: 1.5em;
    margin-top: 60px;
    text-shadow: var(--text-shadow);
}
.model-cards .item{
    flex-basis: 23.5%;
    margin: 5px;
    padding: 5px;
}
.select a{
    border-bottom: 1px solid var(--black);
    color: var(--black);
    font-display: swap;
    font-family: IRANSans-black;
    font-size: 100%;
    transition: .3s;
}
.dark .select a{
    border-bottom: 1px solid var(--white);
    color: var(--white);
}


@media only screen and (max-width: 1184px) {

    .navbar-nav{
        width: 100% !important;
        font-size: 0.95em;
        }
   
    .title{
        font-size: 3em !important;
    }
    .slogan{
        font-size: 1.2em !important;
    }
    .form-control.search{
        height: 50px !important;
        font-size: 1.5em !important;
    }
    .search-btn i{
        font-size: 0.9em !important;
    }
    .title-search-container{
        padding-top: 50px;
    }
    .ag-courses-item-content h5{
        font-size: 15px;
    }
  
 
  }
@media only screen and (max-width: 800px) {

   body.landing header {
    background: url('../pictures/bg-mobile.webp');
    background-size: contain ;
    background-repeat: no-repeat;
    background-size: cover;
    }

    .title{
        font-size: 2.8em !important;
    }
    .slogan{
        font-size: 1em !important;
    }
    .form-control.search{
        height: 30px !important;
        padding: 15px !important;
    }
    .search-btn i{
        font-size: 0.5em !important;
    }
    .form-control.search::placeholder{
        font-size: 0.7em !important;
    }
    .social{
        transform: scale(0.8) translatex(-15px);
        
    }
    .description , .insta-p , .breadcrumb-item{
        font-size: 20px !important;
        text-align: center;
    }
    
    .subpage-title h1 , .subpage-title h2{
        font-size: 2.5em !important;
    }
    .causes ul{
        border: none;
    }  
    .AmpliFier img{
        border-radius: 10px;
        filter: none;
    }
    .model-cards .item{
        flex-basis: 30%;
    }
   } 
@media only screen and (max-width: 475px) {

  .title{
    font-size: 1.8em !important;
  }
  .slogan{
    font-size: 0.8em !important;
  }

.search-btn i {
        font-size: 0.5em !important;
        margin-right: -10px;
    }
   
    .form-control.search::placeholder{
     font-size: 0.6em !important;
    }
    form{
     width: 100% !important;
    }
    .sub-titles{ 
        font-size: 3em !important;
    }
    .subpage-title h1 , .subpage-title h2{
        font-size: 2em !important;
    } 
    .description , .insta-p , .breadcrumb-item{
        font-size: 15px !important;
    }
    .desc-list li{
        margin: 10px !important;
    }
}
@media only screen and (max-width: 380px) {

    .sub-titles{
        font-size: 2em !important;
    }
    .breadcrumb-item{
        font-size: .5em !important;
    }
    .subpage-title h1 , .subpage-title h2{
        font-size: 1.5em !important;
    } 
    .subpage-title{
        margin: 10px 0 !important;
    }
    .container.my-5.px-5{
        margin: 20px 0 !important;
    }
    
}   
@media only screen and (max-width: 270px) {
    .sub-titles{
        font-size: 1.8em !important;
    }
   
} 
@media only screen and (max-width: 1200px) {

    header.container{
        max-width: 1130px !important;
    }
    .cards{
        flex-basis: 48%;
        margin-bottom: 20px;
    }
    .amplifier a{
        font-size: 30px;
        transform: translateY(-15px);
    }
    .amplifier a span{
        font-size: 15px;
   }
    .AmpliFier .vec-box p , .AmpliFier .vec-box p span ,
    .sub .vec-box p , .sub .vec-box p span {
        font-size:30px !important;
    }
} 
@media only screen and (max-width: 990px) {


    .amplifier h2{
        font-size: 50px;
        transform: translateY(-35px);
    }
    .amplifier a{
        font-size: 30px;
        transform: translateY(-30px);
    }
    .amplifier a span{
        font-size: 10px;
   }
    .AmpliFier .vec-box p , .AmpliFier .vec-box p span ,
    .sub .vec-box p , .sub .vec-box p span{
        font-size: 25px !important;
    }
    .cons .col{
        flex-basis: 100%;
    }
   
        
} 
@media only screen and (max-width: 910px){
    .amplifier h2{
        font-size: 40px;
        transform: translateY(-33px);
    }
    .amplifier a{
        font-size: 25px;
        transform: translateY(-20px);
    }
    .search-item h5{
        font-size: 1em;
    }
}
@media only screen and (max-width: 767px) {

    .cards{
        flex-basis: 44%;
    }
    .map{
        height: 400px !important;
    }
    .amplifier h2{
        font-size: 35px;
        transform: translateY(-29px);
    }
    .amplifier a{
        font-size: 20px;
    }
    .ag-courses-item-content image , .ag-courses-item-content{ 
        padding: 0 0;
    } 
} 
@media only screen and (max-width: 630px){
    footer{
        background-position-x: -340px;
    }
    .amplifier h2{
         font-size: 25px;
         transform: translatey(-20px);
         
    }
    .amplifier a{
         font-size: 15px;
         padding: 5px 15px;
         text-align: center;
    }

    .vec-box{
        margin-top: 20px;
    }

    .vec-box .row{
         font-size: 15px;
    }
    .AmpliFier .vec-box p , .AmpliFier .vec-box p span ,
    .sub .vec-box p , .sub .vec-box p span{
        font-size: 20px !important;
    }
 
    
}
@media only screen and (max-width: 547px) {

    .cards{
        flex-basis: 43%;
    }

 
    .carousel-title , .carousel-title span{
        font-size: 20px !important;
    }

    .AmpliFier .vec-box p , .AmpliFier .vec-box p span , 
    .sub .vec-box p , .sub .vec-box p span{
        font-size: 15px !important;
    }
    .btn-contact{
        font-size: 20px;
        line-height: 50px;   
    }
    .model-cards .item{
        flex-basis: 40%;
    } 
} 
@media only screen and (max-width: 472px) {

    .cards{
        flex-basis: 48%;
    }
    .sub-titles{
        font-size: 2.5em !important;
    }
   .owl-item a{
    font-size: 12px;
   }
   .owl-item span{
    font-size: 15px;
   }

        
} 
@media only screen and (max-width: 412px) {

    .cards{
        flex-basis: 100%;
    }
    .map{
        height: 300px !important;
    }
    .carousel-title::after , .carousel-title::before{
        display: none;
    }
    .model-cards .item span , .model-cards .item a{
        font-size: 15px;
        padding: 1px 5px !important;
    }
    .owl-item a{
        font-size: 8px;
       }
       .owl-item span{
        font-size: 12px;
       }
       .copy-right , .credit a{
        font-size: 10px;
    }
        
} 
@media only screen and (max-width: 385px) {

    .amplifier h2{
        font-size: 20px;
        transform: translateY(-15px);
    }
    .amplifier a {
        font-size: 10px;
    }      
} 


@media only screen and (max-width: 300px) {


    footer{
        background-position-x: -785px;
    }
    .btn-contact{
        font-size: 15px;
        line-height: 25px;   
    }
    .model-cards .item span , .model-cards .item a{
        font-size: 10px;
    }
    .logo{
        display: none !important;
    }
        
} 