*{
  margin: 0;
  padding: 0;
    box-sizing: border-box;
}
/* 
   ================
   fonts
   ================ 
*/
@font-face {
    font-family: vazir;
    src: url(../fonts/vazir/Vazir-Bold.woff2) format("woff2"),
        url(../fonts/vazir/Vazir-Bold.woff)format("woff"),
        url(../fonts/vazir/Vazir-Bold.ttf)format("truetype");
}
/* 
================
variable
================ 
*/
:root {
    --clr-primary:rgb(16, 21, 61);
    --clr-primary-light: #864e97fa;
    --clr-gray-5: #256e74d3;
    --clr-gray-1: #0f3d68d3;
    --clr-gray-10: #ffffffd3;
    --clr-white: #fff;
    --ff-vazir: "vazir", sans-serif;
    --radius: 0.5rem;
    --transition: all 0.5s linear;
}

body {
    font-family: var(--ff-vazir);
    background: var(--clr-white);
    color: var(--clr-gray-1);
    font-size: 0.85rem;
    text-align: right;
}

a {
    text-decoration: none;
}


img {
    display: block;
    width: 100%;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.25rem;
}

h4 {
    font-size: 0.75rem;
}

@media screen and (min-width:800px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1rem;
    }

}
.btn {
    background:var(--clr-primary) ;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    color: var(--clr-white);
    transition: var(--transition);
    display: inline-block;
}

.btn:hover {
    background: var(--clr-gray-1);
    color: var(--clr-primary);
}

.clearfix::after,
.clearfix::before {
    content: "";
    clear: both;

}

.section-center {
    padding: 3rem 0;
    width: 85vw;
    margin: 0 auto;
    max-width: 1170px;
}

@media screen and (min-width: 992px) {
    .section-center {
        width: 95vw;
    }
}

.section-title h3 {
    color: rgb(53, 23, 3);
}

.section-title {
    margin-bottom: 2rem;
}


/* 
================
Animaiton
================ 
*/
@keyframes bounce {
    0%{
        transform: scale(1);
    }
    50%{
         transform: scale(2);
    }
    100%{
         transform: scale(1);
    }
}
@keyframes slidefromtop {
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
         opacity: 1;
    }
}
@keyframes slidefromBottom {
    0%{
        transform: translateY(100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0);
         opacity: 1;
    }
}
/* 
================
Header-top
================ 
*/
#menus{
    z-index: 1;
    direction: rtl;
    background-color: rgb(16, 21, 61);
    font-size: 20px;
   overflow: auto;
   position:fixed;
}
#menus a{
    color: white;
    
}
.menu-text{
   color: white;
   padding-top: 20px;
}
#menus .menu-text{
    color: white;
   float: left;
   padding-top: 20px;
   margin-left: 20px;

}
.nav-menu4{
    border-radius: 50%;
    float:left;
    margin-left: 2rem;
    width: 60px;
    transform: translate(0 ,2px);
}
.nav-menu2{
    border-left: 0.1rem solid white;  
}
.nav-menu6{
    border-left: 0.1rem solid white;  
}

.nav-menu{
    border-left: 0.1rem solid white; 
}
.nav-menu5{
  border-left: 0.1rem solid white;   
}
#menus ul{
    list-style: none;
    float:left;
    margin-top:6px;
    margin-left: 20px;
    
   
 }
#menus ul li{
    float:left;
    margin-right:0rem;
    
    
   
  }
#menus ul li a{
    display: block;
    text-align: center;
    padding: 20px;
  
  }
#menusul li a:hover{
    color: rgb(120, 126, 172) ;
    
  }




/* 
================
Navbar
================ 
*/
.nav-btn {
    font-size: 1.5rem;
    color:white;
    position: fixed;
    top: 4%;
    right:3%;
    z-index: 1;
    cursor: pointer;
    animation: bounce 2s ease  infinite;
    transform: translate(0,500px);
}
.navbar{
position: fixed;
top: 0;
right: 0;
background-color:var(--clr-primary); 
z-index: 2;
height:100%;
width:100%;
box-shadow: 2px 0 2px rgba(0, 0, 0, 0.2);
transition: var(--transition);
transform: translateX(100%);
}
.shownav{
    transform: translate(0);
}
.navbar-header{
    text-align: left;
}
.nav-close{
    font-size: 2.5rem;
    color: var(--clr-gray-5);
    cursor: pointer;
    transition: var(--transition);
}
.nav-close:hover{
    color:  #86409bfa;
}
.nav-items{
    list-style-type: none;
    direction: rtl;
}
.nav-link{
    display: block;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    color:white;
    transition: var(--transition );
}
.nav-link i{
font-size: 1.4rem;
margin-left: 0.3rem;
}
.nav-link:hover{
  background:var(--clr-gray-5);
border-right: 0.25rem solid var(--clr-primary) ;
padding-right: 1.5rem;
color: var(--clr-primary);
}
@media screen and (min-width:768px) {
    .navbar{
        width: 30vw;
    }
}


/* 
================
Header
================ 
*/
.header {
    height: 100vh;
    background: linear-gradient( rgba(187, 171, 171, 0.3)), url(../images/denthis-img/6.webp) center/cover no-repeat fixed;
    position: relative;
}


.banner {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    transform: translate(-50%, -50%);
    text-align: center;
}

.banner h1 {
    color: var(--clr-primary);
    margin-bottom: 2rem;
    animation: slidefromtop 2s ease-in-out 1;
    
    font-size: 3rem;

}

.banner h2 {
    color: var(--clr-gray-5);
    margin-bottom: 3rem;
animation: slidefromBottom 2s ease-in-out 1;
  font-size: 3rem;
}

.btn-banner {
    font-size: 1.25rem;
    outline: 0.125rem solid var(--clr-primary);
    outline-offset: 0.25rem;
    padding: 0.75rem 1.25rem;
    animation: slidefromBottom 2s linear 1;
}

/* 
===========
content-divider
===========
*/
.content-divider {
    height: 0.5rem;
    background: linear-gradient(to left, rgb(162, 134, 228), rgb(37, 18, 70), rgb(162, 134, 228));
}

/* 
===========
features
===========
*/
.features {
    background: var(--clr-gray-10);

}

.clearfix::after,
.clearfix::before {
    content: "";
    clear: both;
    display: block;

}

 
.feature {
    height: 220px;
    text-align: center;
    padding: 2.5rem 0;
    transition: var(--transition);

}

/* .feature:hover {
    background: var(--clr-white);
    box-shadow: 0 2px 0 var(--clr-primary);
} */

.feature:hover .feature-icon {
    transform: translateY(-5px);

}


/* .feature-icon {
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: 1.25rem;
    display: inline-block;
} */

.feature-title {
    margin-bottom: 1.5rem;

}

.feature-text {
    color: var(--clr-gray-1);

    /* max-width: 17rem; */
    margin: 0 auto;
    font-size: 1.25rem;
}

 @media screen and (min-width: 567px){
     .feature{
        float:right;
        width : 50%;
    }
   
} 
 @media screen and (min-width: 1200px){
    .feature {
       /* float:right; */
       /* width : 25%; */
   }
   .feature-title{
    text-align: right;
    color: var(--clr-primary);
    font-weight: 600;
    font-size: 1.5rem;
   }
} 
/* 
===========
about
===========
*/
.about{
     border-bottom: rgb(41, 47, 90) solid 2px; 
}
.about-img,
.about-info {
padding-top: 120px;    
}

.about-picture-container {
    background: var(--clr-gray-5);
    max-width: 30rem;
    border: 0.3rem solid var(--clr-primary);
    border-radius: var(--radius);
    overflow: hidden;
}

.about-picture-container:hover .about-picture {
    opacity: 0.5;
    transform: scale(1.5);
}

.about-picture {
    transition: var(--transition);
}
.about-text {
    color: var(--clr-gray-1);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 2rem;

}
.section-title h2{
    padding-top: 1rem;
}
.section-title h3{
font-size: 1.25rem;
font-weight: 600;
}


.about-btn {
    margin-top: 2rem;
}

@media screen and (min-width: 992px) {
    .about-img {
        float: left;
        width: 50%;
    }

    .about-info {
        float: right;
        width: 50%;
    }

}

/* 
===========
products
===========
*/
.products {
    background: var(--clr-white);
     border-bottom: rgb(41, 47, 90) solid 2px;
}

.products article {
    padding: 1.5rem 0;
}

.product-text {
    color: var(--clr-gray-1);
    /* max-width: 20rem; */
    margin-left: auto;
    display: block;
    line-height: 2rem;
    font-weight: 300;
    font-size: 1.25rem;
    padding-top: 1rem;
}

.product {
    margin-bottom: 2rem;
}

.product-img {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    height: 18rem;
    object-fit: cover;
    width: 20rem;
}
.product-title{
    text-align: center;
  font-size: 1.5rem;
}

.product-p{
     text-align: right;
     margin-bottom: 2rem;
     font-size: 1.10rem;
}
.title2{
    margin-right: 50px;
}

.product-price {
    color: var(--clr-primary);
    direction: rtl;
}

@media screen and (min-width: 768px) {
    .product {
        float: right;
        width: 50%;
        padding-left: 2rem;
    }

}

@media screen and (min-width: 992px) {
    .product {
        width: 33.3%;
    }
}

@media screen and (min-width: 1200px) {
    .products-info {
        /* float: right; */
        /* width: 30%; */
       
    }
    .product-p{
     margin-top: 1rem;
     max-width:20rem;
    }
   .products-card {
        float: left;
        /* width: 70%; */
 }


    /* .product {
        padding-left: 0;
        padding-right: 2rem;
        margin-bottom: 0;

    } */
}

/* 
===========
services
===========
*/
.section-title {
    text-align: center;
    padding-top: 1.5rem;
    margin-bottom: 0;
    
}

.service-card {
    background: var(--clr-gray-10);
    margin: 2rem 0;
    border-radius: var(--radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.service-img {
    height: 17rem;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.service-info {
    text-align: center;
    padding: 3rem 0 2.5rem 0;
}
.service-info h4{
    font-size: 1.40rem;
}

.service-info p {
    color: var(--clr-gray-1);
    max-width: 20rem;
    margin: 1rem auto;
}

@media screen and (min-width:768px) {
    .service-card {
        float: right;
        width: 45%;
        margin-left: 3.2%;

    }
}

@media screen and (min-width: 992px) {
    .service-card {
        width: 30%;
        margin-left: 3.33;
    }
}

.service-img-container {
    position: relative;
}

.service-icon {
    color: var(--clr-primary);
    position: absolute;
    left: 50%;
    bottom: 0;
    font-size: 1.75rem;
    transform: translate(-50%, 50%);
    background: var(--clr-primary-light);
    padding: 0.3rem 0.5rem 0.1rem 0.5rem;
    border-radius: 50%;
    border: 0.375rem solid var(--clr-gray-10);
}
/* 
===========
Maps
===========
*/
.map1{

 float: right;
 padding-left: 7rem;
 margin-right: 10rem;


}


/*
=============== 
Blog
===============
*/

.blog {
    background: var(--clr-white);
}

.card {
    height: 27rem;
    perspective: 1500px;
    position: relative;
}

.card-side {
    position: absolute;
    transition: all 1.5s linear;
    backface-visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

.card-front {
    background: var(--clr-white);
}

.card-back {
    background: var(--clr-gray-5);
    transform: rotateY(180deg);
    display: grid;
    place-items: center;
}

.card:hover .card-front {
    transform: rotateY(-180deg);
}

.card:hover .card-back {
    transform: rotateY(0);
    
}

.card-front img {
    height: 13rem;
    object-fit: cover;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.card-footer img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

.card-info {
    padding: 1rem 1.5rem;
}

.card-footer {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.card-footer p {
    margin-bottom: 0;
    justify-self: end;
    color: var(--clr-primary-2);
    font-size: 0.85rem;
}

.blog-center {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 3rem 1rem;
}


/* 
===========
contact us
===========
*/
.contact-info {
display: inline;
float: right;

}

.contact{
    background: var(--clr-gray-10);

}
.contact article{
    margin: 1rem 0;
}
.contact-item{
    margin-bottom: 1.5rem;
    text-align: right;
    display: inline;
}
.contact-title{
    color:brown;
    font-weight: 400;
    direction: rtl;
    font-size: 1.25rem;
}   
.contact-text{
    font-size: 1rem ;
    
}
.contact-text a {
color: wheat;
font-size: 1rem;
}
.contact-form{
    background: var(--clr-white);
    border-radius: var(--radius);
    
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    transition: var(--transition);
    max-width: 23rem;
    
    top: 30%;
    left: 7%;
   
}
.contact-form:hover{
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.contact-form h3{
    color: var(--clr-gray-5);
    padding-top: 1.2rem;
    text-align: center;
}
.form-group{
    padding:0.75rem 5rem;
}
.form-control{
    background: var(--clr-gray-10);
    display:block;
    width: 100%;margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--radius);
    direction: rtl;
}
.form-control::placeholder{
    font-family: var(--ff-vazir);
    color: var(--clr-gray-1);
}
.submit-btn{
    width: 100%;
    padding: 0.75rem;
    border: none;
    font-family: var(--ff-vazir);
}
@media screen and (min-width: 992px) {
   .contact article{
    float: right;
    width: 50%;
   }
}
/* 
===========
footer
===========
*/
.footer{
background:rgb(16, 21, 61);
text-align: center;
color: var(--clr-white);

}
.social-icon{
    color: var(--clr-white);
    margin-bottom: 1rem;
    margin-right: 1rem;
    font-size: 1.5rem;
    float:right;
    
    
}
.telegram{

transform: translate(0px,33px);

}

.social-icon:hover{
    color: var(--clr-primary);
}
.footer-text{
    direction: rtl;
}
.company{
    color: white;
    
    transition: var(--transition);
}
.footer-title {
    font-size: 2.5rem;
    color:var(--clr-gray-1);
    
  
}
/* <!--About-azmayesh --> */
.about-img-azmayesh{
 margin-bottom: 2rem;

}
@media screen and (min-width:992px){
    .about-center-azmayesh{
        display: flex;
        justify-content: space-between;
        
        font-size: 1.25rem;
        }
    .about-img-azmayesh{
     margin-bottom: 0;
     margin-top: 5rem;
    }
   .about-img-azmayesh , .about-info-azmayesh{
        flex: 0 0 calc(50% - 2rem);
        align-self: center;
    }
}
@media screen and (min-width:1170px){
     .about-img-azmayesh{
        position: relative;
     }
     .about-img-azmayesh::before{
        content: "";
        border: 0.4rem solid rgb(41, 55, 156);
        position: absolute;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        top: -1rem;
       left: -1rem;
        z-index: -1;
     }
}







