body {
  margin: 0;
  padding: 0;
  /* font-family: Yekan, Tahoma, sans-serif !important; */
  padding-top: 80px;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif !important;
  font-weight: 400;
  line-height: 1.6;
}

.bgc-primary {
  background-color: #024608;
}

.text-color {
  color: #0d9f5d;
}

.navbar .nav-link {
  color: #0d9f5d !important;
  font-size: 18px;
  padding: 0.5rem 1rem; 
  border-radius: 0.5rem; 
  transition: all 0.3s ease; 
}


.navbar .nav-link:hover {
  background-color: #024608 !important;
  color: white !important;
}

.hero-banner {
  position: relative;
  min-height: 70vh; 
  background: url("../src/Picture/imgi_3.jpg") center/cover no-repeat;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.4);  */
}

.hero-banner .container {
  position: relative;
  z-index: 2; 
}
.banner-bottom-text p {
  color: #626469;
  padding: 10px 60px;
  font-size: 40px !important;
  font-weight: 650 !important;

}

.feature-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.box-green {
  background-color: #24815D !important;
  color: #fff;
}
.box-green-primary {
    background-color: #0d9f5d !important;
   color: #fff;
}
.box-green-primary h5,
.box-green-primary p {
  color: #fff !important;
}

.box-green h5,
.box-green p {
  color: #fff !important;
}

.feature-box img {
  margin-bottom: 20px;   
}

.feature-box h5 {
  margin-bottom: 80px !important; 
  margin-top: 20px !important;
}

.feature-box p {
  text-align:justify;   
  line-height: 1.6; 
  font-size: 20px;
  margin: 40px 0 ;    
}


.feature-card p {
  text-align:justify;   
  line-height: 1.6; 
  font-size: 20px;
  margin: 40px 0 ;     
}




.features-dark .feature-card {
  background: #3a3a3a;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.features-dark .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}


.features-dark .feature-media {
  width: 100%;
  height: 300px;          
  object-fit: cover;      
  display: block;
}

.customer-logo {
  max-height: 250px;  
  object-fit: contain;

  transition: filter 0.3s ease;
}

.customer-logo:hover {
  filter: grayscale(0%);         
}



.text-light-75 { color: rgba(255,255,255,0.8) !important; }
.features-dark h5 { color: #fff; }
.features-dark p  { line-height: 1.7; }


@media (max-width: 576px){
  .features-dark .feature-media { height: 220px; }
}



.text-light-75 { color: rgba(255,255,255,0.8) !important; }


@media (max-width: 576px) {
  .features-dark .feature-img { height: 170px; }
}



.banner-bottom-text {
  position: absolute;
  background-color: white;
  bottom: -195px; 
  left: 15%;

  z-index: 2;
}


@media (max-width: 991.98px) {
  .navbar .navbar-brand {
    margin-left: auto;
    margin-right: auto;
  }
}

.p-my-text {
  text-align: justify; 
  font-size: 16px; 
  line-height: 1.8; 
}

.bg-overlay-gray {
  position: relative;
  background: url("../src/Picture/Pinjection-website-background-image-1.jpg")
    center/cover no-repeat fixed;
  background-blend-mode: saturation;
  overflow: hidden;
}


.bg-overlay-gray::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(120, 120, 120, 0.75); 
  pointer-events: none;
  z-index: 0;
}

.bg-overlay-gray > * {
  position: relative;
  z-index: 1; 
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg); 

}


/* کل پوشش */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #111; /* زمینه تیره برای جلوه بهتر */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* گروه چرخ‌دنده‌ها */
.gears {
  display: flex;
  gap: 20px;
}

/* چرخ‌دنده‌ها */
.gear {
  font-size: 50px;
  color: #0d9f5d; /* رنگ اصلی برندت */
}

/* انیمیشن چرخش */
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes spin-reverse {
  to { transform: rotate(-360deg); }
}

.gear1 {
  animation: spin 2s linear infinite;
}
.gear2 {
  animation: spin-reverse 2s linear infinite;
}
.gear3 {
  animation: spin 3s linear infinite;
}

/* وقتی پنهان بشه */
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}


/* حالت اولیه: پنهان و پایین‌تر */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s ease;
}

/* وقتی فعال بشه */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s; /* 👈 ۳۰۰ میلی‌ثانیه تأخیر */
}

/* کل صفحه به صورت فلکس ستونی */
html, body {
  height: 100%;
  margin: 0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* کل ارتفاع صفحه */
}

main.flex-fill {
  flex: 1; /* پرکننده فضای بین هدر و فوتر */
}

.footer {
  margin-top: auto; /* همیشه بچسبه پایین */
}

/* رنگ‌ها */
:root{
  --tl-accent: #15b074;     /* رنگ خط و بَجِ سال */
  --tl-line:   #a7e9cd;     /* رنگ لایتِ خط */
}

.text-justify {
  text-align: justify;
}
.timeline {
  position: relative;
  padding: 2rem 0;
}

/* خط وسط */
.timeline::before {
  content:"";
  position:absolute;
  top:0; bottom:0;
  left:50%;
  width:4px;
  background: linear-gradient(#a7e9cd,#15b074,#a7e9cd);
  transform: translateX(-50%);
  z-index: 0;
}

/* هر آیتم */
.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  margin-bottom: 6rem; /* فاصله بیشتر برای سال */
  z-index: 1;
}

/* ستون‌ها */
.timeline-col { align-self: center; }
.text-col { padding: .5rem 1rem; }

/* سال بالای آیتم */
.timeline-year {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #15b074;
  border: 2px solid #15b074;
  border-radius: 999px;
  padding: .3rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  z-index: 2;
}

/* عکس‌ها */
.img-col img {
  width: 100%;
  height: auto;
  border-radius: .5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  object-fit: cover;
}

/* چندعکسی */
.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.img-grid img { width: 100%; height: auto; }

/* ریسپانسیو */
@media (max-width: 992px) {
  .timeline::before {
    left: 24px;
    transform: none;
  }
  .timeline-row {
    grid-template-columns: 1fr;
    row-gap: 1rem;
    padding-left: 3.5rem;
  }
  .timeline-year {
    left: 24px;
    transform: none;
  }
  .img-grid {
    grid-template-columns: 1fr; /* عکس‌ها زیر هم */
  }
}

.timeline p {
  font-size: 1.1rem;   /* حدود fs-5 بوت‌استرپ */
  line-height: 1.8;    /* فاصله خطوط برای خوانایی */
  text-align: justify; /* ترازبندی از هر دو طرف */
  margin-bottom: 1rem; /* فاصله پایین */
}

.timeline .img-col img,
.timeline .img-grid img {
  width: 100%;
  height: 280px;       /* ارتفاع ثابت برای هماهنگی */
  object-fit: cover;   /* کراپ تمیز */
  border-radius: .5rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

@media (max-width: 768px) {
  .timeline .img-col img,
  .timeline .img-grid img {
    height: 200px;
  }
}

/* TODAY badge + card */
.timeline-today{
  position: relative;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.today-badge{
  display: inline-block;
  background: #fff;
  color: #15b074;
  border: 2px solid #15b074;
  border-radius: 999px;
  padding: .35rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

/* کارت متن امروز */
.today-card{
  max-width: 900px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: .8rem;
  padding: 1.5rem 1.75rem;
}

/* هماهنگی تایپوگرافی با بقیه پاراگراف‌ها */
.today-card p{
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

/* اتصال بصری ظریف به تایم‌لاین (اختیاری) */
.timeline-today::before{
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(#a7e9cd,#15b074);
}

/* ستون باریک مشترک برای متن و فرم؛ هم‌راستاسازی از چپ */
.contact-wrap{
  max-width: 820px;   /* عرض دلخواه ستون؛ می‌تونی 760 یا 900 هم بذاری */
  width: 100%;
}

/* اگر می‌خوای در موبایل فاصله از اطراف کمی بیشتر باشه */
@media (max-width: 576px){
  .contact-wrap{ padding-left: .25rem; padding-right: .25rem; }
}

/* 1) ارتفاع هدر فیکس در موبایل کمتره؛ offset کلی صفحه رو ریسپانسیو کن */
body { padding-top: 80px; }
@media (max-width: 576px){
  body { padding-top: 64px; } /* معمولاً navbar موبایل ~56-64px */
}

/* 2) Hero: پوزیشن متن پایین بنر ریسپانسیو و بدون عدد منفی */
.hero-banner { position: relative; min-height: 70vh; background: url("../src/Picture/imgi_3.jpg") center/cover no-repeat; }
.hero-banner::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.4); }
.hero-banner .container { position: relative; z-index: 2; }

@media (max-width: 768px){
  .banner-bottom-text{
    bottom: -150px !important;        
    left: 10px !important;
    width: 90%;
    padding: 0px !important;
  }
  .banner-bottom-text p{
    font-size: 15px !important;
    margin: 0;
    padding: 0px !important;

  }
}

/* موبایل کوچک */
@media (max-width: 576px){
  .banner-bottom-text{
    bottom: 12px;
    width: calc(100% - 24px); /* دو تا 12px فضای کناری */
    border-radius: 8px;
    padding: 6px 12px;
  }
  .banner-bottom-text p{
    font-size: 15px;
  }
}
.banner-bottom-text p{
  font-size: clamp(18px, 4vw, 28px); /* سایز متن ریسپانسیو */
  margin: 0;
}

/* 3) Feature (سه باکس رنگی بالا): فاصله‌ها کوچیک‌تر در موبایل */
.feature-box h5{ margin-bottom: 24px !important; margin-top: 12px !important; }
.feature-box p{ font-size: 18px; line-height: 1.7; margin: 16px 0; }
@media (max-width: 576px){
  .feature-box p{ font-size: 16px; margin: 12px 0; }
}

/* 4) کارت‌های سکشن تیره: تصویر بزرگ روی دسکتاپ، جمع‌وجور روی موبایل */
.features-dark .feature-media { height: 300px; object-fit: cover; }
@media (max-width: 992px){ .features-dark .feature-media { height: 240px; } }
@media (max-width: 576px){ .features-dark .feature-media { height: 200px; } }

.features-dark .feature-card{ background:#3a3a3a; border:none; transition:transform .25s, box-shadow .25s; }
.features-dark .feature-card:hover{ transform: translateY(-6px); box-shadow:0 12px 28px rgba(0,0,0,.35); }

/* 5) لوگوی مشتریان: خیلی بزرگه؛ کوچیکش کن تو موبایل */
.customer-logo{ max-height: 140px; object-fit: contain; }
@media (max-width: 576px){ .customer-logo{ max-height: 90px; } }

/* 6) متن‌ها یکنواخت‌تر در موبایل */
.p-my-text { font-size: 16px; line-height: 1.8; }
@media (max-width: 576px){
  .p-my-text { font-size: 15px; line-height: 1.7; }
}

/* 7) کمک به خوانایی هدر منو در موبایل: آیکن هم روشن بشه */
.navbar-light .navbar-toggler { border-color: rgba(0,0,0,.1); }
.navbar-light .navbar-toggler-icon { background-image: var(--bs-navbar-toggler-icon-bg); }
/* اگر آیکن دیده نشد، این بک‌آپ: */
/* .navbar-toggler-icon{ background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' ... %3e"); } */

/* بنر کوتاه محصولات */
.products-hero-mini{
  min-height: 32vh;
  background: url("../src/Picture/proudact_banner.jpg") center/cover no-repeat;
  position: relative;
}
.products-hero-mini::after{
  content:""; position:absolute; inset:0; background: rgba(0,0,0,.45);
}
.products-hero-mini .container{ position: relative; z-index: 1; }

/* کانتینر تصویر محصول */
.product-image-wrap{
  background: #fff;
  padding: 12px;
}
.product-image-wrap img{
  width: 100%;
  height: 360px;
  object-fit: contain;
}
@media (max-width: 768px){
  .product-image-wrap img{ height: 300px; }
}
@media (max-width: 576px){
  .product-image-wrap img{ height: 240px; }
}

/* کارت/جدول ویژگی‌ها با ردیف‌های زوج متفاوت */
.specs-card{
  background:#fff; border:1px solid #e9ecef; overflow:hidden; border-radius:10px;
}
.spec-row{
  display:grid; grid-template-columns:42% 1fr; border-bottom:1px solid #edf0f2;
}
.spec-row:last-child{ border-bottom:none; }
.spec-key{
  background:#f8f9fa; padding:.7rem 0.1rem; font-weight:600; white-space:nowrap;
}
.spec-val{ padding:.7rem 1rem; color:#555; }
/* راه‌راه */
.spec-row:nth-child(even) .spec-key{ background:#f3f5f7; }
.spec-row:nth-child(even) .spec-val{ background:#fcfcfd; }
@media (max-width:576px){
  .spec-row{ grid-template-columns:1fr; }
  .spec-key{ border-bottom:1px solid #edf0f2; }
}

/* دکمه جذاب گرادیانی + ثانویه */
.btn-cta{
  background: linear-gradient(135deg, #0d9f5d, #15b074);
  border: none; color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(21,176,116,.25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(21,176,116,.35);
  filter: brightness(1.05);
}
.btn-cta i{ margin-right:.5rem; }

.btn-ghost{
  border:1px solid rgba(13,159,93,.3);
  color:#0d9f5d; background: transparent;
  border-radius:10px; padding:.75rem 1.25rem;
}
.btn-ghost:hover{ background:rgba(13,159,93,.08); }

/* گالری کوچک ویدیو */
.mini-gallery{ --thumb-h:120px; }
.mini-gallery .thumb{
  position: relative; border-radius: 10px; overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.1); cursor: pointer;
}
.mini-gallery .thumb .ratio{ height: var(--thumb-h); }
.mini-gallery .thumb img{ width:100%; height:100%; object-fit: cover; }
.mini-gallery .play-badge{
  position:absolute; bottom:8px; right:8px;
  background: rgba(0,0,0,.55); color:#fff;
  padding:.25rem .45rem; border-radius:6px; font-size:.8rem;
}
@media (max-width:576px){
  .mini-gallery{ --thumb-h:90px; }
}


/* رنگ متن */
.outline-shadow{
  color: #0ce994;
  /* دورخط با سایه‌ها در چند جهت */
  text-shadow:
    1px 0   #0d9f5d,
   -1px 0   #0d9f5d,
    0   1px #0d9f5d,
    0  -1px #0d9f5d,
    1px 1px #0d9f5d,
   -1px 1px #0d9f5d,
    1px -1px#0d9f5d,
   -1px -1px#0d9f5d;
}

/* درخشش بیشتر (نئون) */
.outline-shadow.neon{
  text-shadow:
    0 0 6px  rgba(13,159,93,.7),
    0 0 14px rgba(13,159,93,.5),
    0 0 28px rgba(21,176,116,.35),
    1px 0   #0d9f5d, -1px 0 #0d9f5d, 0 1px #0d9f5d, 0 -1px #0d9f5d;
}


