/* @import url('assets/css/fonts.css'); */

@font-face {
    font-family: "Yekan_Bakh";
    src: url("assets/fonts/YekanBakhFaNum-Regular.woff2") format("woff2");
    font-weight: 600;
}

@font-face {
    font-family: "Estedad1";
    src: url("assets/fonts/Estedad-Medium.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Estedad1";
    src: url("assets/fonts/Estedad-Bold.ttf") format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: "Sarvenaz";
    src: url("assets/fonts/Digi-Sarvenaz.ttf") format('truetype');
    font-weight: 600;
}

/* Digi Negare
  Digi Madasi Bold
  Digi Nofar Bold
  Digi Nozha Regular
  Digi Paeez Professional
  Digi Sarvenaz */
:root {
    --bg-gray-dark: #25262a;
    --bg-gray-light: #2d2e32;
    --bg-yellow: #ffb227;
    --bg-yellow-light: #e8bc1b;
    --btn-bg-color: #fec71d;
    --bg-green: #64f4ab;
    --bg-dark-green: #327a56;
    --title-font: 'Yekan_Bakh';
    --body-font: 'Estedad1';
    --color-primary: #e8e8e8;
    --color-mini-title: #64f4ab;
}

.overflow-x-hidden {
    overflow-x: hidden !important;
}

.btn {
    padding: 16px 45px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 0;
}

.btn-primary {
    background-color: var(--btn-bg-color);
    color: var(--bg-gray-dark);
}

.btn-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-gray-light);
    color: var(--bg-yellow-light);
    padding: 0;
}

.gradiant-green {
    background: linear-gradient(180deg, var(--bg-green) 0%, var(--bg-dark-green) 100%);
}

.gradiant-primary {
    background: linear-gradient(91deg, var(--bg-yellow) 0%, var(--bg-yellow-light) 100%)
}

.shadow-primary {
    box-shadow: 0px 10px 15px 0px rgba(255, 175, 41, .25)
}

.shadow-secondary {
    box-shadow: -25px 25px 30px 0px rgba(100, 244, 171, .15);
}

body {
    overflow-x: hidden !important;
    background-color: var(--bg-gray-dark);
    font-family: var(--body-font);
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--color-primary);
}

h1 {
    font-family: "Sarvenaz";
    font-size: 4.5rem;
}

h2 {
    font-family: 'Yekan_Bakh';
    font-size: 2.5rem;
    line-height: 3.5rem;
}

h3,
h4,
h5,
h6 {
    color: var(--color-mini-title);
}

.mini-title {
    color: var(--bg-green);
    padding-right: 1rem;
    position: relative;
}

.mini-title::before {
    content: '';
    display: inline-block;
    width: 20px;
    border: 1px solid var(--bg-green);
    margin-left: 6px;
}
.offcanvas{
    background-color: var(--bg-gray-light);
}
#header .navbar .navbar-nav a {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 2rem;
    position: relative;
    padding: 0;
}

#header .navbar .navbar-nav a:hover {
    color: #fff;
}

#header .navbar .navbar-nav a:hover::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    bottom: -10px;

}

#about .me {
    position: relative;
    background-image: url(images/hero-img-bg.svg);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: bottom center;
}

#about .me .float-icons {
    display: inline-flex;
    width: 100px;
    height: 100px;
    background-color: var(--bg-gray-light);
    color: var(--bg-green);
    font-size: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#about .me .float-icons.icon1 {
    position: absolute;
    top: 85px;
    right: 17%;
}

#about .me .float-icons.icon2 {
    position: absolute;
    top: 85px;
    left: 17%;
}

#about .me .float-icons.icon3 {
    position: absolute;
    top: 360px;
    right: 5%;
}

#about .me .float-icons.icon4 {
    position: absolute;
    top: 360px;
    left: 5%;
}

.btn.shadow-primary:hover {
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .5);
}


#skills {
    background-color: var(--bg-gray-light);
    padding: 7rem 0;
}

#skills .card {
    border-radius: 40px;
    background-color: var(--bg-gray-dark);
    border: 0;
}

#skills .card:hover {
    background: linear-gradient(180deg, var(--bg-green) 0%, var(--bg-dark-green) 100%);
    box-shadow: -25px 25px 30px 0px rgba(100, 244, 171, .15);

}

#skills .card span {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #64f4ab;
    line-height: 100px;
    border-radius: 50%;
    font-size: 1.5rem;
    background-color: var(--bg-gray-light);
    margin: 0 auto;
    margin-bottom: 1rem;
}

#skills .card:hover span {
    background: transparent linear-gradient(-180deg, #327a56 0%, #64f4ab 100%) 100% 0% no-repeat padding-box;
    border: 2px solid #64f4ab;
}

#skills .card span img {
    width: 40px;
}

#skills .card h3 {
    font-family: "Estedad1", tahoma;
}

#skills .card:hover h3 {
    color: #fff;
}

#skills .content {
    padding: 10rem 10rem 0 1rem;
}

/* Projects */
.project {
    background-color: var(--bg-gray-light);
    padding: 4rem 0;
}

.project .content {
    padding: 0 1rem 0 1.5rem;
}

.project .image-holder {
    position: relative;
}

.project img {
    border-radius: 45px;
    position: absolute;
    right: 0;
    top: 10%;
}

.divider {
    position: relative;
    background-color: var(--bg-gray-light);
}

#devider1.divider svg.big-circle {
    z-index: 3;
    width: auto;
    position: absolute;
    top: -140px;
    left: -15%;
}

#devider1.divider svg.small-circle {
    z-index: 3;
    width: auto;
    position: absolute;
    top: 200px;
    left: 0;
}

#devider2.divider svg {
    z-index: 3;
    width: auto;
    position: absolute;
    top: -140px;
    right: -16%;
}

#project2 svg {
    padding-left: 4rem;
}

#Call-to-action {
    background-color: var(--bg-gray-light);
}

#Counter {
    background-color: var(--bg-gray-light);
    padding: 7rem 3rem;
}

#Counter .container {
    border-radius: 3rem;
    overflow: hidden;
}

#Counter .container .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#Counter .box {
    background-color: var(--bg-gray-dark);
    padding: 4rem;
    width: 24%;
}

#Counter .box span {
    display: block;
    margin: 1rem 0;
    font-size: 1.5rem;
}

#Counter .box .counter-value {
    color: var(--bg-green);
    font-size: 4rem;
    font-family: var(--title-font);
}

#Review {
    background-color: var(--bg-gray-light);
    padding: 7rem 2rem;
}

#review-slider .dialog {
    padding: 5rem;
}

#review-slider .avatar {
    text-align: center;
    background-image: url(images/testimonials-img-bg.svg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 400px;

}

#review-slider .avatar img {
    border-radius: 3rem;
    width: 350px;
}

#review-slider p {
    font-size: 1.5rem;
}

#review-slider .name {
    color: var(--bg-green);
    font-size: 1.3rem;
}

#final-CTA {
    background-color: var(--bg-gray-light);
    padding-top: 7rem;
}

#final-CTA .cta-content {
    background-image: url("images/footer-left-bg.svg"), url("images/footer-left-right.svg");
    background-position: top left, bottom right;
    background-repeat: no-repeat;
    background-size: auto;
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-gray-dark);
    border-radius: 4rem;
    overflow: hidden;
    padding: 4rem;
    margin-bottom: 7rem;
}

#final-CTA h3 {
    font-family: "Sarvenaz";
    font-size: 3rem;
    color: #fff;
}

#final-CTA .cta-content p {
    text-align: center;
    max-width: 700px;
}

#footer .footer-social {
    display: flex;
    justify-content: space-between;
}

#Certificates .swiper-slide img{
    width: 250px;
}
.carousel1 {
    --carousel1-item-height: auto;
    --carousel1-item-width: 260px;
  }
@media screen and (max-width: 992px) {
    body{
        overflow-x: hidden !important;
    }
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 2.5rem;
    }

    p {
        font-size: 1rem;
    }

    #header .navbar .nav-item {
        margin-bottom: 1rem;
    }

    #about .me {
        background-size: contain;
        background-position: center;
    }

    #about .me .float-icons {
        width: 65px;
        height: 65px;
        font-size: 1.5rem;
        z-index: 2;
    }

    #about .me .float-icons.icon1 {
        position: absolute;
        top: 72px;
        right: 17%;
    }

    #about .me .float-icons.icon2 {
        position: absolute;
        top: 116px;
        left: 15%;
    }

    #about .me .float-icons.icon3 {
        position: absolute;
        top: 200px;
        right: 1%;
    }

    #about .me .float-icons.icon4 {
        position: absolute;
        top: 213px;
        left: 0;
    }

    #about .me img {
        position: relative;
        z-index: 3;
    }

    #skills {
        padding-bottom: 1rem;
    }

    #skills .content {
        padding: 0 16px 0 10px;
    }

    #skills .card h3 {
        font-size: 1.3rem;
    }

    .project svg {
        width: 550px;
    }

    .project img {
        top: 23%;
    }

    .project .content {
        position: relative;
        z-index: 3;
    }

    #Counter .box {
        padding: 0;
    }

    #Counter .box span {
        margin: 1rem 0;
        font-size: 1rem;
    }
    #Review {
        padding: 0 2rem 4rem;
      }
    #review-slider p {
        font-size: 1rem;
    }

    #review-slider .dialog {
        padding: 3rem;
    }
    .divider{
        z-index: 1;
    }
    #devider1.divider svg.small-circle {
        z-index: 3;
        width: auto;
        position: absolute;
        top: 50px;
        right: -6%;
      }
      #devider2.divider svg {
        z-index: 3;
        position: absolute;
        top: -140px;
        right: 0%;
        width: 256px;
      }
} /* End of 992px */


@media screen and (max-width:480px) {
    .project {
        position: relative;
        z-index: 8;
      }
    #skills .content,
    .project .content {
        padding: 0.5rem;
    }
    
    .project svg {
        width: 350px !important;
        height: auto !important;
    }
    .project img {
        top: 0;
        width: 90%;
        border-radius: 20px;
      }
    #Counter .box {
        width: 100%;
        padding: 1rem;
    }
    #project1 .row,#project3 .row {
        flex-direction: column-reverse !important;
    }
      #project2 svg{
        padding-left: 0;
      }
    #final-CTA .cta-content{
        padding: 7rem 3rem;
    }
    #final-CTA h3{
        font-size: 2rem;
    }
    #devider1 ,#Review, #Certificates,.divider,#final-CTA,#final-CTA .cta-content{
        overflow: hidden !important;
    }
    .carousel1 {
        --carousel1-item-height: auto;
        --carousel1-item-width: 160px;
      }


}/* End of 480px */




