body {
  background-color: rgb(0, 0, 0);
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.container {
  display: flex;
  flex-direction: column;
}

.container .row1 {
  background-color: #f1f1f1;
  padding: 10px;
  text-align: center;
  padding-top: 20px;
  font-size: 30px;
  border-radius: 15px;
  height: 880px;
  background: url("../images/home-bg.webp") center/cover no-repeat;
  --strip-width: 460px;
  position: relative;
  overflow: hidden;
}

.container .row1::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--strip-width);
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(40, 70, 160, 0.9) 0%,
    rgba(120, 140, 220, 0.4) 70%,
    rgba(120, 140, 220, 0) 100%
  );
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center; /* تغییر از flex-start به center برای ظاهر بهتر */
  position: fixed; /* استفاده از fixed به جای sticky برای پایداری بیشتر */
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 15px 40px;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box; /* برای اینکه پدینگ باعث بیرون زدگی نشود */
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  top: 10px;
  margin: 0 20px; /* ایجاد فاصله از لبه‌ها در حالت اسکرول */
  width: calc(100% - 40px); /* محاسبه عرض با توجه به مارجین */
  border-radius: 15px;
  padding: 10px 20px;
  padding-bottom: 15px;
}

.logo img {
  height: 45px;
  /* تنظیم اندازه لوگو مطابق عکس */
  width: auto;
  display: block;
}

.nav ul {
  display: flex;
  gap: 25px;
  /* فاصله بین آیتم‌های منو */
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  /* فونت ظریف و کلاسیک مشابه عکس */
  font-family: "Georgia", serif;
  font-size: 15px;
  color: #8e8e8e;
  /* رنگ خاکستری گزینه‌های فرعی */
  transition: color 0.3s;
}

.nav a:hover {
  color: #1a2a5a;
}
.content {
  min-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* از 110px به 60px تغییر یافت تا متن بالاتر برود */
  padding-top: 60px;
  padding-left: 24px;
  padding-right: 24px;
  z-index: 50;
  position: inherit;
}
.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr var(--strip-width) 1fr;
  align-items: center;
  margin: 0;
  font-size: clamp(25px, 2.6vw, 55px);
  font-weight: 700;
  padding-top: 80px;
}
.hero-grid .left {
  justify-self: end;
  color: #2f4fb2;
  padding-right: 16px;
}

.hero-grid .center {
  justify-self: center;
  color: #fff;
  text-align: center;
}

.hero-grid .right {
  justify-self: start;
  color: #2f4fb2;
  padding-left: 16px;
}

.container .row2 {
  color: white;
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-top: 80px;
  padding: 40px;
}
.container .row3 {
  color: white;
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-top: 80px;
  padding: 40px;
}
.container .row3 .bg-white {
  background-color: white;
  color: black;
  padding: 20px;
  border-radius: 30px;
  text-align: left;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 100px;
  background: black;
  padding: 60px 40px;
}

.logos img {
  width: calc(100% / 6 - 40px);
  /* 6 ستون */
  max-width: 160px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s ease;
}

.logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.site-footer {
  padding: 0px 20px;
}

.site-footer a {
  color: #061f9b;
  text-decoration: none;
}

.footer-card {
  margin: 0 auto;
  background: #efeff1;
  border-radius: 28px;
  padding: 28px 40px 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-top {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #2c2c4a;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.footer-brand {
  text-align: center;
  margin-bottom: 18px;
}

.footer-logo {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.footer-copy {
  margin: 0 0 10px;
  font-size: 12px;
  color: #3a3a3a;
}

.footer-sub {
  margin: 0;
  font-size: 12px;
  color: #2b2b2b;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 18px;
  font-size: 12px;
  color: #2c2c4a;
}

.blue-font {
  color: #061f9b;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col.center {
  max-width: 520px;
  text-align: center;
  line-height: 1.5;
  color: #2c2c4a;
}

.footer-col.left {
  text-align: left;
}

.footer-col.right {
  text-align: right;
}

.bottom-card {
  position: absolute;
  right: 5px; /* تنظیم فاصله از لبه راست */
  bottom: 28px; /* تنظیم فاصله از پایین برای مرکزیت در بریدگی */
  z-index: 9999;
}

.bottom-card a {
  background-color: #2b2b2b;
  color: #ffffff;
  border: 2px solid #777;

  /* پدینگ متناسب برای دکمه بزرگ و کشیده */
  padding: 25px 215px;

  /* فونت کلاسیک هماهنگ با عکس */
  font-family: "Georgia", serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;

  cursor: pointer;
  border-radius: 30px; /* لبه‌های کاملاً گرد کپسولی */
  transition: all 0.3s ease;
  white-space: nowrap;
}
