:root {
  --primary: #0d6efd;
  --accent: #ff6b35;
  --dark: #1a2332;
  --light-bg: #f4f7fb;
  --text: #2c3e50;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: 16px;
  color: var(--text);
  background-color: #fff;
  line-height: 1.75;
}

@media (max-width: 767.98px) {
  body {
    font-size: 16px;
  }
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.15rem;
}

.navbar-brand .brand-accent {
  color: var(--accent);
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}

.nav-link.active,
.nav-link:hover {
  color: var(--accent) !important;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  min-height: 44px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
}

.btn-accent:hover {
  background: #e55a28;
  border-color: #e55a28;
  color: #fff;
}

.btn-primary-custom {
  min-height: 44px;
  font-weight: 600;
}

.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #243447 50%, #1e3a5f 100%);
  color: #fff;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.15));
  pointer-events: none;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.35;
}

.hero .lead {
  opacity: 0.92;
  font-size: 1.05rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.section-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #6c757d;
  margin-bottom: 2.5rem;
}

.service-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.service-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #4dabf7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.benefit-item i {
  font-size: 2.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.stats-bar {
  background: var(--light-bg);
  border-top: 4px solid var(--accent);
  padding: 2.5rem 0;
}

.stat-number {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
}

.cta-section {
  background: var(--dark);
  color: #fff;
  padding: 3.5rem 0;
}

.cta-section .form-control,
.cta-section .form-select {
  min-height: 44px;
}

.blog-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

.blog-card img {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.blog-card .card-body {
  display: flex;
  flex-direction: column;
}

.blog-card .card-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.blog-meta {
  font-size: 0.85rem;
  color: #6c757d;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.9rem;
}

.form-error {
  font-size: 0.85rem;
  color: #dc3545;
  display: none;
}

.form-error.show {
  display: block;
}

.is-invalid-custom {
  border-color: #dc3545 !important;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

.page-header {
  background: var(--light-bg);
  padding: 2rem 0;
  border-bottom: 3px solid var(--accent);
}
