:root {
  --color-primary: #0C314F;
  --color-secondary: #1D9AD6;
  --color-light: #f9f9f9;
  --color-dark: #1a1a1a;
  --color-helper: #296CA4;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif !important;
    color: var(--color-dark); 
  }
  
  body, p, span, li {
    color: var(--color-dark); 
    font-family: 'Barlow', sans-serif !important;
  }

  p {
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    font-size: 1rem;
    line-height: 1.5;
  }

  /* setup Font */
  .font-barlow {
    font-family: 'Barlow', sans-serif !important;
  }

  .font-barlowcondensed {
    font-family: 'Barlow Condensed', sans-serif !important;
  }

  .text {
    line-height:1.8rem;
  }

  .features_card img.features_card-icon
  {
    filter:unset !important;
  }
/* CSS:  === PRELOADER === */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--color-dark); 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 1;
  transition: opacity 0.8s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-logo {
  max-width: 150px;
  width: 100%;
  animation: wiggle 1.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}

.dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.dots span {
  width: 10px;
  height: 10px;
  background: var(--color-light);
  border-radius: 50%;
  opacity: 0;
  animation: dotBlink 1.5s infinite;
}

.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 0.3s; }
.dots span:nth-child(3) { animation-delay: 0.6s; }

@keyframes dotBlink {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

.slide-reveal {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  background: var(_color_primary); 
  z-index: 99998; 
  transform: translateY(100%);
}

.header_navbar{
	padding:5px 0 0;
}


/* CSS: Slider*/
/* .hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

  .hero-slide {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 5.8s ease, transform 5.8s ease;
  
  }

  .hero-slide.active { display: flex;
   opacity: 1;
  transform: translateY(0);

} */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 0.8s ease, transform 0.2s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 2;
}


  .hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    animation: kenburns 15s ease-in-out infinite alternate;
    z-index: 1;
  }

  .hero-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
    text-align: left;
    padding: 0 40px;
  }

  .hero-title {
    position: relative;
    font-size: 3rem;
    color: #fff;
    z-index: 2;
    display: flex;
    align-items: center; 
  }

  .slide-left-line {
    position: absolute;
    top: 50%;
    left: -100vw; 
    height: 4px;
    width: 0;
    background: #1D9AD6;
    transform: translateY(-50%);
    transition: width 2s ease;
    z-index: 1;
  }

  .hero-title-text {
    position: relative;
    font-weight:200;
    color:#fff;
    font-size:1.8rem;
    vertical-align:middle;
    z-index: 2;
  }


  .hero-subtitle {
    max-width: 700px;
    font-style: normal;
    letter-spacing: normal;
    margin-bottom: 35px;
    
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
  }

  .hero-btn {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
  }

  .hero-btn .btn-line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #1D9AD6;
    margin-right: 10px;
    vertical-align: middle;
  }

  .hero-btn:hover {
    color: #d0d1d2ff;
  }

  .hero-tabs {
    position: absolute;
    bottom: 60px;
    left: 30%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 5;
  }

  .hero-tab {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
  }

  .hero-tab .progress-bar {
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 0%;
    background: #1D9AD6;
    transition: width linear;
  }

  .hero-tab.active .progress-bar {
    width: 100%;
    transition: width 5s linear;
  }

  @keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(20px, -20px); }
  }

  @media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
  }
 

  /* CSS: Services widget */

.services.section .decorative-image {
  position: absolute;
  top: -60px;
  right: -360px;
  width: 800px;
  transform: rotate(-30deg);
  opacity: 0.1;
  pointer-events: none;
/*   z-index: 1; */
}

/* موبایل */
@media (max-width: 768px) {
	.services.section .decorative-image{
		display:none;
	}
}

.services_list-item .icon img {
/* 	filter: invert(50%) sepia(38%) saturate(644%) hue-rotate(125deg) brightness(95%) contrast(88%);
	 */
	 filter: invert(33%) sepia(61%) saturate(494%) hue-rotate(175deg) brightness(95%) contrast(92%);
	max-width:40px;
	 height: auto;
}


.services_list-item .wrapper:hover {
    border-color: var(--color-primary) !important;
}

.services_list-item .icon-number {
  display: flex;
  align-items: center;
  gap: 8px; /* فاصله بین آیکون و شماره */
}

  /* CSS: homepage About */
   .bezio-about-section {
        padding: 80px 0;
        font-family: 'Barlow', sans-serif;
      }

      .about-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        gap: 80px;
        justify-content: space-between;
      }

      .about-left {
        flex: 2;
      }

      .about-label {
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
        display: inline-block;
        position: relative;
      }

      .about-title {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 30px;
      }

      .about-text {
        font-size: 1rem;
        line-height: 1.8;
        color: #333;
        margin-bottom: 40px;
      }

      .about-btn {
        display: inline-block;
        border: 2px solid #1D9AD6;
        color: #1D9AD6;
        padding: 10px 30px;
        text-decoration: none;
        transition: all 0.3s ease;
      }

      .about-btn:hover {
        background: #1D9AD6;
        color: #fff;
      }

      .about-right {
        flex: 1;
      }

      .about-stats {
        display: flex;
        flex-direction: column;
        gap: 40px;
      }

      .stat-item {
        font-weight: 700;
      }

      .stat-number {
        font-size: 2rem;
        color: #1D9AD6;
        margin-bottom: 5px;
      }

      .stat-label {
        font-size: 1rem;
        color: #000;
      }

      @media(max-width: 768px) {
        .about-container {
          flex-direction: column;
          gap: 40px;
        }
      }



    .subtitle {
      position: relative;
      display: inline-block;
      padding-left: 50px;
      font-size: 1rem;
      color: #111;
    }

    .subtitle::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%) scaleX(0);
      width: 40px;
      height: 3px;
      background: #1D9AD6;
      transform-origin: left;
      transition: transform 0.7s ease-out;
    }

    .subtitle.animate-line::before {
      transform: translateY(-50%) scaleX(1);
    }
  



/* ==== بخش اصلی ساختار ویدیو ==== */

.bezio-hero-video {
  position: relative;
  overflow: hidden;
}

.bezio-hero-video video.hero-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.bezio-hero-video .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* پرده نیمه‌تیره */
  z-index: 2;
}

/* ==== محتوا روی ویدیو ==== */

.hero-overlay-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  width: 100%;
  padding: 2rem;
  color: #fff;
}

.hero-overlay-content * {
  color: #fff !important; /* تضمین سفیدی همه متن‌ها */
}

.hero-text-content {
  flex: 1 1 60%;
}

.hero-text-content .subtitle {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
/*   border-top: 3px solid #00b894; Accent color */
  padding-top: 5px;
}

.hero-text-content .hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-text-content .hero-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-text-content .hero-btn {
  background-color: #216ba5;
  color: #fff !important;
  padding: 0.75rem 2rem;
  font-weight: 700;
  display: inline-block;
  text-decoration: none;
}

/* ==== Stats بخش راست ==== */

.hero-stats {
  flex: 1 1 30%;
  text-align: right;
}

.hero-stats .stat-item {
  margin-bottom: 1rem;
}

.hero-stats .stat-number {
  font-size: 4rem;
  font-weight: 700;
  display: block;
}

.hero-stats .stat-label {
  font-size: 1rem;
  display: block;
}

/* ==== حالت موبایل ==== */
@media (max-width: 768px) {
	
	
.header_navbar{
	padding:5px 0 0;
}

  .bezio-hero-video {
    position: relative;
    padding: 5rem 0; /* ارتفاع منعطف به جای height ثابت */
  }

  .bezio-hero-video video.hero-video {
    display: none; /* ویدیو مخفی */
  }

  .bezio-hero-video .video-overlay {
    background: #001f3f; /* بک‌گراند ثابت مشکی */
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .hero-overlay-content {
    position: relative; /* چون دیگه absolute لازم نیست */
    top: auto;
    left: auto;
    transform: none;
    z-index: 2;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding: 0 2rem;
  }

  .hero-stats {
    text-align: left;
    margin-top: 2rem;
  }
}


/* slider */


/* ✅ فقط فرم با کلاس my-custom-contact-form */
.contact_form-form {
  max-width: 100%;
  margin-top: 50px;
  color: #000;
}

.contact_form-form .form-group {
  margin-bottom: 1.5rem;
	padding:20px;
}

.contact_form-form input[type="text"],
.contact_form-form input[type="email"],
.contact_form-form input[type="tel"],
.contact_form-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #000;
  color: #000;
  padding: 0.75rem 0;
}

.contact_form-form input::placeholder,
.contact_form-form textarea::placeholder {
  color: #000;
}

.contact_form-form input:focus,
.contact_form-form textarea:focus {
  outline: none;
  border-color: #00b894;
}

.contact_form-form .contact-form_btn {
  display: inline-block;
  background: none;
  border: 2px solid #000;
  padding: 0.75rem 2rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact_form-form .contact-form_btn:hover {
  background: #000;
  color: #fff;
}

.contact_form-form .wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f8f8;
  color: #000;
  border: 1px solid #ccc;
}



/* blog */

.blog_list-item .img-wrapper
{
	max-height:220px;
}
.blog_list-item .text-wrapper .title{
	font-size:1.1rem;
}

.blog_list-item .text-wrapper .preview
{
	font-size:1rem;
}


.blog_list-item .text-wrapper  a{
	font-size:0.9rem;
}






/* end Blog */
.projects_list-item .img-wrapper img
{
	object-fit:fill;
}
.small-insight-btn {
  font-size: 0.75rem;   /* کوچیک‌تر */
  padding: 4px 12px;    /* کم کردن padding */
  border-radius: 4px;   /* گوشه‌ها گرد اما نه زیاد */
  white-space: nowrap;  /* متن توی چند خط نره */
	  margin: 15px auto !important;
}

@media (min-width: 992px) {
  body.home .header_navbar {
    background-color: #000002a6;
    transition: background-color 0.3s ease;
  }

  body.home .header_navbar.sticky {
    background-color: #001f3f;
  }
}



  /* کلاس برجسته */
  .highlight {
    color: #296ca4 !important;
  }
  
  .primary-bg{
  background-color: #0c314f !important;
/* 		background-color: #336699 !important;  */
/* 		background-color:275A8F !important; */
/*  		 background-color: #3a607e !important  */
  }

.title,
.subtitle,
.info {
  color: #1a1a1a !important;
}

.primary-bg .title,
.primary-bg .subtitle,
.primary-bg p,
.primary-bg span,
.primary-bg li,
.primary-bg a{
  color: #fcfcfc !important;
}

.hero-text-content .subtitle{
    color:#FFFFFF !important;
}

.primary-bg .link a {
    color: #296ca4;
  }
  
.primary-bg a:hover,
.primary-bg a:focus,
.primary-bg .icon
{
 color: #1D9AD6 !important;
}


.primary-bg {
    h1, h2, h3, h4, h5, h6 {
      color: #fcfcfc;
    }
  }


.hero_info
{
    h1, h2, h3, h4, h5, h6 {
        color: initial;
      }

      a , a:hover, a:focus {
        color: initial;
      }
	
	
      span {
        color: initial;
      }
}

/* بعد! استایل ویژه درون hero_container */
.hero_container .subtitle,
.hero_container .hero_header p,
.hero_container .title
{

  color: #fcfcfc;
}

.hero_info-card {
    h1, h2, h3, h4, h5, h6 {
      color: #1a1a1a !important;
    }
  }

  /* خط قبل از زیرعنوان در هدر بخش */
  .section_header .subtitle::before {
    background: #1D9AD6;
  }
  
  /* 3) لینک‌ها در حالت عادی و هاور */
  a {
    color: #296ca4;
  }
  a:hover,
  a:focus {
    color: #1D9AD6;
  }
  

  /* 4) دکمه‌ها (.btn از index.css) */
  .btn {
    background-color: #296ca4 !important; /* رنگ پس‌زمینه */
    color: #ffffff;                       /* رنگ متن */
    border-color: transparent !important;
  }
  .btn:hover,
  .btn:focus {
    background-color: #1D9AD6 !important;
    color: #ffffff !important;
    bottom: 0; /* مطابق افکت اصلی */
  }

 

.header_navbar-nav a {
 color: #ffffff !important;
}

.menu-item a:hover,
.menu-item a:focus {
 color: #1D9AD6 !important;
}

.number , .icon-chevron_right 
{
  color:#1D9AD6 !important
}

.features_card img.features_card-icon {
   filter: invert(50%) sepia(38%) saturate(644%) hue-rotate(125deg) brightness(95%) contrast(88%);
}

.features_card .wrapper:hover{
    border: 2px solid#1D9AD6 !important;
    
}


#scrollToTop {
  background:#1D9AD6;
}

.socials--alt .socials_item-link {
  color: #ffffff;
  background: #1D9AD6;
}


a.socials_item-link:hover,
a.socials_item-link:focus {
  color: #ffffff !important;
  background-color: #1D9AD6 !important;
}


.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.project-gallery-grid a {
  display: block;
  aspect-ratio: 5 / 3; /* نسبت تصویر */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.project-gallery-grid a:hover {
  transform: scale(1.02);
}

.gallery-box {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 8px;
}


.gallery{
  h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
  }
}

.gallery  .title , .gallery .subtitle , .gallery span {
    color: #ffffff !important;
}

  /* خط قبل از زیرعنوان در هدر بخش */
  .gallery .subtitle::before {
    background: #1D9AD6 !important
  }


.justify-text {
  text-align: justify;
}
 
/**/

.bezio-zigzag-wrapper {
  max-width: 100%;
  overflow: hidden;
}

.zigzag-row {
  display: flex;
  align-items: stretch;
  min-height: 600px;
}

.zigzag-row.reverse {
  flex-direction: row-reverse;
}

/* ستون عکس */
.zigzag-image {
  flex: 1 1 50%;
  position: relative;
   display: flex;
  align-items: stretch;
}

.zigzag-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ستون متن */
.zigzag-text {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zigzag-text-inner {
  max-width: 600px;
  padding: 80px 60px;
}

.zigzag-text-inner h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.zigzag-text-inner p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

/* Responsive */
@media (max-width: 992px) {
  .zigzag-row {
    flex-direction: column;
  }

  .zigzag-row.reverse {
    flex-direction: column;
  }

  .zigzag-image,
  .zigzag-text {
    flex: 1 1 100%;
  }

  .zigzag-text-inner {
    padding: 40px 20px;
  }

  .zigzag-image img {
    height: auto;
      object-fit: cover;
  display: block;
  }
}



/**/

.team-section {
  max-width: 1200px;
  margin: auto;
}

.team-photo {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.sticky-info {
  z-index: 2;
  background-color: white;
  padding-bottom: 20px;
}

.img-container {
  overflow: hidden;
  border-radius: 8px;
}

.team-description p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* موبایل */
@media (max-width: 768px) {
  .sticky-info {
    position: static !important;
    padding-bottom: 0;
  }

  .team-photo {
    max-height: 300px;
  }
}

.bezio_title .elementor-heading-title {
      color: #296ca4 !important;
	margin-bottom:20px !important;
  }



.bezio_title .elementor-widget-container p {
   font-size: 16px !important;
  line-height: 1.9 !important;
  color: #555 !important;
  margin: 0 !important;
}

.bezio_paragraph p {
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  color: #4a4a4a;
  line-height: 2;
  text-align: justify;
}

.bezio_paragraph p strong {
  color: #1D9AD6;
  font-weight: 700;
}


.bezio_paragraph h3 {
  color: #1D9AD6 !important;
  font-weight: 700 !important;
	margin:15px 0px;
	font-size:1.3rem;
}

.bezio_paragraph ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.bezio_paragraph ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 16px;
  line-height: 1.8;
  color: #222;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

/* تیک سبز سمت چپ */
.bezio_paragraph ul li::before {
  content: "✔";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #1D9AD6;
  font-weight: bold;
  font-size: 1rem;
}


.topbar-fixed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 14px;
}

.topbar-fixed .topbar-icon {
  padding: 0 8px;
}

.topbar-fixed .btn {
  padding: 0;
}

#langMenu {
	position:absolute;
  background: #476d8c;
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  font-size: 14px;
}

#langMenu a {
  color: #fff;
  text-decoration: none;
  padding: 4px 8px;
  display: block;
}

#langMenu a:hover {
  background-color: #e9ecef;
  color: #1D9AD6;
}

/* Modal Styles */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.search-modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.6);
  top: 0;
  left: 0;
  z-index: 1;
}

.search-modal-box {
  position: relative;
  background: white;
  padding: 30px;
  z-index: 2;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.topbar-fixed .btn-link {
  background: transparent !important;
  border: none;
  box-shadow: none;
  outline: none;
}

.topbar-fixed .btn-link i {
  vertical-align: middle;
  line-height: 1;
  transition: none;
  transform: none !important;
}

.topbar-fixed .btn-link {
  padding: 0;
  border: none;
  background: transparent !important;
  box-shadow: none;
  outline: none;
  transition: none;
}

.topbar-fixed .btn-link:hover,
.topbar-fixed .btn-link:focus {
  background: transparent !important;
  transform: none !important;
  box-shadow: none;
}
.topbar-fixed i.fas {
  font-size: 18px;
  line-height: 1;
  transition: none;
}

.topbar-icon:hover{
	position: relative;
top: 1px;
}

.btn-link:hover
{
		position: relative;
top: -1px;
    color: #1D9AD6 !important;

}


.search-modal-box .input-group {
  display: flex;
  gap: 10px;
}

.search-modal-box input[type="text"] {
  flex: 1;
}

.search-modal-box button {
  white-space: nowrap;
}

.search-modal-box .btn {
	line-height:0.6rem;
}


.mobile-icons {
  display: none; /* فقط در موبایل نمایش داده می‌شه */
}

@media (max-width: 1024px) {
	
	.topbar-fixed{
		display:none;
	}
	
  .mobile-icons {
    display: flex;
  }

  #mobileLangMenu {
/*     position: absolute;
    right: 0;
    top: 100%; */
    background: #f9f9f9;
/*     padding: 6px 10px; */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
    z-index: 99999;
/*     min-width: 140px; */
  }

	
  #mobileLangMenu li {
    list-style: none;
  }

  #mobileLangMenu a {
    display: block;
    padding: 8px 12px;
    color: #333 !important;
    text-decoration: none;
  }

  #mobileLangMenu a:hover {
    background: #e9ecef !important;
    color: #1D9AD6 !important;
  }
	.search-modal {
  display: none;
}
.search-modal.active {
  display: flex;
}
	
	.mobile-icons .btn{
		 color: #ffffff !important;
		background-color: #011F3F !important;
	}

}

.mobile-icons {
  display: none;
}

body.menu-open .mobile-icons {
  display: flex;
/*   position: absolute; */
  top: 60px;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 10px 16px;
  justify-content: flex-end;
  gap: 16px;
}

/* تا لینک‌های منو نرن زیرش */
body.menu-open .header_navbar-nav_list {
  padding-top: 30px;
}

@media (max-width: 1024px) {
  .topbar-fixed {
    display: none;
  }

  body.menu-open .topbar-fixed {
    display: none !important;
  }
}



.team_quote-wrapper{
	background: -o-radial-gradient(5.3% 9.03%,123.37% 123.37%,rgba(255,255,255,.7) 0,rgba(255,255,255,.4) 99.92%);
  background: radial-gradient(123.37% 123.37% at 5.3% 9.03%,rgb(229, 242, 255) 0,rgba(202, 202, 202, 0.4) 99.92%);
}

.section {
        padding: 35px 0;
    }

.hero_header .btn:hover{
	color:#ffffff !important;
}


.topbar{
	padding-top:25px !important;
}

.blog_feed-item_wrapper .img-wrapper
{
	max-height:180px
}

.blog_feed-item_wrapper .text-wrapper .title
{
	font-size:18px;
}
.blog_feed-item_wrapper .text-wrapper .info
{
	font-size:11px;
}

.blog_feed-item_wrapper .text-wrapper .link
{
	font-size:12px;
}



.header_navbar-nav {
  align-items: center;
  gap: 1rem;
	  display: flex;
  justify-content: flex-end; 
}


.position-relative ul {
  top: 100%;
  left: 0;
  background: white;
  z-index: 9999;
}


.search-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}



@media (max-width: 800px) {
	#toggleSearch , #toggleLangNav{
    display: none;
  }

.header_navbar-nav {
 padding-left:30px;
	gap: unset;
  justify-content: unset;
}
	.mobileIcons
	{ padding:20px 10px;}
	body.menu-open .header_navbar-nav_list{
		padding-top:10px;
	}
	.header_navbar-nav_list .list-item
	{
		padding: 10px 0;
	}
}



.header_navbar-nav .btn-link:hover
{
top: 0px !important;

}


.position-relative {
  position: relative;
}

.lang-wrapper {
  position: relative;
  display: inline-block;
}

.dropdown-lang {
  position: absolute;
  top: calc(100% + 8px); /* دقیقاً زیر آیکن با فاصله 8px */
  left: 0;
  background: white;
  padding: 0.5rem 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 0.25rem;
  min-width: 150px;
  z-index: 9999;
}



#toggleSearch{
	padding:0px 20px 0px 50px;
}
 
.header_navbar-nav .btn , .nobg
{
	background-color:transparent !important;
	padding:0px;
}

.nobg:hover
{
	background-color:transparent !important;
	top:0px;
}

.nobg:active , .nobg:visited , .nobg:focus {
  background-color: transparent !important;
  top:0px;
}

.nobg a {
	color:#ffffff !important;
}

/* محتوای dropdown مخصوص موبایل */
.dropdown-mobile-lang {
  position: absolute;
  top: 0px;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 9999;
  min-width: 60px;
  padding: 0.25rem 0;
}

.dropdown-mobile-lang li a {
  text-align: center;
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  color: #000;
}

.dropdown-mobile-lang li a:hover {
  background: #f1f1f1;
}

/* show class to toggle visibility */
.dropdown-mobile-lang.show {
  display: block !important;
}


#mobileToggleSearch{
	padding:0px 20px 0px 50px;
}


.leadership p {
	text-align:justify;
	padding:10px 5px;
}

.link-arrow{
  	color: var(--color-helper) !important;
}


.link-arrow:hover{
  	color: var(--color-secondary)  !important;
}

.highlightGreen{
	color:#1D9AD6 !important
}

.blog .wrapper--content{
	max-width:100% !important;
}

.info_map{
	margin-bottom:30px;
}



.subtitle {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  padding-top: 5px;
}

.subtitle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background-color: #00b894;
  transform: translateY(-50%) scaleX(0) !important;
  transform-origin: left;
  transition: transform 0.7s ease-out;
}


.subtitle.animate::before {
  transform: translateY(-50%) scaleX(1) !important;
}



.blog_list-item .img-wrapper {
  width: 100%;
  aspect-ratio: 3 / 2; /* یا height ثابت */
  overflow: hidden;
  position: relative;
}

.blog_list-item .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}




.header_extension {
  position: relative;
  overflow: hidden; /* اگه تصویر از هدر نزنه بیرون */
}



.header_extension .header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* زیر محتوا */

  /* برای اینکه تصویر کل فضا رو بگیره */
}

.header_extension .header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* بهترین حالت پوشش */
    object-position: center;    
  display: block;
  
}

.header_extension .header-content {
  position: relative;
  z-index: 1; /* روی تصویر */
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* تیرگی 40% مشکی */
  z-index: 1;
}

.header_navbar.sticky
{
    padding:5px 0 0;
}

@media (min-width: 992px) {
  .header_navbar {
    background-color: #000002a6;
    transition: background-color 0.3s ease;
  }

  .header_navbar.sticky {
    background-color: #001f3f;
  }
}


.about_info {
  position: sticky;
  top: 100px;  /* فاصله از بالای صفحه (هرچقدر بخوای) */
}

.about_aside {
  overflow: visible; /* باید پیش‌فرض باشه */
}
.about_aside {
  display: block; /* نه flex! */
}

.socials--alt .socials_item-link{
    background-color:#1D9AD6;
    
}


.footer .icon
{
 color: #1D9AD6 !important;
}

.info_data .content {
    font-size:1rem;
}


.info_map{
    margin-bottom: 0px;
    height:460px;
}


.leadership h3{
    font-size:1.3rem;
}


.team-section {
  padding: 4rem 0 2rem 0;
  background: #f9f9f9;
}

.team-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: bold;
}

.highlightGreen {
  color: #2ecc40;
}

.team-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 2rem;
}

.team-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.06);
  text-align: center;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  min-width: 250px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  box-shadow: 0 8px 32px rgba(44, 62, 80, 0.13);
  transform: translateY(-6px) scale(1.025);
}

.team-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #2ecc40;
  background: #e9e9e9;
}

.team-role {
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #222;
}

.team-desc {
  font-size: 1rem;
  color: #5d5d5d;
}

.team-carousel::-webkit-scrollbar {
  height: 8px;
}

.team-carousel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.projects_list-item_title{
    font-size:1.5rem;
}

.text-content{
    font-size:1.2rem;
}


/* فرم کلی */
.my-custom-contact-form {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

/* گروه فیلدها */
.my-custom-contact-form .form-group {
  margin-bottom: 20px;
}

/* ورودی‌ها و textarea */
.my-custom-contact-form .contact-form_field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  font-size: 16px;
}

.my-custom-contact-form .contact-form_field:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 4px rgba(0,123,255,0.1);
  outline: none;
}

/* دکمه ارسال */
.my-custom-contact-form .contact-form_btn {
  display: inline-block;
  padding: 12px 32px;
  border: none;
  border-radius: 6px;
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.my-custom-contact-form .contact-form_btn:hover {
  background-color: #0056b3;
}

/* خطاها */
.my-custom-contact-form .wpcf7-not-valid-tip {
  color: #d9534f;
  font-size: 13px;
  margin-top: 5px;
  display: block;
}

/* پیام کلی پاسخ */
.my-custom-contact-form .wpcf7-response-output {
  margin-top: 20px;
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 14px;
}

.my-custom-contact-form .wpcf7-validation-errors {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.my-custom-contact-form .wpcf7-mail-sent-ok {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* واکنش‌گرا */
@media (max-width: 768px) {
  .my-custom-contact-form {
    padding: 20px;
  }
}

/* مکان درست spinner کنار دکمه */
.my-custom-contact-form .wpcf7-spinner {
  display: inline-block !important;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  vertical-align: middle;
  background: url('https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/0.16.1/images/loader-large.gif') no-repeat center center;
  background-size: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* وقتی فرم در حال submit هست */
.my-custom-contact-form.submitting .wpcf7-spinner {
  opacity: 1;
}

/* جای دکمه هنگام لود شدن تغییر نکنه */
.my-custom-contact-form .wpcf7-submit {
  position: relative;
}


/* کانتینر زیرمنو */
.dropdown-content {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* آیتم‌های زیرمنو */
.dropdown-content li {
  width: 100%;
  position: relative;
}

/* لینک یا محتوای داخلی li (اگر لینک داخل li باشه) */
.dropdown-content li a {
  display: block;
  width: 100%;
  padding: 12px 20px;
  color: #fff;
  text-decoration: none;
}

/* افکت هاور برای کل ردیف */
.dropdown-content li:hover {
  background-color: #1C9BD6; 
  color:#fff !important;
}

.dropdown-content li:hover a {
  color: #fff !important;
}
.dropdown-content li a {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 40px;
  height: 3px;
  background: #1D9AD6;
  transform-origin: left;
  transition: transform 0.7s ease-out;
}

.main-title{
   margin-bottom: 20px;
  font-weight: 400;
}
.main-text{
  font-size: 3rem;
  line-height: 1.17;
  font-weight: 600;
}



/* services */
/* ✅ بخش هدر ثابت */
.header_services {
  padding: 100px 0px 20px 0px;
  background-color: #fff;
  color: #0C314F;
}

.header_services .subtitle {
  color: #0C314F !important;
}

/* ✅ بخش لیست سرویس‌ها - Desktop */
.all-services-section {
  padding: 50px 0;
  background: #f9f9f9;
}

.all-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /*justify-content: center;*/
}

.service-item {
  display: inline-block;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  font-weight: 600;
}

.service-item.current-service {
  background: #1D9AD6;
  color: #fff;
  border-color: #1D9AD6;
  pointer-events: none; /* غیرقابل کلیک */
  cursor: default;
}

.service-item:hover {
  background: #1D9AD6;
  color: #fff;
  border-color: #1D9AD6;
}

.service-item-title {
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* ✅ ریسپانسیو: ۲ تایی در موبایل */
@media (max-width: 768px) {
  .all-services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ۲ تایی */
    gap: 15px;
    justify-items: center;
  }

  .service-item {
    width: 100%; /* هر دکمه پر کنه */
    text-align: center;
    padding: 10px 15px;
    font-size: 0.85rem;
    border-radius: 40px;
  }

  .service-item-title {
    font-size: 0.85rem;
  }
}





/*******/
.header-left-line-wrapper {
  position: relative;
  display: inline-block;
}

.header-subtitle {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
}

.header-subtitle::before {
  content: "";
  position: absolute;
  left: -99vw; /* خط از گوشه چپ صفحه شروع میشه */
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 98vw; /* طول انیمیشن خط */
  height: 3px;
  background: #1D9AD6;
  transform-origin: left; /* انیمیشن از چپ شروع شه */
  transition: transform 1s ease-out;
}

.header-subtitle.animate::before {
  transform: translateY(-50%) scaleX(1);
}


/*******/
 



      .bezio-header-section {
        position: relative;
        padding: 120px 0;
        background: #fff;
        overflow: hidden;
      }

      .bezio-header-content {
        max-width: 800px;
      }

    
      .bezio-header-description {
   font-size: 48px;
        font-weight: 800;
        line-height: 1.2;
        margin: 0;
      }

      .bezio-header-bg {
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
      }

      .bezio-header-bg img {
        width: 100%;
        height: auto;
        display: block;
      }

      @media(max-width: 768px) {
        .bezio-header-title {
          font-size: 32px;
        }
        .bezio-header-description {
          font-size: 16px;
        }
        .bezio-header-bg {
          width: 150px;
        }
      }



  
/* ✅ Wrapper اصلی */
.bezio-blog-main {
  max-width: 80rem;
  margin: 0 auto;
}

/* ✅ Grid اصلی */
.bezio-blog-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

/* ✅ کارت پست */
.bezio-blog-item {
  position: relative;
  overflow: hidden;
  
  background: #fff;
  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-left 0.3s ease,
    border-bottom 0.3s ease;
  border-left: 0 solid #0C314F;
  border-bottom: 0 solid #0C314F;
}

.bezio-blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
  border-left: 4px solid #0C314F;
  border-bottom: 4px solid #0C314F;
}

.bezio-blog-item:hover .bezio-blog-content  {
  background-color: #0C314F;
  
}
.bezio-blog-item:hover .bezio-blog-content h3 {
  color: #fff;
  
}
.bezio-blog-item:hover .bezio-blog-cats a{
     color: #fff;
 
}

.bezio-blog-item:hover .bezio-blog-cats {
  color: #eee;
}

/* ✅ ساختار ستون‌بندی */
.bezio-blog-item.bezio-blog-row-1 {
  grid-column: span 3; /* هرکدوم نصفی از ۶ ستون */
}

.bezio-blog-item.bezio-blog-row-2 {
  grid-column: span 2; /* سه‌تایی: هرکدوم ۲ از ۶ */
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .bezio-blog-grid {
    grid-template-columns: 1fr;
  }
  .bezio-blog-item {
    grid-column: span 1 !important;
  }
}

/* ✅ بخش عکس */
.bezio-blog-img {
  position: relative;
  width: 100%;
  height: 0;
}

.bezio-blog-row-1 .bezio-blog-img {
  padding-top: 56.25%; /* 16:9 */
}

.bezio-blog-row-2 .bezio-blog-img {
  padding-top: 100%; /* مربع */
}

.bezio-blog-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ✅ متن زیر عکس */
.bezio-blog-content {
  position: static;
  padding: 15px 20px;
  background: none;
  color: #0C314F;
}

.bezio-blog-content h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: #0C314F;
  transition: color 0.3s ease;
}

.bezio-blog-cats {
  margin: 0;
  font-size: 14px;
  color: #888;
}

/* ✅ پست‌های اضافه مخفی */
.hidden-post {
  display: none;
}

.bezio-show-more {
  display: block;        /* قبلاً inline-block بود، برای گرفتن عرض کامل block کن */
  width: 90%;            /* ۹۰٪ از عرض کانتینر بگیره */
  margin: 30px auto 0;   /* بالا فاصله داشته باشه، چپ و راست auto یعنی وسط */
  padding: 12px 30px;
  background: #0C314F;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-align: center;    /* اگه محتوای دکمه multi باشه وسط‌چین می‌مونه */
  transition: background 0.3s ease;
}
.bezio-show-more:hover {
  background: #082031;
}

/* ✅ دسته‌بندی‌ها بالا */
.bezio-blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.bezio-blog-categories a {
  text-decoration: none;
  font-weight: bold;
  color: #0C314F;
  border-bottom: 2px solid transparent;
  transition: border 0.6s ease;
}

.bezio-blog-categories a:hover {
  border-bottom: 2px solid #1D9AD6;
}

.bezio-blog-all-posts {
  font-weight: bold;
  color: #ffffff;
}
.hidden-post {
  display: none;
}

.search-modal {
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.search-modal.active {
  opacity: 1;
  pointer-events: auto;
}


.hero_header{
    padding:0px;
}






/* ====== ACCESSIBILITY: reduce motion on mobile ====== */
@media (prefers-reduced-motion: reduce), (max-width: 768px) {
  * { animation: none !important; transition: none !important; }
  .hero-bg { animation: none !important; }
}

/* ====== GLOBAL MOBILE RESET ====== */
@media (max-width: 768px) {
  :root {
    /* slightly larger base for legibility on phones */
    --ui-space: 16px;
  }

  body { font-size: 16px; line-height: 1.7; }
  p { margin-bottom: 1rem; }

  /* images & grids */
  img, video { max-width: 100%; height: auto; }
  .section { padding: 24px 0; }

  /* tap targets */
  /*a, button { min-height: 44px; }*/

  /* headings scale down */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
}

/* ====== PRELOADER: lighter on mobile ====== */
@media (max-width: 768px) {
  #preloader { background: var(--color-dark); }
  .preloader-logo { max-width: 110px; animation: none; }
  .dots span { animation-duration: 1s; }
}

/* ====== HERO (slider & video) ====== */
@media (max-width: 768px) {
  .hero-slider { height: auto; min-height: 25vh;  }
  .hero-slide { align-items: flex-end; padding: 24px 16px; }

  .hero-bg { animation: none !important; }

  .hero-overlay { background: rgba(0,0,0,0.55); }

  .hero-content { padding: 0; text-align: left; }
  .hero-title { font-size: 1.25rem; gap: 8px; }
  .hero-title-text { font-size: 1.1rem; }
  .hero-subtitle { font-size: 1.8rem; line-height: 1.2; margin-bottom: 16px; }

  .hero-btn { font-size: 1rem; }

  /* tabs -> compact or hidden */
  .hero-tabs { bottom: 16px; left: 50%; transform: translateX(-50%); gap: 16px; }
  .hero-tab { font-size: 0.85rem; }
  .hero-tab .progress-bar { display: none; }

  /* video variant */
  .bezio-hero-video { padding: 48px 0; }
  .bezio-hero-video video.hero-video { display: none; }
  .bezio-hero-video .video-overlay { background: #001f3f; }

  .hero-overlay-content {
    position: static;
    transform: none;
    max-width: 100%;
    width: 100%;
    padding: 0 16px;
    flex-direction: column;
    gap: 16px;
  }

  .hero-text-content { flex: 1 1 auto; }
  .hero-text-content .hero-title { font-size: 1.75rem; margin-bottom: 8px; }
  .hero-text-content .hero-text { font-size: 1rem; max-width: none; }

  .hero-stats { text-align: left; margin-top: 12px; }
  .hero-stats .stat-number { font-size: 2.2rem; }
}

/* ====== NAV / TOPBAR ====== */
@media (max-width: 1024px) {
  .topbar-fixed { display: none !important; }
  .header_navbar { padding: 6px 0 0; }
  .header_navbar-nav { gap: 10px; justify-content: flex-start; padding-left: 16px; }
  #toggleSearch, #toggleLangNav { display: none; } /* your rule kept; ensures clean header */
  .mobile-icons { display: flex; gap: 12px; }
}

/* dropdowns: full width for easy tapping */
@media (max-width: 768px) {
  .dropdown-lang,
  #mobileLangMenu,
  .dropdown-mobile-lang {
    position: static;
    box-shadow: none;
    background: #fff;
    width: 100%;
    padding: 8px 0;
  }
  .dropdown-mobile-lang li a { padding: 10px 14px; }
}

/* ====== ABOUT SECTION ====== */
@media (max-width: 768px) {
  .about-container { flex-direction: column; gap: 20px; padding: 0 16px; }
  .about-title { font-size: 1.8rem; margin-bottom: 14px; }
  .about-text { font-size: 1rem; margin-bottom: 20px; }
  .about-btn { padding: 10px 20px; }
  .about-stats { gap: 16px; }
  .stat-number { font-size: 1.6rem; }
}

/* ====== SERVICES ====== */
@media (max-width: 768px) {
  .services.section .decorative-image { display: none !important; }
  .all-services-section { padding: 24px 0; }
  .service-item { padding: 10px 14px; border-radius: 32px; }
}

/* ====== BLOG LIST / FEED ====== */
@media (max-width: 768px) {
  .blog_list-item .img-wrapper { max-height: 200px; }
  .blog_list-item .text-wrapper .title { font-size: 1rem; }
  .blog_list-item .text-wrapper .preview { font-size: 0.95rem; }
  .blog_feed-item_wrapper .img-wrapper { max-height: 180px; }
  .blog_feed-item_wrapper .text-wrapper .title { font-size: 1rem; }
  .blog_feed-item_wrapper .text-wrapper .info { font-size: 0.75rem; }

  /* new grid is single column */
  .bezio-blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .bezio-blog-item { grid-column: span 1 !important; }
  .bezio-blog-content { padding: 12px 14px; }
  .bezio-show-more { width: 100%; margin-top: 20px; }
}

/* ====== PROJECT GALLERY ====== */
@media (max-width: 768px) {
  .project-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .project-gallery-grid a { border-radius: 6px; }
}

/* ====== ZIGZAG BLOCK ====== */
@media (max-width: 992px) {
  .zigzag-row, .zigzag-row.reverse { flex-direction: column; min-height: unset; }
  .zigzag-text-inner { padding: 24px 16px; }
  .zigzag-text-inner h3 { font-size: 1.4rem; margin-bottom: 12px; }
}

/* ====== TEAM ====== */
@media (max-width: 768px) {
  .team-section { padding: 24px 0 12px; }
  .team-title { font-size: 1.4rem; margin-bottom: 16px; }
  .team-carousel { gap: 16px; padding: 0 12px; }
  .team-card { min-width: 220px; max-width: 240px; padding: 16px; }
  .team-img { width: 90px; height: 90px; }
}

/* ====== FORMS ====== */
@media (max-width: 768px) {
  .contact_form-form { margin-top: 24px; }
  .contact_form-form .form-group { margin-bottom: 14px; padding: 12px 0; }
  .contact_form-form input[type="text"],
  .contact_form-form input[type="email"],
  .contact_form-form input[type="tel"],
  .contact_form-form textarea {
    padding: 10px 0;
    font-size: 16px;
  }
  .contact_form-form .contact-form_btn { width: 100%; text-align: center; padding: 12px; }

  .my-custom-contact-form { padding: 20px; }
  .my-custom-contact-form .contact-form_btn { width: 100%; }
}

/* ====== HEADER EXTENSIONS / OVERLAYS ====== */
@media (max-width: 768px) {
  .header_extension { min-height: 220px; }
  .header-overlay { background: rgba(0,0,0,0.45); }
}

/* ====== STICKY ASIDE & MAP ====== */
@media (max-width: 768px) {
  .about_info { position: static; top: auto; }
  .info_map { height: 280px; margin-bottom: 16px; }
}

/* ====== UTILITIES ====== */
@media (max-width: 480px) {
  .small-insight-btn { font-size: 0.8rem; padding: 6px 12px; }
  .projects_list-item_title { font-size: 1.2rem; }
  .text-content { font-size: 1rem; }
  .main-text { font-size: 2rem; line-height: 1.2; }
}

/* ====== COLOR CONTRAST & LINKS ====== */
@media (max-width: 768px) {
  a { word-break: break-word; }
  .primary-bg .link a { color: var(--color-secondary); }
}

/* ===== موبایل: فاصله از هدر 45px ===== */
@media (max-width: 768px) {
  /* اگر از اسلایدر تصویری استفاده می‌کنی */
  .hero-slider {
    margin-top: 80px;
   height: auto !important; /* ارتفاع خودش رو بر اساس محتوا بگیره */
  }
  /* چون .hero-slide absolute هست، margin روی پدر بهتر جواب میده */
  .hero-slide {
    /* اطمینان از قرار گرفتن محتوا بالای ویدیو */
    padding: 16px;
    align-items: flex-end;
  }

  /* اگر از سکشن ویدیو استفاده می‌کنی */
  .bezio-hero-video {
    margin-top: 80px;
  }
}

/* ===== متن‌ها روی ویدیو + سایز مناسب موبایل ===== */
@media (max-width: 768px) {
  /* اوورلی کمی تیره‌تر برای خوانایی متن */
  .hero-overlay,
  .bezio-hero-video .video-overlay {
    background: rgba(0,0,0,0.55) !important;
  }

  /* متن‌ها حتما بالاتر از ویدیو باشن */
  .hero-content,
  .hero-overlay-content {
    position: absolute;
    z-index: 3;
    padding: 0 16px;
    text-align: left;
    top: 40px;
  }

  /* تیتر و ساب‌تیتر کوچک‌تر */
  .hero-title { font-size: 1.25rem; gap: 8px; }
  .hero-title-text { font-size: 1.1rem; }
  .hero-subtitle { font-size: 1.2rem; line-height: 1.2; margin-bottom: 12px; }
  .hero-text { font-size: 1rem; max-width: none; }

  /* دکمه */
  .hero-btn { font-size: 1rem; }

  /* تب‌های اسلایدر جمع‌وجور یا حذف نوار پیشرفت */
  .hero-tabs { bottom: 16px; left: 50%; transform: translateX(-50%); gap: 14px; }
  .hero-tab { font-size: 0.85rem; }
  .hero-tab .progress-bar { display: none; }
}

/* ===== اگر هنوز بالای اسلاید خاکستری می‌بینی =====
   احتمالاً یک بک‌گراند روی کانتینر هست. این‌ها پاکش می‌کنند. */
@media (max-width: 768px) {
  .hero-slide,
  .hero-content {
    background: transparent !important;
  }
  
  .bezio-about-section
  {
      padding:30px 0;
  }
  
  /* دو ستون در حالت موبایل */
  .about-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;
  }
  .about-stats .stat-item {
    margin: 0;           /* حذف فاصله اضافی */
    text-align: center;
  }

    .project-description
    {
        max-width:95% !important;
    }
    
    .blog_list-item .text-wrapper .info .category{
        font-size:0.7rem;
    }
    .blog_list-item .text-wrapper .info .date{
        font-size:0.7rem;
    }
    
    .blog_list-item .info {
        display: flex;
        align-items: center;      /* عناصر داخلی را در محور عمودی وسط‌چین می‌کند */
        gap: 0.5rem;             /* فاصله بین دسته‌بندی، جداکننده و تاریخ */
    }
    
    /* حذف vertical-align: bottom و تنظیم فونت تاریخ */
    .blog_list-item .info .date {
        font-size: 0.7rem;
        vertical-align: middle !important;
    }
    
    /* در صورت نیاز، دسته‌بندی را به اندازه دلخواه کوچک‌تر کنید */
    .blog_list-item .info .category {
        font-size: 0.8rem;
        margin-right: 4px;
    }
    
    .services_list-item .wrapper{
        padding:10px;
    }
    
    .services_list-item .wrapper .title{
        margin:5px 0;
    }
    
    .services_list-item .wrapper .description{
        margin-bottom:20px;
    }
    
     /* کانتینر لیست پست‌ها */
  .blog_list {
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
  }
  .blog_list::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;          /* پهنای نوار گرادیان */
    pointer-events: none;
    /* رنگ گرادیان را بر اساس رنگ پس‌زمینه تنظیم کنید */
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
  }
  .blog_list-item{
      margin-top:unset;
  }
  

  .bezio-header-bg-contact img {
    width: 100%;
    height: auto;
    max-width: 100%;             /* جلوگیری از خروج از قاب */
  }

  /* کاهش اندازه عنوان و متن برای موبایل */
  .contact-bezio.section .title {
    font-size: 1.5rem;           /* نسبت به نمایش دسکتاپ کوچکتر */
    line-height: 1.3;
  }

  .contact-bezio.section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  /* کوچک کردن دکمه‌ها */
  .contact-bezio-buttons a {
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
  }
  
  .bezio-header-bg-contact{
      top:unset !important;
      bottom:0px;
  }
  
  
   .header_navbar-nav_list {
     height: 100vh;            
    /*flex-direction: column;    */
    /*justify-content: flex-start; */
    /*align-items: flex-start;  */
   
    /*padding-top: 0;            */
  }
  
  .header_navbar-nav_list .list-item{
      font-size:1.2rem;
  }

  /*.header_navbar-nav ul {*/
  /*  margin: 0;*/
  /*  padding: 0;*/
  /*  width: 100%;*/
  /*}*/

  /*.header_navbar-nav ul li a {*/
  /*  display: block;*/
  /*  padding: 12px 20px;*/
  /*  font-size: 1rem;*/
  /*}*/
  
  .footer_main-block_nav
  {
      display:none;
  }
  
  .footer_main-block{
      margin-bottom:20px;
  }
  
  .footer_secondary{
      margin-top:0px;
      padding-top:10px;
  }
  .bezio-header-description{
      font-size:0.7rem;
  }
  
  .project-types .type-tab{
      font-size:0.8rem !important;
  }
  
  .service-types .type-tab{
      font-size:0.8rem !important;
  }
  
  .bezio-blog-categories a{
      font-size:0.8rem !important;
  }
  .bezio-blog-content h3 {
      font-size:0.9rem !important;
  }
  
  h3.comment-reply-title, h2.post_comments-title{
      font-size:1.2rem;
  }
  
  .post_reply .post_reply-form_btn{
      font-size:0.8rem !important;
  }

.widgets_widget--latest .list .list-item .title{
    font-size:0.9rem !important;
}
.link-arrow{
    font-size:0.8rem !important;
}

.widget_categories ul li a{
    font-size:0.8rem !important;
}

ul.wp-tag-cloud li a{
    padding: 5px 5px !important;
    margin-right: 5px !important;
}

.widgets_widget-title{
    margin-bottom:10px !important;
}

.widgets{
    padding-bottom: 30px !important;
}

.hero_img::before{
    padding-top:50px !important;
}


  .hero .container.d-flex { flex-direction: column; }
  .hero .hero_img   { order: 1; width:100%; margin-bottom:16px; }
  .hero .hero_header{ order: 2; width:100%; }
  
  
  .bezio-header-section{
      padding: 120px 0 40px !important;
  }
  
  
  .bezio-contact-info{
      align-items:start !important;
      gap: 10px !important;
  }
  .bezio-contact-item{
      padding: 5px 15px !important;
  }
  
  .my-custom-contact-form input[type="submit"] {
      font-size:0.9rem  !important;
  }
  
    .lang-wrapper {
    position: relative;
    z-index: 10000;               /* بالاتر از هدر */
  }

  /* خود منو: پیش‌فرض بسته */
  #mobileLangMenu,                /* id شما */
  .dropdown-mobile-lang {         /* اگر کلاسش اینه */
    position: absolute;
    top: calc(100% + 8px);

    display: none;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
   
    overflow: hidden;
    z-index: 10001;
  }

  /* وقتی دکمه یا لینک‌های داخل منو فوکوس دارند → نمایش بده */
  .lang-wrapper:focus-within #mobileLangMenu,
  .lang-wrapper:focus-within .dropdown-mobile-lang {
    display: block !important;
  }

  /* برای اطمینان: هاور هم باز کند (بعضی دیوایس‌ها) */
  .lang-wrapper:hover #mobileLangMenu,
  .lang-wrapper:hover .dropdown-mobile-lang {
    display: block;
  }

  /* آیتم‌های داخل منو */
  #mobileLangMenu li,
  .dropdown-mobile-lang li { list-style: none; }

  #mobileLangMenu a,
  .dropdown-mobile-lang a {
    display: block;
    padding: 10px 14px;
    color: #222 !important;
    text-decoration: none;
    white-space: nowrap;
  }
  #mobileLangMenu a:hover,
  .dropdown-mobile-lang a:hover { background: #f1f5f9; }

  /* جلوگیری از جهش/تکان دکمه روی تاچ */
  #mobileToggleLang,
  .mobile-icons .btn-link {
    position: static !important;
    top: 0 !important;
    transform: none !important;
  }

  /* اگر چیزی منو را می‌بُرد، اجازه‌ی دیده‌شدن بده */
  .header_navbar,
  .header_navbar-nav { overflow: visible !important; }
}
