@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;600;700&display=swap');

body {
  font-family: "Vazirmatn", sans-serif;
  margin: 0;
  padding: 0;
  background: #f7f9fb;
  color: #333;
}

/* هدر */
header {
  background: linear-gradient(90deg, #187177, #2c5364);
  color: #fff;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 999;
}
header .brand-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
header .brand-text {
  font-size: 28px;
  font-weight: 700;
}
header .brand-text .aramis {
  color: #00bfff; /* رنگ متفاوت برای "آرامیس" */
}
header .brand-text .zi {
  color: #fff; /* رنگ متفاوت برای "زی" */
}
header img.logo-img {
  height: 70px;
}
header .tagline {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

/* بخش‌ها */
.sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  
  //border: 2px solid #ffd700; /* حاشیه طلایی */
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}
.card h2 {
  color: #003049;
  margin-bottom: 15px;
  font-size: 22px;
}
.card p {
  color: #555;
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.8;
}
.card a {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: #006d77;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.card a:hover {
  background: #00bfff;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .sections {
    grid-template-columns: 1fr;
    padding: 40px 15px;
  }
  .card {
    padding: 20px;
  }
}

@media (min-width: 768px) and (max-width: 966px) {
    .sections {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        /* کارت‌ها هم‌ارتفاع */
        gap: 10px;
        padding: 40px 15px;
        flex-wrap: nowrap;
    }

    .card {
        flex: 0 0 calc(33.333% - 10px);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* استایل مخصوص عنوان و متن داخل کارت */
    .card h2 {
        font-size: 18px;
        /* کوچیک‌تر از حالت عادی */
    }

    .card p {
        font-size: 16px;
        /* متن جمع‌وجور */
        line-height: 1.5;
        /* خوانایی بهتر */
    }
}