:root {
  --navy: #0c1e36;
  --navy-2: #132a4a;
  --navy-soft: #1c3a63;
  --gold: #b08d57;
  --gold-2: #c9ae7a;
  --ink: #1a2332;
  --muted: #5d6b7e;
  --line: #e6e9ee;
  --bg: #f5f6f8;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(12, 30, 54, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Vazirmatn", "IRANYekan", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  font-size: 16.5px;
}

a { text-decoration: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand img {
  height: 84px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.brand-text span {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

.navbar-nav .nav-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 14.5px;
  padding: 0.55rem 0.75rem !important;
  border-radius: 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold);
  background: #f7f4ee;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.7rem 1.25rem;
  font-weight: 700;
}

.btn-gold:hover { background: #9c7b48; color: #fff; }

.btn-outline-navy {
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  border-radius: 12px;
  padding: 0.7rem 1.25rem;
  font-weight: 700;
}

.btn-outline-navy:hover { background: #fff; color: var(--navy); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 0.7rem 1.25rem;
  font-weight: 700;
  border: none;
}

.btn-navy:hover { background: var(--navy-2); color: #fff; }

.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(176, 141, 87, 0.18), transparent 60%),
    linear-gradient(160deg, #0c1e36 0%, #163154 55%, #0c1e36 100%);
  color: #fff;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 460px;
  height: 460px;
  border: 48px solid rgba(176, 141, 87, 0.12);
  transform: rotate(18deg);
  border-radius: 48px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 16px;
}

.hero p.lead-slogan {
  font-size: clamp(18px, 2vw, 22px);
  color: #e8e2d4;
  max-width: 680px;
  margin-bottom: 28px;
}

.section { padding: 88px 0; }

.section-sm { padding: 64px 0; }

.bg-soft { background: var(--bg); }

.section-title {
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
  line-height: 1.5;
}

.gold-rule {
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 4px;
  margin-bottom: 18px;
}

.muted { color: var(--muted); }

.intro-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.media-slot {
  border-radius: var(--radius);
  min-height: 280px;
  background:
    linear-gradient(160deg, rgba(12,30,54,.55), rgba(12,30,54,.25)),
    url("../assets/logo.webp") center 42% / 180px no-repeat,
    linear-gradient(135deg, #163154, #0c1e36);
  border: 1px solid #d9dee6;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.media-slot span {
  font-size: 13px;
  background: rgba(12, 30, 54, 0.72);
  border: 1px solid rgba(201, 174, 122, 0.45);
  padding: 6px 12px;
  border-radius: 999px;
}

.activity-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.num {
  font-weight: 800;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
}

.activity-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin: 8px 0 10px;
}

.closing {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 30px solid rgba(176,141,87,.16);
  border-radius: 36px;
  left: -70px;
  bottom: -90px;
  transform: rotate(20deg);
}

.page-hero {
  background:
    linear-gradient(180deg, rgba(12,30,54,.92), rgba(12,30,54,.82)),
    linear-gradient(135deg, #163154, #0c1e36);
  color: #fff;
  padding: 72px 0 56px;
}

.page-hero h1 {
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 8px;
}

.breadcrumb-lite {
  color: #d8c7a4;
  font-size: 14px;
}

.breadcrumb-lite a { color: #fff; }

.value-item {
  background: #fff;
  border-right: 3px solid var(--gold);
  border-radius: 14px;
  padding: 18px 18px 14px;
  height: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-item h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.mission-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}

.mission-box.alt {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.mission-box h3 { font-weight: 800; margin-bottom: 10px; }
.mission-box.alt h3 { color: var(--navy); }

.axis {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed #e3e6eb;
}

.axis:last-child { border-bottom: 0; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 10px;
  flex: 0 0 auto;
}

.empty-panel {
  background: #fff;
  border: 1px dashed #cfd6e0;
  border-radius: var(--radius);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.empty-panel strong {
  color: var(--navy);
  font-size: 22px;
  display: block;
  margin-bottom: 8px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-control, .form-select {
  border-radius: 12px;
  border-color: #d7dde6;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(176, 141, 87, 0.18);
}

.info-side {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}

.info-side a { color: var(--gold-2); }

.site-footer {
  background: #091627;
  color: #c9d2de;
  padding: 48px 0 20px;
}

.site-footer h5 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
  font-size: 16px;
}

.site-footer a { color: #c9d2de; }
.site-footer a:hover { color: var(--gold-2); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 13px;
  color: #8ea0b5;
}

.alert-ok {
  background: #eef7f0;
  color: #1d5c32;
  border-radius: 12px;
  padding: 12px 14px;
}

.alert-bad {
  background: #fdeeee;
  color: #8a2a2a;
  border-radius: 12px;
  padding: 12px 14px;
}

.home-slider {
  background: var(--navy);
}

.home-slider .carousel-item {
  min-height: 560px;
  background: #0c1e36 center / cover no-repeat;
  position: relative;
}

.home-slider .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,30,54,.88) 0%, rgba(12,30,54,.55) 52%, rgba(12,30,54,.28) 100%);
}

.slide-copy {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
}

.slide-copy h1 {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.45;
  max-width: 760px;
}

.carousel-indicators [data-bs-target] {
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: var(--gold);
}

.carousel-control-prev,
.carousel-control-next {
  width: 8%;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  height: 100%;
  background: #10243f center / cover no-repeat;
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 240px;
}

.photo-frame figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(12, 30, 54, 0.78);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 174, 122, 0.4);
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  height: 100%;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.4;
}

.company-card,
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow);
}

.company-card .body,
.project-card .body {
  padding: 22px 22px 24px;
}

.company-card h2,
.project-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.sample-note {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: #f4efe6;
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

@media (max-width: 991px) {
  .brand img { height: 64px; }
  .section { padding: 64px 0; }
  .hero { min-height: auto; padding: 56px 0; }
  .home-slider .carousel-item,
  .slide-copy { min-height: 460px; }
}
