/*
 Theme Name:   construction-landing-page-child
 Theme URI:    https://rarathemes.com/wordpress-themes/construction-landing-page/
 Description:  Twenty Fourteen Child Theme
 Author:       Behbood Moeini
 Author URI:   http://naghshik.ir
 Template:     construction-landing-page
 Text Domain: construction-landing-page
 RTL: yes
 Version:      1.0.0
*/



* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:focus {
  outline: none !important;
}

 body {
  font-family: Vazirmatn;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


body.menu-open {
  padding-top: 0 !important;
}
img {
  border-radius: 7px;
}
a {
  transition: all 0.1s ease;
}
a:hover{
  color:#F38809;
  text-decoration: none;
}
.custom-logo {
  width: 70px;
  height: auto;
  max-height: 70px;
  
}



@keyframes fadeInRightFast {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.site-header .site-branding .site-title,
.site-header .site-branding .site-description {
  animation: fadeInRightFast 0.6s ease-out forwards;
  opacity: 0;
}

.site-header .site-branding .site-title {
  animation-delay: 0.15s;
}
.site-header .site-branding .site-description {
  animation-delay: 0.3s;
}

.site-branding {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: right;
    direction: rtl;
    order: 1;
}


@keyframes spinFadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100px) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(-1800deg);
  }
}

.site-branding img {
    margin-left: 15px;
    margin-right: 15px;
    display: flex;
    order: 1;
    animation: spinFadeInRight 3s ease-out forwards;
}

.site-title-description {
    text-align: right; 
}

.site-header .site-branding .site-title {
    margin: 0;
    font-size: 24px;  
    font-family: outfit, Vazirmatn;
    text-align: right;
    line-height: 1.7;
    color: #666;
    font-weight: 400;
    
    
}

.site-description {
    margin: 0;
    font-size: 14px;  
}

.site-header {
    padding: 0 !important;
    background-color: #fff;
    direction: rtl;
    color: #666;
  }
  
  


#primary .post .entry-meta a {
    font-family: Vazirmatn;
}



.site-header  {

   width: 100%;
}
.site-branding, .main-navigation a{
  width:100%;
}


.sticky-nav {
  position: relative; 
  top: 0;
  z-index: 900;
  background: #f7f7f7;
  box-shadow: 0 3px 4px 0 rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.sticky-fixed {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
}



.main-navigation {
  background-color: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    
}

.main-navigation li {
    margin: 0 15px;
}

.main-navigation a {
    text-decoration: none;
    padding: 0;
    display: inline-block;
    color: #666;
}
.main-navigation a:hover {
  color:#F38809 !important;
}


.banner {
 width: 100%;
 top:0;
}


.menu-search form {
    display: inline-flex;
    margin: 0;
}

.menu-search input[type="search"] {
    padding: 0px 14px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: #fff;
}



.menu-search input[type="search"]:focus {
   outline: none;
}

.menu-search button.search-submit {
    background-color: transparent;
    color: #666;
    border: none;
    cursor: pointer;
    padding-left: 15px;
    border-radius: 20px 0 0 20px;
}

.menu-search button.search-submit i {
    font-size: 20px;
    color: #666;
}

.menu-search button.search-submit:hover {
    color: #F38809;  
}
.menu-search button.search-submit:focus {
    outline: none;  
}

.search .top-section .search-form {
 display: none;
}



.main-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.main-navigation ul {
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.menu-search {
    margin-inline-start: auto; /* LTR: left | RTL: right */
}

.menu-search form {
    display: flex;
    align-items: center;
    justify-content: center;
}


.main-navigation {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background: #dbdbdb;
}

.main-navigation .menu-inner {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    direction: rtl; 
    box-sizing: border-box;
}


.main-navigation li:hover > ul {
    display: block;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: auto;
    min-width: 200px;
    z-index: 3;
}












.user-account-links {
    margin-right: auto; 
    font-size: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #666;
    order: 2;
}

.user-account-links a {
    text-decoration: none;
    color: #666;
    font-weight: bold;
    padding: 40px 0;
}

.user-account-links a:hover {
    color: #F38809;
}





.wp-block-search__button {
 border-radius: 20px 0 0 20px;
 height: 40px;
 background-color: #fff;
 color: #666;
}

.wp-block-search__button-outside input[type="search"], .wp-block-search__button-outside input[type="text"] {
padding: 2px 10px 2px 5px;
outline: none;
border: none;
border-radius: 0 20px 20px 0;


}






.user-account-links a {
  white-space: nowrap;
  margin: auto;
}





.main-navigation li:hover > ul {
   top: 100%;
   margin-top: 0;
   opacity: 1;
   visibility: visible;
}



.main-navigation ul li:hover>ul {
   border-radius: 0 0 7px 7px;
   
}







.main-navigation ul ul {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    background-color: #fff;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    
}


.main-navigation ul ul li {
    width: 100%;
    
}


.main-navigation ul ul a {
    display: block;
    padding: 10px 20px;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border-radius: 8px;
    border: none;
    text-wrap: nowrap;
}


.main-navigation ul ul a:hover {
    background-color: transparent;
    color: #F38809;
    transform: translateX(-5px);
}




.about,
.our-projects,
.our-services {
  padding: 30px 0 0;
}
.banner {
  padding: 20px 0 10px 0;
  

}


.about .col,
.banner .text .title {
    opacity: 0;
    transform: translateX(-90px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    box-shadow: #ccc;
    text-align: center;
    font-size: 30px;
    line-height: 1.5;
    
  }
  
  .about .col.visible,
   .banner .text .title.visible {
    opacity: 1;
    transform: translateX(0);
  }



  .about .col:hover {
    background-color: #f0f0f000;
    transform: scale(1.05);
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .about .col .text-holder {
    border-radius: 0 0 7px 7px;
  }
  .about .col .img-holder img {
    border-radius: 7px 7px 0 0;
  }


  input[type="text"],
   input[type="email"],
    input[type="url"],
     input[type="password"],
      input[type="search"],
       input[type="date"],
        textarea {
    border-radius: 25px;
  }

  .banner form {
    text-align: right !important;
    background-color: #2eb0edd4;
    
  }

  .banner form input[type="text"],
   .banner form input[type="email"],
   .banner form textarea,
   .banner form input[type="submit"],
    .banner form {
    border-radius: 7px;
  }
  .banner form input[type="text"],
   .banner form input[type="email"] {
    padding: 4px 12px 4px 12px;
    color: #666;
  }


.banner form input[type="submit"] {
   width: 50%;
   margin: auto;
   font-size: 18px;
   height: 35px;
   line-height: 1px;
  
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-radius: 14px;
  }

select {
  width: 100%;
  border-radius: 7px;
  padding: 4px;
}

.about .col {
  border-radius: 7px;
}


.banner form:after {
  content: "";
  display: none;
  width: 124px;
  height: 90px;
  top: 70px;
  left: -175px;
  background: url('http://localhost/wp-content/themes/construction-landing-page/images/bg-arrow.png') no-repeat center center; /* آدرس تصویر */
  background-size: contain;
  animation: rotateAnimation 3s ease-out;
}


@keyframes rotateAnimation {
  0% {
      transform: rotate(0deg);
  }
  
  100% {
      transform: rotate(360deg);
  }
}


.fregister input[type="text"],
.fregister input[type="email"],
.fregister input[type="url"],
.fregister input[type="password"],
.fregister input[type="search"],
.fregister input[type="date"],
.fregister textarea,
.flogin input[type="text"],
.flogin input[type="password"],
.fprofile input[type="text"],
.fprofile input[type="email"],
.fprofile input[type="password"],
.fnewpass input[type="password"],
.frecoverypass input[type="text"] {
    max-width: 350px;
    margin: auto;
}
.fregister,
.flogin,
.fprofile,
.fnewpass,
.frecoverypass {
  max-width: 400px;
  margin: auto;
  text-align: center;
  border-radius: 21px;
  padding: 10px;
}
.fregister label,
.flogin label,
.fprofile label,
.fnewpass label,
.frecoverypass label {
  float: right !important;
  margin-right: 40px;
  text-decoration: none !important;
  color:#666;
}
.fregister a,
.flogin a{
  text-decoration: none !important;
  color: #666;
}
.fregister input[type="submit"],
.flogin input[type="submit"],
.fprofile button,
.fnewpass input[type="submit"],
.frecoverypass input[type="submit"] {
  background-color:#c5c5c5;
  padding: 4px;
  max-width: 250px !important;
  width: 100%;
  border-radius: 21px;
  margin-bottom: 15px;
}
.fregister input[type="submit"]:hover,
.flogin input[type="submit"]:hover,
.fprofile button:hover,
.fnewpass input[type="submit"]:hover,
.frecoverypass input[type="submit"]:hover {
  background-color: #F38809;
}
.flogin a:hover,
.fregister a:hover {
  color: #F38809 !important;
}



.page-header .page-title {
  display: none;
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}


.banner form,
.banner h1,
.banner p,
.promotional-block h1,
.promotional-block h2,
.promotional-block p,
.about h1,
.about h2, 
.about p,
.our-projects,
.our-projects p {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.banner form.visible,
.banner h1.visible,
.banner p.visible,
.promotional-block h1.visible,
.promotional-block h2.visible,
.promotional-block p.visible,
.about h1.visible,
.about h2.visible, 
.about p.visible,
.our-projects.visible,
.our-projects p.visible {
  opacity: 1;
  transform: translateY(0);
} 


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.promotional-block {
  padding: 30px 0 15px 0;
}


.about .header .main-title,
.promotional-block h2,
.promotional-block h1,
.our-projects .header .main-title,
.our-services .header .main-title,
.testimonial .header .main-title {
  text-align: center;
}


.our-projects .col .img-holder img,
.our-projects .col .text-holder,
.our-services .col .holder,
.our-services .col .holder img {
  border-radius:7px;
}
.our-projects .col .text-holder .btn-more {
  border-radius: 21px;
}



.portfolio-item {
  padding: 5px;
}
.swiper-button-prev, .swiper-button-next {
  color: #000;
}


.our-projects .col {
  width: 20%;
}



.promotional-block2 {
  background: url(images/img33.jpg) no-repeat;
  background-size: cover;
  position: relative;
  padding: 96px 0;
  background-attachment: fixed;
}

.our-clients .col img {
  border-radius: 7px;
}
#primary .post .post-thumbnail img,
 .search #primary .page .post-thumbnail img {
  border-radius: 7px;
 }

 #crumbs {
  float: right !important;
 }

 .header-block {
  padding: 0;
 }

 .comments-area .comment-list .comment-body .reply a {
  display: unset;
  margin-right: 200px; 
  padding: 3px;
  border-radius: 7px;
 }
 .comments-area .comment-list .comment-meta .comment-author img,
 img.lazy {
  border-radius: 7px;
 }
 .comments-area .comment-list {
  border-radius: 7px;
  box-shadow: 0px 2px 6px 0px #dddddd;
 }

 .comments-area .comment-list .comment-body {
  border: 1px solid #dddddd;
  border-radius: 7px 7px 0 0;
 }


 .site-footer .site-info a {
  font-family: outfit, Vazirmatn;
 }


 #primary .post .entry-meta span {
  padding-right: 8px;
  padding-left: 8px;
  margin-right: 8px;
  margin-left: 8px;
  border-right: 1px solid #999; 
  display: inline-block;
  vertical-align: middle;
 }

 #primary .post .entry-footer .btn-readmore,
.search #primary .page .entry-footer .btn-readmore {
    border-radius: 21px;
  }

  
  .widget_block h2,
  .widget,
  .comments-area .comment-form textarea {
    border-radius: 14px;
    
  }

  .pagination a,
  .pagination .current{
    border-radius: 50%;
  }

  .svg-inline--fa {
    vertical-align: middle;
  }



  .comments-area .comment-form input[type="submit"] {
    border-radius: 21px;
  }



  @keyframes fadeInFromRight {
    0% {
      opacity: 0;
      transform: translateX(90px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .promotional-block h2{
    opacity: 0;
    transform: translateX(90px);
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
  }
  .promotional-block h2.visible {
    opacity: 1;
    transform: translateX(0) 0.8s ease-out forwards;
  }
  
  @keyframes fadeInFromLeft {
    0% {
      opacity: 0;
      transform: translateX(-90px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .our-projects .header .main-title {
    opacity: 0;
    transform: translateX(90px);
  }
  .our-projects .header .main-title.visible {
    opacity: 1;
    transform: translateX(0) 0.8s ease-out forwards;
  }


  .search-form input[type="submit"]{
    border-radius: 21px;
  }
  
  #content{
    padding: 26px 0;
    }

  #primary .post .entry-meta .byline {
    display: none;
  }

  .aos-fade-left-safe {
  transform: translateX(30px);
  opacity: 0;
  transition-property: transform, opacity;
}

.aos-fade-right-safe {
  transform: translateX(-30px);
  opacity: 0;
  transition-property: transform, opacity;
}


.scrolltotop {
  animation: spinFadeInRight 1s ease-out forwards;
}

.promotional-block .holder {
  max-width: 100%;
  font-size: 20px;
  line-height: 20px;
}


.about .col .text-holder .title {
  text-align: center;
}

.our-services:before {
  background:#f5f5f5;

}
.our-services .header,
.our-services .header .main-title {
  color: inherit;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 1s ease-out, opacity 1s ease-out;
}
.our-services .header.visible,
.our-services .header .main-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.about .header .main-title,
.our-services .col .holder .title,
.our-services .col .holder .title a,
.about .col .text-holder .title a,
.about .col .text-holder .title,
.site-header,
.site-header .site-branding .site-title,
.user-account-links a,
.user-account-links,
.main-navigation a,
.widget_block h2,
 #secondary .site-main .post .entry-content h2,
.menu-search button.search-submit,
 #primary .post .entry-header .entry-title,
.search #primary .page .entry-header .entry-title,
.comments-area .comments-title,
.comments-area .comment-reply-title,
a{
  color: inherit;
}

.promotional-block h2:after {
    width: 76px;
    height: 1px;
    background: #ffffff;
    position: absolute;
    top: 100%;
    left: 45.8%;
    content: "";
    margin: 17px 0;
}

.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 15px;
}

.site-footer,
.site-footer .site-info a {
  color:rgb(255, 255, 255);
}

.our-services .col .holder {
  overflow: hidden;
  padding: 0px;
}
.our-services .col .holder img {
  border-radius: 7px 7px 0 0;
  transition: transform 0.4s ease;
}
.our-services .col .holder img:hover {
   transform: translateY(-10px) scale(1.1);
}

.our-services .col .holder .title {
  text-align: center;
}

.our-services .col .holder .icon-holder {
  margin: 0;
}


.footer-wave-top {
  position: relative;
  height: 30px;
  overflow: hidden;
  background: 
  linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.5)),
  url('https://naghshik.ir/wp-content/uploads/2025/07/cover12.jpg') ;
}

.footer-wave-top svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
 .swiper-rtl .swiper-button-next:after {
  font-size: 25px;
}



.infinite-gallery-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  direction: ltr;
  
}

.infinite-gallery-track {
  display: flex;
  width: 100%;
  animation: scrollGallery 10s linear infinite;
}

.infinite-gallery-wrapper:hover .infinite-gallery-track {
  animation-duration: 40s;
}

@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.portfolio-item {
  flex: 0 0 auto;
  width: 180px;
  
  transition: transform 0.3s ease;
  overflow: hidden;
}

.portfolio-item:hover {
  transform: scale(1.05);
}


.about .col .text-holder p {
  display: none;
}

.post-thumbnail {
  display: none;
}
.wp-block-media-text {
  direction: rtl;
  text-align:justify;
}

.wp-block-media-text.is-stacked-on-mobile.img-class {
  display: flex;
  flex-direction: row-reverse;
}





.footer-social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  font-size: 24px;
  color: #fff;
  background-color: #444;
  padding: 10px 12px;
  border-radius: 50%;
  transition: 0.3s;
  text-decoration: none;
  margin: auto;
}

.social-icon.instagram:hover {
  background-color: #E1306C;
}

.social-icon.whatsapp:hover {
  background-color: #25D366;
}

.site-footer .footer-t {
  padding: 0;
  border-bottom: none;
}
.site-footer .site-info {
  padding: 10px 0;
}

.footer-t .widget_block h2,
 #secondary .site-main .post .entry-content h2 {
  color:rgb(255, 255, 255);
 }

 .footer-email-link,
 .footer-t .widget a,
  .site-footer a {
  color: #ffffff;
  text-decoration: none;
}
.footer-email-link {
  font-size: 20px;
  font-family: outfit;
}

.site-footer{
  text-align: center;
  background: linear-gradient(to bottom, rgb(0 0 0 / 51%), rgb(26 26 26 / 95%)), url('https://naghshik.ir/wp-content/uploads/2025/07/cover12.jpg');
}

svg.svg-inline--fa.fa-angles-right,
svg.svg-inline--fa.fa-angles-left {
  transform: rotate(180deg);
}

 .page .entry-content a {
  text-decoration: none;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
 max-width: 320px;
 width: 100%;
 border-radius: 21px;
 margin: auto;
}

.our-services .col p,
.promotional-block .cncparagraph {
  display: none;
}


.promotional-block .holder img {
  max-width: 40%;
  opacity: 0;
  transform: scale(0.5);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.promotional-block .holder img.visible {
  opacity: 1;
  transform: scale(1) ;
}

.promotional-block .holder img:hover {
   transform: scale(1.1) rotate(2deg);
}



.form-tel {
  width: 100%;
  border: none;
  border-radius: 7px;
  padding: 4px 12px;
  text-align: right;   
}
.form-email {
  text-align: right;
}


.grecaptcha-badge {
    visibility: hidden !important;
}


#popup-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-150%, -50%); /* شروع از خارج چپ */
  background-color: #222;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 99999;
  opacity: 0;
}

#popup-message.show {
  animation: popupSlideMotion 3.5s ease-in-out forwards;
}

@keyframes popupSlideMotion {
  0% {
    opacity: 0;
    transform: translate(-150%, -50%);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -50%); /* مرکز صفحه */
  }
  65% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  75% {
    transform: translate(-30%, -50%); /* کمی به راست */
  }
  100% {
    opacity: 0;
    transform: translate(-150%, -50%);
  }
}


#form-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: none; 
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 300px;
}

#form-loading-spinner img {
  width: 80px;
  height: 80px;
  animation: spinY 1.2s linear infinite;
  transform-style: preserve-3d;
}

@keyframes spinY {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

#form-loading-overlay.show {
  display: flex;  
}

.banner .col {
    float: none;
    width: 100%;
    display: flex;
    justify-content: center;
}

p.visible button {
    padding: 5px;
    width: 100%;
    max-width: 150px;
    border-radius: 7px;
    margin: 15px auto;
    text-align: center;
    justify-content: center;
    display: flex;
;
}

.banner .text {
    margin: 30px 0;
}
.banner .text .title {
    margin: 0 0 30px;
    font-weight: 400;
}

#custom-contact-form {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.main-navigation {
  position: relative;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: transform 0.3s ease;
}

.main-navigation.hide {
  transform: translateY(-100%);
}
.banner {
  overflow: visible;
}
.main-navigation .current_page_item>a,
.main-navigation .current-menu-item>a,
.main-navigation .current_page_ancestor>a,
.main-navigation .current-menu-ancestor>a,
.main-navigation a{
  color: #666;
  margin-left: 20px;
  font-size: medium;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="date"],
textarea {
    font-size: medium;
}


.main-navigation ul li.menu-item-has-children::before {
  background-image: url("data:image/svg+xml,%3Csvg class='svg-inline--fa fa-angle-down fa-w-10' aria-hidden='true' data-prefix='fas' data-icon='angle-down' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512' data-fa-i2svg=''%3E%3Cpath fill='rgb(102,102,102)' d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'%3E%3C/path%3E%3C/svg%3E");
  top: 8px;
}

.main-navigation ul li.menu-item-has-children:hover::before {
  transform: rotate(180deg);
  transition: 0.3s all ease-in;
}


.banner-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; /* ارتفاع منحنی */
  overflow: hidden;
  z-index: 1;
}

.banner-curve svg {
  width: 100%;
  height: 100%;
  display: block;
}

.main-navigation ul li:first-child {
    margin-left: 18px;
}




#logout-loading-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99998;
}

#logout-loading-overlay .spinner-logo img {
  width: 100px;
  animation: spin 1.5s linear infinite;
  border-radius: 50%;
  z-index: 99999;
}

@keyframes spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}






#custom-contact-form p {
  position: relative;
  margin-bottom: 1.8rem;
  overflow: visible; 
}


#custom-contact-form input,
#custom-contact-form textarea,
#custom-contact-form select {
  all: unset; /* ریست کامل */
  width: 100%;
  padding: 0px 12px 0px 12px;
  font-size: 1rem;
  border-radius: 7px;
  box-sizing: border-box;
  font-family: inherit;
  position: relative;
  z-index: 1;
  min-height: 40px;
  color: #666;
  background-color: #fff;
  direction: rtl; 
  transition: border-color 0.3s ease;
}


#custom-contact-form textarea {
  min-height: 80px;
  resize: vertical;
}


#custom-contact-form input:focus,
#custom-contact-form textarea:focus,
#custom-contact-form select:focus {
  border-color: #F38809;
  outline: none;
  background-color: #fff;
}


#custom-contact-form label {
  position: absolute;
  top: 5px;
  right: 12px;
  background: transparent;
  padding: 0 6px;
  font-size: 1rem;
  color: #777;
  pointer-events: none;
  transition: all 0.2s ease-out;
  z-index: 2;
  user-select: none;
  white-space: nowrap;
}

#custom-contact-form input:focus + label,
#custom-contact-form input:not(:placeholder-shown) + label,
#custom-contact-form textarea:focus + label,
#custom-contact-form textarea:not(:placeholder-shown) + label,
#custom-contact-form select:focus + label,
#custom-contact-form select:valid + label {
  top: -28px;
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: 600;
  z-index: 3;
  background-color: transparent;
}


#custom-contact-form select {
  color: #666;
}


#custom-contact-form select:invalid {
  color: #999;
}







@media screen and (min-width: 37.5em) {
  .main-navigation ul {
     display: inline-flex;
 }
}


@media only screen and (max-width: 1199px) {
     
    .banner .text .title {
        font-size: 20px;
        font-weight: 300;
    } 
    html, body {
        font-family: Vazirmatn;
    }
    .main-navigation {
        display: none;
       }
       .mobile-header .site-branding .site-title a {
         font-family: Vazirmatn;
    }
    
     .user-links {
            display: flex !important; 
            justify-content: flex-start;
            width: 100%;
            padding: 10px;
        }
    
        .user-links a {
            font-size: 16px;
            color: #666;
        }
    
        .site-footer .site-info .copyright,
        .site-footer .site-info .by {
          float: none;
          text-align: center;
        }
    
    .mobile-header .site-branding {
      gap: 10px;
     }

    body.menu-open {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
    }

    svg:not(:host).svg-inline--fa,
    svg:not(:root).svg-inline--fa {
      overflow: hidden;
    }
  .our-services .col .holder img:hover {
   transform: translateY(-35px) scale(1.1);
    }
    .container {
      max-width: 750px;
      
    }
  
    .site-header {
      display: none;
    }
  
    .banner .col {
      width: 100%;
    }
  
    .banner .text {
      margin: 0 0 60px;
      text-align: center;
      font-size: 20px;
    }
  
    .banner .text .title {
      line-height: 42px;
      display: block;
    }
  

  
    .banner form {
      max-width: 458px;
      margin: 0 auto;
     
    }
  
    .banner form:after {
      background: url(images/bg-arrow2.png) no-repeat;
      width: 62px;
      height: 140px;
      top: -50px;
      left: auto;
      right: -75px;
    }
  
    .about .col,
    .testimonial .col {
      width: 100%;
    }
  
    .our-projects .col {
      width: 33.33333%;
    }

    .our-services .col {
      width: 100%;
    }
  
    .widget .search-form label {
      width: calc(100% - 52px);
    }
  
    .mobile-header {
      display: block;
      background: #fff;
      padding: 10px 0;
    }
  
    .mobile-header .container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
    }
  
    .mobile-header .container:after {
      display: none;
    }
  
    .mobile-header .site-branding {
      flex-basis: 0;
      flex-grow: 1;
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
    }
  
    .mobile-header .site-branding .custom-logo {
      margin-right: 40px;
    }
  
    .mobile-header .site-branding .custom-logo img.custom-logo {
      margin: 0;
      vertical-align: top;
    }
  
    .mobile-header .menu-opener {
      width: 20px;
      height: 14px;
      cursor: pointer;
    }
  
    .mobile-header .menu-opener span {
      display: block;
      width: 100%;
      height: 2px;
      background: #666;
      margin-bottom: 4px;
    }
  
    .mobile-header .menu-opener span:last-child {
      margin-bottom: 0;
    }
  
    .mobile-header .site-branding .site-title {
      font-size: 1.5em;
      line-height: 1.25em;
      margin: 0;
    }
  
    .mobile-header .site-branding .site-title a {
      color: #666;
    }
  
    .mobile-header .site-branding .site-title a:hover,
    .mobile-header .site-branding .site-title a:focus {
      text-decoration: none;
    }
  
    .mobile-header .site-branding .site-description {
      color: #666;
      margin: 0;
    }
  
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.75);
      opacity: 0;
      visibility: hidden;
      -webkit-transition: ease 0.35s;
      -moz-transition: ease 0.35s;
      transition: ease 0.35s;
      z-index: 900;
    }
  
    body.menu-open .overlay {
      opacity: 1;
      visibility: visible;
    }
  
    .mobile-header .mobile-menu {
      position: fixed;
      top: 0;
      right: 0;
      width: 320px;
      background: rgb(255, 255, 255);
      height: 100%;
      overflow-y: auto;
      padding-top: 80px;
      -webkit-transform: translate(320px, 0);
      -moz-transform: translate(320px, 0);
      transform: translate(320px, 0);
      -webkit-transition: ease 0.35s;
      -moz-transition: ease 0.35s;
      transition: ease 0.35s;
      z-index: 999;
    }
  
    .mobile-menu .primary-navigation {
      display: none;
    }
  
    .mobile-menu .primary-navigation.toggled {
      display: block;
    }
  
    body.menu-open .mobile-header .mobile-menu {
      -webkit-transform: translate(0, 0);
      -moz-transform: translate(0, 0);
      transform: translate(0, 0);
      display: block;
    }
  
    .mobile-header .mobile-menu .close-mobile-menu {
      position: absolute;
      top: 25px;
      float: right;
      background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 320 512'%3E%3Cpath d='M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z'/%3E%3C/svg%3E") center center no-repeat;
      width: 15px;
      height: 20px;
      font-size: 0;
      cursor: pointer;
    }
  
    .mobile-menu .primary-navigation ul {
      margin: 0;
      padding: 0;
      list-style: none;
      font-size: 16px;
      line-height: 22px;
      font-weight: 400;
    }
  
    .mobile-menu .primary-navigation ul li {
      position: relative;
    }
  
    .mobile-menu .primary-navigation ul li .open-submenu {
      position: absolute;
      top: 0;
      right: 0;
      width: 53px;
      height: 53px;
      -webkit-transition: ease 0.2s;
      -moz-transition: ease 0.2s;
      transition: ease 0.2s;
      background: transparent;
    }
  
    .mobile-menu .primary-navigation ul li .open-submenu.active {
      -webkit-transform: rotate(180deg);
      -moz-transform: rotate(180deg);
      transform: rotate(180deg);
    }
  
    .mobile-menu .primary-navigation ul li .open-submenu:after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 15px;
      height: 20px;
      background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238d8d8d' viewBox='0 0 256 512'%3E%3Cpath d='M119.5 326.9L3.5 209.1c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0L128 287.3l100.4-102.2c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L136.5 327c-4.7 4.6-12.3 4.6-17-.1z'/%3E%3C/svg%3E") center center no-repeat;
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
    }
  
    .mobile-menu .primary-navigation ul li svg {
      margin-right: 10px;
    }
  
    .mobile-menu .primary-navigation ul li a {
      display: block;
      color: #666;
      border-top: 1px solid #ebebeb;
      padding: 15px 32px;
      -webkit-transition: ease 0.2s;
      -moz-transition: ease 0.2s;
      transition: ease 0.2s;
    }
  
    .mobile-menu .primary-navigation ul li a:hover,
    .mobile-menu .primary-navigation ul li a:focus {
      text-decoration: none;
      color: var(--primary-color);
    }
  
    .mobile-menu .primary-navigation ul ul {
      display: none;
    }
    @keyframes spinFadeInRight {
  0% {
    opacity: 0;
    transform: translateY(100px) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(-1800deg);
  }
}

.site-branding img {
    margin-left: 15px;
    margin-right: 15px;
    display: flex;
    order: 1;
    animation: spinFadeInRight 3s ease-out forwards;
}
  }
@media only screen and (max-width: 900px) {
  .about .col,
.banner .text .title {
    font-size: 15px;
    opacity: 0;
    transform: translateY(90px);
    -webkit-transform: translateY(90px);
    -moz-transform: translateY(90px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    -webkit-transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    -moz-transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    box-shadow: #ccc;
    
  }
  
  .about .col.visible,
   .banner .text .title.visible {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
  }
  .aos-fade-left-safe,
  .aos-fade-right-safe {
    transform: translateY(50px);
    -webkit-transform: translateY(50px);
    -moz-transform: translateY(50px);
    opacity: 0;
    transition-property: transform, opacity;
  }

  @keyframes fadeInRightFast {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
    
  }
  .site-header .site-branding .site-title,
.site-header .site-branding .site-description {
  animation: fadeInRightFast 0.6s ease-out forwards;
  opacity: 0;
}

.site-header .site-branding .site-title {
  animation-delay: 0.15s;
}
.site-header .site-branding .site-description {
  animation-delay: 0.3s;
}
  


@keyframes fadeInFromRight {
  0% {
    opacity: 0;
    transform: translateY(90px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.promotional-block h2 {
  animation: fadeInFromRight 0.8s ease-out forwards;
  
}

@keyframes fadeInFromLeft {
  0% {
    opacity: 0;
    transform: translateY(90px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.our-projects .header .main-title {
  animation: fadeInFromLeft 0.8s ease-out forwards;
}
.scrolltotop {
  animation: spinFadeInRight 1s ease-out forwards;
}


}


@media only screen and (max-width: 767px) {
 body.menu-open {
       padding: 0 !important;
    }
}








