/* فونت‌های فارسی */
@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/IRANSans.woff2') format('woff2'),
       url('../fonts/IRANSans.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Vazir';
  src: url('../fonts/Vazir.woff2') format('woff2'),
       url('../fonts/Vazir.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'YekanWeb';
  src: url('../fonts/YekanWeb-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
.font-vazir {
  font-family: 'Vazir', 'IRANSans', 'YekanWeb',  sans-serif;
}
/* اعمال فونت به عناصر پایه */
body {
   font-family: 'Vazir', 'IRANSans', 'YekanWeb',  sans-serif;
  text-align: right;
  background-color: #f9fafb;
  color: #1f2937;
}

/* تیترها */
h1, h2, h3, h4, h5, h6 , p {
 font-family: 'Vazir', 'IRANSans', 'YekanWeb',  sans-serif;}

/* لینک‌ها */
a {
  font-family: 'Vazir', 'IRANSans', 'YekanWeb',  sans-serif;
}

/* فرم‌ها */
input, button, textarea, select {
   font-family: 'Vazir', 'IRANSans', 'YekanWeb',  sans-serif;
}
footer {
   font-family: 'Vazir', 'IRANSans', 'YekanWeb',  sans-serif;
}
.footer-text {
   font-family: 'Vazir', 'IRANSans', 'YekanWeb',  sans-serif;
}
.bg-corc {
  background-color: #3f5629;
}
.bg-newcorc {
  background: linear-gradient(to left, #3f5629, #4c6836);
}
.bg-org-gradient {
  background: linear-gradient(to bottom right, #3f5629, #6cae75);
}
.bg-org-gradient2 {
  background: linear-gradient(to bottom right, #d8f0c1, #6cae75);
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fade-in 0.4s ease-out forwards;
}
/* هدر */
header {
  background-color: #2e3b26;
  color: #f0f4f8;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header nav a {
  color: #a8e6cf;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
header nav a:hover {
  color: #d8f0c1;
}
header form button {
  background-color: #6cae75;
  color: #fff;
  border: none;
  padding: 0.4rem 0.8rem;
  margin: 0 0.3rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
header form button:hover {
  background-color: #4c6836;
}

/* فوتر */
footer a {
  color: #a8e6cf;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}
footer a:hover {
  color: #d8f0c1;
}
/* ساختار پایه برای چسباندن فوتر به پایین */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* محتوای اصلی صفحه */
main {
  flex: 1;
}

/* فوتر */
footer {
  background-color: #1f2a1b;
  color: #f0f4f8;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #3f5629;
}
img {
  border: none;
  box-shadow: none;
}

.mask-image {
  mask-image: linear-gradient(to right, black 100%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 100%, transparent 100%);
}

.group:hover .mask-image {
  mask-image: linear-gradient(to right, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
}

/*! tailwindcss v4.1.15 | MIT License | https://tailwindcss.com */
@layer properties;
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.static {
  position: static;
}
.inline {
  display: inline;
}
.table {
  display: table;
}
.underline {
  text-decoration-line: underline;
}
.filter {
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
