/* ======================================== */
/* ===== 1. فونت و متغیرها ===== */
/* ======================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1727;
  --blue: #0c2741;
  --blue-2: #295d7c;
  --teal: #4d8da5;
  --peach: #fba94a;
  --orange: #e98546;
  --ink: #142033;
  --muted: #657386;
  --line: rgba(20, 32, 51, 0.12);
  --paper: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(36, 70, 116, 0.16);
  --header-h: 78px;
}


/* ======================================== */
/* ===== 2. تنظیمات پایه ===== */
/* ======================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

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


/* ======================================== */
/* ===== 3. هدر (Header) ===== */
/* ======================================== */

.site-header {
  min-height: var(--header-h);
  background: rgba(12, 49, 87, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(11, 23, 39, 0.94);
  box-shadow: 0 14px 34px rgba(11, 23, 39, 0.18);
}


/* ======================================== */
/* ===== 4. برند (لوگو) ===== */
/* ======================================== */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.9))
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

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

.brand-name {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 900;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
}


/* ======================================== */
/* ===== 5. ناوبری (منو) ===== */
/* ======================================== */
/* ===== ناوبری اصلی ===== */
.navbar {
  min-height: var(--header-h);
  padding-block: 0;
}

.navbar-collapse {
  justify-content: space-between;
}

.navbar-nav {
  gap: 4px;
}

.navbar .nav-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-inline: 10px !important;
  color: rgba(255, 255, 255, 0.85) !important;  /* سفید */
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 8px;
  transition: 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--peach) !important;  /* نارنجی */
  background: rgba(255, 255, 255, 0.08);
}

.navbar .nav-link.active {
  color: var(--peach) !important;  /* نارنجی */
  background: rgba(255, 255, 255, 0.08);
}

/* ===== دکمه خدمات (dropdown) ===== */
.navbar .dropdown-toggle {
  color: rgba(255, 255, 255, 0.85) !important;
}

.navbar .dropdown-toggle:hover,
.navbar .dropdown-toggle:focus,
.navbar .dropdown-toggle.show {
  color: var(--peach) !important;
}
.navbar-nav {
  gap: 2px !important;
}


/* ======================================== */
/* ===== 6. دکمه تماس با ما ===== */
/* ======================================== */

.header-action {
  color: #fff !important;
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  font-weight: 700 !important;
  padding: 6px 18px !important;
  font-size: 0.85rem !important;
  min-height: 38px !important;
  border-radius: 50px !important;
  text-decoration: none;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Vazirmatn", Tahoma, sans-serif;
}

.header-action:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #e98546!important;
  color: #fff !important;
  transform: translateY(-2px);
}

.header-action i {
  font-size: 0.9rem;
  color: var(--peach);
}


/* ======================================== */
/* ===== 7. مگامنیو (منوی کشویی) ===== */
/* ======================================== */

.mega-menu {
  width: min(900px, calc(100vw - 32px));
  right: 50%;
  left: auto;
  transform: translateX(50%);
  padding: 12px;
  color: var(--white);
  background: rgba(12, 28, 48, 0.98);
  border-radius: 8px;
}

.mega-column {
  height: 100%;
  min-height: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.mega-column strong {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: var(--peach);
  font-size: 0.75rem;
}

.mega-column a {
  display: block;
  padding-block: 2px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.7rem;
}

.mega-column a:hover {
  color: var(--white);
}

/* ===== ۶ ستون برای مگامنیو ===== */
.mega-menu .col-lg-2 {
  flex: 0 0 16.666%;
  max-width: 16.666%;
  padding: 0 8px;
}

/* ======================================== */
/* ===== ریسپانسیو مگامنیو ===== */
/* ======================================== */

@media (max-width: 992px) {
  .mega-menu {
    width: 100% !important;
    transform: none !important;
    right: 0 !important;
    left: 0 !important;
    border-radius: 0 !important;
    padding: 10px !important;
    max-height: 70vh;
    overflow-y: auto;
  }
  
  .mega-menu .col-lg-2 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  
  .mega-column {
    margin-bottom: 8px;
  }
}

@media (max-width: 576px) {
  .mega-menu .col-lg-2 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  
  .mega-column {
    padding: 8px 10px;
  }
  
  .mega-column strong {
    font-size: 0.85rem;
  }
  
  .mega-column a {
    font-size: 0.8rem;
    padding-block: 4px;
  }
}


/* ======================================== */
/* ===== منوی موبایل (آف‌کنواس) ===== */
/* ======================================== */

.offcanvas-end {
  max-width: 320px !important;
  width: 100% !important;
}

.mobile-menu {
  color: var(--white);
  background: rgba(7, 17, 31, 0.98) !important;
}

.mobile-menu .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 20px;
}

.mobile-menu .offcanvas-title {
  color: var(--white);
  font-weight: 700;
}

.mobile-menu .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.mobile-menu .btn-close:hover {
  opacity: 1;
}

.mobile-menu .navbar-nav {
  gap: 4px;
  padding: 10px 0;
}

.mobile-menu .nav-link {
  color: rgba(255, 255, 255, 0.84) !important;
  border-radius: 8px;
  padding: 10px 16px !important;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.08);
}

/* ===== دکمه همبرگری ===== */
.navbar-toggler {
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  padding: 8px 12px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ======================================== */
/* ===== 9. بخش هیرو (صفحه اصلی) ===== */
/* ======================================== */

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 44px) 0 54px;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 42%, rgba(77, 141, 165, 0.34), transparent 32%),
    linear-gradient(180deg, rgba(19, 79, 139, 0.08), rgba(11, 23, 39, 0.72));
}

.hero-copy {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

/* ===== eyebrow (نوشته راهکارهای سازمانی...) ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 29px;
  margin-bottom: 20px;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 4px rgba(243, 178, 140, 0.25);
}


.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 0 6px rgba(243, 178, 140, 0.14);
}

/* ===== تایتل ===== */
.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 950;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ===== پاراگراف ===== */
.hero p {
  max-width: 650px;
  margin: 0 auto 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ===== دکمه‌ها ===== */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions .btn {
  padding: 8px 20px !important;
  font-size: 0.8rem !important;
  font-weight: 700;
  border-radius: 50px;
  transition: 0.3s ease;
}

.hero-actions .btn-primary-brand {
  background: var(--peach);
  color: var(--navy);
  border: none;
  box-shadow: 0 8px 25px rgba(243, 178, 140, 0.35);
}

.hero-actions .btn-primary-brand:hover {
  background: #f6c09f;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(243, 178, 140, 0.45);
}

.hero-actions .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.hero-actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  min-height: 510px;
}


/* ======================================== */
/* ===== 10. بخش‌های اصلی (Section) ===== */
/* ======================================== */

.section {
  padding: 70px 0;
  padding-left: 30px !important;
  padding-right: 30px !important;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.756), rgba(245, 246, 248, 0.718)),
    radial-gradient(circle at 15% 15%, rgba(71, 130, 164, 0.14), transparent 30%);
}

/* ===== هدر سکشن (وسط‌چین) ===== */
.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 50px;
}

.section-head > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== سرتیتر نارنجی با خط زیر ===== */
.section-kicker {
  color: var(--orange);
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
  text-decoration: none !important;
  margin-bottom: 16px; /* ← اضافه کن */
  margin-right: 50px;
}

/* ===== خط زیر سرتیتر ===== */
.section-kicker::after,
.section-kicker-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 180%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  border-radius: 2px;
}

/* ======================================== */
/* ===== عنوان h2 یکدست در همه صفحات ===== */
/* ======================================== */

.section-title {
  color: #0b1727cc !important;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem) !important;
  font-weight: 950;
  line-height: 1.35;
  text-align: center;
  margin-top: 25px !important;
  margin-bottom: 16px;

}


/* ===== سرتیتر ===== */
.section-kicker,
.section-kicker-link {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
  text-decoration: none !important;
  margin-bottom: 13px !important;
}

.section-kicker-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  border-radius: 2px;
  transition: 0.3s ease;
}
.section-kicker-link:hover {
  color: var(--peach) !important;
}

.section-kicker-link:hover::after {
  width: 140%;
  background: linear-gradient(90deg, transparent, var(--peach), transparent);
}

/* ===== توضیحات ===== */
.section-copy {
  max-width: 680px;
  margin: 12px auto 0 !important;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ======================================== */
/* ===== 11. صفحه هدر (Page Hero) ===== */
/* ======================================== */

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 0PX;
  padding: calc(var(--header-h) + 90px) 0 76px;
  color: var(--white);
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(11, 23, 39, 0.9), rgba(19, 79, 139, 0.72)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2200&q=82") center / cover;
}

/* ======================================== */
/* ===== h1 همه صفحات داخلی ===== */
/* ======================================== */

.page-hero h1,
.fiber-page .page-hero h1,
.projects-page .page-hero h1,
.about-page .page-hero h1,
.contact-page .page-hero h1,
.services-page .page-hero h1 {
  max-width: 860px;
  margin: 0 auto 18px;
  font-size: clamp(1.6rem, 2.8vw, 2.8rem) !important;
  font-weight: 900;
  line-height: 1.4;
  text-align: center !important;
  margin-top: 40px;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.page-hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.page-hero-panel span {
  display: block;
  color: var(--peach);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 1;
}


/* ======================================== */
/* ===== کارت‌های خدمات و محصولات ===== */
/* ======================================== */

.service-card,
.product-card {
  position: relative;
  background: transparent !important;
  border: 2px solid rgba(253, 179, 94, 0.2) !important;
  border-radius: 16px !important;
  padding: 20px 16px !important;
  text-align: center !important;
  transition: all 0.4s ease;
  cursor: pointer;
  min-height: 260px;
  height: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  padding: 14px 16px 18px !important;
}

.service-card .icon,
.product-card .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  background: rgba(253, 179, 94, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--peach);
  transition: all 0.4s ease;
  margin-bottom: 10px !important;
}

.service-card h3,
.product-card h3 {
  font-size: 1rem !important;
  font-weight: 700;
  color: #0b1727 !important;
  margin-bottom: 6px;
}

.service-card p,
.product-card p {
  font-size: 0.8rem !important;
  color: #555 !important;
  line-height: 1.7;
}

/* ===== هاور (بدون نارنجی) ===== */
.service-card:hover,
.product-card:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: rgba(253, 179, 94, 0.2) !important;  /* ← بدون تغییر */
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06) !important;  /* ← سایه ملایم */
}

/* ===== هاور آیکون (بدون نارنجی) ===== */
.service-card:hover .icon,
.product-card:hover .icon {
  background: rgba(253, 179, 94, 0.12) !important;  /* ← بدون تغییر */
  color: var(--peach) !important;  /* ← بدون تغییر */
  transform: scale(1.1) rotate(-5deg);
}

/* ===== هاور عنوان (بدون نارنجی) ===== */
.service-card:hover h3,
.product-card:hover h3 {
  color: #f29838 !important;  /* ← بدون تغییر */
}

/* ===== خود کارت‌ها ===== */
.col-md-6,
.col-lg-4 {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* ======================================== */
/* ===== فاصله از بغل صفحه ===== */
/* ======================================== */

.row.g-4 {
  --bs-gutter-x: 2rem !important;  /* فاصله افقی بیشتر */
  --bs-gutter-y: 1.5rem !important;  /* فاصله عمودی بین کارت‌ها */
}


.container {
  padding-left: 30px !important;
  padding-right: 30px !important;
  max-width: 1300px !important;
}

@media (max-width: 768px) {
  .row.g-4 {
    --bs-gutter-x:2rem !important;
  }
  
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 576px) {
  .service-card,
  .product-card,
  .project-card {
   min-height: 400px !important;
   height: 100% !important;
   display: flex !important;
  flex-direction: column !important;
  }
  
  .service-card h3,
  .product-card h3,
  .project-card h3 {
    font-size: 0.8rem !important;
  }
}

/* =====    اتوماسیون ===== */
.control-center{
    padding:100px 0;
}

.control-desc{
    max-width:700px;
    margin:auto;
    line-height:2;
    color:#777;
}

.control-panel{
    max-width:850px;
    margin:60px auto 0;
    background:#063176cd;
    border-radius:25px;
    padding:40px;
    box-shadow:
    0 20px 50px rgba(0,0,0,.15);
}

.status-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
    color:white;
    font-weight:600;
}

.status-item:last-child{
    border-bottom:none;
}

.status-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#2ECC71;
    box-shadow:
    0 0 10px #2ECC71,
    0 0 20px #2ECC71;
    animation:blink 1.5s infinite;
}

.status-text{
    color:#2ECC71;
    letter-spacing:1px;
}

  /* ===== انیمیشن چشمک زن ===== */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .3;
  }
}


.dot {
  width: 10px;
  height: 10px;
  background: #ff3b3b;
  border-radius: 50%;
  animation: blink 1s infinite;
}

.service-group{

    margin-bottom:50px;

}

.group-title{
    color:#0C2741;
    margin-bottom:20px;
    display:flex;
    align-items:center;
    gap:10px;
}

.group-title i{
    color:#f89934;
}

.service-item{
    background:#fff;
    border-radius:15px;
    margin-bottom:15px;
    overflow:hidden;
    box-shadow:
    0 10px 20px rgba(0,0,0,.05);

}

.service-btn{
    width:100%;
    border:none;
    background:white;
    padding:12px 20px;
    min-height:55px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:15px;
    font-weight:600;
}

.service-btn span{
    color:#2ECC71;
    font-size:13px;
    letter-spacing:1px;
}

.service-content{
    max-height:0;
    overflow:hidden;
    transition:.4s;
    padding:0 22px;
}

.service-content p{
    line-height:2;
    color:#666;
    padding-bottom:20px;
}

.service-item.active .service-content{
    max-height:200px;
}
.service-content{
    max-height:0;
    overflow:hidden;
    transition:.5s ease;
    padding:0 25px;
}

.service-item.active .service-content{
    max-height:600px;
    padding-bottom:25px;
}


/* ======================================== */
/* ===== کارت پروژه ===== */
/* ======================================== */

.project-card {
  background: #fff !important;
  border: 2px solid rgba(253, 179, 94, 0.2) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.project-card img {
  width:100%;
  height: 160px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project-card .project-body {
  padding: 18px 20px 22px;
  text-align: center;
}

.project-card .badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 14px;
  font-size: 0.7rem;
  border-radius: 30px;
  background: rgba(253, 179, 94, 0.12) !important;
  color: var(--peach) !important;
  font-weight: 600;
}

.project-card h3 {
  font-size: 1rem !important;
  font-weight: 700;
  color: #0b1727 !important;
  margin-bottom: 6px;
}

.project-card p {
  font-size: 0.85rem !important;
  color: #555 !important;
  line-height: 1.7;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--peach) !important;
  box-shadow: 0 20px 50px rgba(253, 179, 94, 0.15) !important;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card:hover h3 {
  color: var(--peach) !important;
}


/* ======================================== */
/* ===== فیلتر پروژه‌ها ===== */
/* ======================================== */

.project-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 80px;
}

.filter-btn {
  padding: 6px 20px;
  border-radius: 30px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--peach);
  color: #fff;
  border-color: var(--peach);
}


/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 768px) {
  .service-card,
  .product-card {
    padding: 20px 15px !important;
    min-height: 160px;
  }

  .service-card h3,
  .product-card h3,
  .project-card h3 {
    font-size: 0.9rem !important;
  }

  .service-card p,
  .product-card p,
  .project-card p {
    font-size: 0.8rem !important;
  }

  .service-card .icon,
  .product-card .icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .project-card img {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .service-card,
  .product-card {
    padding: 16px 12px !important;
    min-height: 140px;
    border-radius: 12px !important;
  }

  .service-card h3,
  .product-card h3,
  .project-card h3 {
    font-size: 0.85rem !important;
  }

  .service-card p,
  .product-card p,
  .project-card p {
    font-size: 0.75rem !important;
  }

  .service-card .icon,
  .product-card .icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .project-card img {
    height: 130px;
  }

  .project-card .project-body {
    padding: 14px 16px 18px;
  }

  .filter-btn {
    padding: 4px 14px;
    font-size: 0.75rem;
  }
}


/* ======================================== */
/* ===== 16. درباره ما (About Band) ===== */
/* ======================================== */
.about-band {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(71, 130, 164, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(87, 151, 212, 0.263), rgba(251, 253, 255, 0.756));
  text-align: center;
}


.about-band .section-title,
.about-band .section-kicker {
  color:  #e98546;
 display: inline-block;
  margin-bottom: 30px; /* ← فاصله از عنوان اصلی */
  padding-bottom: 15px;
}

/* استایل دکمه درخواست مشاوره */
.btn-primary-brand {
  background: var(--peach) !important; /* ← نارنجی */
  color: var(--navy) !important; /* ← متن تیره */
  border: none !important;
  padding: 10px 28px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  box-shadow: 0 8px 25px rgba(243, 178, 140, 0.35);
  transition: all 0.3s ease;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
}

.btn-primary-brand:hover {
  background: #f6c09f !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(243, 178, 140, 0.45);
  color: var(--navy) !important;
}

.btn-primary-brand i {
  font-size: 1rem;
}

.about-band p {
  color: #0c2741;
  max-width: 680px;
  margin: 5px auto 15px auto; /* ← خلاصه‌شده: بالا=5، پایین=15 */
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.4; /* ← کمتر از ۱.۵ */
  letter-spacing: -0.3px; /* ← فاصله بین حروف رو کمتر کن (اختیاری) */
}
.stat-card {
  min-height: 132px;
  padding: 22px;
  color: rgba(32, 77, 119, 0.714);
  border: 1px solid rgba(37, 69, 106, 0.833);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.stat-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--peach);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 950;
  line-height: 1.2;
}

.text-right-all {
  text-align: right !important;
}

.text-right-all p,
.text-right-all h2,
.text-right-all .section-kicker {
  text-align: right !important;
}

.clients-rail {
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.clients-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: slide-rtl 34s linear infinite;
}

.client-logo {
  width: 176px;
  height: 92px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
}

.client-logo img {
  max-height: 58px;
  object-fit: contain;
}

@keyframes slide-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ======================================== */
/* ===== 17. فوتر (Footer) ===== */
/* ======================================== */

.footer {
  padding: 40px 0 20px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(14, 62, 109, 0.95);
}

/* ===== لوگو وسط بالا ===== */
.footer-brand-center {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.brand-center {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark-center {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark-center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name-center {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

/* ===== شبکه‌های اجتماعی زیر لوگو (خطی با فاصله) ===== */
.socials-center {
  display: flex;
  justify-content: center;
  gap:25px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.socials-center a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.socials-center a:hover {
  background: var(--peach);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(253, 179, 94, 0.3);
  border-color: var(--peach);
}

/* ===== باکس‌های شیشه‌ای خدمات و تماس ===== */
.footer-services-box,
.footer-contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  height: 100%;
  min-height: 160px;
  justify-content: center;
}

.footer-section-title {
  color: var(--peach);
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
}

.footer-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 100px;
  height: 3px;
  background: var(--peach);
  border-radius: 2px;
}

/* ===== لیست لینک‌ها ===== */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 6px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--peach);
  padding-right: 5px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: var(--peach);
}

.footer-contact li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-contact li i {
  color: var(--peach);
  width: 18px;
  font-size: 0.85rem;
}

/* ===== کپی‌رایت ===== */
.copyright {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.copyright strong {
  color: var(--peach);
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 991.98px) {
  .footer-services-box,
  .footer-contact-box {
    min-height: auto;
    padding: 18px 20px;
  }
}

@media (max-width: 767.98px) {
  .footer {
    padding: 30px 0 15px;
  }
  
  .brand-name-center {
    font-size: 1rem;
  }
  
  .brand-mark-center {
    width: 45px;
    height: 45px;
  }
  
  .socials-center {
    gap: 14px;
    margin-top: 16px;
  }
  
  .socials-center a {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  
  .footer-services-box,
  .footer-contact-box {
    border-radius: 10px;
    padding: 14px 16px;
    min-height: auto;
  }
  
  .footer-services-box .footer-links a,
  .footer-contact-box .footer-contact a {
    font-size: 0.8rem;
  }
  
  .copyright {
    margin-top: 25px;
    font-size: 0.7rem;
  }
}

/* ======================================== */
/* ===== 18. تماس با ما (Contact) ===== */
/* ======================================== */

.contact-method,
.contact-info-card,
.contact-form,
.map-placeholder {
  display: block;
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 44px rgba(20, 32, 51, 0.07);
    text-align: center;
}

.contact-method {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-method:hover {
  color: inherit;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.contact-method strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 950;
}

.contact-method span {
  color: var(--muted);
}

.contact-info-card h3 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 950;
}

.contact-info-card .contact-list i {
  color: var(--orange);
}

.contact-form .form-label {
  color: var(--navy);
  font-weight: 850;
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 48px;
  border-color: var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.contact-form textarea.form-control {
  min-height: 150px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(77, 141, 165, 0.18);
}

.map-placeholder {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(19, 79, 139, 0.08), rgba(243, 178, 140, 0.14)),
    var(--white);
}

.map-placeholder i {
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 2.4rem;
}

.map-placeholder h2 {
  color: var(--navy);
  font-weight: 950;
}

.map-placeholder p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
}


/* ======================================== */
/* ===== 19. افکت ریویل (Reveal) ===== */
/* ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================== */
/* ===== 20. عکس هیرو ===== */
/* ======================================== */

.hero-visual.reveal {
  background-image: url('logo/cctv.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 510px;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(36, 70, 116, 0.2);
}


/* ======================================== */
/* ===== 21. کارت‌های مشتری (Client Card) ===== */
/* ======================================== */

.client-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 45px 25px;
    text-align: center;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,.08), 0 5px 15px rgba(19,79,139,.12);
}

.client-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #134f8b, #1e6fc7, #4da3ff);
}

.client-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0,0,0,.15), 0 15px 35px rgba(30,111,199,.25);
}

.client-icon {
    width: 95px;
    height: 95px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f2ff, #d4e6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(30,111,199,.18);
    transition: all .35s ease;
}

.client-card:hover .client-icon {
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 15px 35px rgba(30,111,199,.3);
}

.client-icon i {
    font-size: 2.2rem;
    color: #1e6fc7;
}

.client-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.client-card p {
    color: #64748b;
    margin-bottom: 20px;
}

.client-project {
    display: inline-block;
    background: #f8fafc;
    color: #134f8b;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 600;
}


/* ======================================== */
/* ===== 22. کارت‌های پروژه (Project Card) ===== */
/* ======================================== */

.project-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eef2f7;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08), 0 5px 15px rgba(19, 79, 139, .08);
    transition: all .35s ease;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .16), 0 15px 35px rgba(30, 111, 199, .20);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}


.project-body {
    padding: 28px;
    position: relative;
}


.project-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
    line-height: 1.7;
}

.project-body p {
    color: #64748b;
    line-height: 1.9;
    margin-bottom: 25px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid #edf2f7;
    font-size: .9rem;
    color: #64748b;
}

.status {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #059669;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
}

.status i {
    font-size: .6rem;
}


/* ======================================== */
/* ===== 23. ریسپانسیو (Responsive) ===== */
/* ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-h: 72px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 30px);
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-visual.reveal {
    min-height: 390px;
  }

  .section-head {
    display: block;
  }

  .section-copy {
    margin-top: 12px;
  }
}

@media (max-width: 575.98px) {
  .brand-name {
    font-size: 0.86rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-copy {
    text-align: start;
  }

  .section {
    padding: 66px 0;
  }

  .page-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 56px) 0 54px;
  }

  .project-card img {
    height: 180px;
  }

  .stat-card {
    padding: 18px;
  }

  .hero-visual.reveal {
    min-height: 300px;
  }
}


/* ======================================== */
/* ===== 24. متفرقه (Misc) ===== */
/* ======================================== */

.lead-copy {
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 800;
}

.rounded-media {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.value-card {
  min-height: 250px;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.process-item span {
  grid-row: span 2;
  color: var(--peach);
  font-weight: 950;
}

.process-item strong {
  color: var(--white);
  font-size: 1.05rem;
}

.process-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

/* ======================================== */
/* ===== صفحه تماس با ما ===== */
/* ======================================== */

/* ===== استایل فرم ===== */
.contact-form .form-control,
.contact-form .form-select {
  min-height: 48px;
  border-color: var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.9rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(77, 141, 165, 0.18);
}

.contact-form .form-label {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
}

.contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* ======================================== */
/* ===== باکس تماس با کارشناسان ===== */
/* ======================================== */

.contact-expert-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 35px;
  max-width: 500px;
  margin: 0 auto;
  border: 3px solid var(--peach);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.contact-expert-box:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(253, 179, 94, 0.15);
}

.contact-expert-label {
  color: var(--peach);
  font-size: 0.90rem !important; /* از 0.9 به 0.75 */
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contact-expert-number {
  color: var(--peach);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  direction: ltr;
  margin-bottom: 8px;
}

.contact-expert-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0;
  text-align: center;
}

/* ======================================== */
/* ===== وسط‌چین کردن عنوان و توضیحات ===== */
/* ======================================== */

.contact-hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-hero-title {
  font-size:0.85rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-hero-sub {
  font-size: 0.85rem;
  text-align: center;
  max-width: 600px;
  margin: 8px auto 0;
  color: rgba(255, 255, 255, 0.75);
}

/* ======================================== */
/* ===== فلش به پایین ===== */
/* ======================================== */

.contact-hero-arrow {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

.scroll-down-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--peach);
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(253, 179, 94, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: bounce-down 2s infinite;
}

.scroll-down-arrow:hover {
  background: var(--peach);
  color: var(--navy);
  transform: translateY(4px);
  border-color: var(--peach);
}

.scroll-down-arrow i {
  font-size: 1.2rem;
}

/* ===== انیمیشن فلش ===== */
@keyframes bounce-down {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ======================================== */
/* ===== کارت اطلاعات تماس ===== */
/* ======================================== */

.contact-info-card {
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 44px rgba(20, 32, 51, 0.07);
}

.contact-info-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.contact-info-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 100px;
  height: 2px;
  background: var(--peach);
  border-radius: 2px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: right !important;
}

.contact-info-item:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
}

.contact-info-item i {
  color: var(--peach);
  font-size: 1.1rem;
  width: 20px;
  flex-shrink: 0;
}

.contact-info-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-item div span:first-child {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-item div a,
.contact-info-item div span:last-child {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-info-item div a:hover {
  color: var(--peach);
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 991.98px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .contact-expert-box {
    padding: 20px 24px;
    max-width: 100%;
  }
  
  .contact-expert-number {
    font-size: 1.4rem;
  }
  
  .contact-expert-desc {
    font-size: 0.8rem;
  }
  
  .contact-hero-title {
    font-size: 1.4rem;
  }
  
  .contact-hero-sub {
    font-size: 0.85rem;
  }
  
  .scroll-down-arrow {
    width: 40px;
    height: 40px;
  }
  
  .scroll-down-arrow i {
    font-size: 1rem;
  }
  
  .contact-info-card {
    padding: 20px 16px;
  }
  
  .contact-info-item {
    padding: 10px 12px;
  }
  
  .contact-info-item div a,
  .contact-info-item div span:last-child {
    font-size: 0.8rem;
  }
}

/* ======================================== */
/* ===== صفحه درباره ما ===== */
/* ======================================== */

/* ===== هیرو ===== */
.about-page-hero {
  background:
    linear-gradient(135deg, rgba(11, 23, 39, 0.92), rgba(19, 79, 139, 0.78)),
    url("https://images.unsplash.com/phot-1497366216548-37526070297c?auto=format&fit=crop&w=2200&q=82") center / cover;
}

/* ===== عنوان و توضیحات ===== */
.about-hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-hero-title {
  font-size: 1.2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: #fff;
}

.about-hero-sub {
  font-size: 0.95rem;
  text-align: center;
  max-width: 600px;
  margin: 8px auto 0;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== فلش ===== */
.about-hero-arrow {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 10px;
}
  
.hero-arrow {
  margin-top: 30px;
}

.hero-arrow .scroll-down {
  display: inline-block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.8rem;
  transition: all 0.3s ease;
  animation: bounce-down 2s infinite;
}

.hero-arrow .scroll-down:hover {
  color: var(--peach);
  transform: translateY(4px);
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
  


/* ===== باکس درباره ما(===== */
.about-expert-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  max-width: 400px;
  margin: 0 auto;
  border: 2px solid var(--peach);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.about-expert-box:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(253, 179, 94, 0.15);
}

.about-expert-label {
  color: var(--peach);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.about-expert-number {
  color: var(--peach);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.about-expert-desc {
  color: rgba(39, 80, 113, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0;
  text-align: center;
}

/* ===== کارت‌های ارزش (با خط آبی دور) ===== */
.about-value-card {
  text-align: center;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(77, 141, 165, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  height: 100%;
}

.about-value-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--peach);
  box-shadow: 0 8px 30px rgba(77, 141, 165, 0.15);
}

.about-value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: rgba(253, 179, 94, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--peach);
  transition: all 0.3s ease;
}

.about-value-card:hover .about-value-icon {
  background: var(--peach);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.about-value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.about-value-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ===== کارت‌های مسیر همکاری (کادر مات + خط آبی) ===== */
.process-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(77, 141, 165, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.process-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--peach);
  transform: translateX(-6px);
}

.process-step {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--peach);
  min-width: 50px;
  opacity: 0.6;
}

.process-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.process-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 767.98px) {
  .about-hero-title {
    font-size: 1.4rem;
  }
  
  .about-hero-sub {
    font-size: 0.85rem;
  }
  
  .about-expert-box {
    padding: 20px 24px;
    max-width: 100%;
  }
  
  .about-expert-number {
    font-size: 1.4rem;
  }
  
  .about-expert-label {
    font-size: 0.75rem;
  }
  
  .about-expert-desc {
    font-size: 0.75rem;
  }
  
  .about-value-card {
    padding: 20px 16px;
  }
  
  .about-value-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  
  .about-value-card h3 {
    font-size: 0.9rem;
  }
  
  .about-value-card p {
    font-size: 0.8rem;
  }
  
  .process-card {
    padding: 14px 18px;
    flex-direction: column;
    text-align: center;
  }
  
  .process-step {
    font-size: 1.4rem;
    min-width: auto;
  }
  
  .process-content h4 {
    font-size: 0.9rem;
  }
  
  .process-content p {
    font-size: 0.8rem;
  }
}

/* ======================================== */
/* ===== هویت ما (با عکس بک‌گراند) ===== */
/* ======================================== */

.about-identity {
  position: relative;
  padding: 100px 0;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  min-height: 450px;
  display: flex;
  align-items: center;
}

/* ===== عکس بک‌گراند ===== */
.identity-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.identity-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== لایه تیره روی عکس ===== */
.about-identity::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(11, 23, 39, 0.8), rgba(19, 79, 139, 0.65));
}

/* ======================================== */
/* ===== صفحه درباره ما (یک بک‌گراند) ===== */
/* ======================================== */

.about-page {
  background: linear-gradient(180deg, #ffffff, #e8f4f8);
  padding: 30px 0 60px;
}

.about-page .section {
  padding: 40px 0;
  background: transparent !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.about-page .section:last-child {
  border-bottom: none;
}

/* ======================================== */
/* ===== هویت ما ===== */
/* ======================================== */

.about-page .section-kicker {
  color: var(--orange);
  font-size: rem;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 6px;
  text-align: center;
  width: 80%;
}

.about-page .section-kicker::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  border-radius: 2px;
}

.about-page .section-title {
  color: #0b1727 !important;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem) !important;
  font-weight: 950;
  line-height: 1.35;
  text-align: center;
  margin-top: 6px !important;
  margin-bottom: 0;
   text-align: right !important;
}

.about-page p {
  color: #444 !important;
  font-size: 1rem;
  line-height: 1.9;
  
}

/* ======================================== */
/* ===== کارت مستطیلی هویت ما ===== */
/* ======================================== */

.about-page .identity-box {
  background: #ffffff;
  border: 2px solid rgba(253, 179, 94, 0.15);
  border-radius: 20px;
  padding: 35px 45px;
  margin-top: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  text-align: center;
}

.about-page .identity-box:hover {
  border-color: var(--peach);
  box-shadow: 0 12px 40px rgba(253, 179, 94, 0.08);
}

.about-page .identity-box p {
  color: #444 !important;
  text-align: center !important;
}

/* ======================================== */
/* ===== کارت‌های ارزش‌های اجتماعی ===== */
/* ======================================== */

.about-page .value-card-small {
  background: #ffffff;
  padding: 20px 16px;
  border-radius: 14px;
  text-align: center;
  border: 2px solid rgba(253, 179, 94, 0.15);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.about-page .value-card-small .value-icon {
  width: 50px;
  height:50px;
  background: rgba(253, 179, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--peach);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.about-page .value-card-small h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0b1727;
  margin-bottom: 4px;
}

.about-page .value-card-small p {
  font-size: 0.7rem;
  color: #777;
  margin-bottom: 0;
  line-height: 1.2;
  text-align: center !important;
 font-size: 0.7rem !important;
}

.about-page .value-card-small:hover {
  transform: translateY(-4px);
  border-color: var(--peach);
  box-shadow: 0 12px 30px rgba(253, 179, 94, 0.12);
}

.about-page .value-card-small:hover .value-icon {
  background: var(--peach);
  color: #fff;
  transform: scale(1.05);
}

/* ======================================== */
/* ===== فاصله بین کارت‌ها ===== */
/* ======================================== */

.row.g-3 {
  --bs-gutter-y: 0.5rem !important;
  --bs-gutter-x: 0.5rem !important;
}

.col-6.col-md-3 {
  padding-left: 4px !important;
  padding-right: 4px !important;
  }


/* ===== ریسپانسیو کارت‌های ارزش ===== */
@media (max-width: 768px) {
  .about-page .value-card-small {
    min-height: 140px;
    padding: 14px 12px;
  }
  
  .about-page .value-card-small .value-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .about-page .value-card-small h4 {
    font-size: 0.9rem;
  }
  
  .about-page .value-card-small p {
    font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  .about-page .value-card-small {
    min-height: 120px;
    padding: 12px 10px;
    border-radius: 10px;
  }
  
  .about-page .value-card-small .value-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  
  .about-page .value-card-small h4 {
    font-size: 0.8rem;
  }
  
  .about-page .value-card-small p {
    font-size: 0.65rem;
  }
}

/* ======================================== */
/* ===== بخش مشاوره همکاری ===== */
/* ======================================== */

/* ===== دکمه ===== */
.about-page .btn-primary-brand {
  background: var(--peach);
  color: var(--navy);
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(243, 178, 140, 0.35);
  transition: all 0.3s ease;
  display: inline-flex !important;  /* ← تغییر از flex به inline-flex */
  align-items: center !important;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 0 auto !important;  /* ← تغییر به راست */
  text-decoration: none !important;
  width: fit-content;
  text-align: right !important;
}

.about-page .btn-primary-brand:hover {
  background: #f6c09f;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(243, 178, 140, 0.45);
  color: var(--navy) !important;
}
.about-page .btn-primary-brand:hover {
  background: #f6c09f;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(243, 178, 140, 0.45);
}

/* ===== کارت‌های فرآیند ===== */
.about-page .stat-card {
  min-height: 132px;
  padding: 22px;
  color: rgba(32, 77, 119, 0.714);
  border: 1px solid rgba(37, 69, 106, 0.833);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-page .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(19, 79, 139, 0.1);
  border-color: var(--peach);
}

.about-page .stat-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--peach);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 950;
  line-height: 1.2;
}

.about-page .stat-card {
  color: #0e2543ab;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== وسط‌چین کردن ستون چپ ===== */
.about-page .col-lg-7 .reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===== ریسپانسیو دکمه و کارت‌های فرآیند ===== */
@media (max-width: 768px) {
  .about-page .stat-card {
    min-height: 100px;
    padding: 16px;
  }
  
  .about-page .stat-card span {
    font-size: 1.6rem !important;
  }
  
  .about-page .btn-primary-brand {
    padding: 10px 24px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .about-page .stat-card {
    min-height: 80px;
    padding: 12px;
  }
  
  .about-page .stat-card span {
    font-size: 1.4rem !important;
  }
  
  .about-page .stat-card {
    font-size: 0.75rem;
  }
  
  .about-page .btn-primary-brand {
    padding: 8px 18px;
    font-size: 0.8rem;
    width: 100%;
    justify-content: center;
  }
}


/* ===== صفحه پروژه‌ها ===== */
.projects-page {
  background: linear-gradient(180deg, #ffffff, #d9ecfcde);
  padding-bottom: 70px;
}

.projects-page .section {
  background: transparent !important;
}

.projects-page .page-hero {
  background: linear-gradient(135deg, rgba(11, 23, 39, 0.92), rgba(19, 79, 139, 0.78)),
              url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2200&q=82") center / cover;
  padding: 100px 0 70px;
  text-align: center;
}


/* ======================================== */
/* ===== لوگو داخل کارت‌ها (بدون نارنجی) ===== */
/* ======================================== */

.service-card .icon-image {
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s ease;
  flex-shrink: 0;
}

.service-card .icon-image img {
  width: 120%;
  height: 120%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* ===== هاور (بدون نارنجی و بدون سفید) ===== */
.service-card:hover .icon-image {
  transform: scale(1.05);
}

.service-card:hover .icon-image img {
  filter: none !important;  /* ← بدون سفید شدن */
  transform: scale(1.1);
}
/* ======================================== */
/* ===== صفحه فیبر نوری ===== */
/* ======================================== */

.fiber-page {
  background: linear-gradient(180deg, #ffffff, #e8f5ffde);
  padding-bottom: 70px;
}

.fiber-page .section {
  background: transparent !important;
}

/* ===== هیرو ===== */
.fiber-page .page-hero {
  background: linear-gradient(135deg, rgba(11, 23, 39, 0.92), rgba(19, 79, 139, 0.78)),
              url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=2200&q=82") center / cover;
  padding: 100px 0 70px;
  text-align: center;
}

.fiber-page .page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 950;
}

/* ===== کابل ها ===== */

.light-flow{

    padding:100px 0;

}

.light-desc{

    max-width:700px;

    margin:auto;

    line-height:2;

    color:#777;

}

.light-wrapper{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    margin-top:70px;

}

.light-item{

    text-align:center;

}

.light-item span{

    display:block;

    margin-top:15px;

    font-weight:700;

    color:#0B2E7A;

}

.light-dot{

    width:22px;
    height:22px;

    border-radius:50%;

    background:#00BFFF;

    box-shadow:
    0 0 10px #00BFFF,
    0 0 20px #00BFFF,
    0 0 40px #00BFFF;

    animation:
    pulse 1.5s infinite;

}

.light-line{

    width:90px;

    height:4px;

    background:
    linear-gradient(
        90deg,
        #00BFFF,
        #4D8DA5
    );

    margin:0 10px;

    border-radius:20px;

}
/*=========================
      WHY FIBER
=========================*/

.why-fiber{

    padding:100px 0;

}

.fiber-card{

    background:#fff;

    border-radius:25px;

    padding:40px 25px;

    text-align:center;

    height:100%;

    transition:.3s;

    border:1px solid rgba(0,191,255,.1);

    box-shadow:
        0 15px 30px
        rgba(0,0,0,.05);

}

.fiber-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 20px 40px
        rgba(1, 87, 115, 0.15);

}

.fiber-card i{

    font-size:38px;

    color:#f8951df1;

    margin-bottom:20px;

}

.fiber-card h3{

    color:#0B2E7A;

    font-size:28px;

    margin-bottom:15px;

    font-weight:700;

}

.fiber-card p{

    margin:0;

    color:#666;

    line-height:2;

}


/* ======================================== */
/* ===== یکدست کردن عکس‌های صفحات خدمات ===== */
/* ======================================== */

.fiber-img-simple {
  overflow: hidden;
  box-shadow: none !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
}

.fiber-img-simple img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
  transition: all 0.5s ease;
  border-radius: 0 !important;
}

.fiber-row:hover .fiber-img-simple img {
  transform: scale(1.04);
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 992px) {
  .fiber-img-simple img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .fiber-img-simple img {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .fiber-img-simple img {
    height: 130px;
  }
}


/* ======================================== */
/* ===== هیرو صفحات (بدون تغییر) ===== */
/* ======================================== */

.service-hero {
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
}

/* ===== عکس‌های جدا برای هر صفحه ===== */
.passive-page .service-hero {
  background-image: linear-gradient(135deg, rgba(11,23,39,0.88), rgba(19,79,139,0.75)), url('./logo/passive-bg.jpg');
}

.active-page .service-hero {
  background-image: linear-gradient(135deg, rgba(11,23,39,0.88), rgba(19,79,139,0.75)), url('./logo/active-bg.jpg');
}

.cctv-page .service-hero {
  background-image: linear-gradient(135deg, rgba(11,23,39,0.88), rgba(19,79,139,0.75)), url('./logo/cctv-bg.jpg');
}

.fiber-page .service-hero {
  background-image: linear-gradient(135deg, rgba(11,23,39,0.88), rgba(19,79,139,0.75)), url('./logo/fiber-bg.jpg');
}

.automation-page .service-hero {
  background-image: linear-gradient(135deg, rgba(11,23,39,0.88), rgba(19,79,139,0.75)), url('./logo/automation-bg.jpg');
}

.server-page .service-hero {
  background-image: linear-gradient(135deg, rgba(11,23,39,0.88), rgba(19,79,139,0.75)), url('./logo/server-bg.jpg');
}

.products-page .service-hero {
  background-image: linear-gradient(135deg, rgba(11,23,39,0.88), rgba(19,79,139,0.75)), url('./logo/products-bg.jpg');
}

/* ======================================== */
/* ===== یکدست کردن عکس‌های محصولات ===== */
/* ======================================== */

.product-img {
  overflow: hidden;
  box-shadow: none !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
}

.product-img img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
  transition: all 0.5s ease;
  border-radius: 0 !important;
}

.product-row:hover .product-img img {
  transform: scale(1.04);
}

/* ======================================== */
/* ===== یکدست کردن عکس‌های سرور ===== */
/* ======================================== */

.server-img {
  overflow: hidden;
  box-shadow: none !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
}

.server-img img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
  transition: all 0.5s ease;
  border-radius: 0 !important;
}

.server-row:hover .server-img img {
  transform: scale(1.04);
}


/* ======================================== */
/* ===== صفحه سرور و دیتاسنتر ===== */
/* ======================================== */

.server-page {
  background: #ffffff;
  padding-bottom: 70px;
}

.server-page .section {
  background: transparent !important;
}

.datacenter-overview{
    padding:100px 0;
}

.overview-box{
    max-width:850px;
    margin:auto;
    background:#0C2741;
    border-radius:25px;
    padding:40px;
    box-shadow:
    0 20px 50px rgba(0,0,0,.15);
}

.overview-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:35px;
    color:white;
}

.overview-header i{
    font-size:32px;
    color:#ffa200;
}

.overview-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
    border-bottom:
    1px solid rgba(255,255,255,.08);
    color:white;

}

.overview-item:last-child{
    border:none;
}

.status{
    color:#ffa200;
    font-weight:700;
    letter-spacing:1px;
}

.dc-services{

    padding:100px 0;
    position:relative;

}

.dc-services::before{

    content:"";
    position:absolute;

    right:35px;
    top:0;
    bottom:0;

    width:2px;
    background:#d9e2ef;

}

.dc-service{
    position:relative;
    display:flex;
    gap:30px;
    margin-bottom:60px;
}

.dc-dot{

    width:18px;
    height:18px;
    min-width:18px;
    border-radius:50%;
    background:#E98546;
    margin-top:12px;
    position:relative;
    z-index:2;

}

.dc-content h3{
    color:#0C2741;
    margin-bottom:20px;
}

.dc-content p{
    color:#666;
    line-height:2.1;
    margin-bottom:15px;
}


.dc-title{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.dc-title i{
    font-size:28px;
    color:#0C2741;
    width:55px;
    height:55px;
    border:1px solid rgba(12,39,65,.15);
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#F8FAFD;
}

.infrastructure-section{

    padding:100px 0;
    background:#f8fafc;

}

.infra-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

.infra-card{

    background:#fff;
    border-radius:20px;
    padding:35px 30px;
    text-align:center;
    box-shadow:
    0 10px 30px rgba(0,0,0,.05);
    transition:.3s;
    height:100%;
    border:1px solid rgba(12,39,65,.08);

}

.infra-card:hover{
    transform:translateY(-10px);
    box-shadow:
    0 20px 40px rgba(0,0,0,.08);
}

.infra-card i{

    width:70px;
    height:70px;

    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 20px;
    border-radius:50%;
    background:rgba(12,39,65,.08);
    color:#f77e33;
  font-size:28px;
}

.infra-card h3{
    color:#0e3253;
    font-size:22px;
    margin-bottom:15px;
}

.infra-card p{
    color:#666;
    line-height:2;
    margin:0;
}


@media(max-width:768px){

    .infrastructure-section{

        padding:70px 0;

    }

    .infra-card{

        padding:25px;

    }

    .infra-card h3{

        font-size:18px;

    }

}
/* ======================================== */
/* ===== بنر با عکس بین سکشن‌ها ===== */
/* ======================================== */

.banner-section {
  padding: 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.banner-section .container-fluid {
  padding: 0 !important;
  margin: 0 !important;
}

.banner-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 50px;  /* ← گوشه‌های گرد */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin: 15px 20px;  /* ← فاصله از لبه‌ها */
}

.banner-image {
  width: 90%;
  height: 90%;
  object-fit: cover;
  display: block;
  border-radius: 40px;  /* ← گوشه‌های گرد داخلی */
  transition: all 0.6s ease;

}

.banner-wrapper:hover .banner-image {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 992px) {
  .banner-image {
    min-height: 260px;
    max-height: 380px;
  }
  .banner-wrapper {
    border-radius: 18px;
    margin: 8px 12px;
  }
  .banner-image {
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .banner-wrapper {
    padding: 5px;
    border-radius: 14px;
    margin: 6px 8px;
  }
  .banner-image {
    min-height: 200px;
    max-height: 280px;
    border-radius: 10px;
  }
}

@media (max-width: 576px) {
  .banner-wrapper {
    padding: 4px;
    border-radius: 10px;
    margin: 4px 6px;
  }
  .banner-image {
    min-height: 150px;
    max-height: 220px;
    border-radius: 8px;
  }
}

/* ======================================== */
/* ===== صفحه محصولات ===== */
/* ======================================== */

.products-page {
  background: transparent !important;
  padding-bottom: 70px;
}

.products-page .section {
  background: transparent !important;
}

/* ===== غیرفعال کردن کلاس دایره ===== */
.products-page .fiber-img-simple {
  display: none !important;
}

/* ===== محصولات ===== */
.product-row {
  padding: 50px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-row:last-child {
  border-bottom: none;
}

/* ===== عکس بدون دایره و بدون مستطیل ===== */
.product-img {
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.5s ease;
  background: transparent;
}

.product-img img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
  transition: all 0.5s ease;
}

.product-row:hover .product-img img {
  transform: scale(1.08);
}

/* ======================================== */
/* ===== هدر با نقطه نارنجی ===== */
/* ======================================== */

.product-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  justify-content: center !important;
}

.product-head::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #e98546;
  border-radius: 50%;
  flex-shrink: 0;
  order: 0 !important;
}

/* ===== عنوان ===== */
.product-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #e98546;
}

/* ===== خط باریک ===== */
.product-line {
  width: 90% !important;
  height: 1px !important;
  background: #e98546 !important;
  border-radius: 2px;
  margin: 6px auto 14px !important;
}

/* ===== توضیحات ===== */
.product-desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 100%;
  margin: 0 auto 8px !important;
  text-align: center !important;
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 992px) {
  .product-img img {
    height: 200px;
  }
  .product-row {
    padding: 30px 0;
  }
}

@media (max-width: 576px) {
  .product-title {
    font-size: 1.2rem;
  }
  .product-img img {
    height: 160px;
  }
  .product-desc {
    font-size: 0.85rem;
  }
}

/* ======================================== */
/* ===== حذف بک‌گراند گرادیان از همه صفحات ===== */
/* ======================================== */

.fiber-page,
.projects-page,
.about-page,
.contact-page,
.server-page,
.products-page,
.services-page,
.passive-page,
.active-page,
.cctv-page,
.automation-page {
  background: rgba(240, 244, 248, 0.731) !important;  /* ← سفید یکدست */
}


/* ======================================== */
/* ===== بخش درباره ما ===== */
/* ======================================== */

.about-section {
  padding: 60px 0;
}

.about-section .about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-section .about-content .about-text {
  flex: 1.2;
}

.about-section .about-content .about-image {
  flex: 1;
}

.about-section .about-content .about-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  margin-top: 60px;
}

.about-section .about-content-right .about-text {
  order: 2;
}

.about-section .about-content-right .about-image {
  order: 1;
}


/* ===== سرتیتر بزرگ ===== */
.about-section .section-kicker {
  color: #e98546 !important;  /* ← نارنجی */
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.about-section .section-kicker::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  background: linear-gradient(90deg, transparent, var#e98546(--orange), transparent); 
  border-radius: 2px;
  line-height: 1.8;
  width: 60%;
  height: 3px;
}

/* ===== عنوان بزرگ ===== */
.about-section h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0b1727;
  margin-bottom: 16px;
  line-height: 1.3;
}

/* ===== پاراگراف‌ها ===== */
.about-section p {
  color: #555;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 12px;
  text-align: right !important;
  
}



/* ===== دکمه ===== */
.about-section .btn-primary-brand {
  background: #e98546;
  color: #fff;
  padding: 10px 28px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-top: 10px;
  transition: all 0.3s ease;
  border: none;
}

.about-section .btn-primary-brand:hover {
  background: #d6732f;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(233, 133, 70, 0.3);
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 992px) {
  .about-section .about-content {
    gap: 30px;
  }
  .about-section .about-content .about-image img {
    height: 260px;
  }
  .about-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .about-section .about-content {
    flex-direction: column !important;
  }
  .about-section .about-content .about-text {
    order: 2 !important;
    flex: 1;
  }
  .about-section .about-content .about-image {
    order: 1 !important;
  }
  .about-section .about-content .about-image img {
    height: 220px;
  }
  .about-section .about-bottom-image img {
    height: 160px;
  }
  .about-section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 40px 0;
  }
  .about-section .about-content {
    gap: 20px;
  }
  .about-section .about-content .about-image img {
    height: 180px;
  }
  .about-section .about-bottom-image img {
    height: 130px;
  }
  .about-section h2 {
    font-size: 1.3rem;
  }
  .about-section .btn-primary-brand {
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
  }
}

/* ======================================== */
/* ===== استایل وسط‌چین با دکمه داشبوردی ===== */
/* ======================================== */

.fiber-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.fiber-img-center {
  width: 100%;
  max-width: 450px;
  height: auto;
  margin: 0 auto 20px;
  overflow: visible !important;  /* ← بدون برش */
  border-radius: 0 !important;  /* ← بدون گردی */
  box-shadow: none !important;  /* ← بدون سایه */
  border: none !important;      /* ← بدون حاشیه */
  background: transparent !important;
}

.fiber-img-center img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 0 !important;
}

/* ===== زوم ریز در هاور ===== */
.fiber-img-center:hover img {
  transform: scale(1.05);
}

.fiber-text-center {
  max-width: 700px;
  margin: 0 auto;
}

.fiber-head-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

/* ===== عنوان بزرگتر ===== */
.fiber-head-center .fiber-title {
  font-size: 2rem !important;
  font-weight: 900 !important;
  color: #e98546;
}

/* ===== دکمه ===== */
.fiber-toggle-btn {
  background: transparent;
  border: 2px solid #14306375;
  border-radius: 30px;
  padding: 8px 35px;
  color: #1e396fee;
  font-size: 1rem !important;  /* ← بزرگتر */
  font-weight: 700 !important; /* ← بولدتر */
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.fiber-toggle-btn:hover {
  background: #e9844694;
  color: #fff;
}

.fiber-toggle-btn .toggle-icon i {
  transition: transform 0.3s ease;
}

/* ===== محتوای کالپس ===== */
.fiber-collapse-content {
  max-height: 0;
  opacity: 0;
  padding: 0 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  background: rgba(245, 248, 251, 0.5);
  border-radius: 12px;
  margin-top: 10px;
}

.fiber-collapse-content.open {
  max-height: 800px;
  opacity: 1;
  padding: 20px;
}

.fiber-collapse-content .fiber-desc {
  color: #333 !important;  /* ← تیره‌تر */
  font-size: 1.05rem !important;  /* ← بزرگتر */
  font-weight: 500 !important;  /* ← بولدتر */
  line-height: 2 !important;  /* ← فاصله خطوط بیشتر */
  margin-bottom: 10px;
  text-align: center;
}

.fiber-collapse-content .fiber-desc:last-child {
  margin-bottom: 0;
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 576px) {
  .fiber-img-center {
    width: 150px;
    height: 150px;
  }
  
  .fiber-head-center .fiber-title {
    font-size: 1.5rem !important;
  }
  
  .fiber-toggle-btn {
    padding: 6px 18px;
    font-size: 0.85rem !important;
  }
  
  .fiber-collapse-content .fiber-desc {
    font-size: 0.9rem !important;
  }
}

.active-stats{

margin-top:50px;
}

.stat-box{

background:#fff;
padding:30px;
border-radius:20px;
text-align:center;

box-shadow:0 10px 25px rgba(0,0,0,.05);

transition:.3s;
}

.stat-box:hover{

transform:translateY(-8px);

}

.stat-box h2{

font-size:45px;
font-weight:800;
color:#e98546;

}

.network-wrapper{

position:relative;
height:500px;
max-width:700px;
margin:auto;
}

.center-node{

width:200px;
height:200px;

border-radius:50%;

background:#0B2E7A;
color:white;

position:absolute;

top:50%;
left:50%;

transform:translate(-50%,-50%);

display:flex;
align-items:center;
justify-content:center;

font-size:35px;
font-weight:800;
}

.node{

width:140px;
height:140px;

border-radius:50%;

background:white;

position:absolute;

display:flex;
align-items:center;
justify-content:center;

box-shadow:0 10px 30px rgba(0,0,0,.08);

font-weight:700;

transition:.3s;
}

.node:hover{

transform:scale(1.08);
}

.top{

top:0;
left:50%;
transform:translateX(-50%);
}

.right{

right:0;
top:50%;
transform:translateY(-50%);
}

.left{

left:0;
top:50%;
transform:translateY(-50%);
}

.bottom{

bottom:0;
left:50%;
transform:translateX(-50%)
}

/* ======================================== */
/* ===== استایل صفحه پسیو ===== */
/* ======================================== */

/* ===== باکس آمار ===== */
.stat-box {
  background: #f8fafc;
  border-radius: 16px;
  padding: 24px 16px;
  border: 1px solid #eef2f7;
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: #e98546;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: #555;
  font-weight: 600;
}

/* ======================================== */
/* ===== دایره مرکزی با ۵ آیتم ===== */
/* ======================================== */

.services-circle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  min-height: 450px;
}

.services-circle {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== حلقه دایره ===== */
.services-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(233, 133, 70, 0.2);
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

/* ===== عکس وسط ===== */
.circle-center-image {
  position: absolute;
  inset: 0;
  width: 160px;
  height: 160px;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e98546;
  box-shadow: 0 8px 30px rgba(233, 133, 70, 0.15);
  z-index: 3;
}

.circle-center-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== آیتم‌ها ===== */
.circle-item {
  position: absolute;
  width: 130px;
  text-align: center;
  background: #fff;
  padding: 12px 10px;
  border-radius: 14px;
  border: 2px solid rgba(233, 133, 70, 0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  z-index: 2;
}

.circle-item:hover {
  border-color: #e98546;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(233, 133, 70, 0.1);
}

.circle-item-icon {
  width: 45px;
  height: 45px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(233, 133, 70, 0.06);
  border-radius: 50%;
  padding: 8px;
}

.circle-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.circle-item-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0b1727;
  margin-bottom: 2px;
}

.circle-item-desc {
  font-size: 0.6rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.3;
}

/* ===== موقعیت ۵ آیتم روی دایره ===== */
.circle-item-1 {
  top: -15px;
  right: 50%;
  transform: translateX(50%);
}

.circle-item-2 {
  top: 10%;
  left: -20px;
  transform: translateY(0);
}

.circle-item-3 {
  bottom: 10%;
  left: -20px;
  transform: translateY(0);
}

.circle-item-4 {
  bottom: -15px;
  right: 50%;
  transform: translateX(50%);
}

.circle-item-5 {
  top: 10%;
  right: -20px;
  transform: translateY(0);
}

/* ===== هاور ===== */
.circle-item-1:hover {
  transform: translateX(50%) translateY(-4px);
}
.circle-item-4:hover {
  transform: translateX(50%) translateY(-4px);
}
.circle-item-2:hover {
  transform: translateY(-4px);
}
.circle-item-3:hover {
  transform: translateY(-4px);
}
.circle-item-5:hover {
  transform: translateY(-4px);
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 992px) {
  .services-circle {
    width: 340px;
    height: 340px;
  }
  .circle-item {
    width: 110px;
    padding: 10px 8px;
  }
  .circle-item-icon {
    width: 38px;
    height: 38px;
  }
  .circle-item-title {
    font-size: 0.7rem;
  }
  .circle-item-desc {
    font-size: 0.55rem;
  }
  .circle-center-image {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 768px) {
  .services-circle-wrapper {
    min-height: auto;
    padding: 20px 0;
  }
  
  .services-circle {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 14px;
    position: static;
  }
  
  .services-circle::before {
    display: none;
  }
  
  .circle-center-image {
    position: static;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
  }
  
  .circle-item {
    position: static !important;
    width: 100%;
    max-width: 240px;
    transform: none !important;
    margin: 0 auto;
  }
  
  .circle-item:hover {
    transform: translateY(-4px) !important;
  }
}

@media (max-width: 576px) {
  .circle-center-image {
    width: 100px;
    height: 100px;
  }
  .circle-item {
    max-width: 200px;
    padding: 10px 8px;
  }
}
/* ======================================== */
/* ===== خدمات ما در حوزه اکتیو ===== */
/* ======================================== */

.service-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid rgba(233, 133, 70, 0.12);
  transition: all 0.3s ease;
  height: 100%;
}

.service-box:hover {
  border-color: #e98546;
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(233, 133, 70, 0.1);
}

.service-icon {
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-box-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0b1727;
  margin-bottom: 6px;
}

.service-box-desc {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ======================================== */
/* ===== بنر ===== */
/* ======================================== */

.banner-section {
  padding: 20px 0;
}



.banner-image {
  width: 100%;
  height:450px;
  object-fit: cover;
  display: block;
}

/* ======================================== */
/* ===== سوالات متداول با عکس ===== */
/* ======================================== */

.faq-section .row {
  display: flex;
  flex-wrap: wrap;
}

/* ===== عکس (سمت چپ) ===== */
.faq-section .col-lg-5 {
  order: 1 !important;
}


.faq-side-image {
  width: 90%;
  height: 400px;
  display: block;
  margin-top: 70px;
}

/* ===== هدر سوالات ===== */
.faq-header {
  margin-bottom: 20px;
}

.faq-header .section-kicker {
  display: block;
  text-align: right;
}

.faq-header .section-title {
  text-align: right !important;
}

/* ===== سوالات ===== */
.faq-wrapper {
  max-width: 100%;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eef2f7;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(233, 133, 70, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  color: #0b1727;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question i {
  color: #e98546;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-right: 12px;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  padding: 0 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-answer p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0;
  padding: 0 0 18px 0;
}

/* ===== حالت باز ===== */
.faq-item.active {
  border-color: rgba(233, 133, 70, 0.2);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 20px;
}

.faq-item.active .faq-question {
  color: #e98546;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 768px) {
  .faq-section .col-lg-5 {
    order: 2 !important;  /* عکس پایین */
  }
  
  .faq-section .col-lg-7 {
    order: 1 !important;  /* سوالات بالا */
  }
  
  .faq-side-image {
    height: 220px;
  }
  
  .faq-header .section-title {
    text-align: center !important;
  }
  
  .faq-header .section-kicker {
    text-align: center;
  }
}

@media (max-width: 992px) {
  .faq-side-image {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .faq-question {
    font-size: 0.85rem;
    padding: 14px 16px;
  }
  
  .faq-question i {
    font-size: 0.8rem;
    margin-right: 8px;
  }
  
  .faq-answer p {
    font-size: 0.85rem;
    line-height: 1.7;
    padding: 0 0 14px 0;
  }
  
  .faq-side-image {
    height: 180px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 16px;
  }
}


/* ======================================== */
/* ===== دایره مرکزی پسیو ===== */
/* ======================================== */

.network-wrapper {
  max-width: 600px;
  margin: 60px auto;
  position: relative;
  height: 400px;
}

.center-node {
  width: 100px;
  height: 100px;
  background: #14274adf;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 20px 40px rgba(11, 46, 122, 0.2);
  z-index: 3;
}

.node {
  width: 130px;
  height: 130px;
  background: rgba(227, 132, 73, 0.562);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  font-weight: 600;
  transition: 0.3s;
  z-index: 2;
  color: white;
}

.node:hover {
  transform: scale(1.08);
}

.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.right {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.left {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ======================================== */
/* ===== تب‌ها ===== */
/* ======================================== */

.tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: 30px;
  border: 2px solid rgba(233, 133, 70, 0.15);
  background: transparent;
  color: #0b1727;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tab-btn:hover {
  border-color: #e98546;
  background: rgba(233, 133, 70, 0.05);
}

.tab-btn.active {
  background: #e98546;
  color: #fff;
  border-color: #e98546;
}

.tab-content {
  display: none;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.tab-content.active {
  display: block;
}

.tab-content img {
  width: 200px;
  height: 140px;
  object-fit: contain;
  margin:  0 auto 5px;  /* ← فاصله از بالا کمتر شد */
  
}

.tab-content {
  padding: 25px 20px;  /* ← padding کمتر */
}

.tab-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0b1727;
  margin-bottom: 12px;
}

.tab-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 2;
  max-width: 650px;
  margin: 0 auto;
}

/* ======================================== */
/* ===== چرا بیکران پایش آله؟ ===== */
/* ======================================== */

.why-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid rgba(233, 133, 70, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.why-card:hover {
  border-color: #e98546;
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(233, 133, 70, 0.06);
}

.why-card i {
  font-size: 2.4rem;
  color: #e98546;
  margin-bottom: 14px;
}

.why-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1727;
  margin-bottom: 8px;
}

.why-card p {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ======================================== */
/* ===== ریسپانسیو ===== */
/* ======================================== */

@media (max-width: 768px) {
  .network-wrapper {
    width: 260px;
    height: 260px;
  }
  .center-node {
    width: 80px;
    height: 80px;
    font-size: 1rem;
  }
  .node {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .node.left { right: -30px; }
  .node.right { left: -30px; }
  .tabs-wrapper {
    gap: 6px;
  }
  .tab-btn {
    padding: 6px 14px;
    font-size: 0.75rem;
  }
  .tab-content {
    padding: 20px 16px;
  }
  .tab-content img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .network-wrapper {
    width: 200px;
    height: 200px;
  }
  .center-node {
    width: 60px;
    height: 60px;
    font-size: 0.8rem;
  }
  .node {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
  .node.left { right: -20px; }
  .node.right { left: -20px; }
  .tabs-wrapper {
    gap: 4px;
  }
  .tab-btn {
    padding: 4px 10px;
    font-size: 0.65rem;
  }
  .why-card {
    padding: 20px 16px;
  }
  .why-card i {
    font-size: 1.8rem;
  }
}

/* ======================================== */
/* ===== صفحه دوربین مداربسته ===== */
/* ======================================== */

/* ===== LIVE MONITORING ===== */
.live-monitoring {
  padding: 80px 0;
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.monitor-card {
  background: #071321;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.monitor-top {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  color: white;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.3);
}

.rec {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ff3b3b;
  font-weight: 700;
  font-size: 0.75rem;
}

.dot {
  width: 8px;
  height: 8px;
  background: #ff3b3b;
  border-radius: 50%;
  animation: blink 1s infinite;
}

.monitor-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: brightness(0.85);
}

.monitor-footer {
  padding: 12px 14px;
  color: white;
  font-weight: 600;
  text-align: center;
  background: #0B2E7A;
  font-size: 0.75rem;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}


/* ===== TAB SERVICES ===== */
.services-tabs {
  padding: 80px 0;
}

.tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: 30px;
  border: 2px solid rgba(233, 133, 70, 0.15);
  background: transparent;
  color: #0b1727;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tab-btn:hover {
  border-color: #e98546;
  background: rgba(233, 133, 70, 0.05);
}

.tab-btn.active {
  background: #e98546;
  color: #fff;
  border-color: #e98546;
}


.tab-content {
  display: none;
 
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.tab-content img {
  width: 200px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
}

.tab-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0b1727;
  margin-bottom: 12px;
}

.tab-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 2;
  max-width: 650px;
  margin: 0 auto;
}


/* ===== PROJECT FLOW ===== */
.project-flow {
  padding: 80px 0;
}

.flow-desc {
  max-width: 700px;
  margin: auto;
  line-height: 2;
  color: #777;
}

.flow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
  margin-top: 30px;
  overflow-x: auto;   /* ← برای اسکرول افقی در موبایل */
  padding: 10px 0;
}

.flow-item {
  width: 170px;
  flex-shrink: 0;
  background: white;
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(233, 133, 70, 0.06);
}

.flow-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.flow-icon {
  width: 60px;
  height:60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #081b40, #2a71e3d9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.flow-item h4 {
  color: #f18f3a;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 0.95rem;
}

.flow-item p {
  color: #666;
  line-height: 1.8;
  font-size: 0.8rem;
  margin-bottom: 0;
}

.flow-arrow {
  color: #e98546;
  font-size: 20px;
  flex-shrink: 0; 
}


/* ===== WHY AALE CCTV ===== */
.why-aale-cctv {
  padding: 80px 0;
}

.why-desc {
  max-width: 800px;
  margin: 10px auto 0;
  color: #777;
  line-height: 2;
}

.why-box {
  background: #fff;
  padding: 35px 25px;
  border-radius: 25px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(11, 46, 122, 0.06);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
}

.why-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.why-box i {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #0B2E7A, #1E5ED7);
  color: #fff;
  font-size: 30px;
}

.why-box h4 {
  color: #0B2E7A;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1rem;
}

.why-box p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 0;
  font-size: 0.85rem;
}


  