



    .licenses-row {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }

    .license-item {
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
      border: 1px solid #e2e8f0;
    }

    .license-title {
      background: linear-gradient(135deg, #1a365d, #2c5282);
      color: white;
      text-align: center;
      padding: 14px 16px;
      font-size: 18px;
      font-weight: 700;
    }

    .license-item:nth-child(2) .license-title {
      background: linear-gradient(135deg, #276749, #38a169);
    }

    .license-subtitle {
      background: #edf2f7;
      text-align: center;
      padding: 8px 12px;
      font-size: 13px;
      color: #2d3748;
      border-bottom: 1px solid #e2e8f0;
    }

    .license-img-box {
      padding: 12px;
      text-align: center;
      background: #f8fafc;
    }

    .license-img-box img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 6px;
      cursor: pointer;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      border: 1px solid #cbd5e0;
    }

    .license-img-box img:hover {
      transform: scale(1.015);
      box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }

    /* Lightbox */
    .lightbox {
      display: none;
      position: fixed;
      z-index: 9999;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.9);
      justify-content: center;
      align-items: center;
      cursor: zoom-out;
    }

    .lightbox.active {
      display: flex;
    }

    .lightbox img {
      max-width: 95%;
      max-height: 92vh;
      border-radius: 6px;
      box-shadow: 0 0 40px rgba(0,0,0,0.5);
    }

    .lightbox-close {
      position: absolute;
      top: 20px;
      left: 30px;
      color: white;
      font-size: 36px;
      font-weight: bold;
      cursor: pointer;
      z-index: 10000;
      user-select: none;
    }

    @media (max-width: 900px) {
      .licenses-row {
        flex-direction: column;
      }
      .page-title {
        font-size: 22px;
      }
    }

    @media (min-width: 600px) {
       .licenses-row {
        margin: 50px;
       }

      .license-item {
      flex: 1 1 480px;
      }
    }



/* متغیرهای رنگی لوگوی سرزمین ابزار */
:root {
    --brand-red: #d00027;      /* قرمز لوگو */
    --brand-dark: #333333;     /* خاکستری تیره لوگو */
    --brand-dark-bg: #222222;  /* پس‌زمینه تیره تراز */
    --brand-gray: #4a4a4a;     /* خاکستری متوسط */
}

/* استایل اصلی بنر/هیرو */
.contact-hero.banners {
    position: relative;
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* پس‌زمینه با ترکیب خاکستری تیره و لبه‌های قرمز ملایم */
    background: linear-gradient(135deg, var(--brand-dark-bg) 0%, var(--brand-dark) 100%);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid var(--brand-red); /* نوار قرمز در پایین بنر */
}

/* لایه اورلی نور قرمز لوگو */
.contact-hero.banners .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(208, 0, 39, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* باکس محتوا */
.contact-hero.banners .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 15px 35px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* استایل تیتر اصلی */
.contact-hero.banners .hero-content h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 12px;
}

/* خط تزیینی زیر عنوان با رنگ قرمز لوگو */
.contact-hero.banners .hero-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--brand-red);
    box-shadow: 0 0 10px rgba(208, 0, 39, 0.5); /* درخشش قرمز */
}

/* تنظیمات ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .contact-hero.banners {
        min-height: 120px;
    }
    
    .contact-hero.banners .hero-content h1 {
        font-size: 1.3rem;
    }
}
