@font-face {
    font-family: Aulita;
    src: url("../fonts/IRANSans/IRANSansWeb_UltraLight.woff"),
        url("../fonts/IRANSans/IRANSansWeb_UltraLight.woff") format("truetype");
    font-weight: normal;
}

* {
    font-family: IRANSans;
    /* overflow: auto; */
}

body {
    direction: ltr;
    /*background-color: #fdfdf4;*/
    transition: all ease-in 0.5s, background-color 0.5s, color 0.5s;
}
* { box-sizing: border-box;  }
/**************************************************/

/*********************nav Menu**********************/
.logo {
    width: 7rem;
    height: 6rem;
    margin-left: 0.8rem;
}

/*.nav-menu ul {*/
/*    padding-left: 0.8rem;*/
/*}*/
/*.nav-menu li {*/
/*    list-style-type: none;*/
/*    position: relative;*/
/*    white-space: nowrap;*/
/*}*/

/*.nav-menu li a {*/
/*    text-decoration: none;*/
/*    color: #080808;*/
/*    font-family: "Times New Roman", Times, serif;*/
/*    font-size: 1.4rem;*/
/*}*/

/*.nav-menu li a:hover {*/
/*    text-decoration: none;*/
/*    transition: all 0.3s;*/
/*    color: #002385;*/
/*}*/

/*.nav-menu li a:active {*/
/*    color: #002385;*/
/*    font-weight: bold;*/
/*    text-decoration: none;*/
/*}*/

/*.header {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    bottom: 0;*/
/*    width: 9rem;*/
/*    transition: all ease-in-out 0.5s;*/
/*    z-index: 1000;*/
/*    padding: 0;*/
/*    overflow-y: hidden;*/
/*    background-color: white;*/
/*    border-right: 1px solid #eeecec;*/
/*}*/

/*.navbar {*/
/*    padding: 0;*/
/*    overflow: hidden;*/
/*}*/
/*.header li {*/
/*    padding: 0.5rem 0rem;*/
/*}*/
.translation a {
    text-decoration: none;
    color: #080808;
    font-family: "Times New Roman", Times, serif;
    font-size: 1.2rem;
    font-weight: bold;
     padding-bottom: 3rem; 
}

#toggle-sun {
    font-size: 2rem;
    transition: transform 0.3s;
     padding-bottom: 1rem; 
    background: radial-gradient(
        circle,
        rgba(244, 169, 6, 1) 2%,
        rgba(242, 216, 4, 1) 36%,
        rgba(228, 225, 129, 1) 57%
    );
    -webkit-background-clip: text;
    color: transparent;
}
#toggle-sun:hover {
    color: rgba(244, 169, 6, 1);
    transition: 0.3ms;
    transform: rotate(360deg);
}

#toggle-moon {
    font-size: 2rem;
    background: linear-gradient(
        90deg,
        rgba(2, 0, 36, 1) 0%,
        rgba(9, 9, 121, 1) 35%,
        rgba(0, 212, 255, 1) 100%
    );
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    transition: transform 0.3s;
}
#toggle-moon:hover {
    transition: 0.3ms;
    background: linear-gradient(
        90deg,
        rgba(2, 0, 36, 1) 0%,
        rgba(0, 212, 255, 1) 100%,
        rgba(9, 9, 121, 1) 35%
    );
    -webkit-background-clip: text;
    color: transparent;
    transform: rotate(360deg);
}

/****************mpbile-nav*****************/

.burger {
    right: 1rem;
    top: 1rem;
    z-index: 9998;
    transition: all 0.4s;
    color: #080808;
    width: 1.5rem;
    height: 1rem;
    position: fixed;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: block;
}

.burger input {
    display: none;
}

.burger span {
    display: block;
    position: absolute;
    height: 0.1rem;
    width: 100%;
    background: rgb(19, 19, 19);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}

.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}

.burger input:checked ~ span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 0.5rem;
}

.burger input:checked ~ span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}

.burger input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 1rem;
    left: 0.5rem;
}
 
/********************************************/
#Hero {
    width: 100%;
    height: 100vh;
    background-position: right;
    background-image: url(../images/344.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-left: 0;
    overflow: hidden;
}

#Hero::before {
    content: "";
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

#Hero .Hero-container {
    position: relative;
    z-index: 2;
    min-width: 300px;
}

#Hero h1 {
    padding-top: 6rem;
    padding-left: 22rem;
    font-size: 3rem;
    color: #f3f4f7;
}

#Hero p {
    letter-spacing: 1px;
    padding-top: 1rem;
    padding-left: 24rem;
    font-size: 3rem;
    color: #f5f5f7;
}

/*****************social media*********/
 .social-media {
    margin-top: 1rem;
    margin-left: 5rem;
    
} 

 .social-media a {
    list-style-type: none;
    margin-left: 0.5rem;
    font-size: 1.8rem;
    font-weight: 300;
    cursor: pointer;
    
}

 .social-media i {
    display: inline-block;
    font-size: 1rem;
    width: 2rem;
    height: 2rem;
    padding-top: 0.4rem;
    border-radius: 50%;
    color: white;
    background-color: #2a9d8f;
}
.social-media {
    font-size:.8rem;
    font-style:italic;
}
.social:hover {
color: #002379;
} 

.top-contact {
    margin-top: 5rem;
    margin-left: 24rem;
    /* color: #080808; */
}

.top-contact ul {
    list-style: none;
    font-size: 1.3rem;
}

@media (min-width: 1024px) {
    #Hero {
        background-attachment: fixed;
    }
}

@media (max-width: 768px) {
    #Hero h1 {
        font-size: 2rem;
        padding-left: 0.8rem;
        line-height: 36px;
    }
    #Hero p {
        font-size: 1.8rem;
        padding-left: 0.8rem;
    }
    .top-contact {
        padding-left: 0;
        margin-left: 0.5rem;
    }
}

/**************about section*****************/
#main {
    margin-left: 10rem;
}

.container,
.container-fluid {
    padding-left: 0.05rem;
    padding-right: 10rem;
    padding-top: 5rem;
    overflow: hidden;
}

.dot-color {
    height: 1.3rem;
    width: 1.3rem;
    background-color: #8478ee;
    border-radius: 50%;
    display: inline-block;
}
.disk {
    height: 1.3rem;
    width: 1.3rem;
    border-radius: 50%;
    border: 2px solid #00154d;
    display: inline-block;
    margin-left: -1.3rem;
}

.title h2 {
    display: inline-block;
    /* color: #080808; */
    padding-left: 0.3rem;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.title p {
    font-size: 1.2rem;
    /* color: #080808; */
}
.about h3 {
    font-weight: 700;
    /* color: #080808; */
}
.about .content{
    padding-top:50px;
    padding-left:1rem;
}
.about .content ul li {
    list-style: none;
    /* color: #080808; */
    padding-bottom: 1.2rem;
    align-items: center;
    font-size: 1rem;
    display: flex;
}
.about .content ul li i {
    font-size: 0.7rem;
    /* color: #080808; */
}

.about .content p {
    font-size: 1.2rem;
    /* color: #080808; */
}

.aboutBox{
       width: 300px;
    height: 300px;
    overflow: hidden;
    background-image: url(../about.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.about img {
    margin-top: 2rem;
}
@media (max-width: 1199px) {
    /*#header {*/
    /*    left: -300px;*/
    /*}*/

    #main {
        margin-left: 0;
    }

    .container,
    .container-fluid {
        padding-left: 12px;
        padding-right: 10px;
    }
}

/****************Service***************/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    font-family:  IRANSans ;
    padding: 20px;
  }
  .service-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;

  }
  .service-card:hover {
    transform: translateX(-10px);
  }
  .service-icon {
    font-size: 32px;
    color: #0d9488;
    margin-bottom: 16px;
  }
  .service-title {
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 18px;
    color: #1e293b;
  }
  .service-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
  }
  
  .btn-service{
      text-decoration:none;
      font-size:16px;
      background-color:#0d9488;
      color:white;
      transition:background-color 0.3s ease;
      
  }
  
  .btn-service:hover{
      transform:translateY(-5px);
      color: black;
      
  }

/************portfolio***********/
.portfolio #portfolio-filters {
    list-style-type: none;
    background: #ebe9f1;
    border-radius: 5rem;
    text-align: center;
    padding: 0;
    padding: 0.2rem 0.5rem;
}
.portfolio ul li {
    display: inline-block;
    color: #080808;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}
.portfolio #portfolio-filters li:hover,
.portfolio #portfolio-filters li.filter-active {
    color: #01164b;
}
.portfolio p {
    padding-bottom: 1.5rem;
}
.portfolio .portfolio-wrap {
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.portfolio .portfolio-wrap::before {
    content: "";
    background: rgb(255, 255, 255, 0.5);
    border-radius:16px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition: all ease-in-out 0.3s;
    z-index: 2;
    opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
    opacity: 1;
    left: 0;
    right: 0;
    bottom: -60px;
    z-index: 3;
    position: absolute;
    transition: all ease-in-out 0.3s;
    display: flex;
    justify-content: center;
     border-radius:16px;
}

.portfolio .portfolio-item {
    margin-bottom: 30px;
    padding-top: 1rem;
}
.portfolio-wrap img {
    width: 100%;
  
     border-radius:16px;
}
.portfolio .portfolio-wrap .portfolio-links a {
    color: #fffae6;
    font-size: 1.3rem;
    text-align: center;
    background: rgba(3, 44, 63, 0.6);
    transition: 0.3s;
    width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
    background: rgba(158, 191, 206, 0.75);
    /* color: #080808; */
}
.portfolio .portfolio-wrap .portfolio-links a + a {
    border-left: 1px solid #02415e;
}

.portfolio .portfolio-wrap:hover::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
    opacity: 1;
    bottom: 0;
}
@media (max-width: 768px) {
    .portfolio
    .portfolio-item {
        max-width: 100%;
    }
}
/***********************contact******************/
.contact-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    font-family:  IRANSans ;
    padding: 20px;
}
.contact {
    padding-bottom: 130px;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    /* color: #080808; */
}


.contact .email-form {
    width: 100%;
    margin:1rem;
    border-radius: 16px;
    /*padding: 24px;*/
    transition: transform 0.3s ease;
}

.contact .email-form .form-group {
    padding-bottom: 8px;
}

 .send-btn {
    background: #2a9d8f;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
  }

  .send-btn:hover {
    background: #21867a;
    transform: scale(1.05);
  }

.send-btn span{
    
}

#message {
    padding-top: 3rem;
}
.contact .email-form .form-group {
    margin-bottom: 15px;
    /* color: #080808; */
}


@media (max-width: 768px) {
    .portfolio .portfolio-wrap {
        width: 300px;
    }
}

/*************/
.input-group {
    position: relative;
    margin: 1rem 0;
}

.input {
    border: solid 1.5px #9e9e9e;
    height: 30px;
    border-radius: 0.5rem;
    background: none;
    padding: .5rem;
    font-size: 1rem;
    color: #141414;
    transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.label {
    position: absolute;
    padding-left: 0.5rem;
    margin-bottom: 0px;
    margin-top:.3rem;
    left: 15px;
    font-size:.8rem;
    pointer-events: none;
    /*transform: translateY(rem);*/
    transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input:focus,
input:valid {
    outline: none;
    border: 2px solid #012e69;
}

.input:focus ~ label,
input:valid ~ label {
    transform: translateY(-50%) scale(0.8);
    background-color: #e4effd;
    padding: 0 0.2em;
    color: #012e69;
}

.contact .email-form textarea {
    width:100%;
    height: 100px;
    padding: 10px 15px;
}

/* .contact .email-form button[type="submit"] {
    transition: 0.4s;
    margin-top: 1.5rem;
}

.contact .email-form button[type="submit"]:hover {
    border: none;
    background: #37b3ed;
} */


@media (max-width: 768px) {
    .input {
        width: 100%;
        display: block;
    }
  
}
@media (min-width: 768px) {
    .input {
        width: 100%;
        display: block;
    }
    
}
/******************************************/
.footer .text {
    width: calc(100% - 3rem);
    height: 2.5rem;
    background: #2c3c66;
    padding-top: 0.4rem;
    color: white;
    bottom: 0;
    left: 0;
    /* position: absolute; */
    border-radius: 0 1.5rem 0 0;
}

#back-to-top {
    /* display: none; */
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9910;
    font-size: 1.2rem;
    border: none;
    outline: none;
    background-color: #2c3c66;
    color: #fff;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.4s;
    outline: none !important;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding-top: 0.3rem;
}

#back-to-top:hover {
    text-decoration: none;
    color: #2c3c66;
    background-color: #fff;
}
/**************************************************/
.top-header { 
    position:relative;
    width: 100%;  
    height: 4rem; /* Height is set already */  
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);  
    margin-top: 1rem;  
    padding-left: 1.5rem;  
    padding-right: 1.5rem;  
    display: flex; /* Use flexbox for layout */  
    align-items: center; /* Vertically center content */  
    justify-content: space-between; /* Space between logo and other elements */  
}  

.breadcrumb {  
    background-color: rgba(0, 0, 0, 0.001);  
}  

.breadcrumb ol,  
.top-header ol {  
    padding-right: 1.5rem;  
    padding-top: 1rem;  
    padding-bottom: 1rem;  
    list-style: none;  
}  

.breadcrumb a {  
    color: #639bd7;  
}  

.breadcrumb ol li + li::before {  
    content: "/";  
}  

.breadcrumb li,  
.top-header li {  
    display: inline-block;  
    font-size: 1.1rem;  
}  

.top-header li {  
    padding-right: 1rem;  
    cursor: pointer;
    
}  

.top-header a {  
    color: #080808;  
    transition: all ease-in 0.3s;  
}  

.top-header a:hover {  
    color: #5f83e6;  
    font-size: large;  
}  

.breadcrumb a:hover {  
    text-decoration: none;  
}  

.breadcrumb li .active,  
.top-header li .active {  
    color: #2b62ec;  
}  

.top-header .logo {  
    width: 100px; /* Set your desired width */  
    height: auto; /* Maintain aspect ratio */  
    max-height: 80%; /* Adjust max height for vertical centering */  
}

/***********************************/
.containerxx {
    width: 100%;
    /* height: calc(100vh - 2.5rem); */
    overflow: auto;
}
.content-project {
    padding-left: 5rem;
    padding-right: 5rem;
    padding-top: 2rem;
    /* overflow: hidden; */
}
.project {
    display: block;
    transition: 1s;
}
.project-information {
    padding-top: 1rem;
    background-color: rgba(197, 188, 238, 0.1);
    width: 100%;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    border-radius: 0 1.3rem 0 1.3rem;
}
.project-information h3 {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #d1d0d0;
    margin: 1.5rem;
    padding-bottom: 1rem;
}

.project-information li {
    list-style: none;
    line-height: 2rem;
    font-size: 1.1rem;
}
.slider {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 1.3rem 0 1.3rem 0;
    /* padding-top: 1rem; */
    background-color: rgba(197, 188, 238, 0.1);
    width: 100%;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}
.slider img {
    padding: 1rem;
    width: 100%;
    max-height: 300px;
}
.slider h5 {
    color: #080808;
    margin-bottom: 0;
}
.description {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.description p {
    font-size: 1.2rem;
}
.description h4 {
    font-size: 1.3rem;
    font-weight: bold;
    padding-bottom: 1.3rem;
}
/*************************************/
@media (max-width: 768px) {
    .top-header h1 {
        padding-left: 1rem;
    }
    .top-header ol {
        padding-right: 3.5rem;
        color: #002379;
    }
}

/*****************Scrollbar**********************/
/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #e2dbf1;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #948e9e;
    /* border-radius: 5px; */
}

/***************/

body.dark-mode {
    background-color: #222935;
    color: #fff !important;
}

.top-header.dark-mode a {
    color: #fff !important;
}
.top-header.dark-mode {
    background-color: rgba(123, 116, 161, 0.1);
}

