/* =========================================================
   گروه سرمایه‌گذاری سایپا - استایل اختصاصی روی بوت‌استرپ 5
   Custom styles on top of Bootstrap 5 (RTL build)
   ========================================================= */

/* ---------- فونت فارسی سهیل (Sahel) ---------- */
@font-face {
  font-family: "Sahel";
  src: url("../fonts/Sahel-FD.woff2") format("woff2"),
       url("../fonts/Sahel-FD.woff") format("woff"),
       url("../fonts/Sahel-FD.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sahel";
  src: url("../fonts/Sahel-SemiBold-FD.woff2") format("woff2"),
       url("../fonts/Sahel-SemiBold-FD.woff") format("woff"),
       url("../fonts/Sahel-SemiBold-FD.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sahel";
  src: url("../fonts/Sahel-Bold-FD.woff2") format("woff2"),
       url("../fonts/Sahel-Bold-FD.woff") format("woff"),
       url("../fonts/Sahel-Bold-FD.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sahel";
  src: url("../fonts/Sahel-Black-FD.woff2") format("woff2"),
       url("../fonts/Sahel-Black-FD.woff") format("woff"),
       url("../fonts/Sahel-Black-FD.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- فونت آیکون مادو ---------- */
@font-face {
  font-family: "madoo-icons";
  src: url("../fonts/madoo-icons324c.ttf") format("truetype"),
       url("../fonts/madoo-icons324c.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
i.madoo {
  font-family: "madoo-icons" !important;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.madoo-bar-chart:before { content: "\e916"; }
.madoo-chat:before { content: "\e917"; }
.madoo-company:before { content: "\e919"; }
.madoo-edit-tools:before { content: "\e91a"; }
.madoo-group:before { content: "\e91b"; }
.madoo-news:before { content: "\e91d"; }
.madoo-archive1:before { content: "\e92a"; }
.madoo-download:before { content: "\e945"; }
.madoo-aparat:before { content: "\e947"; }
.madoo-maps-and-flags:before { content: "\e925"; }
.madoo-old-typical-phone:before { content: "\e923"; }
.madoo-fax:before { content: "\e921"; }
.madoo-search:before { content: "\e914"; }
.madoo-close:before { content: "\e915"; }
.madoo-telegram:before { content: "\e90f"; }
.madoo-twitter:before { content: "\e908"; }
.madoo-linkedin:before { content: "\e909"; }
.madoo-instagram:before { content: "\e906"; }
.madoo-up-arrow:before { content: "\e903"; }

/* ---------- پالت رنگی برند (حرفه‌ای و جذاب) ---------- */
:root {
  --brand-navy: #0b2545;
  --brand-navy-2: #123a68;
  --brand-blue: #0f5fa6;
  --brand-blue-light: #3fa9f5;
  --brand-accent: #f2994a;
  --brand-accent-dark: #e0721e;
  --brand-bg: #f5f7fa;
  --brand-bg-alt: #eef1f6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Sahel", Tahoma, sans-serif;
  font-weight: 300;
  background-color: var(--brand-bg);
  color: #333;
  margin: 0;
}

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

h1, h2, h3, h4, h5, h6 { font-family: "Sahel", Tahoma, sans-serif; }

/* ==========================================================
   ظرف تمام‌صفحه هدر + اسلایدر (Hero Viewport)
   ========================================================== */
.hero-viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background-color: var(--brand-navy);
}
@supports (height: 100dvh) {
  .hero-viewport { height: 100dvh; }
}

/* ==========================================================
   نوار بالای سایت + هدر (شناور و محو روی اسلایدر)
   ========================================================== */
.site-header-overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  transition: background-color .35s ease, box-shadow .35s ease, position 0s;
}
.site-header-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 20, 40, .68) 0%, rgba(6, 20, 40, .30) 65%, rgba(6, 20, 40, 0) 100%);
  transition: opacity .35s ease;
}

.top-bar {
  background-color: transparent;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.top-bar a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  opacity: .9;
}
.top-bar a:hover { opacity: 1; color: var(--brand-blue-light); }

#header {
  background-color: #32323238;
  box-shadow: none;
  position: relative;
  z-index: 1030;
}
#header .logo {
  display: inline-flex;
 /*  background-color: rgba(255, 255, 255, .92);
  padding: 6px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12); */
}
#header .logo img { max-width: 250px; height: auto; display: block; }

/* حالت پس از اسکرول: هدر ثابت و کاملاً مات با افکت شیشه‌ای */
.site-header-overlay.scrolled {
  position: fixed;
  background-color: rgba(186, 186, 186, 0.7);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 6px 24px rgba(11, 37, 69, .12);
}
.site-header-overlay.scrolled::before { opacity: 0; }
.site-header-overlay.scrolled .top-bar { display: none; }
.site-header-overlay.scrolled #mainMenu .nav-link { color: #1c2b3a; }
.site-header-overlay.scrolled #mainMenu .nav-item:hover > .nav-link,
.site-header-overlay.scrolled #mainMenu .nav-link.active { color: var(--brand-blue); }
.site-header-overlay.scrolled .navbar-toggler .navbar-toggler-icon { filter: none; }

/* ---------- منوی اصلی ---------- */
#mainMenu .nav-link {
  color: #fff;
  font-weight: 500;
  padding: 1.5rem .9rem !important;
  transition: .2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
#mainMenu .nav-item:hover > .nav-link,
#mainMenu .nav-link.active {
  color: var(--brand-blue-light);
}

/* پیکان کوچک برای آیتم‌های دارای زیرمنو */
#mainMenu .dropdown-toggle::after { vertical-align: 1px; }

/* زیرمنوهای سطح اول */
#mainMenu .dropdown-menu {
  --bs-dropdown-min-width: 15rem;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 20px 40px -8px rgba(11, 37, 69, .35);
  padding: 10px;
  margin-top: 0px;
  background-color: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#mainMenu .dropdown-item {
  white-space: normal;
  border-radius: 5px;
  padding: .6rem 1rem;
  color: #1c2b3a;
  transition: .2s;
}
#mainMenu .dropdown-item:hover,
#mainMenu .dropdown-item:focus {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy-2));
  color: #fff;
}

/* زیرمنوی سطح دوم: به سمت چپ زیرمنوی مادر باز می‌شود */
#mainMenu .dropdown-submenu { position: relative; }
#mainMenu .dropdown-submenu > a.dropdown-toggle::after {
  /* content: "\f104"; ‹ */
  font-family: "Font Awesome 5 Free", serif;
  border: 0;
  margin-inline-start: auto;
  transform: none;
}
#mainMenu .dropdown-submenu > .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: -10px;
  margin-inline-start: 0px;
}

/* دسکتاپ: باز شدن با هاور */
@media (min-width: 992px) {
  #mainMenu .nav-item.dropdown > .dropdown-menu { display: none; }
  #mainMenu .nav-item.dropdown:hover > .dropdown-menu,
  #mainMenu .nav-item.dropdown > .dropdown-menu.show { display: block; }
  #mainMenu .dropdown-submenu > .dropdown-menu { display: none; }
  #mainMenu .dropdown-submenu:hover > .dropdown-menu,
  #mainMenu .dropdown-submenu > .dropdown-menu.show { display: block; }
}

/* موبایل: منوی کشویی با کلیک (کنترل با کلاس show توسط main.js) */
@media (max-width: 991.98px) {
  #mainMenu { background-color: #fff; border-radius: 10px; overflow: hidden; margin-top: 10px; }
  #mainMenu .navbar-collapse { max-height: 78vh; overflow-y: auto; }
  #mainMenu .nav-link { color: #1c2b3a !important; padding: 1rem !important; border-bottom: 1px solid #f0f0f0; }
  #mainMenu .dropdown-menu {
    position: static !important;
    display: none;
    box-shadow: none;
    border-radius: 0;
    background-color: #f7f9fb;
    margin: 0;
    padding: 6px 10px;
    inset: auto !important;
    transform: none !important;
  }
  #mainMenu .dropdown-menu.show { display: block; }
  #mainMenu .dropdown-submenu > .dropdown-menu {
    border-right: 2px solid var(--brand-blue);
    margin: 4px 6px 4px 0;
  }
}

.navbar-collapse { z-index: 1030; }

/* دکمه همبرگر */
.navbar-toggler { border: 0; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler .navbar-toggler-icon { filter: invert(1) brightness(2); }

/* ---------- کادر جستجو: تمام‌صفحه، محو، بالاتر از منو و اسلایدر ---------- */
#search {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 20, 40, .82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
#search.show { display: flex; }
#search .search-form {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  text-align: center;
}
#search .search-form .form-control {
  height: 55px;
  font-size: 20px;
  text-align: center;
  border-radius: 30px;
  border: 0;
}
#search .search-form span { display: block; margin-top: 12px; font-size: 13px; color: #fff; }
.btn-search-close {
  position: absolute;
  top: 24px;
  left: 30px;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
}

/* ==========================================================
   اسلایدر اصلی: تمام صفحه
   ========================================================== */
.main-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.main-slider #mainSlider,
.main-slider .carousel-inner,
.main-slider .carousel-item {
  height: 100%;
}
.main-slider .carousel-item {
  background-size: cover;
  background-position: center;
  position: relative;
}
.main-slider .bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.1) 75%),
              linear-gradient(180deg, rgba(0,0,0,.35) 100%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.45) 100%);
}
.main-slider .container { position: static; height: 100%; }

.main-slider .slide-captions {
  position: absolute;
  top: 46%;
  right: 6%;
  transform: translateY(-50%);
  max-width: 50%;
  z-index: 2;
  color: #fff;
  text-align: right;
}
.main-slider .slide-captions h2 {
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 1.3rem;
  text-align: right;
  text-shadow: 0 3px 10px rgba(0,0,0,.5);
}
.slide-captions p{font-size: 1.5rem;}

.main-slider .slide-captions .more-btn { text-align: right; }
.main-slider .slider-btn {
  display: inline-block;
  background-color: rgba(255, 255, 255, .1);
  backdrop-filter: blur(4px);
  border: 2px solid #fff;
  color: #fff;
  padding: .65rem 2.2rem;
  border-radius: 30px;
  font-weight: 500;
  transition: .3s;
}
.main-slider .slider-btn:hover {
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-dark));
  border-color: var(--brand-accent);
  color: #fff;
}
.main-slider .carousel-indicators { z-index: 3; margin-bottom: 1.0rem; }
.main-slider .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  opacity: .55;
}
.main-slider .carousel-indicators .active { opacity: 1; background-color: var(--brand-accent); }
.main-slider .carousel-control-prev,
.main-slider .carousel-control-next { width: 6%; opacity: .75; z-index: 3; }

/* ==========================================================
   میانبرهای سرمایه‌گذاری (روی خود اسلایدر، بدون نیاز به اسکرول)
   ========================================================== */
.invest-links {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 6%;
  z-index: 40;
  pointer-events: none;
}
.invest-links .container { pointer-events: none; }
.invest-links .items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 22px;
}
.invest-links .item {
  pointer-events: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
  transition: .35s;
  text-align: center;
}
.invest-links .item:hover {
  background-color: rgba(255, 255, 255, .95);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}
.invest-links .item a { position: absolute; inset: 0; z-index: 2; border-radius: 50%; }
.invest-links .item i {
  font-size: 2.7rem;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  transition: .35s;
}
.invest-links .item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  transition: .35s;
}
.invest-links .item:hover i,
.invest-links .item:hover h3 {
  color: var(--brand-navy);
  text-shadow: none;
}

/* ==========================================================
   اخبار و گزارش‌ها
   ========================================================== */
.new-reports { background-color: var(--brand-bg); padding: 55px 0 30px; }
.new-reports .head,
.companies .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #e3e8f0;
  padding-bottom: 12px;
  margin-bottom: 15px;
}
.new-reports .head h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-navy);
}
.new-reports .head .archive {
  font-size: .85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}
.new-reports .head .archive:hover { color: var(--brand-blue); }

.new-reports .news-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #e2e6ee;
}
.new-reports .news-item:last-child { border-bottom: 0; }
.new-reports .news-item .date {
  flex: 0 0 78px;
  height: 70px;
  background: linear-gradient(135deg, #bfe4ee, #9fd3e3);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--brand-navy);
  text-align: center;
}
.new-reports .news-item .date.orange-color { background: linear-gradient(135deg, #fbd8c9, #f7bfa3); color: #a13a12; }
.new-reports .news-item .info h4 {
  font-size: .95rem;
  font-weight: 600;
  margin: 0 0 5px;
  line-height: 1.6;
}
.new-reports .news-item .info h4 a { color: #222; transition: .2s; }
.new-reports .news-item .info h4 a:hover { color: var(--brand-blue); }
.new-reports .news-item .info p {
  font-size: .8rem;
  color: #777;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.new-reports .news-item .info p a { color: inherit; }

/* ==========================================================
   شرکت‌های تابعه (تب‌های بوت‌استرپ 5)
   ========================================================== */
.companies { padding: 45px 0; background-color: var(--brand-bg-alt); }
.companies .head { border-bottom: 0; justify-content: center; position: relative; padding-bottom: 18px; }
.companies .head h4 { font-size: 1.4rem; color: var(--brand-navy); font-weight: 700; }
.companies .head::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0; left: 0; margin: auto;
  width: 250px; height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-accent));
  border-radius: 3px;
}
.companies .tabs .nav-tabs { border-bottom: 0; justify-content: center; gap: 6px; flex-wrap: wrap; }
.companies .tabs .nav-link {
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  border: 0;
  border-radius: 8px 8px 0 0;
  background-color: #fff;
  padding: 16px 22px;
  transition: .25s;
}
.companies .tabs .nav-link:hover:not(.active) { background-color: #e7ecf3; }
.companies .tabs .nav-link.active {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy-2));
  color: #fff;
}
.companies .tab-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 30px rgba(11, 37, 69, .08);
}
.companies .tab-pane .name { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; }
.companies .tab-pane .name img { max-height: 60px; width: auto; }
.companies .tab-pane .name h5 { margin: 0; font-weight: 700; color: var(--brand-navy); }
.companies .tab-pane p { line-height: 2; text-align: justify; color: #444; }
.companies .tab-pane p a { color: var(--brand-blue); font-weight: 600; white-space: nowrap; }
.companies .contact { margin-top: 15px !important; border-top: 1px solid #eee; padding-top: 15px; }
.companies .contact .item { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: #555; }
.companies .contact .item i { color: var(--brand-blue); font-size: 1.1rem; margin-top: 2px; }
.companies .contact .item p { margin: 0; }

/* ==========================================================
   اسلایدر لوگوهای مرتبط
   ========================================================== */
.saipa-links { padding: 45px 0; background-color: #e9edf3; }
.saipa-links .carousel-inner { padding: 10px 0; }
.saipa-links .logos-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.saipa-links .logos-row .item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  width: 140px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(11, 37, 69, .08);
  padding: 10px;
  transition: .3s;
}
.saipa-links .logos-row .item:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(11, 37, 69, .16); }
.saipa-links .logos-row .item img { max-height: 60px; max-width: 100%; object-fit: contain; }
.saipa-links .carousel-control-prev,
.saipa-links .carousel-control-next {
  width: 40px; height: 40px; top: 50%; transform: translateY(-50%);
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy-2));
  border-radius: 50%; opacity: .9;
}
.saipa-links .carousel-control-prev { right: -20px; left: auto; }
.saipa-links .carousel-control-next { left: -20px; right: auto; }
.saipa-links .carousel-control-prev-icon,
.saipa-links .carousel-control-next-icon { width: 1.2rem; height: 1.2rem; }

/* ==========================================================
   فوتر
   ========================================================== */
footer {
  padding: 45px 0 0;
  background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-2) 45%, var(--brand-blue) 100%);
  color: #fff;
}
footer .investment-logo { max-width: 240px; margin-bottom: 15px; }
footer .contact p {
  display: flex;
  align-items: flex-start;
  text-align: justify;
  font-size: 13px;
  gap: 6px;
  margin-bottom: 8px;
}
footer .contact p.address { margin-top: 10px; }
footer .contact p i { font-size: 22px; flex: 0 0 auto; }
footer h6 {
  font-size: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
footer h6::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 60px; height: 2px;
  background-color: var(--brand-accent);
}
footer .statistics ul { list-style: none; margin: 0; padding: 0; font-size: 13px; }
footer .statistics ul li { display: flex; justify-content: space-between; margin-bottom: 8px; }
footer .saipa { text-align: center; }
footer .saipa img { max-width: 96px; margin-bottom: 10px; }
footer .saipa > a { display: block; color: #fff; font-weight: 600; margin-bottom: 12px; }
footer .saipa .download {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; border: 1px solid rgba(255,255,255,.5);
  border-radius: 20px; padding: 6px 14px; margin-bottom: 15px;
  transition: .3s;
}
footer .saipa .download:hover { background-color: var(--brand-accent); border-color: var(--brand-accent); }
footer .saipa ul { list-style: none; display: flex; justify-content: center; gap: 12px; padding: 0; margin: 0 0 15px; }
footer .saipa ul a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background-color: rgba(255,255,255,.15); color: #fff; transition: .3s;
}
footer .saipa ul a:hover { background-color: var(--brand-accent); }

.copyright { background-color: rgba(0,0,0,.2); padding: 15px 0; margin-top: 30px; font-size: 13px; }
.copyright p { margin: 0; }
.copyright .madoo-design { color: #ccc; }
.copyright .madoo-design a { color: #fff; transition: .3s; }
.copyright .madoo-design a:hover { color: var(--brand-blue-light); }
@media (max-width: 991.98px) {
  .copyright .madoo-design { justify-content: center; margin-top: 8px; }
  .copyright .col-12 { text-align: center; }
}

/* ==========================================================
   دکمه اسکرول به بالا
   ========================================================== */
#scrollTop {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy-2));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11, 37, 69, .3);
}
#scrollTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTop:hover { background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue)); }
#scrollTop i { font-size: 16px; }

/* ==========================================================
   واکنش‌گرا
   ========================================================== */
@media (max-width: 767.98px) {
  .main-slider .slide-captions { right: 5%; max-width: 88%; top: 38%; }
  .main-slider .slide-captions h2 { font-size: 1.5rem; }
  .invest-links { bottom: 3%; }
  .invest-links .items { gap: 14px; }
  .invest-links .item { width: 118px; height: 118px; }
  .invest-links .item i { font-size: 1.6rem; margin-bottom: 4px; }
  .invest-links .item h3 { font-size: .78rem; }
  .companies .tabs .nav-link { padding: 10px 12px; font-size: .85rem; }
  .companies .tab-content { padding: 18px; }
  #header .logo img { max-width: 150px; }
  footer .investment-logo { max-width: 190px; }
  footer .saipa img { max-width: 80px; }
}

@media (max-width: 575.98px) {
  .hero-viewport { min-height: 620px; }
  .main-slider .slide-captions { top: 34%; }
}
