/* =========================================
   HAMRAH VISION — Main CSS
   Light Theme | Orange + Cyan
   ========================================= */

:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface2: #f1f5f9;
  --cyan: #00C8CC;
  --cyan-dim: rgba(0,200,204,0.10);
  --cyan-glow: rgba(0,200,204,0.22);
  --orange: #E8A020;
  --orange-dim: rgba(232,160,32,0.12);
  --orange-glow: rgba(232,160,32,0.28);
  --text: #0D1117;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
html { scroll-behavior: smooth; }

body {
  font-family: ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
[dir='rtl'] body { font-family: 'IRANYekanXFaNum', 'IRANYekanX', Tahoma, sans-serif; }

/* Force Persian font on all interactive elements in RTL */
[dir='rtl'] button,
[dir='rtl'] a,
[dir='rtl'] input,
[dir='rtl'] textarea,
[dir='rtl'] select,
[dir='rtl'] label {
  font-family: 'IRANYekanXFaNum', 'IRANYekanX', sans-serif;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

/* ── NAVBAR ── */
.navbar {
  background: #000000; color: #ffffff;
  position: sticky; top: 0; z-index: 1001;
  border-bottom: 2px solid var(--cyan);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center;
  padding: 1.8rem 2rem;
  min-height: 120px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  text-decoration: none !important;
}
.nav-logo:hover, .nav-logo:focus, .nav-logo:active {
  text-decoration: none !important;
}
.logo-img { height: 76px; width: auto; mix-blend-mode: screen; }
.footer-logo { height: 200px !important; }


.nav-links a {
  color: #ffffff; text-decoration: none;
  font-weight: 600; font-size: 1.08rem;
  transition: color .2s;
  position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--cyan);
  transform: scaleX(0); transition: transform .25s ease;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.lang-btn {
  background: transparent; color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.2); border-radius: 8px;
  padding: .28rem .75rem; font-size: .85rem; font-weight: 600;
  text-decoration: none; transition: all .2s;
}
.lang-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.language-menu {
  position: relative;
  z-index: 20;
}

.language-menu-trigger {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 6.5rem;
  border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: 999px;
  background: #ffffff;
  color: #1a1a1a;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 800;
  padding: .44rem .78rem;
  user-select: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

.language-menu-trigger::-webkit-details-marker { display: none; }

.language-menu-chevron {
  color: var(--cyan);
  font-size: .75rem;
  line-height: 1;
  transition: transform .2s ease;
}

.language-menu[open] .language-menu-chevron {
  transform: rotate(180deg);
}

.language-menu-trigger strong {
  color: var(--orange);
  font-size: .8rem;
}

.language-menu-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + .65rem);
  width: min(280px, 86vw);
  max-height: 420px;
  overflow: auto;
  padding: .55rem;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 1rem;
  background: rgba(255,255,255,.97);
  box-shadow: 0 20px 50px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
}

.language-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  border-radius: .75rem;
  color: #1a1a1a;
  padding: .68rem .75rem;
  text-decoration: none;
  font-weight: 800;
}

.language-option small {
  color: var(--cyan);
  font-weight: 900;
}

.language-option:hover,
.language-option.active {
  background: var(--surface2);
  color: var(--cyan);
}

/* -- Nav links container: flex row on desktop -- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 3.2rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* -- Hamburger button: hidden on desktop -- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background .2s;
  flex-shrink: 0;
}
.menu-toggle:hover { background: rgba(0,0,0,0.07); }
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #c98a10 100%);
  color: #ffffff; font-weight: 700;
  padding: .6rem 1.6rem; border-radius: 50px;
  text-decoration: none; display: inline-block;
  transition: transform .2s, box-shadow .2s;
  border: none; cursor: pointer; font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(232,160,32,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--orange-glow);
}
.btn-primary.btn-lg { padding: .85rem 2.2rem; font-size: 1rem; }

.btn-outline {
  border: 2px solid var(--border); color: var(--text-muted);
  padding: .6rem 1.6rem; border-radius: 50px;
  text-decoration: none; display: inline-block;
  transition: all .2s; font-weight: 600; font-size: 0.95rem;
  background: transparent;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }
.btn-outline.btn-lg { padding: .85rem 2.2rem; font-size: 1rem; }

/* ── HERO ── */
.hero {
  position: relative; overflow: hidden;
  padding: 7rem 0 6rem; text-align: center;
  min-height: 88vh; display: flex; align-items: center;
  background: var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #CBD5E1 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
  pointer-events: none;
}
.hero-glow { display: none; }
.hero-circuit { display: none; }
.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--cyan-dim); border: 1.5px solid rgba(0,200,204,0.35);
  color: var(--cyan); padding: .42rem 1.2rem; border-radius: 50px;
  font-size: .85rem; font-weight: 600; margin-bottom: 1.8rem;
  letter-spacing: 0.02em;
}
.hero-title {
  background: linear-gradient(90deg, var(--orange) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 1.2rem;
  max-width: 820px; margin-left: auto; margin-right: auto;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 520px; margin: 0 auto 2.8rem;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── HERO LOGO ── */
.hero-logo-3d-container {
  width: 260px;
  height: 260px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  filter: drop-shadow(0 0 24px rgba(0, 200, 204, 0.40))
          drop-shadow(0 0 55px rgba(232, 160, 32, 0.18));
}
.hero-logo-3d-container canvas {
  max-width: 100%;
  max-height: 100%;
  display: block;
}
.hero-logo {
  height: 300px; width: auto;
  display: block; margin: 0 auto 2rem;
  mix-blend-mode: multiply;
}

/* ── TEXT COLORS ── */
.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange); }

/* ── SECTION TITLE ── */
.section-title {
  font-size: 2rem; font-weight: 800; text-align: center;
  margin-bottom: 3.5rem; letter-spacing: -0.02em;
}
.section-title::after {
  content: ''; display: block; width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  margin: .7rem auto 0; border-radius: 2px;
}

/* ── SERVICES SECTION (alternating bg) ── */
.services { background: var(--surface); }
.services .card {
  background: linear-gradient(135deg, var(--orange) 0%, #c98a10 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(232,160,32,0.25);
}
.services .card:hover {
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(232,160,32,0.40);
}
.services .card h3 { color: #ffffff; }
.services .card p { color: rgba(255,255,255,0.88); }
.services .card .card-icon {
  background: rgba(255,255,255,0.20);
  color: #ffffff;
}

/* ── CARDS ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--cyan); transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 0 4px var(--cyan-dim);
}
.card-icon {
  font-size: 1.6rem; margin-bottom: 1.2rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface2); border-radius: 14px;
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; letter-spacing: -0.01em; }
.card p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; }

.card-project img {
  width: 100%; height: 190px; object-fit: cover;
  border-radius: 10px; margin-bottom: 1.2rem;
}
.card-badge {
  display: inline-block; font-size: .75rem; font-weight: 700;
  padding: .22rem .8rem; border-radius: 50px; margin-bottom: .8rem;
  letter-spacing: 0.02em;
}
.card-badge-web { background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(0,200,204,0.25); }
.card-badge-ai { background: var(--orange-dim); color: var(--orange); border: 1px solid rgba(232,160,32,0.25); }
.card-badge-other { background: rgba(99,102,241,0.10); color: #6366f1; border: 1px solid rgba(99,102,241,0.20); }
.card-badge-bot { background: rgba(34,197,94,0.10); color: #16a34a; border: 1px solid rgba(34,197,94,0.20); }
.card-link {
  color: var(--orange); text-decoration: none; font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: 0.3rem;
  transition: gap .2s;
}
.card-link:hover { gap: 0.6rem; }
.tech-stack { font-size: .8rem; color: var(--text-light); margin-top: .6rem; font-style: italic; }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--surface); color: var(--text);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0; text-align: center;
}
.page-header h1 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.page-header p { color: var(--text-muted); margin-top: .5rem; }

/* ── FILTER BAR ── */
.filter-bar { display: flex; justify-content: center; gap: 1.2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-btn {
  padding: .4rem 1.1rem; border-radius: 50px;
  border: 1.5px solid var(--border); background: var(--bg);
  color: var(--text-muted); text-decoration: none; font-weight: 600;
  font-size: .85rem; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim);
}

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(135deg, #00C8CC 0%, #009ea1 100%);
  border: none;
  border-radius: var(--radius-lg); padding: 4rem 3.5rem; text-align: center;
  box-shadow: 0 12px 50px rgba(0,200,204,0.28);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-box h2 { color: #ffffff; font-size: 2rem; margin-bottom: .75rem; letter-spacing: -0.02em; position: relative; }
.cta-box p { color: rgba(255,255,255,0.88); margin-bottom: 2rem; position: relative; }
.cta-box .btn-primary {
  background: #ffffff; color: var(--cyan);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-box .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
}

/* ── SEO LANDING PAGES ── */
.seo-hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 200, 204, 0.18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(232, 160, 32, 0.16), transparent 28%),
    var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}
.seo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 2rem;
  align-items: center;
}
.seo-hero h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 1.1rem 0 1rem;
}
.seo-hero p {
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 760px;
  margin-bottom: 2rem;
}
.seo-summary-card {
  background: rgba(255,255,255,.88);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.seo-summary-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.seo-summary-card ul,
.seo-faq p {
  color: var(--text-muted);
  line-height: 1.9;
}
.seo-summary-card li { margin-bottom: .65rem; }
.seo-faq {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.seo-faq details {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.seo-faq summary {
  cursor: pointer;
  font-weight: 800;
}
.seo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.seo-steps article {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.seo-steps span {
  color: var(--orange);
  font-weight: 900;
  letter-spacing: .08em;
}
.seo-steps h3 { margin: .55rem 0; }
.seo-steps p {
  color: var(--text-muted);
  line-height: 1.8;
}
@media (max-width: 768px) {
  .seo-hero { padding: 3.5rem 0; }
  .seo-hero-grid,
  .seo-steps { grid-template-columns: 1fr; }
}

/* ── FORM ── */
.form-container { max-width: 680px; margin: 0 auto; }
.job-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-weight: 600; font-size: .9rem; color: var(--text-muted); }
.job-form input, .job-form textarea, .job-form select {
  background: var(--bg); border: 1.5px solid var(--border);
  color: var(--text); border-radius: var(--radius); padding: .8rem 1rem;
  font-size: 1rem; font-family: inherit; outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.job-form input:focus, .job-form textarea:focus, .job-form select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-dim);
}
.job-form select option { background: var(--bg); }
.form-error { color: #ef4444; font-size: .85rem; }

/* ── ABOUT ── */
.about-content { max-width: 700px; margin: 0 auto; }
.about-text h2 { font-size: 1.8rem; margin-bottom: 1.2rem; color: var(--orange); letter-spacing: -0.02em; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.about-stats { display: flex; gap: 3rem; margin-top: 2.5rem; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--cyan); }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 5rem; color: var(--text-muted); }

/* ── FOOTER ── */
.footer {
  background: #000000; color: #ffffff;
  border-top: 1px solid #222;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.04);
  padding: 3.5rem 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 5rem 0 4rem; min-height: auto; }
  .about-stats { gap: 1.5rem; }
  .cta-box { padding: 2.5rem 1.5rem; }
}

/* ── RTL SUPPORT ── */

/* ── IRAN YEKAN FONT ── */
@font-face { font-family: 'IRANYekanX'; src: url('/static/fonts/woff2/IRANYekanX-Light.woff2') format('woff2'), url('/static/fonts/IRANYekanX-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('/static/fonts/woff2/IRANYekanX-Regular.woff2') format('woff2'), url('/static/fonts/IRANYekanX-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('/static/fonts/woff2/IRANYekanX-Bold.woff2') format('woff2'), url('/static/fonts/IRANYekanX-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IRANYekanX'; src: url('/static/fonts/woff2/IRANYekanX-Black.woff2') format('woff2'), url('/static/fonts/IRANYekanX-Black.ttf') format('truetype'); font-weight: 800 900; font-display: swap; }
@font-face { font-family: 'IRANYekanXFaNum'; src: url('/static/fonts/woff2/IRANYekanXFaNum-Light.woff2') format('woff2'), url('/static/fonts/IRANYekanXFaNum-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'IRANYekanXFaNum'; src: url('/static/fonts/woff2/IRANYekanXFaNum-Regular.woff2') format('woff2'), url('/static/fonts/IRANYekanXFaNum-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IRANYekanXFaNum'; src: url('/static/fonts/woff2/IRANYekanXFaNum-Bold.woff2') format('woff2'), url('/static/fonts/IRANYekanXFaNum-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IRANYekanXFaNum'; src: url('/static/fonts/woff2/IRANYekanXFaNum-Black.woff2') format('woff2'), url('/static/fonts/IRANYekanXFaNum-Black.ttf') format('truetype'); font-weight: 800 900; font-display: swap; }

/* ── IRAN YEKAN FANUM (Persian Numerals) ── */
/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-title {
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: .6rem;
}
.contact-info-sub {
  color: var(--text-muted); margin-bottom: 2rem; line-height: 1.8;
}
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.contact-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow);
}
.contact-card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.contact-card-icon.orange { background: var(--orange-dim); }
.contact-card-icon.cyan   { background: var(--cyan-dim); }
.contact-card-label { font-size: .8rem; color: var(--text-muted); font-weight: 600; margin-bottom: .15rem; }
.contact-card-value { font-size: .95rem; font-weight: 700; color: var(--text); }
.contact-form-wrap {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-map-wrap {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-map-head {
  padding: 1rem 1rem 1.2rem;
}
.contact-map-head h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: .35rem;
}
.contact-map-head p {
  color: var(--text-muted);
  line-height: 1.8;
}
.contact-map {
  width: 100%;
  min-height: 430px;
  border: 0;
  border-radius: var(--radius);
  display: block;
  background: var(--bg);
}
.contact-map-link {
  display: inline-flex;
  margin: 1rem;
  color: var(--orange);
  font-weight: 800;
  text-decoration: none;
}
.contact-map-link:hover { color: var(--cyan); }
.contact-success {
  text-align: center; padding: 3rem 1rem;
}
.contact-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-success h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.contact-success p { color: var(--text-muted); }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-map { min-height: 340px; }
}

/* ── ABOUT PAGE ── */
.about-video-header {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #071018;
}
.about-background-video,
.about-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about-background-video {
  background: transparent;
}
.about-background-video-fill {
  object-fit: cover;
  z-index: 0;
  filter: blur(22px) saturate(1.08);
  transform: scale(1.08);
}
.about-background-video-main {
  object-fit: contain;
  z-index: 1;
}
.about-video-overlay {
  z-index: 2;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 200, 204, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.08));
}
.about-intro {
  display: flex; align-items: center; gap: 3rem;
  margin-bottom: 4rem;
  background: #ffffff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.about-logo {
  height: 200px; width: auto;
  /* mix-blend-mode: multiply; */ flex-shrink: 0;
}
.about-intro-text h2 {
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: .8rem;
  background: linear-gradient(90deg, var(--orange) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.about-intro-text p { color: var(--text-muted); line-height: 1.9; }

.about-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; margin-bottom: 1rem;
}
.about-stat-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  text-align: center; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .3rem;
}
.about-stat-card .stat-num { font-size: 2.2rem; font-weight: 800; }
.about-stat-card .stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

.activity-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
}
.activity-card {
  display: flex; align-items: flex-start; gap: 1.1rem;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.activity-card:hover {
  border-color: var(--cyan); transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.activity-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.activity-icon.orange { background: var(--orange-dim); }
.activity-icon.cyan   { background: var(--cyan-dim); }
.activity-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.activity-body p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 768px) {
  .about-video-header { min-height: 280px; }
  .about-intro { flex-direction: column; text-align: center; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .about-background-video { display: none; }
}


/* ── JOB SUBMIT PAGE ── */
.submit-layout {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 2.5rem;
  align-items: start;
}
.submit-sidebar { display: flex; flex-direction: column; }
.submit-info-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.submit-info-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.submit-step {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.2rem;
}
.submit-step:last-child { margin-bottom: 0; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem; flex-shrink: 0;
}
.step-num.orange { background: var(--orange-dim); color: var(--orange); }
.step-num.cyan   { background: var(--cyan-dim);   color: var(--cyan); }
.submit-step strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.submit-step p { font-size: .85rem; color: var(--text-muted); margin: 0; }

.submit-form-wrap {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-section { margin-bottom: 2rem; }
.form-section-title {
  font-size: 1rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .05em; margin-bottom: 1.2rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--border);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.req { color: var(--orange); }

/* Category Cards */
.category-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  padding: 1rem .75rem; border-radius: var(--radius);
  border: 2px solid var(--border); background: var(--bg);
  cursor: pointer; transition: all .2s; text-align: center;
  font-size: .85rem; font-weight: 600; color: var(--text-muted);
}
.cat-card:hover { border-color: var(--cyan); color: var(--cyan); }
.cat-card.active {
  border-color: var(--orange); background: var(--orange-dim);
  color: var(--orange);
}
.cat-icon { font-size: 1.6rem; }

@media (max-width: 900px) {
  .submit-layout { grid-template-columns: 1fr; }
  .submit-sidebar { display: none; }
}
@media (max-width: 600px) {
  .category-cards { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .submit-form-wrap { padding: 1.5rem; }
}

/* ── FORM INPUT CLASS (used by widget attrs) ── */
.form-input {
  background: var(--bg); border: 1.5px solid var(--border);
  color: var(--text); border-radius: var(--radius); padding: .8rem 1rem;
  font-size: 1rem; font-family: inherit; outline: none; width: 100%;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-dim);
}

/* ── BRAND NAME DISPLAY (About page — logo font style) ── */
.brand-name-display {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.brand-name-main {
  font-family: 'IRANYekanX', Tahoma, sans-serif;
  font-weight: 900;
  font-size: 3.2rem;
  letter-spacing: -.5px;
  background: linear-gradient(120deg, var(--orange) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.brand-name-sub {
  font-family: 'IRANYekanX', Tahoma, sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text-muted);
  display: block;
  letter-spacing: .2px;
}
[dir='rtl'] .brand-name-main,
[dir='rtl'] .brand-name-sub {
  font-family: 'IRANYekanXFaNum', Tahoma, sans-serif;
}
@media (max-width: 600px) {
  .brand-name-main { font-size: 2.2rem; }
  .brand-name-sub  { font-size: 1rem; }
}

/* ── PORTFOLIO CARD IMPROVEMENTS ── */
.card-project {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.card-project::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  opacity: 0;
  transition: opacity .25s;
}
.card-project:hover::before { opacity: 1; }
.card-project h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.card-project > p { flex: 1; }

.tech-stack-bar {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .8rem;
  padding: .35rem .7rem;
  background: var(--surface2);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .02em;
}

.card-view-btn {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.2rem;
  border-radius: 50px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: background .2s, gap .2s, transform .15s;
  align-self: flex-start;
}
.card-view-btn:hover {
  background: var(--cyan);
  gap: .7rem;
  transform: translateY(-1px);
}
.btn-arrow { font-size: 1rem; line-height: 1; }
[dir='rtl'] .card-view-btn { align-self: flex-end; }

/* ── VIDEO EMBED (Portfolio) ── */
.video-embed-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: #000;
}
.video-embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.card-badge-video {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.25);
}


/* ================================================================
   RESPONSIVE BREAKPOINTS — Added 2026-06-06
   ================================================================ */

/* ── TABLET (1024px) ── */
@media (max-width: 1024px) {
  .nav-inner { min-height: 85px !important; padding: 0.8rem 1.2rem !important; }
  .logo-img { height: 50px !important; }
  .hero-logo { height: 220px; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* ── MOBILE EXPANDED (768px) ── */
@media (max-width: 768px) {
  .logo-img { height: 44px !important; }
  .hero-logo { height: 170px; }
  .footer-logo { height: 100px !important; }
  .about-logo { height: 140px; }
  .section { padding: 4rem 0; }
  .section-title { font-size: 1.6rem; margin-bottom: 2.5rem; }
  .cta-box h2 { font-size: 1.5rem; }
  .hero-badge { font-size: .78rem; }
  .hero-sub { font-size: 1rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .about-stat-card .stat-num { font-size: 1.8rem; }
  .activity-grid { grid-template-columns: 1fr; }
}

/* ── SMALL MOBILE (480px) ── */
@media (max-width: 480px) {
  .logo-img { height: 38px; }
  .hero-logo { height: 130px; }
  .footer-logo { height: 80px !important; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.35rem; }
  .cta-box { padding: 2rem 1.2rem; }
  .cta-box h2 { font-size: 1.3rem; }
  .about-stats-row { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .about-stat-card { padding: 1rem; }
  .about-stat-card .stat-num { font-size: 1.6rem; }
  .card { padding: 1.4rem; }
  .btn-primary.btn-lg, .btn-outline.btn-lg { padding: .75rem 1.6rem; font-size: .95rem; }
  .page-header { padding: 2.5rem 0; }
  .page-header h1 { font-size: 1.7rem; }
  .about-intro { padding: 1.5rem; }
}


/* ================================================================
   DEVICE-SPECIFIC OPTIMIZATIONS — Iranian Market (2026-06-06)

   Data source: StatCounter Iran Mobile Screen Stats
   Top viewports in Iran:
     393px (18.48%) → iPhone 15 / 16 base
     384px  (7.77%) → Android mid-range
     412px  (6.72%) → Samsung Galaxy A/S series
     390px  (5.09%) → iPhone 14
     360px  (4.98%) → Redmi Note 16 / budget Android
   ================================================================ */

/* ── REDMI NOTE 16 & BUDGET ANDROID (≤360px) ──
   Physical: 1080×2480 / DPR 3 → CSS viewport ~360px
   Also covers: Samsung A02, Poco C55, Redmi A series           */
@media (max-width: 360px) {
  .container { padding: 0 .85rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-logo { height: 100px; }
  .hero-badge { font-size: .68rem; padding: .28rem .75rem; }
  .hero-sub { font-size: .85rem; }
  .hero-btns { gap: .6rem; }
  .section { padding: 2.5rem 0; }
  .section-title { font-size: 1.15rem; }
  .cta-box { padding: 1.4rem .9rem; }
  .cta-box h2 { font-size: 1.1rem; }
  .cta-box p { font-size: .88rem; }
  .card { padding: 1rem; }
  .card h3 { font-size: 1rem; }
  .card p { font-size: .88rem; }
  .card-icon { width: 44px; height: 44px; font-size: 1.35rem; }
  .btn-primary.btn-lg, .btn-outline.btn-lg { padding: .65rem 1.1rem; font-size: .88rem; }
  .about-stat-card { padding: .75rem; }
  .about-stat-card .stat-num { font-size: 1.35rem; }
  .about-stat-card .stat-label { font-size: .78rem; }
  .page-header { padding: 2rem 0; }
  .page-header h1 { font-size: 1.45rem; }
  .about-intro { padding: 1.2rem; gap: 1.5rem; }
  .footer-logo { height: 70px !important; }
  .footer { padding: 2.5rem 0; }
  .nav-inner { padding: .5rem .85rem; }
  .logo-img { height: 44px; }
}

/* ── iPHONE 14/15/16 + SAMSUNG GALAXY A/S (361px–430px) ──
   393px: iPhone 15/16 (DPR 3) — #1 in Iran (18.48%)
   412px: Samsung Galaxy A34/A54 (DPR 2.625)
   390px: iPhone 14                                             */
@media (min-width: 361px) and (max-width: 430px) {
  .hero-logo { height: 125px; }
  .about-stat-card .stat-num { font-size: 1.6rem; }
  .section-title { font-size: 1.3rem; }
  .cta-box h2 { font-size: 1.25rem; }
}

/* ── iPHONE PRO MAX / SAMSUNG ULTRA (431px–480px) ──
   430px: iPhone 15/16 Pro Max
   480px: Some Samsung Ultra foldables in cover mode            */
@media (min-width: 431px) and (max-width: 480px) {
  .hero-logo { height: 145px; }
  .cards-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   AURORA WAVE ART — 2026-06-06
   Dark hero + 5-layer animated SVG waves (cyan + orange)
   ================================================================ */

/* ── Dark hero base ── */
.hero {
  background: linear-gradient(rgba(5,15,25,0.55), rgba(5,15,25,0.65)), url(/static/img/hero_bg.png) center center / cover no-repeat !important;
  overflow: hidden;
  position: relative;
}

/* ── WebGL Canvas container ── */
#hero-webgl {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

/* ── Wave container — absolute, fills entire hero ── */
.hero-waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-waves svg {
  width: 100%;
  height: 100%;
}

/* ── Lift all hero content above waves ── */
.hero .hero-glow,
.hero .hero-content,
.hero .hero-circuit {
  position: relative;
  z-index: 2;
}

/* ── Text: white on dark background ── */
.hero .hero-title {
  color: #ffffff;
}
.hero .hero-title .text-orange {
  color: var(--orange);
}
.hero .hero-sub {
  color: rgba(255, 255, 255, 0.72);
}
.hero .hero-badge {
  background: rgba(0, 200, 204, 0.14);
  color: rgba(255, 255, 255, 0.90);
  border-color: rgba(0, 200, 204, 0.40);
  backdrop-filter: blur(6px);
}

/* ── Logo: screen blend + cyan+orange glow on dark ── */
.hero .hero-logo {
  mix-blend-mode: normal;
  filter: drop-shadow(0 0 24px rgba(0, 200, 204, 0.45))
          drop-shadow(0 0 55px rgba(232, 160, 32, 0.22));
}

/* ── Outline button: white on dark ── */
.hero .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.40);
}
.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.70);
  color: #ffffff;
}

/* ================================================================
   WAVE ANIMATIONS
   Each wave gets a unique speed + direction for organic movement
   ================================================================ */

/* hw1 — orange base: drifts left, 9s */
@keyframes hw1-anim {
  0%,100% { transform: translateX(0px)   scaleY(1.00); }
  50%      { transform: translateX(-58px) scaleY(1.04); }
}
/* hw2 — amber mid: drifts right, 7s */
@keyframes hw2-anim {
  0%,100% { transform: translateX(0px)  scaleY(1.00); }
  50%      { transform: translateX(70px) scaleY(0.96); }
}
/* hw3 — cyan main: breathes left-right-left, 11s */
@keyframes hw3-anim {
  0%   { transform: translateX(0px)   scaleY(1.00); }
  33%  { transform: translateX(-45px) scaleY(1.05); }
  66%  { transform: translateX(35px)  scaleY(0.95); }
  100% { transform: translateX(0px)   scaleY(1.00); }
}
/* hw4 — electric cyan glow: drifts right fast, 8s */
@keyframes hw4-anim {
  0%,100% { transform: translateX(0px)  scaleY(1.00); }
  50%      { transform: translateX(62px) scaleY(1.06); }
}
/* hw5 — orange accent: slow wide drift, 14s */
@keyframes hw5-anim {
  0%,100% { transform: translateX(0px)   scaleY(1.00); }
  50%      { transform: translateX(-80px) scaleY(1.08); }
}

/* Apply animations */
.hw {
  will-change: transform;
  transform-box: fill-box;
  transform-origin: center bottom;
}
.hw1 { animation: hw1-anim  9s ease-in-out infinite; }
.hw2 { animation: hw2-anim  7s ease-in-out infinite; }
.hw3 { animation: hw3-anim 11s ease-in-out infinite; }
.hw4 { animation: hw4-anim  8s ease-in-out infinite; }
.hw5 { animation: hw5-anim 14s ease-in-out infinite; }

/* ── Mobile: drop heavy glow + reduce motion ── */
@keyframes hw-sm-l { 0%,100%{transform:translateX(0)} 50%{transform:translateX(-22px)} }
@keyframes hw-sm-r { 0%,100%{transform:translateX(0)} 50%{transform:translateX(+22px)} }
@keyframes hw-sm-b { 0%,100%{transform:translateX(0)} 33%{transform:translateX(-18px)} 66%{transform:translateX(+15px)} }

@media (max-width: 768px) {
  .hw5 { display: none; }
  .hw4 { filter: none; }
  .hw1 { animation-name: hw-sm-l; animation-duration: 9s; }
  .hw2 { animation-name: hw-sm-r; animation-duration: 7s; }
  .hw3 { animation-name: hw-sm-b; animation-duration: 11s; }
  .hw4 { animation-name: hw-sm-l; animation-duration: 8s; }
}
@media (max-width: 480px) {
  .hw2, .hw5 { display: none; }
  .hero-waves { height: 55%; top: auto; bottom: 0; }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hw { animation: none; }
}


/* ================================================================
   HOUDINI RING PARTICLES — 2026-06-06
   Mouse-following ring effect (Chrome/Edge), progressive enhancement
   Adapted from antigravity.google / bramus CodePen rebuild
   ================================================================ */

/* Animatable custom properties */
@property --ring-x         { syntax: '<number>'; inherits: true;  initial-value: 50; }
@property --ring-y         { syntax: '<number>'; inherits: true;  initial-value: 50; }
@property --ring-radius    { syntax: '<number>'; inherits: false; initial-value: 130; }
@property --ring-radius-2  { syntax: '<number>'; inherits: false; initial-value: 70; }
@property --animation-tick { syntax: '<number>'; inherits: false; initial-value: 0; }

/* ── Cyan ring (outer, main) ── */
#hero-ring {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  --ring-x: 50;
  --ring-y: 50;
  --ring-interactive: 0;
  --ring-radius: 130;
  --ring-thickness: 480;
  --particle-count: 72;
  --particle-rows: 22;
  --particle-size: 2.2;
  --particle-color: #00C8CC;
  --particle-min-alpha: 0.04;
  --particle-max-alpha: 0.88;
  --seed: 42;

  background-image: paint(ring-particles);

  /* Ring slowly breathes in size */
  animation: ring-breathe-cyan 6s ease-in-out infinite alternate,
             ring-tick         8s linear         infinite;
}

/* ── Orange ring (inner, accent) via pseudo-element ── */
#hero-ring::after {
  content: '';
  position: absolute;
  inset: 0;

  --ring-radius: 70;
  --ring-thickness: 300;
  --particle-count: 48;
  --particle-rows: 14;
  --particle-size: 1.8;
  --particle-color: #E8A020;
  --particle-min-alpha: 0.03;
  --particle-max-alpha: 0.72;
  --seed: 99;

  background-image: paint(ring-particles);
  animation: ring-breathe-orange 8s ease-in-out infinite alternate,
             ring-tick           10s linear        infinite reverse;
}

/* Breathing animations for the two rings */
@keyframes ring-breathe-cyan   { 0% { --ring-radius:  90; } 100% { --ring-radius: 170; } }
@keyframes ring-breathe-orange { 0% { --ring-radius:  50; } 100% { --ring-radius: 100; } }
@keyframes ring-tick           { 0% { --animation-tick: 0; } 100% { --animation-tick: 1; } }

/* ── Mobile: disable (too GPU heavy, waves are enough) ── */
@media (max-width: 1024px) {
  #hero-ring { display: none; }
}

/* ════════════════════════════════════════════════
   HERO BACKGROUND IMAGE OVERRIDE  (2026-06-06)
   Replaces gradient + SVG waves with photo bg
   ════════════════════════════════════════════════ */
.hero {
  background: url(/static/img/hero_bg.png) center/cover no-repeat !important;
}
/* Swap dot-grid for a subtle dark overlay so text stays readable */
.hero::before {
  background: rgba(0, 0, 0, 0.32) !important;
  background-image: none !important;
  opacity: 1 !important;
  z-index: 1 !important;
}
/* Waves HTML was removed — hide rule kept as safety net */
.hero-waves { display: none !important; }
/* Content sits above the overlay */
.hero .hero-content { z-index: 2 !important; }
/* Canvas ring stays on top */
#hero-ring-canvas { z-index: 3 !important; }
/* Logo is transparent PNG — no blend mode needed (2026-06-06) */
.hero .hero-logo {
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 0 28px rgba(0, 200, 204, 0.55))
          drop-shadow(0 0 60px rgba(232, 160, 32, 0.28));
}

/* ── Hero BG position fix: shift image so diagonals fill top (2026-06-06) ── */
.hero {
  background-position: center top !important;
}

/* ════════════════════════════════════
   NAVBAR WHITE THEME  (2026-06-06)
   White bg, dark text, cyan accent
   ════════════════════════════════════ */
.navbar {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border-bottom: 2px solid var(--cyan) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.10) !important;
}
.nav-links a {
  color: #1a1a1a !important;
}
.nav-links a:hover {
  color: var(--cyan) !important;
}
.lang-btn {
  color: #1a1a1a !important;
  border-color: rgba(0,0,0,0.20) !important;
}
/* Logo in navbar: screen blend destroys the logo on white bg — use normal */
.navbar .logo-img {
  mix-blend-mode: normal !important;
}
/* Mobile nav menu stays readable */
@media (max-width: 768px) {
  .nav-links a {
    color: #1a1a1a !important;
  }
}

/* -- Mobile navbar layout + overlay -- */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-inner { justify-content: space-between; gap: 0; padding: 0.5rem 1rem; min-height: 72px !important; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
    padding-top: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .nav-links.active { display: flex; }
  .nav-links a {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    padding: 0.4rem 1.5rem !important;
    border-radius: 12px !important;
    transition: background .2s !important;
  }
  .nav-links a:hover { background: var(--surface2) !important; }
  .nav-actions .btn-primary { display: none; }
}

/* ── Logo text beside icon ── */
.nav-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.footer-brand-logo { display: flex; align-items: center; gap: 0.6rem; }
.footer-logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  white-space: nowrap;
}

/* ── Logo two-line text style ── */
.nav-logo-text,
.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0;
}
.logo-name-main {
  font-weight: 800;
  font-size: 1.45rem;
  color: #00C8CC !important;
  letter-spacing: -0.02em;
}
.logo-name-sub {
  font-size: 0.72rem;
  color: #9ca3af;
  font-weight: 400;
  white-space: nowrap;
}
.footer-brand-logo .logo-name-sub {
  color: rgba(255,255,255,0.5);
}

/* ── Global font size bump ── */
html { font-size: 17.5px !important; }

/* ── Footer Redesign (Airocup style) ── */
.footer { background: #0d1117; padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.footer-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(0,200,204,0.3); border-radius: 14px; padding: 1.8rem; }
.footer-card-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-card-title { color: #5eead4; font-size: 1rem; font-weight: 700; margin-bottom: 1.2rem; text-align: inherit; }
.footer-contact p { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin-bottom: 0.6rem; }
.footer-contact a { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer-contact a:hover { color: #5eead4; }
.footer-desc { color: rgba(255,255,255,0.78); font-size: 0.88rem; margin-top: 0.8rem; }
.footer-links-list { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links-list a { color: rgba(255,255,255,0.9); font-size: 0.92rem; text-decoration: none; transition: color 0.2s; }
.footer-links-list a:hover { color: #5eead4; }
.footer-copy { color: rgba(255,255,255,0.78); }
.footer-copy a { color: rgba(255,255,255,0.78); }

.seo-internal-links {
  margin-top: 1.5rem;
  color: var(--text-muted, #64748b);
  font-size: .98rem;
}
.seo-internal-links a {
  color: var(--cyan, #00aeb3);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-copy { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.2rem 0; text-align: center; color: rgba(255,255,255,0.78); font-size: 0.82rem; display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.footer-copy a { color: rgba(255,255,255,0.78); text-decoration: none; }
.footer-copy-divider { opacity: 0.4; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Service cards — alternating orange / cyan ── */
.services .card:nth-child(odd) {
  background: linear-gradient(135deg, #E8A020 0%, #c98a10 100%);
  box-shadow: 0 4px 20px rgba(232,160,32,0.28);
}
.services .card:nth-child(odd):hover {
  box-shadow: 0 12px 40px rgba(232,160,32,0.45);
}
.services .card:nth-child(even) {
  background: linear-gradient(135deg, #00C8CC 0%, #008f92 100%);
  box-shadow: 0 4px 20px rgba(0,200,204,0.28);
}
.services .card:nth-child(even):hover {
  box-shadow: 0 12px 40px rgba(0,200,204,0.45);
}

/* ── Service cards — dark bg, orange/cyan accent inside ── */
.services .card {
  background: #111827 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25) !important;
}
.services .card:nth-child(odd) {
  border-color: rgba(232,160,32,0.35) !important;
  box-shadow: 0 4px 24px rgba(232,160,32,0.10) !important;
}
.services .card:nth-child(odd) .card-icon {
  background: rgba(232,160,32,0.15) !important;
  color: #E8A020 !important;
}
.services .card:nth-child(odd) h3 { color: #E8A020 !important; }
.services .card:nth-child(odd):hover {
  border-color: rgba(232,160,32,0.7) !important;
  box-shadow: 0 12px 40px rgba(232,160,32,0.22) !important;
}
.services .card:nth-child(even) {
  border-color: rgba(0,200,204,0.35) !important;
  box-shadow: 0 4px 24px rgba(0,200,204,0.10) !important;
}
.services .card:nth-child(even) .card-icon {
  background: rgba(0,200,204,0.15) !important;
  color: #00C8CC !important;
}
.services .card:nth-child(even) h3 { color: #00C8CC !important; }
.services .card:nth-child(even):hover {
  border-color: rgba(0,200,204,0.7) !important;
  box-shadow: 0 12px 40px rgba(0,200,204,0.22) !important;
}
.services .card p { color: rgba(255,255,255,0.72) !important; }

/* ── Services clean grid (موضوعات فعالیت) ── */
.services-clean { background: #f9fafb; }
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  margin-top: 1.5rem;
}
.service-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.service-icon-wrap {
  font-size: 1.6rem;
  min-width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.service-item:nth-child(odd) .service-icon-wrap { background: rgba(232,160,32,0.12); }
.service-item:nth-child(even) .service-icon-wrap { background: rgba(0,200,204,0.12); }
.service-item-body h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}
.service-item-body p {
  font-size: 0.83rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 1024px) { .services-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-list-grid { grid-template-columns: 1fr; } }

/* ── Service rich cards: bullet list + CTA link ── */
.svc-subtitle { font-size: 0.82rem; color: #6b7280; line-height: 1.5; margin: 0.15rem 0 0.4rem; }
.svc-list { list-style: none; padding: 0; margin: 0 0 0.75rem; }
.svc-list li { font-size: 0.81rem; color: #6b7280; padding: 0.18rem 0; line-height: 1.5; }
.svc-list li::before { content: '✦ '; color: var(--orange); font-size: 0.65rem; }
.service-item:nth-child(even) .svc-list li::before { color: var(--cyan); }
.svc-cta { display: inline-block; font-size: 0.82rem; font-weight: 700; color: #8a5700; text-decoration: none; margin-top: 0.1rem; transition: color 0.2s; }
.svc-cta:hover { color: #00666a; }
.service-item:nth-child(even) .svc-cta { color: #00666a; }
.service-item:nth-child(even) .svc-cta:hover { color: #8a5700; }
[dir=rtl] .svc-list li::before { content: '✦ '; }

/* ══════════════════════════════════════════════
   SUBMIT PAGE — v2 improvements
══════════════════════════════════════════════ */

/* Page header flow indicator */
.submit-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.submit-flow { display: flex; align-items: center; gap: 0.5rem; }
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.flow-num { width: 2rem; height: 2rem; border-radius: 50%; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; }
.flow-active .flow-num { background: var(--orange); color: #fff; }
.flow-active { color: var(--orange); }
.flow-arrow { font-size: 1.2rem; color: var(--border); font-weight: 300; }

/* Form section numbered header */
.fsec-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.2rem; }
.fsec-num { width: 2rem; height: 2rem; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #c98a10); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 800; flex-shrink: 0; }
.form-section:nth-child(even) .fsec-num { background: linear-gradient(135deg, var(--cyan), #008f92); }

/* Category grid — 3x3 */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.85rem 0.4rem 0.75rem; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; transition: all 0.18s; text-align: center; background: var(--bg); }
.cat-card .cat-icon { font-size: 1.5rem; line-height: 1; }
.cat-card .cat-title { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); line-height: 1.3; }
.cat-card:hover { border-color: var(--cyan); background: rgba(0,200,204,0.04); }
.cat-card:hover .cat-title { color: var(--cyan); }
.cat-card.active { border-color: var(--orange); background: rgba(232,160,32,0.06); box-shadow: 0 0 0 3px rgba(232,160,32,0.12); }
.cat-card.active .cat-title { color: var(--orange); font-weight: 700; }

/* Label with character counter */
.label-flex { display: flex; justify-content: space-between; align-items: center; }
.char-counter { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Form hint text */
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }

/* Telegram label */
.telegram-label-inner { display: inline-flex; align-items: center; gap: 0.35rem; }

/* Submit button */
.btn-submit-main { width: 100%; padding: 0.95rem 1.5rem; background: linear-gradient(135deg, var(--orange) 0%, #c98a10 100%); color: #fff; border: none; border-radius: 50px; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
.btn-submit-main:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,160,32,0.35); }
.btn-submit-main:disabled { opacity: 0.7; transform: none; cursor: not-allowed; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin-icon { animation: spin 0.8s linear infinite; }

/* Sidebar improvements */
.submit-steps-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.75rem; }
.submit-step { display: flex; gap: 0.85rem; align-items: flex-start; }
.submit-step strong { display: block; font-size: 0.92rem; font-weight: 700; margin-bottom: 0.15rem; }
.submit-step p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Trust list */
.trust-list { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }
.trust-list li { font-size: 0.88rem; color: var(--text); display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.5; }
.trust-check { color: var(--cyan); font-weight: 800; font-size: 1rem; flex-shrink: 0; }

/* Form row fix */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Responsive */
@media (max-width: 600px) {
  .submit-header-inner { flex-direction: column; align-items: flex-start; }
  .submit-flow { display: none; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .cat-card { padding: 0.7rem 0.3rem; }
  .cat-card .cat-icon { font-size: 1.3rem; }
  .form-row { grid-template-columns: 1fr; }
}


/* ── Submit Page v3: Full-width category grid ── */
.cat-full-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
}
.category-grid-full {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: .75rem;
  margin-top: 1.25rem;
}
@media (max-width: 1200px) {
  .category-grid-full { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 768px) {
  .category-grid-full { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .category-grid-full { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════
   SUBMIT PAGE v4 — Full Fix (overrides all previous)
   ════════════════════════════════════════════════════ */

/* Fix RTL column order: form wide on right, sidebar narrow on left */
.submit-layout {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 960px) {
  .submit-layout { grid-template-columns: 1fr; }
  .submit-sidebar { display: none; }
}

/* Horizontal Project Details layout */
.details-h-grid {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 1rem;
  align-items: start;
}
.details-h-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.details-h-grid textarea {
  min-height: 155px;
  resize: vertical;
}
@media (max-width: 700px) {
  .details-h-grid { grid-template-columns: 1fr; }
}

/* ── Jalali Datepicker – Dark Theme Override ── */
jdp-container {
  background: var(--surface) !important;
  border: 1.5px solid var(--border) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.4) !important;
}
jdp-container .jdp-month,
jdp-container .jdp-month input,
jdp-container .jdp-month select,
jdp-container .jdp-year,
jdp-container .jdp-year input,
jdp-container .jdp-year select {
  background: var(--surface) !important;
  color: var(--text) !important;
}
jdp-container .jdp-months,
jdp-container .jdp-years { color: var(--text) !important; fill: var(--text) !important; }
jdp-container .jdp-day,
jdp-container .jdp-day-name { color: var(--text) !important; }
jdp-container .jdp-day-name { background-color: rgba(255,255,255,.07) !important; }
jdp-container .jdp-day.today { border-color: var(--cyan) !important; }
jdp-container .jdp-day.selected {
  background-color: var(--orange) !important;
  color: #fff !important;
}
jdp-container .jdp-day:not(.disabled-day):hover {
  background: rgba(0,200,204,.15) !important;
}
jdp-container .jdp-btn-close,
jdp-container .jdp-btn-empty,
jdp-container .jdp-btn-today {
  background: var(--cyan) !important;
  color: #fff !important;
}
jdp-container .jdp-icon-minus,
jdp-container .jdp-icon-plus {
  border-color: var(--border) !important;
  background: var(--surface) !important;
}
jdp-container .jdp-icon-minus svg,
jdp-container .jdp-icon-plus svg { fill: var(--text) !important; }
jdp-container .jdp-day.holly-day,
jdp-container .jdp-day.last-week { color: #ef4444 !important; }

/* ── Service Info Panel ── */
.service-info-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: .9rem 1.25rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.service-info-panel.svc-info-in {
  opacity: 1;
  transform: translateY(0);
}
.svc-info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.svc-info-body strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: .2rem;
}
.svc-info-body p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════
   HEADER REFRESH — compact, clearer, production override
   ════════════════════════════════════════════════════ */
.navbar {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--text) !important;
  border-bottom: 1px solid rgba(0, 200, 204, 0.24) !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  min-height: 84px !important;
  padding: .72rem 1.5rem !important;
  gap: 1.25rem;
}
.navbar .logo-img {
  height: 72px !important;
  filter: drop-shadow(0 8px 18px rgba(0, 200, 204, 0.12));
}
.nav-logo {
  gap: .75rem;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  color: var(--text) !important;
  line-height: 1.15;
}
.nav-logo-text .logo-name-main {
  font-size: 1.03rem;
  font-weight: 900;
}
.nav-logo-text .logo-name-sub {
  font-size: .73rem;
  font-weight: 700;
  color: var(--text-muted);
}
.nav-links {
  gap: .35rem !important;
  background: rgba(248, 250, 252, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  padding: .38rem !important;
  margin: 0 auto !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.nav-links a {
  color: var(--text) !important;
  font-size: .93rem !important;
  font-weight: 800 !important;
  padding: .48rem .86rem !important;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
  transition: color .2s, background .2s, box-shadow .2s, transform .15s !important;
}
.nav-links a::after {
  display: none !important;
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--cyan) !important;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.nav-links .nav-school-link {
  color: #087f83 !important;
  background: linear-gradient(135deg, rgba(0, 200, 204, 0.14), rgba(232, 160, 32, 0.12));
  border: 1px solid rgba(0, 200, 204, 0.20);
}
.nav-actions {
  gap: .6rem !important;
}
.nav-actions > .btn-primary {
  padding: .58rem 1.15rem;
  font-size: .9rem;
  box-shadow: 0 10px 24px rgba(232,160,32,0.28);
}
.language-menu-trigger {
  min-width: auto;
  padding: .5rem .72rem;
  border-color: rgba(0, 200, 204, 0.22);
  box-shadow: 0 8px 18px rgba(15,23,42,.07);
}
.menu-toggle {
  background: rgba(0, 200, 204, 0.08);
  border: 1px solid rgba(0, 200, 204, 0.18);
}
.menu-toggle:hover {
  background: rgba(0, 200, 204, 0.14);
}
.menu-toggle span {
  background: var(--text) !important;
}

@media (max-width: 1120px) {
  .nav-logo-text .logo-name-sub { display: none; }
  .nav-links a { font-size: .86rem !important; padding: .45rem .66rem !important; }
  .nav-actions > .btn-primary { padding-inline: .9rem; }
}

@media (max-width: 920px) {
  .nav-logo-text { display: none; }
  .nav-links { gap: .2rem !important; }
  .nav-links a { padding-inline: .55rem !important; }
}

@media (max-width: 768px) {
  .nav-inner {
    min-height: 70px !important;
    padding: .55rem 1rem !important;
  }
  .navbar .logo-img {
    height: 56px !important;
  }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    margin: 0 !important;
    padding: 6rem 1.4rem 2rem !important;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 20% 10%, rgba(0, 200, 204, 0.14), transparent 30%),
      rgba(255,255,255,0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: .75rem !important;
    overflow-y: auto;
  }
  .nav-links.active { display: flex; }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    font-size: 1.08rem !important;
    border-radius: 16px !important;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
  }
  .nav-links .nav-school-link {
    background: linear-gradient(135deg, rgba(0, 200, 204, 0.18), rgba(232, 160, 32, 0.16));
  }
  .language-menu-trigger span {
    display: none;
  }
  .language-menu-panel {
    inset-inline-end: 0;
    width: min(260px, 88vw);
  }
}
.footer-enamad { width: 100%; margin-top: 1rem; min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .35rem; text-align: center; }
.enamad-badge { display: inline-grid; place-items: center; width: 8rem; min-height: 8rem; padding: .4rem; border: 1px solid rgba(255,255,255,.16); border-radius: 1rem; background: rgba(255,255,255,.06); color: var(--text-muted); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.enamad-badge:hover, .enamad-badge:focus-visible { transform: translateY(-2px); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.1); }
.footer-enamad img { display: block; width: 7.25rem; max-width: 100%; height: auto; }
.enamad-verification-link { display: block; max-width: 100%; margin-top: .35rem; color: var(--text-muted); font-size: .75rem; line-height: 1.7; overflow-wrap: anywhere; text-decoration: underline; }

/* ── Hamrah Meet landing ── */
@media (min-width: 701px) {
  body.meet-page .meet-landing-container {
    width: min(1720px, calc(100% - clamp(2rem, 5vw, 8rem)));
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
  }
}

.meet-hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 5.5rem;
  background: radial-gradient(circle at 85% 20%, rgba(0,200,204,.16), transparent 30%), linear-gradient(135deg, #07131c 0%, #102b39 58%, #0b5960 100%);
  color: #fff;
}
.meet-hero::after { content: ''; position: absolute; width: 28rem; height: 28rem; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; inset-inline-end: -10rem; bottom: -16rem; }
.meet-hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); align-items: center; gap: 4rem; position: relative; z-index: 1; }
.meet-hero-copy { max-width: 650px; }
.meet-hero-copy h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.05; margin: 1rem 0 1.25rem; }
.meet-hero-copy p { color: rgba(255,255,255,.78); font-size: 1.12rem; line-height: 2; max-width: 570px; }
.meet-trust-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.meet-trust-row span { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); border-radius: 999px; padding: .55rem .8rem; color: rgba(255,255,255,.84); font-size: .84rem; }
.meet-preview { padding: 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: 1.5rem; background: rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.25); backdrop-filter: blur(16px); }
.meet-preview-top, .meet-preview-controls { display: flex; align-items: center; gap: .7rem; padding: .55rem .4rem .8rem; }
.meet-preview-top small { margin-inline-start: auto; color: rgba(255,255,255,.6); }
.meet-live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #5eead4; box-shadow: 0 0 0 .25rem rgba(94,234,212,.14); }
.meet-preview-stage { min-height: 265px; display: grid; place-items: center; align-content: center; gap: .8rem; border-radius: 1rem; background: linear-gradient(145deg, #163c4d, #08232d); color: rgba(255,255,255,.7); }
.meet-preview-subtitle { max-width: 260px; color: rgba(255,255,255,.52); font-size: .72rem; text-align: center; line-height: 1.6; }
.meet-avatar { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 1.5rem; background: linear-gradient(135deg, var(--cyan), var(--orange)); color: #fff; font-size: 2.4rem; font-weight: 900; box-shadow: 0 16px 35px rgba(0,0,0,.25); }
.meet-brand-mark { display: block; width: clamp(7.5rem, 17vw, 10.5rem); height: auto; border-radius: 1.45rem; box-shadow: 0 1rem 2.25rem rgba(0,0,0,.32); }
.meet-preview-controls { padding-bottom: .15rem; }
.meet-preview-controls i, .meet-preview-controls b { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.meet-preview-controls b { margin-inline-start: auto; background: var(--orange); color: #fff; }
.meet-preview-controls i { position: relative; }
.meet-preview-controls i::after { content: ''; display: block; width: .72rem; height: .72rem; border: 2px solid rgba(255,255,255,.8); border-radius: .18rem; }
.meet-control-mic::before, .meet-control-camera::before, .meet-control-screen::before, .meet-control-chat::before { content: ''; position: absolute; inset: .55rem .72rem; border-radius: 999px; background: rgba(255,255,255,.72); }
.meet-control-camera::before { border-radius: .18rem; }
.meet-control-screen::before { border-radius: .08rem; }
.meet-control-chat::before { width: .68rem; height: .5rem; inset: .62rem .66rem; border-radius: .15rem; }
.btn-icon { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-inline-start: .3rem; border-radius: 50%; background: currentColor; color: var(--surface, #fff); font-size: .72rem; line-height: 1; vertical-align: -.08rem; }
.btn-primary .btn-icon { color: #0f6870; background: rgba(255,255,255,.9); }
.btn-outline .btn-icon { color: #fff; background: rgba(255,255,255,.18); }
.section-heading { max-width: 680px; margin-bottom: 2rem; }
.section-heading h2 { margin: .45rem 0 .7rem; }
.section-heading p { color: var(--text-muted); line-height: 1.9; }
.eyebrow { color: var(--cyan); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.meet-capability-card { position: relative; overflow: hidden; }
.meet-capability-card p { color: var(--text-muted); line-height: 1.8; }
.meet-about { background: var(--surface2); }
.meet-about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.meet-info-card { min-height: 245px; display: flex; flex-direction: column; }
.meet-info-card p, .meet-feature-list p { color: var(--text-muted); line-height: 1.85; }
.meet-info-card .text-link { margin-top: auto; color: var(--cyan); font-weight: 800; text-decoration: none; }
.meet-info-card .text-link i { margin-inline-start: .35rem; }
.meet-features { background: var(--surface); }
.meet-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.meet-feature-list article { display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; padding: 1.15rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface2); }
.meet-feature-list article > i { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: rgba(0,200,204,.12); color: var(--cyan); }
.meet-feature-list h3 { margin: 0 0 .35rem; }
.meet-feature-list p { margin: 0; }
.meet-card-number { position: absolute; inset-inline-end: 1.1rem; top: 1.1rem; color: rgba(0,200,204,.25); font-size: 1.5rem; font-weight: 900; }
.meet-steps { background: var(--surface2); }
.meet-steps-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.meet-steps-grid h2 { margin: .5rem 0 .8rem; }
.meet-steps-grid p { color: var(--text-muted); line-height: 1.9; }
.meet-step-list { display: grid; gap: .75rem; }
.meet-step-list div { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 1rem; background: #fff; box-shadow: var(--shadow-sm); font-weight: 800; }
.meet-step-list b { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: .7rem; background: rgba(0,200,204,.12); color: var(--cyan); }
.meet-create-card { max-width: 680px; margin: 2rem auto; }
.meet-create-card form { display: grid; gap: .85rem; }
.meet-create-card input { width: 100%; padding: .9rem 1rem; border: 1px solid var(--border); border-radius: .8rem; font: inherit; }
.meet-host-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.meet-host-card { min-height: 190px; }
.meet-host-card .invite-row { display: flex; gap: .55rem; align-items: center; margin: .8rem 0; }
.meet-host-card .invite-row code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.meet-host-actions { margin: .8rem 0; }
.meet-report-grid { display: grid; grid-template-columns: minmax(260px,.75fr) minmax(0,1.25fr); gap: 1rem; }
.meet-settings-form { display: grid; gap: .9rem; }
.meet-policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .7rem; padding: .8rem; border: 1px solid var(--border); border-radius: .8rem; background: var(--surface-soft, rgba(127,127,127,.05)); }
.meet-policy-grid label { display: flex; gap: .45rem; align-items: center; }
.meet-settings-form input[type=password] { padding: .75rem; border: 1px solid var(--border); border-radius: .7rem; font: inherit; }
.meet-status-actions { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.meet-attendance-table { display: grid; gap: .45rem; }
.meet-report-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.meet-report-filters label { display: grid; gap: .3rem; min-width: 10rem; color: var(--text-muted); font-size: .85rem; }
.meet-report-filters input { min-height: 2.6rem; padding: .45rem .65rem; border: 1px solid var(--border); border-radius: .65rem; background: var(--background); color: var(--text); }
.meet-diagnostics-list { display: grid; gap: .5rem; margin: .75rem 0 1rem; }
.meet-diagnostic-row { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: .7rem; background: var(--background); }
.meet-updates { background: linear-gradient(180deg, var(--surface) 0%, var(--surface2) 100%); }
.meet-updates-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.meet-update-card { display: flex; flex-direction: column; gap: 1rem; min-height: 220px; padding: 1.25rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--background, #fff); box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.meet-update-card:hover { transform: translateY(-3px); border-color: rgba(0, 200, 204, .45); box-shadow: var(--shadow-md, 0 1rem 2rem rgba(15, 23, 42, .08)); }
.meet-update-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: .8rem; background: rgba(0, 200, 204, .12); color: var(--cyan); font-size: 1.15rem; }
.meet-update-card h3 { margin: 0 0 .45rem; font-size: 1.02rem; }
.meet-update-card p { margin: 0; color: var(--text-muted); line-height: 1.85; }
.meet-attendance-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: .75rem; align-items: center; padding: .7rem; border-bottom: 1px solid var(--border); }
.meet-attendance-head { color: var(--text-muted); font-size: .82rem; }
.meet-pending-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .9rem; padding: .8rem; border: 1px solid rgba(232,160,32,.35); border-radius: .8rem; background: rgba(232,160,32,.06); }
.meet-pending-row span { color: var(--text-muted); margin-inline-end: auto; }
@media (max-width: 800px) { .meet-report-grid { grid-template-columns: 1fr; } .meet-attendance-row { grid-template-columns: 1fr; gap: .25rem; } }
@media (max-width: 600px) { .meet-host-card .invite-row { align-items: stretch; flex-direction: column; } .meet-host-card .invite-row code { width: 100%; } }
@media (max-width: 800px) { .meet-hero { padding: 4.5rem 0 3.5rem; } .meet-hero-grid, .meet-steps-grid { grid-template-columns: 1fr; gap: 2rem; } .meet-preview-stage { min-height: 210px; } }
@media (max-width: 980px) { .meet-updates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .meet-updates-grid { grid-template-columns: 1fr; } .meet-update-card { min-height: 0; } }

/* Keep long localized content inside the viewport and collapse Meet cards on
   phones. Every grid child needs min-width:0 so translated text can wrap. */
.meet-hero-grid > *,
.meet-about-grid > *,
.meet-feature-list > *,
.meet-updates-grid > *,
.meet-capabilities .cards-grid > *,
.meet-steps-grid > * {
  min-width: 0;
}

.meet-hero-copy h1,
.meet-about-grid h2,
.meet-feature-list h3,
.meet-capability-card h2,
.meet-update-card h3,
.meet-steps-grid h2 {
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .meet-about-grid,
  .meet-feature-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .meet-info-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .meet-hero-copy h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .meet-hero .hero-btns {
    align-items: stretch;
    flex-direction: column;
  }

  .meet-hero .hero-btns > a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding-inline: 1rem;
    text-align: center;
    white-space: normal;
  }

  .meet-preview,
  .meet-feature-list article,
  .meet-capability-card,
  .meet-info-card,
  .meet-update-card {
    max-width: 100%;
  }
}

/* ── School platform landing refresh ── */
.school-hero-modern { overflow: hidden; background: radial-gradient(circle at 85% 18%, rgba(0, 200, 204, .17), transparent 28%), linear-gradient(135deg, #07131c 0%, #123746 58%, #0b5960 100%); }
.school-hero-modern .seo-hero-grid { gap: 3.5rem; }
.school-hero-modern h1 { max-width: 760px; color: #fff; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.12; letter-spacing: -.04em; }
.school-hero-modern .seo-hero-grid > div:first-child > p { max-width: 680px; color: rgba(255,255,255,.78); font-size: 1.08rem; line-height: 2; }
.school-hero-modern .hero-badge { background: rgba(0, 200, 204, .14); border-color: rgba(94, 234, 212, .34); }
.school-hero-modern .seo-summary-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 1.35rem; background: rgba(255,255,255,.10); box-shadow: 0 28px 80px rgba(0,0,0,.28); backdrop-filter: blur(16px); }
.school-hero-modern .seo-summary-card::after { content: ''; position: absolute; width: 12rem; height: 12rem; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; inset-inline-end: -6rem; bottom: -7rem; }
.school-hero-card-head { display: grid; grid-template-columns: auto 1fr; gap: .2rem .55rem; align-items: center; margin: -.4rem -.2rem 1rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.school-hero-card-head .school-live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #5eead4; box-shadow: 0 0 0 .25rem rgba(94,234,212,.14); grid-row: span 2; }
.school-hero-card-head small { color: rgba(255,255,255,.58); font-size: .76rem; }
.school-hero-card-head strong { color: #fff; font-size: .9rem; }
.school-hero-modern .seo-summary-card h2 { color: #fff; font-size: 1.25rem; }
.school-hero-modern .seo-summary-card li { display: flex; align-items: flex-start; gap: .65rem; color: rgba(255,255,255,.82); }
.school-hero-modern .seo-summary-card li i { width: 1.1rem; margin-top: .22rem; color: #5eead4; }
.school-platform-trust { background: #07131c; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.school-platform-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; padding: 1rem 0; }
.school-platform-trust-grid span { display: flex; align-items: center; justify-content: center; gap: .5rem; color: rgba(255,255,255,.78); font-size: .82rem; text-align: center; }
.school-platform-trust-grid i { color: #5eead4; }
.school-section-intro { max-width: 700px; margin-bottom: 2rem; }
.school-section-intro .section-title { margin-bottom: .65rem; }
.school-section-intro > p { color: var(--text-muted); line-height: 1.9; }
.school-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.school-capability-card { position: relative; display: flex; flex-direction: column; min-height: 245px; padding: 1.3rem; overflow: hidden; border: 1px solid var(--border); border-radius: 1.2rem; background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.school-capability-card:hover { transform: translateY(-4px); border-color: rgba(0, 200, 204, .42); box-shadow: 0 1.3rem 2.8rem rgba(15,23,42,.10); }
.school-capability-card-accent { border-color: rgba(0, 143, 146, .4); background: linear-gradient(145deg, rgba(0, 200, 204, .12), var(--surface) 65%); }
.school-capability-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1rem; border-radius: .85rem; background: rgba(0, 200, 204, .12); color: var(--cyan); font-size: 1.1rem; }
.school-capability-card h3 { margin: 0 0 .55rem; font-size: 1.05rem; }
.school-capability-card p { margin: 0; color: var(--text-muted); line-height: 1.85; }
.school-capability-card .school-card-link { margin-top: auto; padding-top: 1rem; color: var(--cyan); font-weight: 800; text-decoration: none; }
.school-capability-card .school-card-link i { margin-inline-start: .35rem; }
.school-platform-flow { background: var(--surface2); }
.school-platform-flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.school-platform-flow-grid > div { position: relative; min-height: 190px; padding: 1.2rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
.school-platform-flow-grid b { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: 1rem; border-radius: .7rem; background: linear-gradient(135deg, var(--orange), #e8b04a); color: #fff; }
.school-platform-flow-grid h3 { margin: 0 0 .45rem; }
.school-platform-flow-grid p { margin: 0; color: var(--text-muted); line-height: 1.8; }
@media (max-width: 980px) { .school-platform-trust-grid { grid-template-columns: repeat(2, 1fr); } .school-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .school-platform-flow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .school-platform-trust-grid, .school-capability-grid, .school-platform-flow-grid { grid-template-columns: 1fr; } .school-platform-trust-grid { gap: .65rem; } .school-platform-trust-grid span { justify-content: flex-start; text-align: start; } .school-capability-card { min-height: 0; } .school-platform-flow-grid > div { min-height: 0; } .school-hero-modern h1 { font-size: clamp(2rem, 10vw, 3rem); } }

/* ── Responsive navigation rail ──
   The global .container is intentionally narrow for page copy; the header
   needs a wider rail to accommodate the Hamrah product family. */
.nav-inner {
  width: min(100%, 1440px);
  max-width: 1440px;
  min-height: 80px !important;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  margin-inline: auto;
  padding: .58rem 1.25rem !important;
}

.navbar .logo-img { height: 62px !important; }
.nav-logo { gap: .6rem; }
.nav-logo-text .logo-name-main { font-size: 1rem; }
.nav-logo-text .logo-name-sub { font-size: .7rem; }

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .15rem !important;
  margin: 0 !important;
  padding: .28rem !important;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 999px;
  background: rgba(248, 250, 252, .86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.1rem;
  padding: .46rem .58rem !important;
  color: var(--text) !important;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: clamp(.74rem, .78vw, .9rem) !important;
  font-weight: 800 !important;
  line-height: 1;
  white-space: nowrap;
}

.nav-links .nav-school-link {
  color: #087f83 !important;
  background: linear-gradient(135deg, rgba(0, 200, 204, .12), rgba(232, 160, 32, .09));
  border-color: rgba(0, 200, 204, .18);
}

.nav-links .nav-menu-cta { display: none; }

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem !important;
}

.nav-actions > .btn-primary {
  padding: .56rem .92rem;
  font-size: .84rem;
  white-space: nowrap;
}

.language-menu { position: relative; z-index: 1003; }

.language-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  min-width: 4.15rem;
  padding: .44rem .58rem;
  color: var(--text);
  border: 1px solid rgba(0, 200, 204, .24);
  border-radius: .82rem;
  background: linear-gradient(145deg, #fff, #f1fbfb);
  box-shadow: 0 8px 18px rgba(15,23,42,.07);
}

.language-current { color: #087f83; font-size: .75rem; font-weight: 900; letter-spacing: .04em; }
.language-flag { display: block; width: 1.25rem; height: .94rem; object-fit: cover; border: 1px solid rgba(15,23,42,.13); border-radius: .18rem; box-shadow: 0 1px 3px rgba(15,23,42,.12); }

.language-menu-panel {
  width: min(18.5rem, calc(100vw - 1.5rem));
  max-height: min(31rem, calc(100vh - 6rem));
  padding: .5rem;
  border: 1px solid rgba(15,23,42,.11);
  border-radius: 1rem;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 48px rgba(15,23,42,.18);
  backdrop-filter: blur(18px);
}

.language-menu-label {
  display: block;
  padding: .4rem .55rem .55rem;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.language-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .58rem;
  padding: .6rem .65rem;
  border: 1px solid transparent;
  border-radius: .72rem;
  color: var(--text);
  font-size: .9rem;
  font-weight: 800;
}

.language-option small { color: var(--text-muted); font-size: .7rem; font-weight: 900; }
.language-option i { color: #087f83; font-size: .72rem; }
.language-option:hover,
.language-option:focus-visible,
.language-option.active { color: #087f83; border-color: rgba(0,200,204,.22); background: linear-gradient(135deg, rgba(0,200,204,.12), rgba(232,160,32,.08)); }

.language-menu-trigger:focus-visible,
.language-option:focus-visible,
.nav-links a:focus-visible { outline: 3px solid rgba(0,200,204,.36); outline-offset: 2px; }

@media (max-width: 1240px) {
  .nav-inner { min-height: 76px !important; grid-template-columns: auto auto 1fr auto; padding: .55rem 1rem !important; }
  .menu-toggle { display: flex !important; order: 0; position: relative; z-index: 1004; }
  .nav-logo { order: 1; margin-inline-end: auto; }
  .nav-logo-text .logo-name-sub { display: none; }
  .nav-links,
  .nav-links.active {
    display: none !important;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    margin: 0 !important;
    padding: 6.2rem 1.25rem 2rem !important;
    border: 0;
    border-radius: 0;
    background: radial-gradient(circle at 20% 8%, rgba(0,200,204,.14), transparent 30%), rgba(255,255,255,.985);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: .65rem !important;
    overflow-y: auto;
    z-index: 1000;
  }
  .nav-links.active { display: flex !important; }
  .nav-links a,
  .nav-links .nav-school-link,
  .nav-links .nav-menu-cta {
    display: flex;
    min-height: 3.1rem;
    padding: .7rem 1rem !important;
    border: 1px solid var(--border);
    border-radius: .9rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: var(--text) !important;
    font-size: 1rem !important;
  }
  .nav-links .nav-school-link { background: linear-gradient(135deg, rgba(0,200,204,.15), rgba(232,160,32,.11)); }
  .nav-links .nav-menu-cta { display: flex; color: #fff !important; border-color: transparent; background: linear-gradient(135deg, var(--orange), #c98a10); box-shadow: 0 10px 22px rgba(232,160,32,.25); }
  .nav-actions { order: 3; }
  .nav-actions > .btn-primary { display: none !important; }
}

@media (max-width: 560px) {
  .nav-inner { min-height: 70px !important; padding-inline: .75rem !important; }
  .navbar .logo-img { height: 52px !important; }
  .nav-logo-text { display: none !important; }
  .language-menu-trigger { min-width: 3.1rem; padding: .42rem .48rem; }
  .language-current { display: none; }
  .language-menu-panel { width: min(18rem, calc(100vw - 1rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a,
  .language-menu-trigger,
  .language-option { transition: none !important; }
}

.home-hero {
  text-align: center;
}
