/* =========================
   BASE STYLES (CLEAN FINAL)
========================= */

/* RESET GLOBAL */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  direction: rtl;
}

/* =========================
   BODY
========================= */

body {
  font-family: 'Vazirmatn', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.8;
}

/* =========================
   LINKS
========================= */

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

a:hover {
  color: #ec2e47;
}

/* =========================
   IMAGES
========================= */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   LISTS
========================= */

ul, ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* =========================
   HEADINGS
========================= */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 12px 0;
  padding: 0;
  font-weight: 600;
  line-height: 1.5;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; }

/* =========================
   PARAGRAPH
========================= */

p {
  margin: 0 0 16px 0;
  line-height: 1.9;
}

/* =========================
   FORMS
========================= */

input, textarea, button {
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}

button {
  cursor: pointer;
  border: none;
}

/* =========================
   CONTAINER (SAFE WITH BOOTSTRAP)
========================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
}

/* =========================
   BOOTSTRAP FIX (IMPORTANT)
========================= */

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =========================
   HELPERS
========================= */

.text-center { text-align: center; }
.text-right { text-align: right; }

.hidden { display: none !important; }

/* =========================
   SELECTION
========================= */

::selection {
  background: #ec2e47;
  color: #fff;
}