  html, body {
    direction: rtl;
    text-align: right;
    font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    scroll-behavior: smooth;
  }

/* تیترها */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* متن‌ها */
p, span, li, a, td, th, input, button {
  font-weight: 400;
  line-height: 1.9;
}

/* دکمه‌ها */
.btn {
  font-weight: 500;
}

/* جدول */
table th {
  font-weight: 600;
}

/* Badge */
.badge {
  font-weight: 500;
}



.card {
  border-radius: 14px;
}

.table th, .table td {
  vertical-align: middle;
}


    /* Navbar */

/* Glass Navbar */
.navbar {
  background: rgba(6, 29, 63, 0.79);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Brand */
.navbar-brand strong {
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
}

/* Nav links */
.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  padding: 0.6rem 1.1rem;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: all 0.3s ease;
}

/* Hover */
.navbar-nav .nav-link:hover {
  color: #ffffff !important;
}

/* Glass underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  right: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffeb3b, #ffc107);
  transition: all 0.35s ease;
  transform: translateX(50%);
  border-radius: 4px;
}

.navbar-nav .nav-link:hover::after {
  width: 65%;
}

/* Active link */
.navbar-nav .nav-link.active {
  color: #ffeb3b !important;
}

/* Mobile glass menu */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(13, 71, 161, 0.85);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  }

  .navbar-nav .nav-link {
    text-align: right;
    padding: 0.8rem 1rem;
  }
}



    /* Hero */

    .hero {
  min-height: 100vh;
  padding-top: 40px; /* فاصله از navbar fixed */
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: flex;
  align-items: center;
  direction: rtl;
}

/* راست‌چین واقعی متن و دکمه‌ها */
.hero .col-lg-6.text-end {
  text-align: right !important;
}

/* دکمه‌ها هم از راست شروع شوند */
.hero .d-flex {
  justify-content: flex-end !important;
}


/* تصویر سمت چپ */
.hero-image {
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* متن سمت راست */
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.4;
  color: #0f172a;
  direction: rtl;
}

.hero-text {
  font-size: 1.1rem;
  line-height: 2;
  color: #334155;
  direction: rtl;
}

/* دکمه‌ها */
.hero-btn {
  border-radius: 999px;
  padding: 12px 32px;
  transition: all 0.3s ease;
  align-items: center;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

/* Badge صرافی */
.badge {
  font-size: 0.9rem;
}

@media (min-width: 992px) {
  .hero .row {
    flex-direction: row-reverse;
  }
}

.services-section {
  background: linear-gradient(135deg, #032558, #0a58ca);
}

.aboutUs-section {
 background: linear-gradient(135deg, #e8f1ff, #92a3c0);
}

.testi-section {
  background: linear-gradient(135deg, #032558, #0a58ca);
}

.contactUs-section {
  background: linear-gradient(135deg, #e8f1ff, #92a3c0);
}
