@font-face {
    font-family: 'iranyekan';
    src: url('../fonts/iranyekanr.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-feature-settings: "ss02";
    font-display: swap;

}

@font-face {
    font-family: 'iranyekan';
    src: url('../fonts/iranyekanb.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-feature-settings: "ss02";
    font-display: swap;

}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap !important;
    src: url('../webfonts/fa-solid-900.woff2') format('woff2');
}

body {

    font-family: 'iranyekan' !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    direction: rtl;
    /* برای فارسی‌سازی */
    text-align: right;

}
.ss02 {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}
.woocommerce,
.woocommerce * {
    font-family: 'iranyekan' !important;
}
body {

    font-family: 'iranyekan' !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    direction: rtl;
background: #ffffff !important ;
}

/*
start homepage
*/

/* تنظیمات پایه */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2px;
    background-color: #fff !important;
}

/* sliders */

 .slider-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 10px;
    height: 500px;
    background: #111;
}

.slides {
    display: flex;
    width: 200%;  
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 50%;   
    height: 100%;
    flex-shrink: 0;
    background: #000;
}

.slide img {
   width: 100%;
    height: 500px; 
    object-fit: cover !important; 
    object-position: center top;  
    display: block;
}  


.nav-arrow {
    position: absolute;
    top: 50%;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    transform: translateY(-50%);
}

.prev { left: 15px; }
.next { right: 15px; }

.nav-arrow:hover { background: rgba(0,0,0,0.9); }

/* حفظ اسلایدر */
@media (max-width: 768px) {
    .slider, .slick-slider, .owl-carousel {
        overflow: visible !important;
    }
    
    .slick-track, .owl-stage {
        overflow: visible !important;
    }
}
/* *********************دسته بندیها ***************************8*/
/* CSS اصلاح شده */
.section {
  padding: 0 40px 35px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 60px;
  position: relative;
  color: #333;
}

.section-title::before,
.section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 34vw;
  height: 1px;
  background: #dfdfdf;
}

.section-title::before { left: 0; }
.section-title::after { right: 0; }

.section-title span {
  background: white;
  padding: 0 30px;
  position: relative;
}

/* گرید عکس‌ها */
.photo-grid {
  display: grid;
  gap: 15px;
}

.grid-5-col { 
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.grid-2-col { 
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
  max-width: none;
}

.photo-item {
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  display: block;
}

.grid-2-col .photo-item {
  height: 250px; /* ارتفاع بیشتر برای بخش دوم */
}

.photo-item img {
  width: 100%;
  height:auto;
  object-fit: cover;
}
.grid-4-col { 
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 0 100px;
  margin-top: 15px;
}

@media (min-width: 769px) {
    .last-row-wrapper {
        display: none;
    }
}

   
   
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .last-row-wrapper {
        display: block;
        margin-top: 15px;
    }
    
    .last-row {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; /* 3 قسمت مساوی */
        gap: 15px;
        align-items: stretch; /* ارتفاع کامل */
    }
    
    /* قسمت 1: عکس (33%) */
    .last-row .photo-item:nth-child(1) {
        margin: 0;
        padding: 0;
    }
    
    /* قسمت 2+3: دکمه (66%) - بدون margin/padding اضافی */
    .vip-button-cell {
        grid-column: 2 / 4; /* دو ستون را اشغال کن */
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border: 2px solid #D4AF37;
        border-radius: 12px;
        margin: 15px 15px 0  !important; /* بدون margin */
        padding: 8px !important; /* padding کم */
        height: 55%;
        box-sizing: border-box;
    }
    
    .vip-button {
        background: transparent;
        border: none;
        color: #000;
        font-size: 11px;
        font-weight: bold;
        text-align: center;
        white-space: nowrap;
        cursor: pointer;
        width: 100%;
        padding: 10px 15px;
        margin: 0;
    }
.vip-button a {
        color: #000 !important;
        text-decoration: none;
        display: block;
    }
    
    .vip-button:hover {
        background: #f9f9f9;
        border-radius: 6px;
    }
}
/* ********************* افتخار همکاری با شرکت های************* */

.company{
    margin-bottom: 50px;
}
.companies2 {
    display: grid !important;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
    align-items: center;
    margin: 20px 0;
}

.partner-company {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-company img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.company-titl {
    text-align: center;
    font-size: 30px;
}

/***************** بخش درباره ما *******************/
.about-section {
    display: flex;
    align-items: center;
    background: #001f3f;
    color: white;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 50px;
}

.about-text {
    padding: 40px;
    flex: 1;
}

.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    display: block;
}

.container {
    overflow-x: hidden;
}
html,
body,
div,
span,
p,
a,
li,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
button,
label {
    font-family: 'iranyekan' !important;
}

/*     end body         */

@media (max-width: 768px) {
    .section { padding: 30px 15px; }
    .section-title { font-size: 1.5rem; margin-bottom: 30px; }
}
@media (max-width: 1024px) {
    .grid-5-col { grid-template-columns: repeat(4, 1fr); }
    .grid-4-col { grid-template-columns: repeat(3, 1fr); }
}

/* 👈 موبایل */
@media (max-width: 768px) {
    .slide {
    width: 50%;   
    height: 100%;
    flex-shrink: 0;
    background: #000;
}

.slide img {
   width: 100%;
    height: auto; 
    object-fit: cover !important; 
    object-position: center top;  
    display: block;
}  
    .slider-container{ 
        width: 90%;
        height: auto;
        margin-bottom: 5px;
     }
    .nav-arrow{ 
        width: 40px; height: 40px; font-size: 16px;
     }
    .grid-5-col
     {
        grid-template-columns: repeat(3, 1fr); 
    }
    .grid-2-col
     {
        grid-template-columns: repeat(1, 1fr); 
    }
    .grid-2-col img{
        width: 100%!important;
        height: auto!important;
    }
    .grid-4-col
     {
        grid-template-columns: repeat(4, 1fr); 
          padding: 0 10px!important;

    }

   .hide12
     {
         display: none !important
    }
    .company-titl{
        font-size: 16px;
        font-weight: bold;
    }
    .companies2{
        grid-template-columns: repeat(4, 1fr); 
        margin-bottom: 5px;

    }
    .companies2 img{
        margin-bottom: 15px;

    }
  
    .section-title {
  text-align: center;
  font-size: 20px;
 
}

.section-title::before,
.section-title::after {
           display: none !important

}

}

