:root { --primary: #00eaff; }

* { margin:0; padding:0; box-sizing:border-box; }

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

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(10,20,40,0.94); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,234,255,0.15);
  transition: all .4s ease;
}
header.scrolled { background: rgba(5,10,25,0.98); box-shadow: 0 12px 45px rgba(0,234,255,0.22); }

.nav-wrapper { max-width:1500px; margin:auto; padding:0 20px; display:flex; justify-content:space-between; align-items:center; height:90px; }
.brand-box { display:flex; align-items:center; gap:15px; }
.brand-box img { height:65px; border-radius:16px; box-shadow:0 0 25px rgba(0,234,255,0.45); transition:.5s; }
.brand-box .title { font-size:1.8rem; font-weight:800; color:#fff; }
.brand-box small { font-size:0.9rem; color:#88ddff; }

.menu { display:flex; gap:40px; align-items:center; }
.menu-item { position:relative; padding:12px 0; }
.menu-item > a { color:#e0f4ff; font-weight:600; font-size:1.08rem; text-decoration:none; position:relative; padding:8px 0; transition:all .4s; }
.menu-item > a::after { content:''; position:absolute; bottom:0; left:50%; width:0; height:3px; background:var(--primary); border-radius:3px; transition:all .6s; transform:translateX(-50%); box-shadow:0 0 20px var(--primary); }
.menu-item:hover > a, .menu-item.active > a { color:var(--primary); text-shadow:0 0 20px var(--primary); }
.menu-item:hover > a::after, .menu-item.active > a::after { width:100%; }

#mobMenuBtn {
  display: none;
  position: fixed;
  right: 18px; top: 18px;
  z-index: 999999;
  width: 56px; height: 56px;
  background: rgba(0,234,255,0.25);
  backdrop-filter: blur(15px);
  border: 2.5px solid rgba(0,234,255,0.6);
  border-radius: 18px;
  color: var(--primary);
  font-size: 28px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,234,255,0.4);
}
@media (max-width:992px) {
  .menu { display:none; }
  #mobMenuBtn { display:flex !important; }
}

main {
  padding: 140px 20px 100px;
  background: #fff;
}

.page-header {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 90px;
}
.page-header h1 {
  font-size: 3.8rem;
  margin-bottom: 35px;
  color: #222;
  position: relative;
}
.page-header h1::after {
  content: '';
  display: block;
  width: 160px;
  height: 5px;
  background: var(--primary);
  margin: 30px auto 0;
  border-radius: 3px;
  box-shadow: 0 0 30px var(--primary);
}
.page-header p {
  font-size: 1.35rem;
  line-height: 2.1;
  color: #444;
}

.company-card {
  background: #fff;
  border-radius: 32px;
  padding: 60px 40px;
  margin: 80px auto;
  max-width: 1000px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.1);
  border: 2px solid rgba(0,234,255,0.25);
  transition: all 0.6s ease;
  text-align: center;
}
.company-card:hover {
  transform: translateY(-18px);
  box-shadow: 0 35px 80px rgba(0,234,255,0.25);
  border-color: var(--primary);
}
.company-logo {
  width: 180px; height: 180px;
  margin: 0 auto 35px;
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border: 4px solid rgba(0,234,255,0.4);
}
.company-logo img { width:100%; height:100%; object-fit:contain; }
.company-title { font-size: 2.6rem; font-weight:900; color:#0a1426; margin-bottom:25px; }
.company-desc { font-size:1.32rem; line-height:2.3; color:#333; margin-bottom:45px; text-align:justify; }
.company-btn {
  padding:18px 50px; background:var(--primary); color:#000;
  border-radius:50px; font-weight:800; font-size:1.3rem;
  box-shadow:0 15px 40px rgba(0,234,255,0.5);
  transition:all .5s;
}
.company-btn:hover { transform:translateY(-10px); box-shadow:0 25px 60px rgba(0,234,255,0.7); }

footer {
  background: #060b15;
  color: #e8f4ff;
  padding: 140px 30px 60px;
  border-top: 4px solid rgba(0,234,255,0.3);
  text-align: center;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 6px; background: var(--primary); border-radius: 20px;
  box-shadow: 0 0 60px var(--primary), 0 0 120px rgba(0,234,255,0.8);
  animation: glowLine 4s infinite alternate;
}
@keyframes glowLine { 0%{box-shadow:0 0 60px var(--primary)} 100%{box-shadow:0 0 90px var(--primary),0 0 160px rgba(0,234,255,1)} }

.footer-grid {
  max-width: 1500px; margin: auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 70px; text-align: right; padding: 0 20px;
}
.footer-col h4 { color:var(--primary); font-size:1.9rem; font-weight:800; margin-bottom:35px; position:relative; }
.footer-col h4::after { content:''; position:absolute; bottom:-12px; right:0; width:80px; height:5px; background:var(--primary); border-radius:10px; box-shadow:0 0 25px var(--primary); }
.footer-col a { color:#c8e6ff; font-size:1.12rem; text-decoration:none; transition:.4s; display:inline-block; padding:4px 0; }
.footer-col a:hover { color:var(--primary); text-shadow:0 0 20px var(--primary); transform:translateX(-10px); }
.footer-bottom { margin-top:100px; padding-top:40px; border-top:1px solid rgba(0,234,255,0.15); color:#88ddff; }

@media (max-width: 992px) {
  .nav-wrapper { padding:0 20px; height:80px; }
  .brand-box .title { font-size:1.6rem; }
  .brand-box img { height:55px; }
}

@media (max-width: 768px) {
  .page-header h1 { font-size: 3rem; }
  }
  .page-header h1::after { width: 140px; }
  .company-card { padding: 50px 25px; margin: 70px auto; border-radius: 28px; }
  .company-logo { width: 150px; height: 150px; }
  .company-title { font-size: 2.3rem; }
  .company-desc { font-size: 1.25rem; }
  .company-btn { padding: 16px 40px; font-size: 1.25rem; }
  main { padding: 120px 15px 80px; }
  footer { padding: 100px 20px 50px; margin-top: 100px; }
  .footer-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .footer-col h4::after { right: 50%; transform: translateX(50%); }


@media (max-width: 480px) {
  .page-header h1 { font-size: 2.6rem; }
  .company-card { padding: 40px 20px; }
  .company-logo { width: 130px; height: 130px; }
  .company-title { font-size: 2.1rem; }
}
.whatsapp-float {
  position: fixed;
  width: 68px;
  height: 68px;
  bottom: 30px;
  left: 30px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 36px;
  box-shadow: 0 8px 25px rgba(37,211,102,0.5);
  z-index: 99999;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
}

.whatsapp-float:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 40px rgba(37,211,102,0.7);
  color: #fff;
}

.whatsapp-float i {
  animation: whatsappBeat 2s infinite;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(37,211,102,0.4);
  border-radius: 50%;
  animation: whatsappPulse 2.5s infinite;
  z-index: -1;
}

.whatsapp-tooltip {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 1rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #000;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 85px;
}

@keyframes whatsappBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 576px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 32px;
    bottom: 20px;
    left: 20px;
  }
  .whatsapp-tooltip { display: none; }
}

/* ==================================================
   استایل نهایی صفحه شرکت‌های گروه آپادانا
   این کد فقط ته apadana.css قرار بگیرد
================================================== */

/* ==================================================
   هدر یکسان با صفحه اصلی
================================================== */

header,
.header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;

  width: 100%;

  background: rgba(5, 15, 31, 0.92) !important;

  border-bottom: 1px solid rgba(34, 211, 238, 0.14) !important;

  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

header.scrolled,
.header.scrolled {
  background: rgba(5, 13, 27, 0.98) !important;

  box-shadow: 0 15px 42px rgba(0, 0, 0, 0.35);
}

.nav-wrapper {
  width: 100%;
  max-width: 1240px;
  height: 92px;

  margin: 0 auto;
  padding: 0 34px;

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

  gap: 50px;
}

/* لوگو */

.brand-box {
  display: flex;
  align-items: center;

  gap: 15px;

  flex-shrink: 0;
}

.brand-box > a {
  display: block;
}

.brand-box img {
  display: block;

  width: 62px !important;
  height: 62px !important;

  padding: 5px;

  object-fit: contain;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px !important;

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(34, 211, 238, 0.12) !important;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.brand-box:hover img {
  transform: translateY(-2px) scale(1.03);

  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.38),
    0 0 24px rgba(34, 211, 238, 0.2) !important;
}

.brand-box .title {
  color: #ffffff !important;

  font-size: 1.35rem !important;
  font-weight: 800 !important;
  line-height: 1.4;

  white-space: nowrap;
}

.brand-box small {
  display: block;

  margin-top: 2px;

  color: #8caabb !important;

  font-size: 0.72rem !important;
  font-weight: 500;

  letter-spacing: 0.4px;
}

/* ==================================================
   منوی دسکتاپ
================================================== */

.menu {
  display: flex;
  align-items: center;

  gap: 8px !important;

  margin: 0;
  padding: 7px 9px;

  list-style: none;

  background: rgba(255, 255, 255, 0.035);

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 28px rgba(0, 0, 0, 0.15);
}

.menu-item {
  position: relative;

  margin: 0 !important;
  padding: 0 !important;
}

.menu-item > a {
  position: relative;

  min-width: 92px;
  min-height: 46px;

  padding: 11px 18px !important;

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

  color: #d7e3eb !important;

  font-size: 0.94rem !important;
  font-weight: 600 !important;
  line-height: 1;

  text-decoration: none;

  background: transparent;

  border: 1px solid transparent;
  border-radius: 13px;

  text-shadow: none !important;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.menu-item > a::after {
  content: "";

  position: absolute;
  right: 24px;
  bottom: 5px;
  left: 24px;

  width: auto !important;
  height: 2px !important;

  background:
    linear-gradient(
      90deg,
      transparent,
      #22d3ee,
      transparent
    ) !important;

  border-radius: 20px;

  opacity: 0;

  transform: scaleX(0);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.menu-item:hover > a {
  color: #ffffff !important;

  background:
    linear-gradient(
      135deg,
      rgba(34, 211, 238, 0.14),
      rgba(34, 211, 238, 0.05)
    ) !important;

  transform: translateY(-2px);
}

.menu-item:hover > a::after,
.menu-item.active > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-item.active > a {
  color: #22d3ee !important;

  background:
    linear-gradient(
      135deg,
      rgba(34, 211, 238, 0.18),
      rgba(34, 211, 238, 0.07)
    ) !important;

  border-color: rgba(34, 211, 238, 0.2) !important;
}

/* ==================================================
   زیرمنو
================================================== */

.submenu {
  position: absolute !important;
  top: calc(100% + 16px) !important;
  right: 0;
  z-index: 10000;

  min-width: 250px !important;

  padding: 10px !important;

  background:
    linear-gradient(
      145deg,
      rgba(10, 26, 46, 0.99),
      rgba(5, 14, 28, 0.99)
    ) !important;

  border: 1px solid rgba(34, 211, 238, 0.14) !important;
  border-radius: 20px !important;

  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(10px) scale(0.98);

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.submenu::before {
  content: "";

  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;

  height: 18px;
}

.menu-item:hover > .submenu,
.menu-item:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0) scale(1);
}

.submenu a {
  min-height: 44px;

  padding: 10px 14px !important;

  display: flex !important;
  align-items: center;

  color: #c6d6e0 !important;

  font-size: 0.9rem !important;
  font-weight: 500;

  text-decoration: none;

  border-radius: 12px;

  transition:
    color 0.22s ease,
    background 0.22s ease,
    padding 0.22s ease;
}

.submenu a::before {
  content: "";

  width: 6px;
  height: 6px;

  margin-left: 9px;

  flex-shrink: 0;

  background: rgba(34, 211, 238, 0.6);

  border-radius: 50%;
}

.submenu a:hover {
  color: #ffffff !important;

  padding-right: 20px !important;

  background:
    linear-gradient(
      135deg,
      rgba(34, 211, 238, 0.16),
      rgba(255, 255, 255, 0.035)
    ) !important;

  transform: none !important;
}

.menu > .menu-item:last-child .submenu {
  right: auto !important;
  left: 0 !important;
}

/* ==================================================
   دکمه و منوی موبایل
================================================== */

#mobMenuBtn {
  position: static !important;

  display: none;

  width: 45px !important;
  height: 45px !important;

  padding: 0;

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

  color: #dce8ef !important;

  font-size: 20px !important;

  cursor: pointer;

  background: rgba(255, 255, 255, 0.055) !important;

  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;

  box-shadow: none !important;

  transition:
    color 0.25s ease,
    background 0.25s ease;
}

#mobMenuBtn:hover,
#mobMenuBtn.active {
  color: #ffffff !important;

  background: rgba(34, 211, 238, 0.14) !important;
}

#mobileMenu {
  position: fixed !important;
  top: 0;
  right: 0 !important;
  z-index: 99998;

  width: min(88%, 360px) !important;
  height: 100dvh;

  padding: 84px 21px 30px !important;

  background: rgba(6, 16, 32, 0.99) !important;

  border-left: 1px solid rgba(34, 211, 238, 0.17) !important;

  box-shadow: -18px 0 55px rgba(0, 0, 0, 0.5) !important;

  overflow-y: auto;

  opacity: 1 !important;
  visibility: visible !important;

  transform: translateX(105%) !important;

  transition: transform 0.36s ease !important;
}

#mobileMenu.open {
  transform: translateX(0) !important;
}

#mobileMenu ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.mob-close-btn {
  position: absolute !important;
  top: 19px !important;
  left: 19px !important;

  width: 42px !important;
  height: 42px !important;

  padding: 0;

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

  color: #dce8ef !important;

  font-size: 19px !important;

  cursor: pointer;

  background: rgba(255, 255, 255, 0.055) !important;

  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 11px !important;
}

#mobileMenu .menu-item {
  margin-bottom: 6px !important;

  opacity: 1 !important;

  transform: none !important;
}

#mobileMenu .menu-item > a {
  min-height: 48px;

  padding: 11px 13px !important;

  justify-content: flex-start;

  color: #e0eaf1 !important;

  font-size: 0.98rem !important;

  border: none !important;
}

#mobileMenu .submenu {
  position: static !important;

  width: 100%;
  min-width: 0 !important;

  margin-top: 5px;
  padding: 7px !important;

  background: rgba(255, 255, 255, 0.03) !important;

  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 13px !important;

  box-shadow: none !important;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;

  transform: none !important;
}

#mobileMenu .submenu::before {
  display: none;
}

#mobileMenu .submenu a {
  min-height: 39px;

  padding: 8px 11px !important;

  color: #a9becb !important;

  font-size: 0.86rem !important;
}

/* ==================================================
   طراحی جدید محتوای صفحه
================================================== */

main.apadana-page {
  position: relative;

  min-height: 100vh;

  padding:
    165px
    20px
    125px !important;

  background:
    radial-gradient(
      circle at 10% 15%,
      rgba(34, 211, 238, 0.12),
      transparent 25%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(139, 92, 246, 0.1),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      #f5f8fa 0%,
      #edf3f6 50%,
      #f8f9fb 100%
    ) !important;

  overflow: hidden;
}

/* بافت پس‌زمینه */

main.apadana-page::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(15, 42, 65, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(15, 42, 65, 0.025) 1px,
      transparent 1px
    );

  background-size: 48px 48px;

  pointer-events: none;
}

/* ==================================================
   عنوان صفحه
================================================== */

.page-header {
  position: relative;
  z-index: 2;

  max-width: 900px;

  margin: 0 auto 65px !important;

  text-align: center;
}

.page-header::before {
  content: "APADANA COMPANIES";

  display: block;
  width: fit-content;

  margin: 0 auto 17px;
  padding: 7px 16px;

  color: #087d8e;

  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;

  background: rgba(6, 182, 212, 0.1);

  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 30px;
}

.page-header h1 {
  margin: 0 0 20px !important;

  color: #102a43 !important;

  font-size: clamp(2.4rem, 5vw, 4.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.4;

  text-shadow: none !important;
}

.page-header h1::after {
  width: 125px !important;
  height: 4px !important;

  margin: 18px auto 0 !important;

  background:
    linear-gradient(
      90deg,
      #06b6d4,
      #3b82f6,
      #8b5cf6
    ) !important;

  border-radius: 30px;

  box-shadow:
    0 0 18px rgba(6, 182, 212, 0.25) !important;
}

.page-header p {
  max-width: 700px;

  margin: 0 auto;

  color: #60758a !important;

  font-size: 1.05rem !important;
  line-height: 2.05 !important;
}

/* ==================================================
   کارت شرکت
================================================== */

.company-card {
  position: relative;
  z-index: 2;

  max-width: 980px !important;

  margin: 0 auto !important;
  padding: 60px 60px 55px !important;

  text-align: center;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(244, 248, 250, 0.96)
    ) !important;

  border: 1px solid rgba(15, 42, 65, 0.09) !important;
  border-radius: 16px 42px 16px 42px !important;

  box-shadow:
    0 28px 70px rgba(15, 42, 65, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;

  overflow: hidden;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease !important;
}

/* نوار رنگی بالای کارت */

.company-card::before {
  content: "";

  position: absolute;
  top: 0;
  right: 50%;

  width: 240px;
  height: 5px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #06b6d4,
      #3b82f6,
      transparent
    );

  border-radius: 0 0 20px 20px;

  transform: translateX(50%);
}

/* هاله کارت */

.company-card::after {
  content: "";

  position: absolute;
  top: -140px;
  left: -100px;

  width: 330px;
  height: 330px;

  background:
    radial-gradient(
      circle,
      rgba(6, 182, 212, 0.12),
      transparent 68%
    );

  border-radius: 50%;

  pointer-events: none;
}

.company-card:hover {
  transform: translateY(-10px) !important;

  border-color: rgba(6, 182, 212, 0.45) !important;

  box-shadow:
    0 40px 90px rgba(15, 42, 65, 0.17),
    0 0 35px rgba(6, 182, 212, 0.12) !important;
}

/* لوگوی شرکت */

.company-logo {
  position: relative;
  z-index: 2;

  width: 210px !important;
  height: 145px !important;

  margin: 0 auto 32px !important;
  padding: 22px !important;

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

  background: #ffffff !important;

  border: 1px solid rgba(6, 182, 212, 0.2) !important;
  border-radius: 26px !important;

  box-shadow:
    0 20px 45px rgba(15, 42, 65, 0.12),
    0 0 25px rgba(6, 182, 212, 0.08) !important;
}

.company-logo img {
  width: 100% !important;
  height: 100% !important;

  object-fit: contain !important;

  transition: transform 0.35s ease;
}

.company-card:hover .company-logo img {
  transform: scale(1.06);
}

/* نام شرکت */

.company-title {
  position: relative;
  z-index: 2;

  margin: 0 0 22px !important;

  color: #102a43 !important;

  font-size: clamp(1.9rem, 4vw, 3rem) !important;
  font-weight: 900 !important;
  line-height: 1.6;
}

/* توضیحات */

.company-desc {
  position: relative;
  z-index: 2;

  max-width: 800px;

  margin: 0 auto 36px !important;

  color: #40566b !important;

  font-size: 1.03rem !important;
  line-height: 2.25 !important;

  text-align: justify !important;
}

/* دکمه */

.company-btn {
  position: relative;
  z-index: 2;

  min-width: 210px;

  padding: 14px 30px !important;

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

  color: #ffffff !important;

  font-size: 0.95rem !important;
  font-weight: 750 !important;

  text-decoration: none;

  background:
    linear-gradient(
      135deg,
      #0891b2,
      #2563eb
    ) !important;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px !important;

  box-shadow:
    0 15px 35px rgba(37, 99, 235, 0.22) !important;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
}

.company-btn::after {
  content: "\f060";

  margin-right: 10px;

  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  transition: transform 0.3s ease;
}

.company-btn:hover {
  color: #ffffff !important;

  transform: translateY(-5px) !important;

  box-shadow:
    0 22px 45px rgba(37, 99, 235, 0.32) !important;
}

.company-btn:hover::after {
  transform: translateX(-4px);
}

/* حذف فاصله زیاد فوتر */

.apadana-page + footer {
  margin-top: 0 !important;
}

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

@media (max-width: 1100px) {
  .nav-wrapper {
    gap: 25px;
    padding: 0 22px;
  }

  .menu {
    gap: 4px !important;
  }

  .menu-item > a {
    min-width: auto;

    padding: 10px 13px !important;

    font-size: 0.88rem !important;
  }
}

@media (max-width: 992px) {
  .nav-wrapper {
    height: 78px;
  }

  .menu {
    display: none !important;
  }

  #mobMenuBtn {
    display: flex !important;
  }

  .brand-box img {
    width: 52px !important;
    height: 52px !important;
  }

  .brand-box .title {
    font-size: 1.15rem !important;
  }

  .brand-box small {
    font-size: 0.68rem !important;
  }
}

@media (max-width: 700px) {
  main.apadana-page {
    padding:
      130px
      14px
      80px !important;
  }

  .page-header {
    margin-bottom: 42px !important;
  }

  .page-header h1 {
    font-size: 2.3rem !important;
  }

  .page-header p {
    font-size: 0.92rem !important;
    line-height: 1.95 !important;
  }

  .company-card {
    padding:
      42px
      25px
      38px !important;

    border-radius:
      12px
      28px
      12px
      28px !important;
  }

  .company-logo {
    width: 175px !important;
    height: 125px !important;
  }

  .company-title {
    font-size: 1.85rem !important;
  }

  .company-desc {
    font-size: 0.94rem !important;
    line-height: 2.05 !important;
  }

  .company-btn {
    width: 100%;
    min-width: 0;

    padding: 13px 20px !important;
  }
}

@media (max-width: 480px) {
  .nav-wrapper {
    padding: 0 14px;
  }

  .brand-box {
    gap: 9px;
  }

  .brand-box img {
    width: 47px !important;
    height: 47px !important;

    border-radius: 11px !important;
  }

  .brand-box .title {
    font-size: 0.98rem !important;
  }

  .brand-box small {
    display: none;
  }

  #mobMenuBtn {
    width: 41px !important;
    height: 41px !important;

    font-size: 18px !important;
  }

  #mobileMenu {
    width: min(90%, 340px) !important;
  }
}

/* ==================================================
   هیروی بالای صفحه شرکت‌های گروه
   شبیه صفحه درباره ما
================================================== */

main.apadana-page {
  padding:
    92px
    0
    120px !important;

  background:
    linear-gradient(
      180deg,
      #f1f5f7 0%,
      #eef3f6 100%
    ) !important;

  overflow: hidden;
}

/* غیرفعال کردن بافت قبلی کل صفحه */

main.apadana-page::before {
  display: none !important;
}

/* بخش بالای صفحه */

main.apadana-page .page-header {
  position: relative;

  width: 100vw;
  max-width: none !important;
  min-height: 510px;

  margin:
    0
    calc(50% - 50vw)
    90px !important;

  padding:
    105px
    20px
    125px !important;

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

  text-align: center;

  background:
    radial-gradient(
      circle at 15% 22%,
      rgba(34, 211, 238, 0.23),
      transparent 28%
    ),
    radial-gradient(
      circle at 86% 78%,
      rgba(139, 92, 246, 0.2),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #061426 0%,
      #0b2940 52%,
      #101c35 100%
    ) !important;

  overflow: hidden;
  isolation: isolate;
}

/* شبکه ظریف پس‌زمینه */

main.apadana-page .page-header::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  width: auto;
  height: auto;

  margin: 0;
  padding: 0;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    );

  background-size: 46px 46px;

  border: none;
  border-radius: 0;

  color: transparent;

  opacity: 0.65;
}

/* موج پایین هیرو */

main.apadana-page .page-header::after {
  content: "";

  position: absolute;
  right: -5%;
  bottom: -78px;
  left: -5%;

  height: 145px;

  background: #f1f5f7;

  border-radius:
    50% 50% 0 0 /
    100% 100% 0 0;

  pointer-events: none;
}

/* عنوان */

main.apadana-page .page-header h1 {
  position: relative;
  z-index: 2;

  max-width: 1000px;

  margin: 0 !important;

  color: transparent !important;

  font-size:
    clamp(
      2.7rem,
      6vw,
      5.3rem
    ) !important;

  font-weight: 900 !important;
  line-height: 1.3 !important;

  background:
    linear-gradient(
      90deg,
      #ffffff,
      #67e8f9,
      #60a5fa,
      #c084fc,
      #ffffff
    );

  background-size: 240% auto;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: none !important;

  opacity: 0;

  transform: translateY(35px);

  animation:
    apadanaHeroTitle 0.9s ease forwards,
    apadanaHeroGradient 6s linear infinite;
}

/* برچسب بالای عنوان */

main.apadana-page .page-header h1::before {
  content: "گروه صنعتی آپادانا";

  display: block;

  width: fit-content;

  margin: 0 auto 20px;
  padding: 8px 17px;

  color: #baf7ff !important;
  -webkit-text-fill-color: #baf7ff;

  font-size: 0.78rem;
  font-weight: 700;

  background:
    rgba(34, 211, 238, 0.1);

  border:
    1px solid
    rgba(103, 232, 249, 0.25);

  border-radius: 30px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 12px 30px
    rgba(0, 0, 0, 0.18);
}

/* خط قبلی زیر عنوان حذف شود */

main.apadana-page .page-header h1::after {
  display: none !important;
}

/* توضیح زیر عنوان */

main.apadana-page .page-header p {
  position: relative;
  z-index: 2;

  max-width: 780px !important;

  margin:
    25px
    auto
    0 !important;

  color:
    rgba(
      232,
      244,
      252,
      0.9
    ) !important;

  font-size:
    clamp(
      1rem,
      1.8vw,
      1.25rem
    ) !important;

  line-height: 2.1 !important;

  text-shadow:
    0 8px 25px
    rgba(0, 0, 0, 0.32);

  opacity: 0;

  transform: translateY(25px);

  animation:
    apadanaHeroText
    0.8s ease
    forwards 0.3s;
}

/* کارت شرکت بعد از هیرو */

main.apadana-page .company-card {
  margin:
    0
    auto !important;
}

/* انیمیشن عنوان */

@keyframes apadanaHeroTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* انیمیشن توضیح */

@keyframes apadanaHeroText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* حرکت رنگ عنوان */

@keyframes apadanaHeroGradient {
  from {
    background-position:
      0 center;
  }

  to {
    background-position:
      240% center;
  }
}

/* تبلت */

@media (max-width: 992px) {
  main.apadana-page {
    padding-top: 78px !important;
  }

  main.apadana-page .page-header {
    min-height: 470px;

    padding:
      90px
      20px
      110px !important;
  }
}

/* موبایل */

@media (max-width: 600px) {
  main.apadana-page .page-header {
    min-height: 430px;

    margin-bottom: 65px !important;

    padding:
      75px
      17px
      95px !important;
  }

  main.apadana-page .page-header::after {
    bottom: -55px;

    height: 105px;
  }

  main.apadana-page .page-header h1 {
    font-size: 2.3rem !important;
  }

  main.apadana-page .page-header h1::before {
    margin-bottom: 15px;
    padding: 6px 12px;

    font-size: 0.66rem;
  }

  main.apadana-page .page-header p {
    margin-top: 18px !important;

    font-size: 0.9rem !important;
    line-height: 1.95 !important;
  }
}
