/* فونت وزیر محلی */
@font-face {
  font-family: 'vazir';
  src: url('/css/fonts/vazir.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body, input, textarea, button {
  font-family: 'vazir', sans-serif;
  direction: rtl;
  background-color: #f5f7fa;
  margin: 0;
  padding: 0;
  color: #333;
}

    .content {
        flex: 1;
        padding: 2rem;
        font-family: 'vazir', sans-serif;
    }
    
    button, .btn {
    background: #0a1d37;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-family: 'vazir', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
}

button:hover, .btn:hover {
    background-color: #132d53;
}

/* container */
.search-form { position: relative; display:block; }

/* dropdown چسبیده و مِماس با input */
.dropdown-results {
  position: absolute;
  z-index: 1400;
  left: 0;
  top: 100%;
  width: 100%;
  margin: 0;                 /* حذف هر فاصله اضافی */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(16,24,40,0.14), 0 4px 10px rgba(16,24,40,0.06);
  border: 1px solid rgba(16,24,40,0.06);
  max-height: 420px;
  overflow-y: auto;
  padding: 6px;
  box-sizing: border-box;
  transform-origin: top center;
  transform: translateY(-4px) scale(0.997);
  opacity: 0;
  transition: opacity .20s cubic-bezier(.2,.9,.2,1), transform .20s cubic-bezier(.2,.9,.2,1);
  display: none;
  will-change: transform, opacity;
}

/* وقتی نمایش داده می‌شود (نرم و طبیعی) */
.dropdown-results.show {
  display: block;
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* پین (فلش کوچک) که دقیقاً روی لبه input قرار می‌گیرد */
.dropdown-results::before {
  content: "";
  position: absolute;
  top: -6px;                /* درست روی لبه بالایی پنجره */
  left: var(--pin-left, 24px);
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(16,24,40,0.04);
  border-left: 1px solid rgba(16,24,40,0.04);
  border-top: 1px solid rgba(16,24,40,0.04);
  pointer-events: none;
  transition: left .14s cubic-bezier(.2,.9,.2,1);
}

/* آیتم‌ها (ساده و مرتب) */
.dropdown-card {
  display: block;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #444;
  transition: background .12s, transform .06s;
  box-sizing: border-box;
  width: 100%;
}
.dropdown-card .title {
  font-weight: 700;
  color: #0a1d37;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-card .excerpt {
  margin-top: 6px;
  color: #374151;
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.dropdown-card:hover, .dropdown-card.active {
  background: rgba(11,94,215,0.06);
  transform: translateY(-1px);
}
.dropdown-empty { padding: 14px; text-align: center; color: #6b7280; }
.highlight { background: rgba(255,230,100,0.95); color: #111; padding: 0 3px; border-radius: 3px; }

/* responsive */
@media (max-width:640px) {
  .dropdown-results { max-height: 280px; }
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background: #070621;
  color: #fff;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-family: 'vazir', sans-serif;
    font-size: 1rem;
}

    .btn-custom {
        background: #0a1d37;
        color: #fff;
        border-radius: 8px;
        font-weight: bold;
        width: 100%;
        padding: 0.75rem;
    }
    .btn-custom:hover {
        background: #152c55;
    }
    
    .header-container {
    position: relative;
    padding: 10px 20px;
    background-color: #070621;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* استایل اسم سایت */
.header-right h1 {
    font-size: 28px;         /* اندازه بزرگ‌تر */
    font-weight: 800;        /* ضخیم‌تر */
    color: #fff;             /* سفید مثل بقیه هدر */
    margin: 0;               /* فاصله اضافه حذف بشه */
    letter-spacing: 1px;     /* کمی فاصله بین حروف برای جذابیت */
    font-family: "vazir", sans-serif; /* فونتی که خودت گفتی */
}

/* افکت حرفه‌ای */
.header-right h1:hover {
    color: #ffcc00;          /* تغییر رنگ روی هاور (مثلاً طلایی) */
    transition: color 0.3s ease;
}

/* منو وسط - بزرگ ولی نازک */
.header-center nav a {
    font-size: 19px;       /* بزرگ‌تر */
    font-weight: 400;      /* نازک/عادی */
    color: #fff;
    padding: 0 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-center nav a:hover {
    color: #070621;        /* تغییر رنگ هاور */
}

/* نوار جستجو سمت چپ */
.search-form {
    max-width: 200px;
}

.search-form input[type="text"] {
    width: 100%;
    padding: 5px 30px 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    background-color: transparent;
    border: 1px solid gray;
    color: #fff;
}

.search-form input[type="text"]::placeholder {
    color: #ccc;
}

@media (max-width: 768px) {
  .header-container {
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
    align-items: stretch;
    gap: 2px; /* فاصله بین ردیف‌ها کم */
  }

  /* ردیف اول: ذره‌بین سمت چپ و اسم سایت راست */
  .header-top {
    display: flex;
    justify-content: space-between; /* فاصله بین چپ و راست */
    align-items: center;
    width: 100%;
  }

  /* ذره‌بین کوچک سمت چپ */
  .header-left {
    flex-shrink: 0;
  }
  .header-left .search-form input {
    display: none; /* حذف input */
  }
  .mobile-search-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('images/search-icon.svg') no-repeat center center;
    background-size: contain;
    text-indent: -9999px;
  }

  /* اسم سایت راست */
  .header-right {
    display: flex;
    flex-direction: column; /* اسم سایت و منو زیر هم */
    align-items: flex-start; /* چسبیده به راست */
  }
  .header-right h1 {
    font-size: 18px;
    margin: 0;
    white-space: nowrap;
  }

  /* ردیف دوم: منو زیر اسم سایت، سمت راست */
  .header-center {
    display: flex;
    justify-content: flex-start;
    margin-top: 2px;
    width: 100%;
  }
  .header-center nav {
    display: flex;
    gap: 6px; /* فاصله لینک‌ها کمتر */
    flex-wrap: wrap;
  }
  .header-center nav a {
    font-size: 12px;
    padding: 2px 4px;
  }
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.keywords a {
  font-size: 12px;
  color: #555;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 3px 8px;
  transition: all 0.2s ease;
}

.keywords a:hover {
  background: #070621;
  color: #fff;
  border-color: #070621;
}

.keywords-section {
  background: #f9f9f9;
  border-top: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.keywords span {
  display: inline-block;
  margin: 3px;
  padding: 3px 8px;
  font-size: 12px;
  color: #444;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
}

main {
    padding: 2rem;
}

.meta i.ri-calendar-line { color: #0a1d37; }
.meta i.ri-folder-2-line { color: #0a1d37; }
.meta i.ri-eye-line { color: #0a1d37; }

@media (max-width: 768px) { .news-container { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
@media (max-width: 480px) { .news-container { grid-template-columns: 1fr; } }

/* لینک‌های منو */
nav {
  margin-top: -1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 0.5rem 1rem;
  transition: background 0.3s, color 0.3s;
  border-radius: 0.5rem;
}

nav a:hover {
  background: #fff;
  color: #070621;
}

    /* استایل عمومی اخبار */
.news-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.news-card:hover {
  transform: translateY(-3px);
}

.news-card h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.5;
  color: #222;
}

.news-card .meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 12px;
}

.news-card .meta i {
  vertical-align: middle;
  margin-left: 4px;
  color: #555;
}

.news-card .post-content {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

.news-card a.btn {
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 6px 14px;
}

/* نسخه موبایل */
@media (max-width: 768px) {
  .news-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .news-card {
    padding: 12px;
  }

  .news-card h2 {
    font-size: 1rem;
  }

  .news-card .meta {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .news-card .post-content {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .news-card a.btn {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

        .register-box {
        max-width: 500px;
        margin: 70px auto;
        background: #fff;
        padding: 2rem;
        border-radius: 1rem;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
    }
    
    .note {
    background: #fff7e6;
    border-left: 4px solid #ffa500;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

    .register-box h2 {
        color: #0a1d37;
        margin-bottom: 1.5rem;
        text-align: center;
        font-weight: bold;
    }
    
    .register-footer {
        margin-top: 1rem;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .register-footer a {
        text-decoration: none;
        color: #0a1d37;
        font-weight: bold;
    }

.service-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.service-box h2 {
    color: #0a1d37;
}

.services-categories {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-categories h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

/* گرید ریسپانسیو */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* کارت خدمات */
.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 1.5rem 1rem 2rem;
  position: relative;
  text-align: right;
}

/* آیکون گرد */
.service-icon {
  background-color: #0a1d37;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  position: absolute;
  top: -25px;
  right: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* عنوان کارت */
.service-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #333;
}

/* فهرست خدمات */
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: right;
}

.service-card ul li {
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}

/* بخش پایینی: دکمه و شمارش */
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-btn {
  background-color: #0a1d37;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color .2s;
}

.service-btn:hover {
  background-color: #05101e;
}

.service-count {
  background-color: #0a1d37;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* ریسپانسیو موبایل */
@media (max-width: 480px) {
  .services-categories {
    padding: 1rem 0.5rem;
  }
  .service-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    top: -22px;
    right: 0.75rem;
  }
  .service-card {
    padding: 1.25rem 0.75rem 1.5rem;
  }
}

    .sidebar h3 { 
        text-align: center; 
        margin-bottom: 2rem; 
        font-weight: bold; 
        font-family: 'vazir', sans-serif;
    }
    .sidebar a {
        display: block;
        color: #fff;
        padding: 0.7rem 1rem;
        margin-bottom: 0.5rem;
        text-decoration: none;
        border-radius: 8px;
        font-family: 'vazir', sans-serif;
        transition: 0.3s;
    }
    .sidebar a:hover { 
        background: #152c55; 
    }

/* جدول‌ها */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: white;
}
th, td {
    padding: 0.75rem;
    text-align: right;
    border: 1px solid #ccc;
}
th {
    background-color: #0a1d37;
    color: white;
}
    .form-box {
      background: white;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      width: 300px;
    }
    .form-box h2 {
      text-align: center;
      margin-bottom: 20px;
    }
    .form-box input {
      width: 100%;
      padding: 10px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    .form-box button {
      width: 100%;
      padding: 10px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    .form-box button:hover {
      background-color: #0056b3;
    }

.phone-widget{
  position:fixed; left:29px; bottom:29px; z-index:9999;
  width:54px; height:54px;
  display:inline-flex; align-items:center; justify-content:center;
  background:#28a745;
  border-radius:50%;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,.2);
  text-decoration:none; outline:none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease, background 0.25s ease; /* نرم‌تر */
}

.phone-widget svg{
  width:35px; height:35px; fill:#fff;
  pointer-events:none;
}

.phone-widget:hover{
  background:#218838;
  transform:scale(1.12);
}

.phone-widget:active{
  transform:scale(.95);
}

.user-info {
  display: flex;
  align-items: center;
  padding: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 8px;
}

.user-details p {
  margin: 0;
  line-height: 1.2;
}

/* Reset پایه */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* کانتینر مشترک */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  gap: 2rem;
}

/* Hero Section */
.about-hero {
  padding: 4rem 0;
  background-color: #F0F3FF;
}

.about-hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-hero h1 {
  font-size: 2.5rem;
  color: #333333;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.about-hero p {
  color: #555555;
  line-height: 1.6;
}

/* تصویر در سمت چپ */
.about-image {
  order: 1;
  flex: 1;
}

/* متن در سمت راست */
.about-text {
  order: 2;
  flex: 1;
  text-align: right;
}

/* نمایش ستونی در موبایل */
@media (max-width: 768px) {
  .about-hero .container {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    order: 1;
  }
  .about-image {
    order: 2;
  }
}

/* تصویر Hero */
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Team Section */
.team-section {
  padding: 4rem 0;
}

.team-section .container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.team-section h2 {
  font-size: 2rem;
  color: #333333;
  margin-bottom: 1rem;
}

.team-section p {
  color: #555555;
  line-height: 1.6;
}

/* تصویر تیم */
.team-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* کانتینر و تنظیمات پایه */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.features {
  padding: 4rem 0;
  text-align: center;
}

.features-header h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: .5rem;
}

.features-header span {
  color: #777;
  font-size: .9rem;
  letter-spacing: 1px;
}

/* لیست ویژگی‌ها */
.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* هر آیتم */
.feature-item {
  max-width: calc(50% - 1rem);
  padding: 0.75rem 0.5rem;         /* پدینگ جمع‌تر */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;    /* کمتر کردن فاصله بالا */
  padding-bottom: 0.5rem; /* کمتر کردن فاصله پایین */
  gap: 0.25rem;           /* اگر از flex-gap استفاده می‌کنید */
    
}

.feature-item .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem; /* کمتر کردن فاصله بین آیکون و متن */
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

/* رنگ‌های پس‌زمینه برای آیکون‌ها */
.bg-purple { background-color: #664EFF; }
.bg-green  { background-color: #4CAF50; }
.bg-blue   { background-color: #2196F3; }

.feature-item p {
  color: #555;
  font-size: 1rem;
  font-size: 0.95rem;
  margin: 0;
  margin: 0.5rem 0 0;
  line-height: 1.2;       /* در صورت نیاز تنظیم line-height */
}

@media (max-width: 600px) {
  /* ۱. لیست کارت‌ها را با Grid دو ستونه کنیم */
  .features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;   /* وسط‌چین کردن کارت‌ها در ستون */
    gap: 1rem;               /* فاصله ردیف و ستون */
    margin-top: 1rem;
  }

  /* ۲. هر کارت flex-row برای آیکون + متن کنار هم */
  .feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    width: 100%;
    max-width: 260px;        /* حداکثر عرض دلخواه */
    box-sizing: border-box;
  }

  /* ۳. ابعاد آیکون را ثابت نگه می‌داریم */
  .feature-item .icon {
    flex: 0 0 auto;
    width: 48px;             /* اندازه ثابت */
    height: 48px;
  }

  /* ۴. تراکم متن و حذف مارجین */
  .feature-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.2;
  }
}

/* پایه */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: vazir, sans-serif;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
}

/* کانتینر */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* بخش why-us */
.why-us {
  direction: rtl;
  padding: 4rem 0;
  background-color: #f9f9fb;
}

/* هدر بخش */
.why-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}

.why-titles h2 {
  font-size: 2rem;
  margin: 0;
}

.why-titles span {
  display: block;
  color: #777;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* دکمه‌ها */
.why-buttons {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s;
}

.btn-services {
  background-color: #070621;
  color: #fff;
}

.btn-services:hover {
  background-color: #100e46;
}

.btn-contact {
  background-color: #fff;
  color: #070621;
  border: 1px solid #070621;
}

.btn-contact:hover {
  background-color: #070621;
  color: #fff;
}

/* لیست آمار */
.stats-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.stat-item {
  flex: 1 1 200px;
  max-width: 240px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #070621;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #555;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .why-header {
    flex-direction: column;
    text-align: center;
  }
  .why-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .why-header h2 {
    font-size: 1.75rem;
  }
  .stat-item {
    padding: 1rem 0.75rem;
  }
  .stat-number {
    font-size: 1.75rem;
  }
  .stat-label {
    font-size: 0.9rem;
  }
}

/* ریسپانسیو موبایل */
@media (max-width: 600px) {
  .features-list {
    flex-direction: column;
    gap: 1.5rem;
  }

/* واکنش‌گرایی */
@media (max-width: 768px) {
  .about-hero .container,
  .team-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text,
  .team-text {
    order: 2;
  }

  .about-image,
  .team-image {
    order: 1;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 2rem 0;
  }
  .team-section {
    padding: 2rem 0;
  }
  .about-hero h1 {
    font-size: 2rem;
  }
  .team-section h2 {
    font-size: 1.75rem;
  }
}

/* Reset پایه */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* فونت و رنگ بدنه */
body {
  font-family: 'vazir', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* کانتینر مشترک */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  gap: 2rem;
}

/* Hero Section */
.about-hero {
  background-color: #F0F3FF;
  padding: 4rem 0;
}

.about-hero .container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-hero p {
  color: #555;
}

/* تصویر Hero */
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Team Section */
.team-section {
  padding: 4rem 0;
}

.team-section .container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.team-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.team-section p {
  color: #555;
}

/* تصویر تیم */
.team-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
  .about-hero .container,
  .team-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text,
  .team-text {
    order: 2;
  }

  .about-image,
  .team-image {
    order: 1;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 2rem 0;
  }
  .team-section {
    padding: 2rem 0;
  }
  .about-hero h1 {
    font-size: 2rem;
  }
  .team-section h2 {
    font-size: 1.75rem;
  }
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        margin-top: 1rem;
    }
    .service-box, form {
        padding: 1rem;
    }
    input, textarea, select, button {
        font-size: 0.95rem;
    }
}