﻿:root{
    --blue:#4d9fcf;
    --blue-dark:#3d86b3;
    --navy:#0e1b3d;
    --red:#c8351f;
    --orange:#f5a623;
    --grey-bg:#f4f5f7;
    --text-dark:#1b2233;
    --text-grey:#6b7280;
    --white:#ffffff;
    font-size:16px;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:"Segoe UI",Tahoma,"Vazirmatn",Arial,sans-serif;
    color:var(--text-dark);
    background:var(--white);
    line-height:1.6;
    overflow-x:hidden;
  }
  img{max-width:100%;display:block;}
  a{text-decoration:none;color:inherit;}
  ul{list-style:none;}
  .container{
    max-width:1180px;
    margin:0 auto;
    padding:0 24px;
  }

  /* ---------- Scroll fade-in ---------- */
  .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .8s ease, transform .8s ease;
  }
  .reveal.visible{
 opacity:1;
    transform:translateY(0);
  }

  /* ---------- Header ---------- */
  header{
    background:var(--blue);
    position:relative;
    z-index:10;
  }
  .nav-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:22px 24px;
    position:relative;
  }
  .logo im{
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    font-weight:700;
    font-size:1.25rem;
    letter-spacing:2px;
  }
  .logo img{width:85px;max-width: 100%;}
  nav ul{
    display:flex;
    gap:32px;
  }
  nav a{
    color:#fff;
    font-size: 1.2rem;
    padding-bottom:6px;
    font-weight: 400;
    border-bottom:2px solid transparent;
    transition:border-color .25s ease, opacity .25s ease;
  }
  nav a.active, nav a:hover{
    border-color:#fff;
  }
  .nav-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    background:none;
    border:none;
  }
  .nav-toggle span{
    width:26px;height:2px;background:#fff;display:block;
  }

  /* ---------- Hero ---------- */
  .hero{
    background:var(--blue);
    padding:40px 0 90px;
  }
  .hero-inner{
    display:flex;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
  }
  .hero-text{
    flex:1 1 380px;
    color:#fff;
  }
  .eyebrow{
    font-size:1rem;
    letter-spacing:1px;
    opacity:.85;
    margin-bottom:10px;
  }
  .hero-text h1{
    font-size:clamp(2.9rem, 4vw, 3.5rem);
    font-weight:800;
    line-height:1.15;
    margin-bottom:18px;
  }
  .hero-text p{
   max-width: 493px;
  opacity: 1;
  font-size: 1.5rem;
  line-height: 1.4;
  }
  .hero-graphic{
    flex:1 1 380px;
    position:relative;
    min-height:360px;
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .hero-earth-img{
    width:100%;
    max-width:450px;
    height:auto;
    position:relative;
    z-index:2;
  }

  /* ---------- Cloud animations ---------- */
  .cloud-img{
    position:absolute;
    z-index:3;
    pointer-events:none;
    animation:float 6s ease-in-out infinite;
  }
  .c1{ width:110px; top:28%; left:21px; animation-duration:6.5s; }
  .c2{ width: 124px;
  top: 17%;
  right: 46px;
  animation-duration: 7.5s;
  animation-delay: .7s; }
  .c3{ width: 130px;
  bottom: 54%;
  left: 208px;
  animation-duration: 5.5s;
  animation-delay: 1.2s; }
  @keyframes float{
    0%,100%{ transform:translate(0,0); }
    50%{ transform:translate(8px,-12px); }
  }

  /* ---------- Who we are / What we do (image + text) ---------- */
  .split{
    padding:1rem 0;
  }
  .split .container{
    display:flex;
    align-items:center;
    gap:56px;
    flex-wrap:wrap;
  }
  .split.reverse .container{
    flex-direction:row-reverse;
  }
  .split-media{
    flex:1 1 0;
    position:relative;
  }
  .split-media img{
    max-width:100%;
    border-radius:2px;
    height:623px;
    object-fit:cover;
  }
  .badge{
    position:absolute;
    bottom:-28px;
    right:28px;
    background:var(--navy);
    color:#fff;
    padding: 55px 30px 55px 50px;
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1.4;
    max-width: 374px;
    box-shadow: 0 20px 40px rgba(14,27,61,.25);
  }
  .split.reverse .badge{ right:auto; left:28px; }

  .split-content{
    flex:1 1 4%;
  }
  .split-content .eyebrow{ color:var(--red); font-weight:700; }
  .split-content h2{
   font-size: clamp(1rem,3vw,2rem);
  margin: 14px 0 18px;
  line-height: 1.2;
  font-weight: 400;
  }
  .split-content p{
    color:var(--text-grey);
    max-width:480px;
  }

  /* ---------- Department ---------- */
  .department{
    background:var(--grey-bg);
    padding:90px 0;
    text-align:center;
  }
  .department h2{
    font-size:clamp(1.7rem,3.4vw,2.3rem);
    font-weight:800;
    margin-bottom:50px;
  }
  .dep-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
    margin-bottom:40px;
  }
  .dep-card{
    background:#fff;
    padding:38px 22px;
    box-shadow:0 4px 20px rgba(20,30,60,.06);
    transition:transform .3s ease, box-shadow .3s ease;
  }
  .dep-card:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 30px rgba(20,30,60,.12);
  }
  .dep-card svg{width:84px;height:84px;margin:0 auto 20px;stroke:var(--orange);}
  .dep-card h3{
    font-size:1.05rem;
    margin-bottom:10px;
    font-weight:700;
  }
  .dep-card p{
    font-size:.88rem;
    color:var(--text-grey);
  }
  .btn-red{
    display:inline-block;
    background:var(--red);
    color:#fff;
    padding:15px 34px;
    font-size:.85rem;
    letter-spacing:1px;
    font-weight:700;
    border:none;
    cursor:pointer;
    transition:background .25s ease, transform .25s ease;
  }
  .btn-red:hover{ background:#a52c1a; transform:translateY(-2px); }

  /* ---------- Full spectrum ---------- */
  .spectrum{ padding:1rem 0 60px; }
  .spectrum-head{ margin-bottom:34px; }
  .spectrum-head .eyebrow{ color:var(--red); font-weight:700; }
  .spectrum-head h2{
    font-size:clamp(1.8rem,3.6vw,2.5rem);
    font-weight:800;
    max-width:520px;
    line-height:1.25;
  }
  .spectrum-body{
    display:flex;
    gap:50px;
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .spectrum-media{
    flex:1 1 460px;
    position:relative;
  }
  .spectrum-media img{
    width:100%;
    height:480px;
    object-fit:cover;
  }
  .stats-card{
    position:absolute;
    bottom:-46px;
    right:-397px;
    background:var(--red);
    color:#fff;
    padding:34px 36px;
    display:flex;
    gap:40px;
    box-shadow:0 20px 40px rgba(200,53,31,.28);
  }
  .stat h4{
    font-size:1.5rem;
    font-weight:600;
    opacity:.9;
    margin-bottom:6px;
  }
  .stat .num{
    font-size:2.3rem;
    font-weight:800;
    line-height:1;
  }
  .stat p{
    font-size:1rem;
    opacity:.85;
    margin-top:8px;
    max-width:210px;
  }
  .spectrum-list{
    flex:1 1 3%;
    padding-top:6px;
  }
  .spectrum-list ul{ margin:0 0 22px; }
  .spectrum-list li{
    position:relative;
    padding-left:20px;
    margin-bottom:12px;
    color:var(--text-dark);
    font-weight:500;
  }
  .spectrum-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:9px;
    width:7px;height:7px;
    background:var(--red);
    border-radius:50%;
  }
  .read-more{
    font-weight:700;
    border-bottom:2px solid var(--navy);
    padding-bottom:3px;
  }

  /* ---------- Partner logos ---------- */
  .partners{
    padding:60px 0 100px;
  }
  .partners-strip{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:30px;
  }
  .partner-logo{
    opacity:.45;
  
    font-weight:800;
    font-size:1.4rem;
    letter-spacing:1px;
    color:var(--text-dark);
    transition:opacity .3s ease, filter .3s ease;
    cursor:default;
  }
  .partner-logo:hover{
    opacity:1;
    filter:grayscale(0);
  }

  /* ---------- Footer ---------- */
  footer{
    background:var(--navy);
    color:#fff;
    padding:70px 0 24px;
  }
  .footer-top{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:40px;
    padding-bottom:50px;
    border-bottom:1px solid rgba(255,255,255,.12);
  }
  .footer-logo{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
    font-weight:700;
    letter-spacing:2px;
  }
  .footer-logo img{width:200px;max-width: 100%;}
  .footer-col h5{
    font-size:1rem;
    letter-spacing:1px;
    text-transform:uppercase;
    opacity:.7;
    margin-bottom:14px;
  }
  .footer-col p, .footer-col a{
    color:#fff;
    font-size:.95rem;
    opacity:.9;
    font-weight: bold;
  }
  .footer-col a{
    text-decoration:underline;
  }
  .footer-note{
    opacity:.7;
    font-size:.85rem;
    margin-top:8px;
  }
  .footer-bottom{
    text-align:center;
    padding-top:24px;
    font-size:.82rem;
    opacity:.6;
  }

  /* ---------- Responsive ---------- */
  @media (max-width:900px){
    .dep-grid{ grid-template-columns:repeat(2,1fr); }
    .split .container, .split.reverse .container{ flex-direction:column; }
    .spectrum-body{ flex-direction:column; }
    .stats-card{ position:static; margin-top:24px; width:100%; justify-content:space-around; }
    .badge{ position:static; margin-top:-40px; margin-inline-start:24px; }
  }
  @media (max-width:640px){
    .nav-wrap{
      padding-right:8px;
      z-index:11;
    }
    nav ul{
      position:absolute;
      top:100px;
      right:24px;
      width:min(195px, calc(100vw - 48px));
      z-index:20;
      flex-direction:column;
      align-items:stretch;
      padding:8px;
      gap:4px;
      background:var(--white);
      border:1px solid rgba(14, 27, 61, .08);
      border-radius:8px;
      box-shadow:0 12px 28px rgba(14, 27, 61, .2);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transform:translateY(-6px);
      transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
    }
    nav ul.open{
      opacity:1;
      visibility:visible;
      pointer-events:auto;
      transform:translateY(0);
    }
    nav a{
      display:block;
      padding:11px 14px;
      border:0;
      border-radius:5px;
      color:var(--navy);
      font-size:1rem;
    }
    nav a.active,
    nav a:hover{
      border:0;
      background:rgba(77, 159, 207, .12);
      color:var(--blue-dark);
    }
    .nav-toggle{
      display:flex;
      margin-left:auto;
      width:44px;
      height:44px;
      align-items:center;
      justify-content:center;
      border-radius:6px;
      transition:background-color .18s ease;
    }
    .nav-toggle:hover{ background:rgba(255, 255, 255, .14); }
    .dep-grid{ grid-template-columns:1fr; }
    .partners-strip{ justify-content:center; }
    .stats-card{ flex-direction:column; gap:18px; }
    .footer-top{ flex-direction:column; align-items:center; text-align:center; }
  }


  .icon-container {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }


    


    /* اسکرول نرم سراسری */
html {
  scroll-behavior: smooth;
}

/* استایل دکمه نارنجی گرد گوشه راست */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #f97316; /* نارنجی */
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
  z-index: 9999;

  /* حالت مخفی در اسکرول اول */
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.2s;
}

/* هاور و کلیک */
.back-to-top:hover {
  background-color: #ea580c;
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0);
}

/* کلاسی که با اسکرول فعال می‌شود */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* our services style */
.freight-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 650px;
    line-height: 1.5;
  }

  .freight-header {
    margin-bottom: 24px;
  }

  .freight-title {
    font-size: 32px;
    font-weight: 800;
    color: #1d61d6;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
  }

  .freight-desc {
    font-size: 17px;
    font-weight: 600;
    color: #556275;
  }

  .freight-section {
    margin-bottom: 28px;
  }

  .freight-subtitle {
    font-size: 19px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
  }

  .freight-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .freight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #556275;
  }

  .freight-bullet {
    width: 5px;
    height: 5px;
    background-color: #556275;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .firstservicebox{
    display: grid;
  grid-template-columns: repeat(2, 1fr); /* تقسیم به ۲ ستون مساوی */
  gap: 20px; /* فاصله بین دو باکس */
  width: 100%;
  margin-bottom: 5em;

  }
  @media (max-width: 768px) {

  .servicebox02

   {
    grid-template-columns: 1fr !important; /* تبدیل به یک ستون و قرارگیری زیر هم */
  }

    .servicebox04

   {
    grid-template-columns: 1fr !important; /* تبدیل به یک ستون و قرارگیری زیر هم */
  }

  .firstservicebox

   {
    grid-template-columns: 1fr !important; /* تبدیل به یک ستون و قرارگیری زیر هم */
  }

  .servicebox03
   {
    grid-template-columns: 1fr !important; /* تبدیل به یک ستون و قرارگیری زیر هم */
  }
}
  .ourservicesh1{
    text-align: center;
  margin-top: 4rem;
  margin-bottom: 3rem;
  }


  .servicebox02{
    display: grid;
  grid-template-columns: repeat(2, 1fr); /* تقسیم به ۲ ستون مساوی */
  gap: 20px; /* فاصله بین دو باکس */
  width: 100%;
  margin-bottom: 5em;
  }

   .servicebox03{
    display: grid;
  grid-template-columns: repeat(2, 1fr); /* تقسیم به ۲ ستون مساوی */
  gap: 20px; /* فاصله بین دو باکس */
  width: 100%;
  margin-bottom: 5em;
  }

     .servicebox04{
      display: grid;
  grid-template-columns: repeat(2, 1fr); /* تقسیم به ۲ ستون مساوی */
  gap: 20px; /* فاصله بین دو باکس */
  width: 100%;
  margin-bottom: 5em;
  }