/* =========================================================
   Dara Energy — Luxury Cinematic UI (Offline / No CDN)
   Location: assets/css/main.css
   ========================================================= */

/* -------------------------
   Fonts (Local)
-------------------------- */
@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSansX-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSans";
  src: url("../fonts/IRANSans.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANSans";
  src: url("../fonts/Estedad-Black.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -------------------------
   Design Tokens
-------------------------- */
:root{
  /* Default theme: Light (official / governmental service style) */
  --bg: #F6F8FC;
  --bg2: #FFFFFF;

  --surface: rgba(15, 23, 42, .04);
  --surface2: rgba(15, 23, 42, .06);
  --stroke: rgba(15, 23, 42, .10);

  --text: rgba(15, 23, 42, .92);
  --muted: rgba(15, 23, 42, .72);
  --scroll-indicator: rgba(15, 23, 42, .72);

  --dim: rgba(15, 23, 42, .55);

  /* Brand */
  --brand-1: #1D4ED8; /* blue */
  --brand-2: #0EA5A0; /* teal */

  --gold-1: #B08D2A;
  --gold-2: #E6C96A;

  --danger: #dc2626;
  --warning: #f59e0b;
  --success: #16a34a;
  --info: #0284c7;

  --shadow-1: 0 14px 50px rgba(2, 6, 23, .08);
  --shadow-2: 0 24px 90px rgba(2, 6, 23, .10);
  --shadow-3: 0 40px 130px rgba(2, 6, 23, .12);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ease: cubic-bezier(.2,.8,.2,1);
  --t-fast: 160ms var(--ease);
  --t: 280ms var(--ease);
  --t-slow: 650ms var(--ease);

  --container: 1200px;

  /* Navbar */
  --nav-h: 76px;

  /* Focus ring */
  --focus: 0 0 0 .25rem rgba(29,78,216,.22);
}

:root[data-theme="dark"]{
  --bg: #070B14;
  --bg2: #0B1122;

  --surface: rgba(255,255,255,.06);
  --surface2: rgba(255,255,255,.085);
  --stroke: rgba(255,255,255,.12);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --dim: rgba(255,255,255,.55);

  --brand-1: #2B6CFF;
  --brand-2: #00E6A8;

  --gold-1: #D4AF37;
  --gold-2: #F1D58A;

  --danger: #ff4c4c;
  --warning: #f6c449;
  --success: #25d07f;
  --info: #4fb7ff;

  --shadow-1: 0 14px 50px rgba(0,0,0,.35);
  --shadow-2: 0 24px 90px rgba(0,0,0,.55);
  --shadow-3: 0 40px 130px rgba(0,0,0,.65);

  --focus: 0 0 0 .25rem rgba(43,108,255,.22);
}
/* -------------------------
   Base
-------------------------- */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "IRANSans", Tahoma, sans-serif;
  background:
    radial-gradient(1200px 650px at 78% -10%, rgba(43,108,255,.20), transparent 60%),
    radial-gradient(900px 520px at 12% 10%, rgba(0,230,168,.14), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 30%),
    var(--bg);
  color: var(--text);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent FOUC if html.preload exists (header.php) */
.preload * { animation-duration: 0s !important; transition: none !important; }

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }
img{ max-width: 100%; height: auto; display: block; }

:focus-visible{
  outline: none;
  box-shadow: var(--focus);
  border-radius: 12px;
}

/* Accessibility helper */
.visually-hidden{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* -------------------------
   Layout wrappers
-------------------------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.2rem;
}

.main-content-wrapper{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.main-content{
  min-height: calc(100vh - var(--nav-h));
}

/* =========================================================
   Premium micro-interactions
========================================================= */
.fade-in{
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity var(--t-slow), transform var(--t-slow);
  will-change: opacity, transform;
}
.fade-in.is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Motion safety */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .fade-in{ opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================
   HERO — Cinematic (Full-bleed)
========================================================= */
.hero-section-new{
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  max-height: 980px;
  overflow: hidden;
  isolation: isolate;
}

.hero-background-wrapper{
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-background-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.08) brightness(.92);
  will-change: transform;
}

.hero-overlay-new{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(820px 520px at 80% 30%, rgba(43,108,255,.35), transparent 55%),
    radial-gradient(640px 440px at 20% 35%, rgba(0,230,168,.24), transparent 60%),
    linear-gradient(90deg, rgba(7,11,20,.90) 0%, rgba(7,11,20,.55) 45%, rgba(7,11,20,.22) 100%),
    linear-gradient(to top, rgba(7,11,20,.94) 0%, rgba(7,11,20,.40) 60%, rgba(7,11,20,.14) 100%);
}

.hero-overlay-gradient{
  position: absolute;
  inset: 0;
  background: radial-gradient(1100px 720px at 60% 10%, rgba(212,175,55,.18), transparent 60%);
  mix-blend-mode: screen;
  opacity: .9;
}

.hero-section-new::after{
  content:"";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: .06;
  mix-blend-mode: overlay;
}

.hero-content-wrapper{
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
}

.hero-content-new{
  max-width: 880px;
  padding-top: 2.2rem;
}

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 34px rgba(0,0,0,.22);
  font-size: .95rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 1rem;
}

.hero-badge-icon{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(43,108,255,.35), rgba(0,230,168,.25));
  border: 1px solid rgba(255,255,255,.14);
}

.hero-title-new{
  font-size: 4.6rem;
  line-height: 1.02;
  font-weight: 700;
  margin: .2rem 0 .9rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,.92) 42%, rgba(212,175,55,.92) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 60px rgba(0,0,0,.36);
}

.hero-subtitle-wrapper{ margin-bottom: 1.6rem; }
.hero-subtitle-new{
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  max-width: 720px;
}

.hero-divider{
  width: 112px;
  height: 4px;
  border-radius: 999px;
  margin-top: .9rem;
  background: linear-gradient(90deg, rgba(212,175,55,.95), rgba(0,230,168,.55), rgba(43,108,255,.65));
  box-shadow: 0 10px 30px rgba(212,175,55,.18);
}

.hero-buttons{
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.btn-hero-primary,
.btn-hero-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.35rem;
  border-radius: 999px;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  will-change: transform;
  font-weight: 700;
}

.btn-hero-primary{
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 100%);
  color: #070B14;
  box-shadow: 0 18px 50px rgba(212,175,55,.22);
  border: 1px solid rgba(255,255,255,.18);
}
.btn-hero-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 26px 78px rgba(212,175,55,.26);
}

.btn-hero-secondary{
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}
.btn-hero-secondary:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 22px 78px rgba(0,0,0,.35);
}

.btn-icon{ font-size: 1.05em; }

.hero-stats{
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 780px;
}

.hero-stat{
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 1rem 1rem .95rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 62px rgba(0,0,0,.35);
}

.hero-stat-number{
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(0,230,168,.75));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat-label{
  margin-top: .35rem;
  font-size: .95rem;
  color: rgba(255,255,255,.76);
}

.scroll-indicator{
  position: absolute;
  bottom: 26px;
  right: 50%;
  transform: translateX(50%);
  z-index: 5;
  color: var(--scroll-indicator);
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  opacity: .92;
}
.scroll-line{
  width: 2px;
  height: 42px;
  background: linear-gradient(to bottom, transparent, rgba(212,175,55,.85), transparent);
  border-radius: 999px;
}
.scroll-text{ font-size: .9rem; letter-spacing: 2px; }

/* =========================================================
   Company Section
========================================================= */
.company-info-section{
  padding: 5.2rem 0;
  background:
    radial-gradient(900px 450px at 80% 0%, rgba(43,108,255,.18), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(0,230,168,.12), transparent 65%),
    rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.07);
}

.company-info-section::before{
  content:"";
  display:block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.55), rgba(0,230,168,.35), transparent);
  margin-bottom: 2.2rem;
  opacity: .9;
}

.company-info-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.6rem;
  align-items: start;
}

.section-title-with-icon{
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,.95);
}
.title-icon{ font-size: 2rem; filter: drop-shadow(0 12px 40px rgba(212,175,55,.12)); }

.company-description{
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 1.6rem;
}

.company-features-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.company-feature-card{
  position: relative;
  padding: 1.2rem 1.1rem;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: var(--shadow-1);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  text-align: center;
  overflow: hidden;
}
.company-feature-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: rgba(255,255,255,.18);
}

.feature-icon-wrapper{
  width: 64px;
  height: 64px;
  margin: 0 auto .8rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.feature-icon{ font-size: 1.8rem; }
.company-feature-card h4{
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .35rem;
  color: rgba(255,255,255,.92);
}
.company-feature-card p{
  font-size: .95rem;
  color: rgba(255,255,255,.70);
  line-height: 1.8;
}

.company-logo-card{
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  padding: 1.4rem 1.35rem;
}

.logo-glow-effect{
  padding: .9rem;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  margin-bottom: 1rem;
  backdrop-filter: blur(14px);
}

.company-logo-image{
  max-width: 310px;
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,.35));
}

.logo-text-content{ text-align: center; }
.logo-text-content h3{
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: .3rem;
  color: rgba(255,255,255,.95);
}

.badge-partner{
  display: inline-block;
  margin: .35rem 0 .8rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,.92), rgba(241,213,138,.86));
  color: #070B14;
  font-weight: 700;
  box-shadow: 0 18px 60px rgba(212,175,55,.18);
  border: 1px solid rgba(255,255,255,.22);
}

.logo-description{
  color: rgba(255,255,255,.72);
  line-height: 2;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.logo-contact-info{
  display: grid;
  gap: .6rem;
  max-width: 320px;
  margin: 0 auto;
}

.contact-item{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .6rem;
  padding: .6rem .8rem;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

/* Featured Products */
.featured-wrap{
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.featured-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.featured-title{
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
}

/* CTA */
.cta-wrap{ margin-top: 2.8rem; padding: 1.2rem; }
.cta-inner{
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(700px 350px at 80% 10%, rgba(43,108,255,.18), transparent 60%),
    radial-gradient(700px 400px at 10% 30%, rgba(0,230,168,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow-2);
  padding: 1.4rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cta-title{ margin:0; font-size:1.2rem; font-weight:700; color:rgba(255,255,255,.95); }
.cta-subtitle{ margin-top:.35rem; color:rgba(255,255,255,.72); }
.cta-actions{ display:flex; gap:.7rem; flex-wrap:wrap; }

/* =========================================================
   Offline Mini-Framework (Bootstrap-like)
========================================================= */

/* Typography helpers */
.small{ font-size:.875rem !important; }
.fw-bold{ font-weight:700 !important; }
.text-center{ text-align:center !important; }
.text-dark{ color:#070B14 !important; }
.text-white{ color:#fff !important; }
.text-primary{ color: rgba(120,180,255,.95) !important; }
.text-muted{ color: rgba(255,255,255,.65) !important; }
.text-white-50{ color: rgba(255,255,255,.55) !important; }

/* Background helpers */
.bg-white{ background: rgba(255,255,255,.08) !important; }
.bg-dark{ background: rgba(10,14,24,.72) !important; }
.bg-primary{ background: rgba(43,108,255,.95) !important; }
.bg-danger{ background: rgba(255,80,80,.95) !important; color:#fff !important; }
.bg-warning{ background: linear-gradient(135deg, rgba(212,175,55,.92), rgba(241,213,138,.86)) !important; color:#070B14 !important; }

/* Spacing (minimal coverage used by your HTML) */
.mt-3{ margin-top:1rem !important; }
.mt-5{ margin-top:3rem !important; }
.mb-0{ margin-bottom:0 !important; }
.mb-2{ margin-bottom:.5rem !important; }
.mb-3{ margin-bottom:1rem !important; }
.mb-4{ margin-bottom:1.5rem !important; }
.me-1{ margin-right:.25rem !important; }
.me-2{ margin-right:.5rem !important; }
.me-3{ margin-right:1rem !important; }
.pt-5{ padding-top:3rem !important; }
.pb-4{ padding-bottom:1.5rem !important; }
.pb-3{ padding-bottom:1rem !important; }
.pt-0{ padding-top:0 !important; }
.pb-0{ padding-bottom:0 !important; }
.py-5{ padding-top:3rem !important; padding-bottom:3rem !important; }
.w-100{ width:100% !important; }
.border-0{ border:0 !important; }

/* Display / flex */
.d-none{ display:none !important; }
.d-flex{ display:flex !important; }
.align-items-center{ align-items:center !important; }
.align-items-start{ align-items:flex-start !important; }
.justify-content-between{ justify-content:space-between !important; }
.justify-content-center{ justify-content:center !important; }
.gap-2{ gap:.5rem !important; }
.gap-3{ gap:1rem !important; }

/* Responsive display helper used in header */
@media (max-width: 767.98px){
  .d-md-inline{ display:none !important; }
}
@media (min-width: 768px){
  .d-md-inline{ display:inline !important; }
}

/* Position helpers (used for cart badge) */
.position-relative{ position: relative !important; }
.position-absolute{ position: absolute !important; }
.top-0{ top:0 !important; }
.start-100{ left:100% !important; }
.translate-middle{ transform: translate(-50%, -50%) !important; }

/* Borders / rounding / shadows */
.rounded-pill{ border-radius:999px !important; }
.rounded-circle{ border-radius:999px !important; }
.shadow-sm{ box-shadow: 0 14px 40px rgba(0,0,0,.25) !important; }
.shadow-lg{ box-shadow: 0 26px 90px rgba(0,0,0,.45) !important; }

/* HR */
hr{
  border: 0;
  border-top: 1px solid rgba(255,255,255,.10);
}
.border-secondary{ border-color: rgba(255,255,255,.18) !important; }

/* Lists */
.list-unstyled{ list-style:none; padding:0; margin:0; }

/* Links helpers used in footer */
.link-light{ color: rgba(255,255,255,.85) !important; }
.link-underline-opacity-0{ text-decoration: none !important; }
.link-underline-opacity-75-hover:hover{
  text-decoration: underline !important;
  text-decoration-color: rgba(255,255,255,.45) !important;
}

/* Badges */
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.35rem .55rem;
  border-radius:999px;
  font-size:.8rem;
  font-weight:700;
  line-height:1;
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.rounded-pill{ border-radius:999px !important; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  padding:.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.92);
  cursor:pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t), filter var(--t);
  user-select: none;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  border-color: rgba(255,255,255,.22);
}
.btn:active{ transform: translateY(-1px); }

.btn-sm{ padding:.45rem .75rem; font-size:.9rem; }

.btn-primary{
  background: linear-gradient(135deg, rgba(43,108,255,.95), rgba(0,230,168,.65)) !important;
  border: none !important;
}
.btn-primary:hover{ filter: brightness(1.06); }

.btn-outline-primary{
  background: transparent !important;
  border-color: rgba(43,108,255,.60) !important;
  color: rgba(255,255,255,.90) !important;
}
.btn-outline-primary:hover{
  background: rgba(43,108,255,.18) !important;
  border-color: rgba(43,108,255,.75) !important;
}

.btn-warning{
  background: linear-gradient(135deg, rgba(212,175,55,.92), rgba(241,213,138,.86)) !important;
  color:#070B14 !important;
  border: none !important;
}

/* Cards */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.03)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow-1) !important;
  overflow:hidden;
}
.card-body{ padding: 1rem; }
.card-footer{
  padding: .85rem 1rem;
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
}
.h-100{ height:100% !important; }

/* Product Card refinement */
.product-card{
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-2) !important;
  border-color: rgba(255,255,255,.18) !important;
}
.product-card-img{
  height: 210px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

/* Grid */
.row{ display:flex; flex-wrap:wrap; margin-right:-.5rem; margin-left:-.5rem; }
.row > *{ padding-right:.5rem; padding-left:.5rem; }

.g-3 > *{ margin-top: 1rem; }
.g-4 > *{ margin-top: 1.5rem; }

.col-12{ flex:0 0 auto; width:100%; }
@media (min-width: 768px){
  .col-md-6{ flex:0 0 auto; width:50%; }
}
@media (min-width: 992px){
  .col-lg-2{ flex:0 0 auto; width:16.666666%; }
  .col-lg-3{ flex:0 0 auto; width:25%; }
  .col-lg-4{ flex:0 0 auto; width:33.333333%; }
}

/* =========================================================
   Navbar (Offline + JS-driven collapse/dropdown)
========================================================= */
.navbar{
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 999;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10,14,24,.58) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.navbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
}

/* Base navbar brand (safe default) */
.navbar-brand{
  display:flex;
  align-items:center;
  gap:.75rem;
  font-weight:700;
  color: rgba(255,255,255,.94) !important;
  letter-spacing: -0.01em;
  min-height: 56px;
}

/* ✅ Million-dollar BRAND (logo + text) */
.navbar .brand-link{
  display: flex;
  align-items: center;
  gap: .85rem;
}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height: 1.05;
  transform: translateY(1px);
}

.brand-title{
  font-weight: 850;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  color: rgba(255,255,255,.95);
  white-space: nowrap;
}

.brand-subtitle{
  margin-top: .22rem;
  font-size: .82rem;
  color: rgba(255,255,255,.68);
  white-space: nowrap;
}

/* ✅ PNG with white background fixed: premium badge */
.site-logo-badge{
  --sz: 56px;
  --pad: 7px;       /* if logo still looks small: reduce pad to 5px */
  --zoom: 1.12;     /* if logo still looks small: increase to 1.18 */

  width: var(--sz);
  height: var(--sz);
  flex: 0 0 var(--sz);
  border-radius: 50%;
  position: relative;
  overflow: hidden;

  background: linear-gradient(135deg, rgba(212,175,55,.55), rgba(0,230,168,.35), rgba(43,108,255,.45));
  box-shadow: 0 16px 44px rgba(0,0,0,.40);
  transform: translateZ(0);
}

/* inner white disk (makes white bg intentional) */
.site-logo-badge::before{
  content:"";
  position:absolute;
  inset: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.site-logo-badge img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: var(--pad);
  object-fit: contain;
  transform: scale(var(--zoom));
  image-rendering: -webkit-optimize-contrast;
}

@media (hover:hover){
  .navbar .brand-link:hover .site-logo-badge{
    transform: translateY(-1px);
    box-shadow: 0 22px 60px rgba(0,0,0,.48);
  }
}

.navbar-nav{
  display:flex;
  align-items:center;
  gap:.25rem;
  list-style:none;
  padding:0;
  margin:0;
}

.navbar .nav-link{
  display:inline-flex;
  align-items:center;
  padding: .62rem .85rem;
  color: rgba(255,255,255,.84);
  border-radius: 14px;
  transition: background var(--t), color var(--t), transform var(--t);
}
.navbar .nav-link:hover{
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.96);
}
.navbar .nav-link.active{
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.98);
}

/* Toggler */
.navbar-toggler{
  display:none;
  align-items:center;
  justify-content:center;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.06);
  cursor:pointer;
}
.navbar-toggler-icon{
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.9);
  position: relative;
  display:block;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.9);
}
.navbar-toggler-icon::before{ top:-6px; }
.navbar-toggler-icon::after{ top:6px; }

/* Collapse container */
.navbar-collapse{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
}
.collapse{ /* compatibility */
  display:flex;
}

@media (max-width: 992px){
  .navbar-toggler{ display:inline-flex; }
  .navbar-collapse{ display:none; width:100%; padding-top:.75rem; }
  .navbar-collapse.is-open,
  .navbar-collapse.show{ display:block; }
  .navbar-nav{ flex-direction:column; align-items:stretch; }

  .site-logo-badge{ --sz: 50px; --pad: 6px; --zoom: 1.14; }
  .brand-subtitle{ display:none; }
  .brand-title{ font-size: .98rem; }
}

/* Navbar safe spacing */
body{ padding-top: var(--nav-h); }

/* =========================================================
   Dropdowns (JS toggles .show)
========================================================= */
.dropdown{ position: relative; }
.dropdown-menu{
  position:absolute;
  top: calc(100% + 10px);
  right: 0; /* RTL default */
  min-width: 240px;
  background: rgba(10,14,24,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  box-shadow: 0 30px 110px rgba(0,0,0,.55);
  padding: .4rem;
  display:none;
  z-index: 1000;
}
.dropdown-menu.show{ display:block; }

/* emulate bootstrap dropdown-menu-end (end in RTL => left) */
.dropdown-menu-end{
  left: 0;
  right: auto;
}

.dropdown-item{
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.65rem .75rem;
  border-radius: 14px;
  color: rgba(255,255,255,.88);
  transition: background var(--t), color var(--t), transform var(--t);
}
.dropdown-item:hover{
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.98);
}
.dropdown-divider{ height:1px; background: rgba(255,255,255,.10); margin:.35rem 0; }
.dropdown-header{ padding:.55rem .75rem; color: rgba(255,255,255,.70); font-weight:700; }

/* =========================================================
   Forms + Validation
========================================================= */
.form-control, .form-select{
  width:100%;
  padding: .75rem .9rem;
  border-radius: 14px;
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: rgba(255,255,255,.92) !important;
  outline: none;
  transition: box-shadow var(--t), border-color var(--t), background var(--t);
}
.form-control::placeholder{ color: rgba(255,255,255,.45) !important; }

.form-control:focus, .form-select:focus{
  border-color: rgba(43,108,255,.55) !important;
  box-shadow: var(--focus);
}

.was-validated .form-control:invalid,
.form-control.is-invalid{
  border-color: rgba(255,76,76,.85) !important;
  box-shadow: 0 0 0 .25rem rgba(255,76,76,.16);
}

.invalid-feedback{
  margin-top: .35rem;
  font-size: .9rem;
  color: rgba(255,120,120,.95);
}

/* =========================================================
   Alerts
========================================================= */
.alert{
  padding: 1rem 1rem;
  border-radius: 16px;
  background: var(--bg2) !important;
  border: 1px solid var(--stroke) !important;
  color: var(--text) !important;
}

/* =========================================================
   Loader + Spinner (works with your header loader markup)
========================================================= */
.page-loader{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(900px 520px at 50% 30%, rgba(43,108,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 35%),
    rgba(7,11,20,.96) !important;
}

.spinner-border{
  width: 2.8rem;
  height: 2.8rem;
  border: 3px solid rgba(255,255,255,.22);
  border-top-color: rgba(43,108,255,.95);
  border-radius: 999px;
  animation: spin .8s linear infinite;
}
@keyframes spin{ to { transform: rotate(360deg);} }

/* =========================================================
   Notifications (main.js uses .notification...)
========================================================= */
.notification{
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
  max-width: min(420px, calc(100vw - 36px));
  background: rgba(10,14,24,.85);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  box-shadow: var(--shadow-3);
  backdrop-filter: blur(18px);
  transform: translate3d(0, 14px, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t), opacity var(--t);
}
.notification.show{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.notification-content{
  display:flex;
  align-items:flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
}
.notification-icon{ font-size: 1.1rem; margin-top: .05rem; }
.notification-message{
  flex: 1;
  color: rgba(255,255,255,.92);
  line-height: 1.75;
  font-size: .95rem;
}
.notification-close{
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 .2rem;
}
.notification-close:hover{ color: rgba(255,255,255,.95); }

.notification-success{ border-color: rgba(37,208,127,.35); }
.notification-error{ border-color: rgba(255,76,76,.35); }
.notification-warning{ border-color: rgba(246,196,73,.35); }
.notification-info{ border-color: rgba(79,183,255,.35); }

/* =========================================================
   Footer
========================================================= */
.site-footer, footer{
  background: rgba(10,14,24,.70) !important;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.85);
}

/* Social */
.social-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
}
.social-links a:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  border-color: rgba(255,255,255,.18);
}
/* ✅ Footer Premium PNG Logo Badge */
.footer-logo-badge{
  --sz: 56px;
  --pad: 7px;      /* اگه هنوز کوچیکه: 5px */
  --zoom: 1.12;    /* اگه هنوز کوچیکه: 1.18 */

  width: var(--sz);
  height: var(--sz);
  flex: 0 0 var(--sz);
  border-radius: 50%;
  position: relative;
  overflow: hidden;

  background: linear-gradient(135deg, rgba(212,175,55,.55), rgba(0,230,168,.35), rgba(43,108,255,.45));
  box-shadow: 0 16px 44px rgba(0,0,0,.40);
}

.footer-logo-badge::before{
  content:"";
  position:absolute;
  inset: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.footer-logo-badge img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: var(--pad);
  object-fit: contain;
  transform: scale(var(--zoom));
  image-rendering: -webkit-optimize-contrast;
}

/* =========================================================
   Icons fallback (No Bootstrap Icons)
========================================================= */
.bi{ display:inline-block; width: 1.1em; height: 1.1em; }

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1200px){
  .hero-title-new{ font-size: 4.0rem; }
}

@media (max-width: 992px){
  .hero-section-new{ height: 86vh; min-height: 620px; }
  .company-info-grid{ grid-template-columns: 1fr; }
  .hero-stats{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .hero-title-new{ font-size: 3.0rem; }
  .hero-subtitle-new{ font-size: 1.1rem; }
  .hero-buttons{ flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary{ width: 100%; }
}

@media (max-width: 576px){
  .hero-section-new{ height: 78vh; min-height: 520px; }
  .hero-title-new{ font-size: 2.55rem; }
}
/* =========================================================
   ABOUT PAGE — Premium (Offline)
   Paste at END of assets/css/main.css
========================================================= */

.page-hero{
  position: relative;
  padding: calc(var(--nav-h) + 2.2rem) 0 2.2rem;
  overflow: hidden;
  isolation: isolate;
}

.page-hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-hero__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.08) brightness(.72);
  opacity: .55;
}

.page-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 80% 10%, rgba(43,108,255,.28), transparent 60%),
    radial-gradient(700px 440px at 15% 25%, rgba(0,230,168,.18), transparent 60%),
    radial-gradient(1100px 700px at 60% 0%, rgba(212,175,55,.14), transparent 60%),
    linear-gradient(180deg, rgba(7,11,20,.68), rgba(7,11,20,.92));
  z-index: 1;
}

.page-hero__content{
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.page-hero__badge{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,.26);
  color: rgba(255,255,255,.88);
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-hero__badgeIcon{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(43,108,255,.35), rgba(0,230,168,.25));
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.95);
}

.page-hero__title{
  margin: .2rem 0 .7rem;
  font-size: 3.2rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,.92) 55%, rgba(212,175,55,.9) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 70px rgba(0,0,0,.35);
}

.page-hero__subtitle{
  margin: 0;
  max-width: 860px;
  font-size: 1.06rem;
  line-height: 2.05;
  color: rgba(255,255,255,.72);
}

.page-hero__cta{
  margin-top: 1.2rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.page-hero__stats{
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 860px;
}

.page-stat{
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 1rem 1rem .95rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 62px rgba(0,0,0,.35);
}

.page-stat__n{
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(0,230,168,.75));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-stat__t{
  margin-top: .35rem;
  font-size: .95rem;
  color: rgba(255,255,255,.76);
}

.page-section{
  padding: 2.8rem 0 4.2rem;
}

.page-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
  margin-top: 1.2rem;
}

.page-card{
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
  padding: 1.35rem 1.35rem;
  overflow: hidden;
  position: relative;
}

.page-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  pointer-events:none;
  background: radial-gradient(700px 280px at 20% 10%, rgba(43,108,255,.16), transparent 60%);
  opacity: .9;
}

.page-card > *{ position: relative; z-index: 1; }

.page-card.wide{
  grid-column: 1 / -1;
}

.page-card__head{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  margin-bottom: .85rem;
}

.page-icon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  color: rgba(255,255,255,.95);
  flex: 0 0 auto;
}

.page-h2{
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.page-text{
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2.05;
}

.page-divider{
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 1rem 0;
}

.page-list{
  display: grid;
  gap: .65rem;
}

.page-list__item{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .6rem;
  padding: .65rem .85rem;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.page-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,.95), rgba(0,230,168,.65));
  box-shadow: 0 10px 25px rgba(212,175,55,.12);
  flex: 0 0 auto;
}

.value-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-top: .4rem;
}

.value{
  padding: .95rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 44px rgba(0,0,0,.20);
}

.value__title{
  font-weight: 700;
  color: rgba(255,255,255,.92);
  margin-bottom: .35rem;
}
.value__text{
  color: rgba(255,255,255,.70);
  font-size: .95rem;
  line-height: 1.9;
}

.steps{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
  margin-top: .65rem;
}

.step{
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 1rem 1rem;
  box-shadow: 0 16px 50px rgba(0,0,0,.20);
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  justify-content: flex-end;
}

.step__n{
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #070B14;
  background: linear-gradient(135deg, rgba(212,175,55,.95), rgba(241,213,138,.88));
  border: 1px solid rgba(255,255,255,.22);
  flex: 0 0 auto;
}

.step__t{
  font-weight: 700;
  color: rgba(255,255,255,.92);
  margin-bottom: .25rem;
}
.step__d{
  color: rgba(255,255,255,.70);
  font-size: .95rem;
  line-height: 1.9;
}

.accordion{
  display: grid;
  gap: .7rem;
  margin-top: .5rem;
}

.accordion-item{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}

.accordion-button{
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.92);
  padding: .95rem 1rem;
  cursor: pointer;
  font-weight: 700;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.accordion-button::after{
  content:"";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.80);
  border-bottom: 2px solid rgba(255,255,255,.80);
  transform: rotate(45deg);
  transition: transform var(--t);
  opacity: .9;
}

.accordion-collapse{
  display: none;
  border-top: 1px solid rgba(255,255,255,.10);
}

.accordion-collapse.show{
  display: block;
}

.accordion-collapse.show + .accordion-button::after{
  transform: rotate(-135deg);
}

.accordion-body{
  padding: .85rem 1rem 1rem;
  color: rgba(255,255,255,.72);
  line-height: 2;
  font-size: .95rem;
}

.why-list{
  display: grid;
  gap: .8rem;
  margin-top: .25rem;
}

.why{
  padding: .95rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 44px rgba(0,0,0,.20);
}

.why__k{
  font-weight: 800;
  color: rgba(255,255,255,.92);
  margin-bottom: .35rem;
}
.why__v{
  color: rgba(255,255,255,.70);
  line-height: 1.95;
  font-size: .95rem;
}

.mini-cta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mini-cta__t{
  font-weight: 800;
  color: rgba(255,255,255,.92);
}
.mini-cta__a{
  display:flex;
  gap:.7rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 992px){
  .page-hero__title{ font-size: 2.6rem; }
  .page-hero__stats{ grid-template-columns: 1fr; }
  .page-grid{ grid-template-columns: 1fr; }
  .page-card.wide{ grid-column: auto; }
  .steps{ grid-template-columns: 1fr; }
}
@media (max-width: 576px){
  .page-hero{ padding: calc(var(--nav-h) + 1.6rem) 0 1.6rem; }
  .page-hero__title{ font-size: 2.2rem; }
  .page-hero__cta .btn{ width: 100%; }
}
/* =========================================================
   CONTACT PAGE — Premium (Offline)
   Paste at END of assets/css/main.css
========================================================= */

.contact-grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  align-items: start;
  margin-top: 1.1rem;
}

.contact-side{
  display: grid;
  gap: 1.2rem;
}

.contact-card,
.contact-form-card,
.contact-cta{
  border-radius: var(--r-xl);
}

.contact-kv{
  display: grid;
  gap: .7rem;
  margin-top: .4rem;
}

.contact-kv__row{
  display: grid;
  grid-template-columns: 28px 90px 1fr;
  align-items: center;
  gap: .75rem;
  padding: .85rem .9rem;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 44px rgba(0,0,0,.18);
  transition: transform var(--t), border-color var(--t), background var(--t), box-shadow var(--t);
}

.contact-kv__row:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.075);
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.contact-kv__row.is-static:hover{
  transform: none;
  box-shadow: 0 14px 44px rgba(0,0,0,.18);
}

.contact-kv__icon{ opacity: .95; }
.contact-kv__label{
  font-weight: 800;
  color: var(--text);
}
.contact-kv__value{
  color: var(--muted);
  line-height: 1.9;
}

/* Form */
.contact-form{
  margin-top: .4rem;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.form-label{
  display: block;
  margin-bottom: .45rem;
  font-weight: 800;
  color: var(--text);
}

.form-field .form-control{
  border-radius: 16px;
}

.form-actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.10);
}

.form-hint{
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  line-height: 1.9;
}

.hint-badge{
  display: inline-flex;
  align-items: center;
  padding: .22rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
  font-weight: 800;
  margin: 0 .2rem;
}

/* Contact hero slightly tuned */
.contact-hero .page-hero__badgeIcon{
  background: linear-gradient(135deg, rgba(212,175,55,.22), rgba(43,108,255,.22));
}

/* Responsive */
@media (max-width: 992px){
  .contact-grid{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .contact-kv__row{ grid-template-columns: 28px 80px 1fr; }
}

@media (max-width: 576px){
  .form-actions .btn{ width: 100%; }
  .form-hint{ width: 100%; }
}


/* Theme Toggle */
.theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:38px;border-radius:14px;
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  color: var(--text);
  box-shadow: 0 10px 24px rgba(2,6,23,.08);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.theme-toggle:hover{ transform: translateY(-1px); box-shadow: 0 14px 32px rgba(2,6,23,.10); }
.theme-toggle:active{ transform: translateY(0); }
.theme-toggle svg{ width:18px; height:18px; }

/* Improve hero readability on images with text */
.hero-overlay-new .hero-overlay-gradient{
  background: radial-gradient(60% 70% at 50% 35%, rgba(0,0,0,.08) 0%, rgba(0,0,0,.40) 55%, rgba(0,0,0,.62) 100%);
}
:root[data-theme="dark"] .hero-overlay-new .hero-overlay-gradient{
  background: radial-gradient(60% 70% at 50% 35%, rgba(0,0,0,.20) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.78) 100%);
}

/* User Dashboard */
.user-dashboard{ padding: 10px 0 30px; }
.user-dashboard .dash-grid{ display:grid; grid-template-columns: 320px 1fr; gap: 18px; }
@media (max-width: 992px){ .user-dashboard .dash-grid{ grid-template-columns:1fr; } }
.dash-card{ border:1px solid var(--stroke); background: linear-gradient(180deg, var(--surface2), var(--surface)); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.dash-card .dash-card-hd{ padding: 16px 18px; border-bottom: 1px solid var(--stroke); display:flex; align-items:center; justify-content:space-between; gap:10px; }
.dash-card .dash-card-bd{ padding: 16px 18px; }
.stat-grid{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
@media (max-width: 768px){ .stat-grid{ grid-template-columns:1fr; } }
.stat{ padding: 14px; border-radius: var(--r-md); border: 1px solid var(--stroke); background: rgba(255,255,255,.55); }
:root[data-theme="dark"] .stat{ background: rgba(255,255,255,.06); }
.stat .num{ font-size: 22px; font-weight: 700; }
.stat .lbl{ color: var(--muted); margin-top: 4px; font-size: 13px; }

/* Cart */
.cart-layout{ display:grid; grid-template-columns: 1.6fr .9fr; gap: 18px; }
@media (max-width: 992px){ .cart-layout{ grid-template-columns:1fr; } }
.cart-item{ display:grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items:center; padding: 14px; border: 1px solid var(--stroke); border-radius: var(--r-md); background: rgba(255,255,255,.55); }
:root[data-theme="dark"] .cart-item{ background: rgba(255,255,255,.06); }
.cart-item img{ width:84px; height:64px; object-fit:cover; border-radius: 14px; border: 1px solid var(--stroke); }
.cart-item .meta h4{ margin:0; font-size: 15px; }
.cart-item .meta p{ margin:6px 0 0; color: var(--muted); font-size: 13px; }
.cart-item .actions{ display:flex; flex-direction:column; gap: 8px; align-items:flex-end; }
.qty{ display:inline-flex; align-items:center; gap: 8px; padding: 8px 10px; border: 1px solid var(--stroke); border-radius: 14px; background: linear-gradient(180deg, var(--surface2), var(--surface)); }
.qty input{ width: 56px; text-align:center; padding: 6px 8px; border-radius: 12px; border: 1px solid var(--stroke); background: transparent; color: var(--text); }

/* Static pages */
.section{ padding: 26px 0 44px; }
.section-head{ margin-bottom: 18px; }
.section-title{ font-size: 28px; margin: 0 0 8px; }
.section-subtitle{ margin: 0; color: var(--muted); }
.grid-3{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
@media (max-width: 992px){ .grid-3{ grid-template-columns:1fr; } }
.feature-card{ padding: 16px; border-radius: var(--r-lg); border:1px solid var(--stroke); background: linear-gradient(180deg, var(--surface2), var(--surface)); box-shadow: var(--shadow-1); }
.feature-ico{ font-size: 22px; margin-bottom: 8px; }
.feature-card h3{ margin: 0 0 6px; font-size: 16px; }
.feature-card p{ margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.cta-panel{ margin-top: 18px; padding: 16px; border-radius: var(--r-lg); border:1px solid var(--stroke); background: rgba(255,255,255,.55); display:flex; align-items:center; justify-content:space-between; gap: 12px; }
:root[data-theme="dark"] .cta-panel{ background: rgba(255,255,255,.06); }
@media (max-width: 768px){ .cta-panel{ flex-direction:column; align-items:stretch; } .cta-panel .cta-actions{ justify-content:flex-start; } }
.cta-actions{ display:flex; gap: 10px; flex-wrap: wrap; }
.faq{ display:flex; flex-direction:column; gap: 10px; }
.faq-item{ border:1px solid var(--stroke); border-radius: var(--r-md); background: rgba(255,255,255,.55); overflow:hidden; }
:root[data-theme="dark"] .faq-item{ background: rgba(255,255,255,.06); }
.faq-item summary{ padding: 14px; cursor:pointer; list-style:none; font-weight: 700; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-body{ padding: 0 14px 14px; color: var(--muted); line-height: 1.9; }
.content-card{ padding: 16px; border-radius: var(--r-lg); border:1px solid var(--stroke); background: rgba(255,255,255,.55); }
:root[data-theme="dark"] .content-card{ background: rgba(255,255,255,.06); }
.content-card h3{ margin-top: 16px; font-size: 16px; }
.clean-list{ margin: 10px 0 0; padding: 0 18px 0 0; color: var(--muted); }
.clean-list li{ margin: 8px 0; }

/* =========================================================
   Consultation Widget
   ========================================================= */
.consultation-section{padding:24px 0;margin-top:10px}
.consultation-card{display:grid;grid-template-columns:1.05fr 1.6fr;gap:18px;background:rgba(255,255,255,.92);border:1px solid var(--stroke);border-radius:var(--r-xl);padding:18px;box-shadow:0 12px 40px rgba(0,0,0,.06)}
:root[data-theme="dark"] .consultation-card{background:rgba(255,255,255,.06)}
.consultation-title{margin:0 0 6px;font-size:18px}
.consultation-subtitle{margin:0 0 12px;color:var(--muted);line-height:1.9}
.consultation-badges{display:flex;flex-wrap:wrap;gap:8px}
.badge-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.05);color:var(--text);font-size:12px}
:root[data-theme="dark"] .badge-pill{background:rgba(255,255,255,.08)}
.consultation-form .field-label{display:block;margin-bottom:6px;font-size:12px;color:var(--muted)}
.consultation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.consultation-actions{display:flex;align-items:center;gap:12px;margin-top:12px}
.consultation-btn{min-width:160px}
.consultation-hint{margin:0;color:var(--muted);font-size:12px}
@media (max-width: 992px){
  .consultation-card{grid-template-columns:1fr}
}
@media (max-width: 576px){
  .consultation-grid{grid-template-columns:1fr}
  .consultation-actions{flex-direction:column;align-items:stretch}
  .consultation-btn{width:100%}
}

/* =========================================================
   GLOBAL READABILITY PATCH (2026-01-25)
   Fixes: unreadable texts across all pages (index/admin/products/...)
   Root cause: many elements hard-coded to white-ish colors.
   This patch makes typography & common components theme-aware.
   ========================================================= */

/* Base typography */
h1,h2,h3,h4,h5,h6{ color: var(--text) !important; }
p,li,small,span,label,legend,dt,dd{ color: var(--muted) !important; }
strong,b{ color: var(--text) !important; }
hr{ border-color: var(--stroke) !important; }

/* Links */
a{ color: var(--text); }
a:hover{ color: var(--brand-1); }
a.text-white, a.link-light{ color: var(--text) !important; }

/* Cards / surfaces */
.card,
.glass,
.panel,
.section,
.hero-card,
.product-card,
.dash-card{
  background: linear-gradient(180deg, var(--surface), var(--surface2)) !important;
  border: 1px solid var(--stroke) !important;
  color: var(--text) !important;
}

/* Headings inside cards */
.card h1,.card h2,.card h3,.card h4,.card h5,.card h6,
.dash-card h1,.dash-card h2,.dash-card h3,.dash-card h4,.dash-card h5,.dash-card h6{
  color: var(--text) !important;
}

/* Buttons */
.btn, button, input[type="button"], input[type="submit"]{
  color: inherit;
}
.btn-outline, .btn-ghost{
  border-color: var(--stroke) !important;
  color: var(--text) !important;
}

/* Forms */
input, textarea, select{
  color: var(--text) !important;
}
input::placeholder, textarea::placeholder{ color: var(--dim) !important; }

/* Tables */
table{ color: var(--text) !important; }
th{ color: var(--text) !important; }
td{ color: var(--muted) !important; border-color: var(--stroke) !important; }
thead th{ border-color: var(--stroke) !important; }

/* Navbar: light theme gets a light glass, dark theme keeps the original */
.navbar{
  background: rgba(255,255,255,.72) !important;
  border-bottom: 1px solid var(--stroke) !important;
  color: var(--text) !important;
}
[data-theme="dark"] .navbar{
  background: rgba(10,14,24,.58) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

/* Muted helpers */
.text-muted{ color: var(--muted) !important; }
.text-white-50{ color: var(--dim) !important; }
.text-dark{ color: var(--text) !important; }
.text-light{ color: var(--text) !important; }

/* Footer should stay high-contrast (white on dark footer bg) */
.site-footer, .site-footer *{ color: inherit; }
.site-footer p, .site-footer li, .site-footer span, .site-footer small{ color: rgba(255,255,255,.60) !important; }
.site-footer h1,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer h5,.site-footer h6{ color:#fff !important; }
.site-footer a{ color: rgba(255,255,255,.85) !important; }
.site-footer a:hover{ color:#fff !important; }


/* =========================================================
   Government / Official Service Theme Overrides
   هدف: خوانایی کامل در حالت روشن + ظاهر رسمی/اداری (کمتر مدرن)
   ========================================================= */

:root{
  --bg: #F3F6FA;
  --bg2:#FFFFFF;
  --surface: #FFFFFF;
  --surface2:#FFFFFF;
  --stroke: rgba(15,23,42,.16);

  --text: #0F172A;
  --muted: rgba(15,23,42,.74);
  --dim: rgba(15,23,42,.60);

  --brand-1:#0B4AA2; /* رسمی‌تر */
  --brand-2:#0F766E;

  --shadow-1: 0 6px 18px rgba(2,6,23,.08);
  --shadow-2: 0 10px 28px rgba(2,6,23,.10);
  --shadow-3: 0 14px 36px rgba(2,6,23,.12);

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 10px;
}

/* حذف افکت‌های سینمایی که در حالت روشن باعث ناخوانایی می‌شوند */
html, body{
  background: var(--bg) !important;
  color: var(--text) !important;
}

body{
  background-image: none !important;
}

/* نوار بالای سایت: ساده و اداری */
.navbar{
  background: var(--bg2) !important;
  backdrop-filter: none !important;
  border-bottom: 3px solid var(--brand-1) !important;
  box-shadow: 0 2px 10px rgba(2,6,23,.06) !important;
}

.navbar *{
  text-shadow: none !important;
}

/* لینک‌های منو */
.navbar .nav-link{
  color: var(--text) !important;
  border-radius: 4px !important;
  transform: none !important;
}

.nav-link:hover,
.nav-link:focus{
  background: rgba(11,74,162,.08) !important;
  color: var(--brand-1) !important;
}

/* لوگو/برند */
.brand,
.brand-text,
.navbar-brand{
  color: var(--brand-1) !important;
}

/* هدر/هیرو: حذف متن گرادیانی و متن شفاف */
.hero-title-new,
.page-hero__title,
.hero-stat-number,
.page-stat__number{
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  text-shadow: none !important;
}

/* هرجایی که متن سفید به صورت hard-code شده باشد را در حالت روشن اصلاح کن */
html:not([data-theme="dark"]) .nav,
html:not([data-theme="dark"]) .nav *:not(.btn):not(.badge):not(.tag):not(.chip),
html:not([data-theme="dark"]) .section,
html:not([data-theme="dark"]) .section *:not(.btn):not(.badge):not(.tag):not(.chip),
html:not([data-theme="dark"]) .panel,
html:not([data-theme="dark"]) .panel *:not(.btn):not(.badge):not(.tag):not(.chip),
html:not([data-theme="dark"]) .card,
html:not([data-theme="dark"]) .card *:not(.btn):not(.badge):not(.tag):not(.chip),
html:not([data-theme="dark"]) .glass,
html:not([data-theme="dark"]) .glass *:not(.btn):not(.badge):not(.tag):not(.chip){
  color: var(--text) !important;
}

/* کارت‌ها و پنل‌ها: اداری‌تر */
.card, .panel, .glass, .dash-card, .product-card, .hero-card, .section{
  background: var(--bg2) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-1) !important;
}

/* دکمه‌ها: ساده و رسمی */
.btn{
  border-radius: 6px !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transform: none !important;
}

.btn-primary{
  background: var(--brand-1) !important;
  border-color: var(--brand-1) !important;
  color: #fff !important;
}

.btn-primary:hover{
  filter: brightness(.95) !important;
}

.btn-outline,
.btn-outline-primary{
  background: transparent !important;
  border: 1px solid var(--brand-1) !important;
  color: var(--brand-1) !important;
}

.btn-outline:hover,
.btn-outline-primary:hover{
  background: rgba(11,74,162,.08) !important;
}

/* فرم‌ها: خوانا در حالت روشن */
input, textarea, select{
  background: #fff !important;
  color: var(--text) !important;
  border: 1px solid rgba(15,23,42,.22) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

input::placeholder, textarea::placeholder{
  color: rgba(15,23,42,.55) !important;
}

/* جدول‌ها: ظاهر اداری */
table{
  background: #fff !important;
  color: var(--text) !important;
  border-collapse: collapse !important;
}

th, td{
  border: 1px solid rgba(15,23,42,.14) !important;
}

thead th{
  background: rgba(11,74,162,.08) !important;
  color: var(--text) !important;
}

/* لینک‌ها */
a{
  color: var(--brand-1);
}
a:hover{
  color: #083b82;
  text-decoration: underline;
}

/* حذف انیمیشن‌ها/پارالاکس‌های زیاد برای حس رسمی‌تر */
*{
  scroll-behavior: auto !important;
}



/* =========================================================
   Official / governmental readability overrides
   (Fix about/contact/admin text visibility in Light theme)
   ========================================================= */

/* Ensure bootstrap nav links (e.g., admin sidebar) keep readable defaults */
#sidebar .nav-link,
.sidebar .nav-link,
.nav.flex-column .nav-link{
  color: var(--text) !important;
}
#sidebar.bg-light .nav-link:hover,
.sidebar.bg-light .nav-link:hover,
.nav.flex-column .nav-link:hover{
  background: rgba(15,23,42,.06) !important;
  color: var(--text) !important;
}
#sidebar .nav-link.active,
.sidebar .nav-link.active,
.nav.flex-column .nav-link.active{
  background: rgba(29,78,216,.10) !important;
  color: rgba(15,23,42,.95) !important;
  font-weight: 700;
}

/* About / Contact UI blocks */
.page-card,
.page-card.wide{
  background: var(--bg2) !important;
  border: 1px solid var(--stroke) !important;
  box-shadow: 0 6px 18px rgba(15,23,42,.06) !important;
  color: var(--text) !important;
}
.page-card::after{ opacity: 0 !important; }

.page-card__head{ color: var(--text) !important; }

.page-h2,
.page-hero__title,
.page-hero__subtitle,
.page-hero__badge,
.page-hero__stats{
  /* hero stays readable on dark overlay */
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* Headings & paragraphs inside page cards */
.page-card h1,
.page-card h2,
.page-card h3,
.page-card h4,
.page-card p,
.page-card li,
.page-card small,
.page-card label{
  color: var(--text) !important;
}
.page-card .text-muted{ color: var(--muted) !important; }

/* Icon tiles inside cards */
.page-icon{
  background: rgba(29,78,216,.06) !important;
  border: 1px solid var(--stroke) !important;
  box-shadow: none !important;
}
.page-icon svg{ color: var(--brand-1) !important; }

/* Accordion (FAQ-like blocks inside About) */
.accordion-item{
  background: var(--bg2) !important;
  border: 1px solid var(--stroke) !important;
}
.accordion-button{
  color: var(--text) !important;
}
.accordion-button::after{
  border-right-color: rgba(15,23,42,.70) !important;
  border-bottom-color: rgba(15,23,42,.70) !important;
}
.accordion-body{
  color: var(--text) !important;
  border-top: 1px solid var(--stroke) !important;
}

/* Forms (Contact) */
.form-control,
.form-select,
textarea{
  background: #fff !important;
  color: var(--text) !important;
  border: 1px solid var(--stroke) !important;
}
.form-control::placeholder,
textarea::placeholder{
  color: rgba(15,23,42,.55) !important;
}

/* unify: same badge logic everywhere */
.site-logo-badge{
  /* stronger, cleaner ring */
  background: linear-gradient(135deg,
    rgba(212,175,55,.70),
    rgba(0,230,168,.38),
    rgba(43,108,255,.55)
  ) !important;

  box-shadow:
    0 14px 42px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,255,255,.18) !important;
}

/* inner white disk (make the white bg intentional + crisp edge) */
.site-logo-badge::before{
  inset: 3px !important;                  /* ring thickness */
  background: #fff !important;
  box-shadow:
    inset 0 0 0 1px rgba(15,23,42,.08),
    0 0 0 1px rgba(255,255,255,.10) !important;
}

/* sharper logo rendering */
.site-logo-badge img{
  padding: 6px !important;                /* IMPORTANT: controls text cropping */
  transform: scale(1.18) !important;      /* IMPORTANT: controls text size */
  object-fit: contain !important;

  /* sharpness */
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  filter: contrast(1.10) saturate(1.02) !important;
}

/* footer large variant (your HTML already uses site-logo-badge--lg) */
.site-logo-badge--lg{
  --sz: 68px;    /* bigger so the logo text becomes readable */
}

/* slightly different tuning for lg */
.site-logo-badge--lg img{
  padding: 7px !important;
  transform: scale(1.16) !important;
}

/* mobile tuning: avoid cropping on smaller widths */
@media (max-width: 992px){
  .site-logo-badge img{
    padding: 6px !important;
    transform: scale(1.16) !important;
  }
  .site-logo-badge--lg{ --sz: 62px; }
  .site-logo-badge--lg img{
    padding: 7px !important;
    transform: scale(1.14) !important;
  }
}


/* =========================================================
   LOGO (FINAL) — Header & Footer
   - Uses assets/images/logo/logo.png
   - Perfect circle, no stretch, crisp at small sizes
========================================================= */
.site-logo-badge{
  --logo-sz: 62px;
  width: var(--logo-sz);
  height: var(--logo-sz);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;

  /* Keep container clean; logo image already has its own circle */
  background: transparent;
  border: none;
  box-shadow: none;
}
.site-logo-badge--lg{ --logo-sz: 84px; }

.site-logo-badge img{
  width: 100%;
  height: 100%;
  object-fit: cover;      /* logo is already circular */
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  filter: none;
  transform: none;
}

@media (max-width: 992px){
  .site-logo-badge{ --logo-sz: 56px; }
  .site-logo-badge--lg{ --logo-sz: 72px; }
}
@media (max-width: 576px){
  .site-logo-badge{ --logo-sz: 52px; }
}


/* =========================================================
   LOGO (DEFINTIVE FINAL) — Clean, circular, no glow/halo
   Fixes:
   - No gradient ring / pseudo elements
   - No stretching (fixed box + cover)
   - Header & footer sizes tuned
========================================================= */
.site-logo-badge{
  --logo-sz: 54px;
  width: var(--logo-sz) !important;
  height: var(--logo-sz) !important;
  flex: 0 0 var(--logo-sz) !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  overflow: hidden !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}
.site-logo-badge--lg{
  --logo-sz: 78px;
}

/* kill any decorative pseudo elements from older CSS */
.site-logo-badge::before,
.site-logo-badge::after{
  content: none !important;
  display: none !important;
}

.site-logo-badge img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* logo is already circular */
  border-radius: 999px !important;

  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  display: block !important;
}

/* optional subtle hover */
@media (hover:hover){
  .site-logo-badge:hover{
    filter: drop-shadow(0 6px 14px rgba(15,23,42,.18));
  }
}

/* responsive */
@media (max-width: 992px){
  .site-logo-badge{ --logo-sz: 50px; }
  .site-logo-badge--lg{ --logo-sz: 70px; }
}
@media (max-width: 576px){
  .site-logo-badge{ --logo-sz: 46px; }
}


/* =========================================================
   FINAL UI PATCH — 2026-01-28
   - Header logo bigger
   - CTA readability in Light
   - Hero "اسکرول کنید" readable in Light
   - Products cards typography cleanup
   - About/Contact readability in Light
========================================================= */

/* ---------- Logo sizing ---------- */
.site-logo-badge{ --logo-sz: 62px !important; }          /* header */
.site-logo-badge--lg{ --logo-sz: 86px !important; }      /* footer */
@media (max-width: 992px){
  .site-logo-badge{ --logo-sz: 56px !important; }
  .site-logo-badge--lg{ --logo-sz: 78px !important; }
}
@media (max-width: 576px){
  .site-logo-badge{ --logo-sz: 52px !important; }
}

/* ---------- CTA (Home) readability ---------- */
.cta-inner{
  border: 1px solid var(--stroke) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82)) !important;
}
.cta-title{ color: var(--text) !important; }
.cta-subtitle{ color: var(--muted) !important; }

:root[data-theme="dark"] .cta-inner{
  border: 1px solid rgba(255,255,255,.12) !important;
  background:
    radial-gradient(700px 350px at 80% 10%, rgba(43,108,255,.18), transparent 60%),
    radial-gradient(700px 400px at 10% 30%, rgba(0,230,168,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) !important;
}
:root[data-theme="dark"] .cta-title{ color: rgba(255,255,255,.95) !important; }
:root[data-theme="dark"] .cta-subtitle{ color: rgba(255,255,255,.72) !important; }

/* ---------- Hero scroll indicator (Light) ---------- */
.scroll-indicator{
  color: rgba(15,23,42,.92) !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.scroll-text{
  padding: .25rem .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.10);
  backdrop-filter: blur(6px);
}
.scroll-line{
  background: linear-gradient(to bottom, transparent, rgba(29,78,216,.85), transparent) !important;
}
:root[data-theme="dark"] .scroll-indicator{
  color: var(--scroll-indicator) !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.35) !important;
  opacity: .92 !important;
}
:root[data-theme="dark"] .scroll-text{
  background: transparent;
  border: none;
  backdrop-filter: none;
}
:root[data-theme="dark"] .scroll-line{
  background: linear-gradient(to bottom, transparent, rgba(212,175,55,.85), transparent) !important;
}

/* ---------- Products list cards ---------- */
.product-card{
  border: 1px solid var(--stroke) !important;
  background: rgba(255,255,255,.92);
}
:root[data-theme="dark"] .product-card{
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12) !important;
}
.product-card .card-body{ gap: .5rem; }
.product-card .card-title{
  margin: 0 !important;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 800;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.7em * 2);
}
.product-card .card-text{
  margin: 0 !important;
  line-height: 1.95;
  color: var(--muted) !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.95em * 3);
}
.product-card .text-success{ color: var(--success) !important; }
.product-card .btn{
  width: 100%;
  border-radius: 14px;
}

/* ---------- About / Contact (Light) ---------- */
:root:not([data-theme="dark"]) .page-hero__title{
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--text) !important;
  text-shadow: none !important;
}
:root:not([data-theme="dark"]) .page-hero__subtitle{
  color: var(--muted) !important;
}
:root:not([data-theme="dark"]) .page-hero__overlay{
  background: linear-gradient(180deg, rgba(246,248,252,.92), rgba(246,248,252,.70)) !important;
}
:root:not([data-theme="dark"]) .page-card{
  background: rgba(255,255,255,.92) !important;
  border: 1px solid var(--stroke) !important;
  box-shadow: var(--shadow-1) !important;
}
:root:not([data-theme="dark"]) .page-icon{
  background: rgba(15,23,42,.06) !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  color: rgba(15,23,42,.88) !important;
  box-shadow: none !important;
}
:root:not([data-theme="dark"]) .page-divider{
  background: rgba(15,23,42,.10) !important;
}


/* ---------- Profile dropdown (Header) ---------- */
.profile-btn{
  border-radius: 12px;
}
.profile-menu{
  min-width: 210px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-1);
  padding: .35rem;
}
.profile-menu .dropdown-item{
  border-radius: 10px;
  padding: .55rem .7rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
}
.profile-menu .dropdown-item:active{
  background: rgba(29,78,216,.10);
  color: var(--text);
}
:root[data-theme="dark"] .profile-menu{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(18,24,36,.92);
}
:root[data-theme="dark"] .profile-menu .dropdown-item:active{
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.95);
}

/* Profile label responsiveness */
.profile-label{
  font-weight: 700;
}
@media (max-width: 576px){
  .profile-label{
    display: none;
  }
  .profile-btn{
    width: 40px;
    height: 36px;
    padding: .35rem .5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .profile-btn svg{ margin: 0 !important; }
}



/* =========================================================
   INDEX FIXES — Hero responsiveness + Mobile hamburger
   Added: 2026-01-28
========================================================= */

/* Make hero height work with fixed navbar + mobile dynamic viewport */
.hero-section-new{
  height: auto;
  min-height: calc(100svh - var(--nav-h));
  max-height: none;
}
@supports not (height: 100svh){
  .hero-section-new{ min-height: calc(100vh - var(--nav-h)); }
}
.hero-content-wrapper{
  height: 100%;
  padding-inline: clamp(1rem, 4vw, 2rem);
  padding-block: clamp(2.25rem, 7vh, 5rem);
  align-items: center;
}
.hero-content-new{
  padding-top: 0;
  max-width: 920px;
}

/* Force hero text to be readable regardless of global light theme vars */
.hero-section-new .hero-subtitle-new{ color: rgba(255,255,255,.84); }
.hero-section-new .hero-badge{ color: rgba(255,255,255,.90); }
.hero-section-new .hero-divider{ opacity: .95; }

/* Better scaling for title/subtitle on small devices */
.hero-title-new{
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.05;
}
.hero-subtitle-new{
  font-size: clamp(1.02rem, 2.4vw, 1.35rem);
  line-height: 1.85;
  max-width: 52ch;
}

/* Stats grid: 3 cols desktop, 1 col mobile, nicer spacing */
.hero-stats{
  gap: clamp(.7rem, 2.6vw, .95rem);
  max-width: 860px;
}
@media (max-width: 992px){
  .hero-stats{ grid-template-columns: 1fr; max-width: 560px; }
}

/* Buttons: keep full width on small devices */
@media (max-width: 768px){
  .hero-buttons{ gap: .75rem; }
  .btn-hero-primary, .btn-hero-secondary{ width: 100%; }
}

/* Hamburger / mobile nav panel: ensure it opens and is visible in light mode */
@media (max-width: 992px){
  .navbar{ background: rgba(10,14,24,.72) !important; }

  .navbar-toggler{
    display:inline-flex;
    border-color: rgba(255,255,255,.24) !important;
    background: rgba(255,255,255,.08);
  }
  .navbar-toggler:active{ transform: translateY(0); }
  .navbar-toggler:focus{ outline: none; box-shadow: var(--focus); }

  /* If your navbar uses a light background in light theme, keep icon dark enough */
  :root:not([data-theme="dark"]) .navbar-toggler-icon,
  :root:not([data-theme="dark"]) .navbar-toggler-icon::before,
  :root:not([data-theme="dark"]) .navbar-toggler-icon::after{
    background: rgba(255,255,255,.92);
  }

  .navbar-collapse,
  .collapse{
    width: 100%;
    margin-top: .75rem;
    padding: .75rem;
    border-radius: 18px;
    background: rgba(10,14,24,.78);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 22px 70px rgba(0,0,0,.45);
  }

  /* Ensure links are tappable and readable */
  .navbar .nav-link{
    color: rgba(255,255,255,.90);
    padding: .8rem .95rem;
  }
  .navbar .nav-link:hover{ background: rgba(255,255,255,.08); }

  /* Avoid body scroll-jank when menu open */
  html.nav-open, html.nav-open body{ overflow: hidden; }
}
