/* /static/css/design-system.css */
:root {
--ds-navy-900: #0F172A;
--ds-navy-800: #1E293B;
--ds-navy-700: #334155;
--ds-navy-600: #475569;
--ds-navy-400: #94A3B8;
--ds-navy-300: #CBD5E1;
--ds-gray-50:  #F8FAFC;
--ds-gray-100: #F1F5F9;
--ds-gray-200: #E2E8F0;
--ds-gray-300: #CBD5E1;
--ds-gray-400: #94A3B8;
--ds-gray-500: #64748B;
--ds-gray-600: #475569;
--ds-gray-900: #0F172A;
--ds-orange-700: #C2410C;
--ds-orange-600: #EA580C;
--ds-orange-500: #F97316;
--ds-orange-100: #FFF7ED;
--ds-green-600:  #16A34A;
--ds-red-600:    #DC2626;
--ds-amber-500:  #F59E0B;
--bg:            var(--ds-gray-50);
--surface:       #FFFFFF;
--surface-soft:  var(--ds-gray-100);
--text:          var(--ds-navy-900);
--text-muted:    var(--ds-gray-500);
--text-light:    var(--ds-navy-400);
--border:        var(--ds-gray-200);
--border-soft:   var(--ds-gray-100);
--navy:          var(--ds-navy-800);
--navy-dark:     var(--ds-navy-900);
--cta:           var(--ds-orange-500);
--cta-dark:      var(--ds-orange-600);
--da-cta-h: 48px;
--da-cta-radius: 12px;
--da-cta-pad-x: 1.35rem;
--da-cta-font: 0.95rem;
--da-cta-weight: 800;
--da-cta-gap: 0.7rem;
--da-cta-shift: 180ms ease;
--da-cta-orange: var(--ds-orange-500);
--da-cta-orange-deep: var(--ds-orange-600);
--nav-bg:           rgba(15, 23, 42, 0.94);
--nav-text:         rgba(226, 232, 240, 0.88);
--nav-hover-bg:     rgba(255, 255, 255, 0.10);
--nav-hover-border: rgba(255, 255, 255, 0.18);
--font-body:    "Vazirmatn", "Tahoma", sans-serif;
--font-brand:   "Playfair Display", Georgia, serif;
--font-mono:    "Fira Code", "Consolas", monospace;
--text-xs:   0.75rem;
--text-sm:   0.875rem;
--text-base: 1rem;
--text-lg:   1.125rem;
--text-xl:   1.25rem;
--text-2xl:  1.5rem;
--text-3xl:  1.875rem;
--text-4xl:  2.25rem;
--text-5xl:  3rem;
--sp-1:  4px;
--sp-2:  8px;
--sp-3:  12px;
--sp-4:  16px;
--sp-5:  20px;
--sp-6:  24px;
--sp-8:  32px;
--sp-10: 40px;
--sp-12: 48px;
--sp-16: 64px;
--sp-20: 80px;
--radius-sm:   8px;
--radius-md:   12px;
--radius-lg:   16px;
--radius-xl:   20px;
--radius-2xl:  24px;
--radius-full: 9999px;
--shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15, 23, 42, 0.05);
--shadow-md: 0 4px 16px -4px rgba(15, 23, 42, 0.10), 0 2px 6px -2px rgba(15, 23, 42, 0.06);
--transition:    150ms ease;
--transition-md: 250ms ease;
}
*, *::before, *::after { box-sizing: border-box; }
html {
font-size: 16px;
scroll-behavior: smooth;
}
body {
margin: 0;
background: var(--bg);
color: var(--text);
font-family: var(--font-body);
font-weight: 400;
font-size: var(--text-base);
line-height: 1.8;
direction: rtl;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: "kern" 1, "liga" 1;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-body);
font-weight: 700;
line-height: 1.3;
letter-spacing: -0.01em;
color: var(--text);
margin-top: 0;
margin-bottom: 0.5em;
}
h1 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2vw, var(--text-2xl)); font-weight: 600; }
h4 { font-size: var(--text-lg); font-weight: 600; }
p  { margin-top: 0; line-height: 1.85; }
a  { color: inherit; text-decoration: none; }
::selection {
background: rgba(249, 115, 22, 0.12);
color: var(--ds-navy-900);
}
.container {
width: min(1200px, calc(100% - 32px));
margin: 0 auto;
}
.container-lg {
width: min(1100px, calc(100% - 32px));
max-width: 1100px;
margin: 0 auto;
padding: 0;
}
.section {
padding: var(--sp-12) 0;
}
img, video, iframe {
max-width: 100%;
}
.section-muted {
background: var(--surface-soft);
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.section-head {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: var(--sp-4);
margin-bottom: var(--sp-6);
}
.section-head h1,
.section-head h2 { margin-bottom: 0; }
.split-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--sp-8);
align-items: start;
}
.card-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--sp-5);
}
.card, .panel {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: var(--sp-6);
box-shadow: var(--shadow-sm);
}
.card h3 {
margin-top: 0.25rem;
margin-bottom: 0.4rem;
}
.detail-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--sp-4);
margin: var(--sp-4) 0;
}
.detail-grid > div {
background: var(--surface-soft);
border-radius: var(--radius-md);
border: 1px solid var(--border);
padding: var(--sp-4);
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--sp-2);
padding: 10px 20px;
border-radius: var(--radius-md);
border: 1px solid transparent;
font: inherit;
font-size: var(--text-sm);
font-weight: 600;
line-height: 1.4;
letter-spacing: 0.01em;
cursor: pointer;
text-decoration: none;
transition: background var(--transition), color var(--transition),
border-color var(--transition), box-shadow var(--transition),
transform var(--transition);
user-select: none;
white-space: nowrap;
}
.btn:hover   { transform: translateY(-1px); text-decoration: none; }
.btn:active  { transform: translateY(0); }
.btn:disabled, .btn[disabled] {
opacity: 0.5;
cursor: not-allowed;
transform: none !important;
}
.btn-primary {
background: var(--cta);
color: #fff;
border-color: var(--cta);
}
.btn-primary:hover {
background: var(--cta-dark);
border-color: var(--cta-dark);
box-shadow: 0 4px 20px -6px rgba(234, 88, 12, 0.45);
color: #fff;
}
.btn-secondary {
background: var(--navy);
color: #fff;
border-color: var(--navy);
}
.btn-secondary:hover {
background: var(--navy-dark);
border-color: var(--navy-dark);
box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.25);
color: #fff;
}
.btn-soft {
background: var(--surface-soft);
color: var(--navy);
border-color: var(--border);
}
.btn-soft:hover {
background: var(--ds-gray-200);
color: var(--navy-dark);
border-color: var(--ds-gray-300);
}
.btn-ghost {
background: transparent;
color: var(--text);
border-color: var(--border);
}
.btn-ghost:hover {
background: var(--surface-soft);
border-color: var(--ds-gray-300);
color: var(--text);
}
.btn-outline {
background: transparent;
color: var(--text);
border-color: var(--border);
}
.btn-outline:hover {
background: var(--surface-soft);
border-color: var(--ds-gray-400);
color: var(--text);
}
.btn-danger {
background: var(--ds-red-600);
color: #fff;
border-color: var(--ds-red-600);
}
.btn-danger:hover {
background: #B91C1C;
border-color: #B91C1C;
color: #fff;
}
.btn--sm   { padding: 6px 14px;  font-size: var(--text-xs);  border-radius: var(--radius-sm); }
.btn--lg   { padding: 14px 32px; font-size: var(--text-base); border-radius: var(--radius-lg); }
.btn--full, .btn-block { width: 100%; }
.btn-hero-primary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--sp-2);
background: var(--cta);
color: #fff;
padding: 12px 28px;
font-size: 1.05rem;
font-weight: 700;
border-radius: var(--radius-md);
border: 1px solid var(--cta);
box-shadow: 0 4px 24px -8px rgba(234, 88, 12, 0.55);
transition: all var(--transition);
text-decoration: none;
}
.btn-hero-primary:hover {
background: var(--cta-dark);
border-color: var(--cta-dark);
box-shadow: 0 8px 32px -8px rgba(234, 88, 12, 0.65);
transform: translateY(-2px);
color: #fff;
}
.btn-hero-outline {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--sp-2);
border: 1.5px solid rgba(255, 255, 255, 0.45);
color: #fff;
padding: 12px 28px;
font-size: 1.05rem;
font-weight: 600;
border-radius: var(--radius-md);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
background: rgba(255, 255, 255, 0.07);
transition: all var(--transition);
text-decoration: none;
}
.btn-hero-outline:hover {
border-color: rgba(255, 255, 255, 0.75);
background: rgba(255, 255, 255, 0.14);
transform: translateY(-2px);
color: #fff;
}
.input,
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
textarea,
select {
width: 100%;
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 10px 14px;
font: inherit;
font-size: var(--text-base);
background: var(--surface);
color: var(--text);
line-height: 1.5;
transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus,
input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,
select:focus {
outline: none;
border-color: var(--navy);
box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.10);
}
.input::placeholder,
input::placeholder { color: var(--text-light); }
.badge {
display: inline-flex;
align-items: center;
padding: 3px 10px;
border-radius: var(--radius-full);
font-size: var(--text-xs);
font-weight: 600;
letter-spacing: 0.02em;
}
.badge-navy   { background: var(--navy);         color: #fff; }
.badge-orange { background: var(--cta);          color: #fff; }
.badge-soft   { background: var(--surface-soft); color: var(--text-muted); border: 1px solid var(--border); }
.chip {
display: inline-flex;
align-items: center;
border-radius: var(--radius-full);
background: var(--surface-soft);
color: var(--ds-navy-700);
padding: 3px 12px;
font-size: var(--text-xs);
font-weight: 600;
letter-spacing: 0.02em;
border: 1px solid var(--border);
}
.dropdown-panel {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md), 0 16px 40px -16px rgba(15, 23, 42, 0.18);
padding: var(--sp-3);
}
.hero {
padding: var(--sp-20) 0 var(--sp-12);
}
.hero-title {
font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.02em;
margin-bottom: var(--sp-4);
}
.hero-subtitle {
font-size: clamp(var(--text-base), 2.5vw, var(--text-xl));
color: var(--text-muted);
line-height: 1.8;
max-width: 52ch;
}
.hero-lang-grid {
display: flex;
justify-content: center;
gap: var(--sp-3);
flex-wrap: wrap;
margin-top: var(--sp-6);
}
.lang-card {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--sp-1);
padding: var(--sp-3) var(--sp-5);
background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border: 1px solid rgba(255, 255, 255, 0.22);
border-radius: var(--radius-lg);
color: #fff;
text-decoration: none;
cursor: pointer;
min-width: 90px;
transition: transform var(--transition-md), background var(--transition-md),
box-shadow var(--transition-md);
}
.lang-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.20);
box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35);
border-color: rgba(255, 255, 255, 0.38);
color: #fff;
}
.lang-card__flag { font-size: 1.9rem; line-height: 1; }
.lang-card__fa   { font-size: 0.82rem; font-weight: 700; }
.lang-card__en   { font-size: 0.7rem; opacity: 0.7; font-family: var(--font-brand); font-style: italic; }
.eyebrow {
display: block;
font-size: var(--text-xs);
font-weight: 700;
letter-spacing: 0.10em;
text-transform: uppercase;
color: var(--text-muted);
margin-bottom: var(--sp-2);
}
.lead {
font-size: var(--text-lg);
color: var(--text-muted);
line-height: 1.9;
}
.muted      { color: var(--text-muted); }
.text-link  {
color: var(--navy);
font-weight: 600;
border-bottom: 1.5px solid rgba(30, 41, 59, 0.18);
transition: border-color var(--transition);
}
.text-link:hover { border-bottom-color: var(--navy); }
.progress-bar {
height: 6px;
background: var(--ds-gray-200);
border-radius: var(--radius-full);
overflow: hidden;
}
.progress-bar__fill {
height: 100%;
background: var(--cta);
border-radius: var(--radius-full);
transition: width 0.3s ease;
}
.flash-wrapper { margin-top: var(--sp-4); }
.flash-message {
background: #FFF7ED;
color: var(--ds-orange-700);
border: 1px solid rgba(234, 88, 12, 0.2);
border-radius: var(--radius-md);
padding: 12px 16px;
font-size: var(--text-sm);
}
.auth-form   { display: grid; gap: var(--sp-3); }
.auth-panel  { max-width: 520px; margin: 0 auto; }
.error-text  { font-size: var(--text-xs); color: var(--ds-red-600); }
.feature-list { display: grid; gap: var(--sp-3); }
.feature-list div {
border: 1px solid var(--border);
background: var(--surface);
border-radius: var(--radius-md);
padding: var(--sp-4);
font-size: var(--text-sm);
font-weight: 500;
color: var(--text);
}
.fade-in-up { animation: fadeInUp 0.45s ease both; }
.delay-1    { animation-delay: 0.10s; }
.delay-2    { animation-delay: 0.20s; }
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(12px); }
to   { opacity: 1; transform: translateY(0); }
}
.hidden      { display: none !important; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.site-header {
position: sticky;
top: 0;
z-index: 60;
background: var(--nav-bg);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
border-bottom: 1px solid rgba(255, 255, 255, 0.07);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}
.header-utility-wrap {
background: rgba(8, 14, 28, 0.97);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-utility {
min-height: 44px;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: var(--sp-2);
padding: 6px 0;
}
.utility-pill {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 5px 14px;
border-radius: var(--radius-full);
border: 1px solid rgba(255, 255, 255, 0.13);
color: rgba(241, 245, 249, 0.80);
font-size: var(--text-xs);
font-weight: 600;
background: transparent;
transition: all var(--transition);
text-decoration: none;
}
.utility-pill:hover {
background: rgba(255, 255, 255, 0.10);
color: #fff;
border-color: rgba(255, 255, 255, 0.22);
}
.utility-pill--placement {
background: var(--cta);
border-color: transparent;
color: #fff;
font-weight: 700;
}
.utility-pill--placement:hover {
background: var(--cta-dark);
border-color: transparent;
transform: translateY(-1px);
}
.utility-pill--portal,
.utility-pill--classes,
.utility-pill--phone,
.utility-pill--login,
.utility-pill--chat {  }
.brand {
display: inline-flex;
align-items: center;
font-family: var(--font-brand);
font-weight: 700;
font-size: 1.55rem;
font-style: italic;
letter-spacing: 0.04em;
color: #fff;
text-decoration: none;
}
.brand-logo {
display: block;
width: auto;
height: 46px;
max-width: 220px;
object-fit: contain;
}
.navbar {
min-height: 72px;
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--sp-3);
}
.nav-links {
list-style: none;
display: flex;
align-items: center;
gap: 4px;
margin: 0;
padding: 0;
flex-wrap: nowrap;
flex: 1;
justify-content: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-dropdown__trigger {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 14px;
color: var(--nav-text);
border-radius: var(--radius-md);
border: 1px solid transparent;
font-size: var(--text-sm);
font-weight: 500;
cursor: pointer;
list-style: none;
user-select: none;
transition: background var(--transition), color var(--transition),
border-color var(--transition);
text-decoration: none;
}
.nav-links > li > a:hover,
.nav-dropdown__trigger:hover,
.nav-dropdown__details[open] .nav-dropdown__trigger {
background: var(--nav-hover-bg);
border-color: var(--nav-hover-border);
color: #fff;
}
.nav-links > li > a:hover::after,
.nav-dropdown__trigger:hover::after {
content: "";
display: block;
position: absolute;
bottom: 4px;
right: 0.6rem;
left: 0.6rem;
height: 2px;
background: var(--cta);
border-radius: var(--radius-full);
opacity: 0.75;
}
.nav-arrow {
font-size: 0.6rem;
opacity: 0.6;
transition: transform var(--transition-md), opacity var(--transition-md);
}
.nav-dropdown__details[open] .nav-arrow {
transform: rotate(180deg);
opacity: 0.9;
}
.auth-actions {
display: flex;
align-items: center;
gap: var(--sp-2);
}
.auth-actions .btn-outline,
.auth-actions .btn-ghost {
border-color: rgba(255, 255, 255, 0.30);
color: rgba(226, 232, 240, 0.88);
background: transparent;
}
.auth-actions .btn-outline:hover,
.auth-actions .btn-ghost:hover {
background: rgba(255, 255, 255, 0.10);
border-color: rgba(255, 255, 255, 0.45);
color: #fff;
}
.welcome {
font-size: var(--text-sm);
color: var(--nav-text);
}
.nav-dropdown { position: relative; }
.nav-dropdown__details { position: relative; }
.nav-dropdown__trigger::-webkit-details-marker { display: none; }
.mega-menu {
position: absolute;
top: calc(100% + 10px);
right: 0;
width: min(560px, 88vw);
min-width: 420px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md), 0 16px 40px -16px rgba(15, 23, 42, 0.18);
padding: var(--sp-3);
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--sp-2);
opacity: 0;
visibility: hidden;
transform: translateY(8px) scale(0.988);
transition: opacity var(--transition-md), transform var(--transition-md), visibility var(--transition-md);
z-index: 120;
}
.mega-menu::before { display: none; }
.nav-dropdown__details[open] .mega-menu {
opacity: 1;
visibility: visible;
transform: translateY(0) scale(1);
}
.mega-menu__group {
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface);
}
.mega-menu__heading {
font-family: var(--font-body);
font-size: var(--text-xs);
font-weight: 700;
color: var(--navy);
margin: 0 0 6px;
padding-bottom: 5px;
border-bottom: 1px solid var(--border);
letter-spacing: 0.01em;
}
.mega-menu__list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 2px;
}
.mega-menu__list li a {
display: block;
padding: 5px 8px;
font-size: var(--text-xs);
font-weight: 500;
color: var(--text);
border-radius: var(--radius-sm);
transition: background var(--transition), color var(--transition), padding-right var(--transition);
}
.mega-menu__list li a:hover {
background: var(--surface-soft);
color: var(--navy);
padding-right: 12px;
border-right: 2px solid var(--cta);
}
.mega-menu__group--primary-link { display: none !important; }
.hero-mode-strip {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--sp-4);
margin: var(--sp-6) 0 var(--sp-8);
}
.hero-mode-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: var(--sp-5) var(--sp-5);
display: flex;
align-items: center;
gap: var(--sp-4);
text-decoration: none;
color: var(--text);
box-shadow: var(--shadow-sm);
transition: box-shadow var(--transition-md), transform var(--transition-md);
}
.hero-mode-card:hover {
box-shadow: var(--shadow-md);
transform: translateY(-3px);
color: var(--text);
}
.hero-mode-card__icon  { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.hero-mode-card__title { font-weight: 700; font-size: var(--text-base); margin-bottom: 3px; }
.hero-mode-card__sub   { font-size: var(--text-xs); color: var(--text-muted); }
@media (max-width: 980px) {
.split-grid,
.footer-grid,
.detail-grid { grid-template-columns: 1fr; }
.navbar {
flex-direction: column;
align-items: stretch;
padding: var(--sp-2) 0;
min-height: auto;
gap: var(--sp-2);
}
.nav-links {
justify-content: flex-start;
flex-direction: column;
align-items: stretch;
width: 100%;
gap: 4px;
}
.nav-links > li > a,
.nav-dropdown__trigger {
width: 100%;
justify-content: space-between;
border-color: rgba(255, 255, 255, 0.10);
background: rgba(255, 255, 255, 0.05);
}
.auth-actions { justify-content: flex-start; }
.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-menu {
position: static;
top: auto;
right: auto;
width: 100%;
min-width: 0;
box-shadow: none;
border: 1px solid rgba(255, 255, 255, 0.10);
border-radius: var(--radius-md);
padding: var(--sp-2);
background: rgba(15, 23, 42, 0.50);
opacity: 1;
visibility: visible;
transform: none;
display: none;
grid-template-columns: 1fr;
gap: var(--sp-2);
margin-top: var(--sp-2);
}
.mega-menu__group {
background: rgba(255, 255, 255, 0.05);
border-color: rgba(255, 255, 255, 0.10);
}
.mega-menu__heading { color: rgba(226, 232, 240, 0.9); border-bottom-color: rgba(255,255,255,0.10); }
.mega-menu__list li a { color: rgba(226, 232, 240, 0.80); }
.mega-menu__list li a:hover { background: rgba(255,255,255,0.10); color: #fff; }
.nav-dropdown__details[open] .mega-menu { display: grid; }
}
@media (max-width: 640px) {
.brand-logo { height: 38px; max-width: 180px; }
.header-utility { padding: 6px 0; }
.utility-pill { width: 100%; }
.card-grid { grid-template-columns: 1fr; }
.btn-hero-primary,
.btn-hero-outline {
width: 100%;
max-width: 280px;
justify-content: center;
}
.hero-mode-strip { grid-template-columns: 1fr; }
.hero-lang-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--sp-2);
max-width: 300px;
margin-inline: auto;
}
.lang-card { padding: var(--sp-3) var(--sp-3); min-width: 0; width: 100%; }
}
/* /static/css/main.css */
:root {
--bg: #f8fafc;
--surface: #ffffff;
--surface-soft: #f1f5f9;
--text: #0f172a;
--muted: #64748b;
--primary: #4f46e5;
--primary-strong: #4338ca;
--accent: #06b6d4;
--border: #e2e8f0;
--shadow: 0 14px 40px -24px rgba(15, 23, 42, 0.35);
--font-body: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
--font-display: "Noto Serif Arabic", "Playfair Display", Georgia, serif;
--font-brand: "Playfair Display", "Noto Serif Arabic", Georgia, serif;
}
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
background: radial-gradient(circle at top right, #e0e7ff 0, #f8fafc 38%, #f8fafc 100%);
color: var(--text);
font-family: var(--font-body);
font-weight: 400;
line-height: 1.8;
font-size: 16px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
font-kerning: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-display);
letter-spacing: -0.015em;
line-height: 1.3;
font-weight: 700;
font-feature-settings: "kern" 1, "liga" 1;
}
h1 {
font-size: clamp(2rem, 4vw, 3.2rem);
font-weight: 700;
letter-spacing: -0.02em;
}
h2 {
font-size: clamp(1.5rem, 3vw, 2.25rem);
font-weight: 700;
}
h3 {
font-size: clamp(1.15rem, 2vw, 1.5rem);
font-weight: 600;
}
h4 {
font-size: 1.1rem;
font-weight: 600;
}
p {
line-height: 1.85;
letter-spacing: 0.005em;
}
a {
color: inherit;
text-decoration: none;
}
.container {
width: min(1120px, 92vw);
margin: 0 auto;
}
.site-header {
position: sticky;
top: 0;
z-index: 60;
background: rgba(248, 250, 252, 0.92);
backdrop-filter: blur(14px);
border-bottom: 1px solid rgba(148, 163, 184, 0.24);
box-shadow: 0 20px 36px -30px rgba(15, 23, 42, 0.55);
}
.header-utility-wrap {
background: linear-gradient(90deg, #0f172a 0%, #312e81 42%, #164e63 100%);
border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}
.header-utility {
min-height: 48px;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 0.5rem;
padding: 0.45rem 0;
}
.utility-pill {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.38rem 0.82rem;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.22);
color: #fff;
font-size: 0.76rem;
font-weight: 700;
line-height: 1.2;
letter-spacing: 0.01em;
box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.7);
transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.utility-pill:hover {
transform: translateY(-2px);
filter: brightness(1.04);
box-shadow: 0 14px 22px -14px rgba(15, 23, 42, 0.9);
}
.utility-pill--placement {
background: linear-gradient(135deg, #f97316 0%, #f43f5e 100%);
}
.utility-pill--portal {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}
.utility-pill--classes {
background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}
.utility-pill--phone {
background: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
}
.utility-pill--login {
background: linear-gradient(135deg, #4338ca 0%, #2563eb 100%);
}
.utility-pill--chat {
background: linear-gradient(135deg, #be123c 0%, #db2777 100%);
}
.navbar {
min-height: 78px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.9rem;
}
.brand {
display: inline-flex;
align-items: center;
font-family: var(--font-brand);
font-weight: 700;
font-size: 1.55rem;
letter-spacing: 0.04em;
font-style: italic;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.brand-logo {
display: block;
width: auto;
height: 46px;
max-width: 220px;
object-fit: contain;
}
.nav-links {
list-style: none;
display: flex;
align-items: center;
gap: 0.55rem;
margin: 0;
padding: 0;
flex-wrap: nowrap;
flex: 1;
justify-content: center;
}
.nav-links > li {
position: relative;
}
.nav-links > li > a,
.nav-dropdown__trigger {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.55rem 0.82rem;
color: #0f172a;
border-radius: 0.78rem;
border: 1px solid transparent;
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
font-size: 0.9rem;
font-weight: 500;
letter-spacing: 0.01em;
cursor: pointer;
list-style: none;
user-select: none;
}
.nav-links > li > a:hover,
.nav-dropdown__trigger:hover,
.nav-dropdown__details[open] .nav-dropdown__trigger {
background: rgba(224, 231, 255, 0.75);
border-color: #c7d2fe;
color: #312e81;
transform: translateY(-1px);
}
.nav-dropdown {
position: relative;
}
.nav-dropdown__details {
position: relative;
}
.nav-dropdown__trigger::-webkit-details-marker {
display: none;
}
.nav-arrow {
font-size: 0.62rem;
opacity: 0.62;
transition: transform 0.24s ease, opacity 0.24s ease;
}
.nav-dropdown__details[open] .nav-arrow {
transform: rotate(180deg);
opacity: 0.9;
}
.mega-menu {
position: absolute;
top: calc(100% + 0.75rem);
right: 0;
width: min(860px, 82vw);
min-width: 620px;
background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
border: 1px solid #dbe4ff;
border-radius: 1.1rem;
box-shadow: 0 24px 56px -20px rgba(30, 41, 59, 0.46);
padding: 1.05rem;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.8rem;
opacity: 0;
visibility: hidden;
transform: translateY(9px) scale(0.985);
transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
z-index: 120;
}
.mega-menu::before {
content: "";
position: absolute;
top: -2px;
right: 1.4rem;
width: 84px;
height: 2px;
background: linear-gradient(90deg, rgba(79, 70, 229, 0) 0%, #4f46e5 50%, rgba(79, 70, 229, 0) 100%);
border-radius: 999px;
}
.nav-dropdown__details[open] .mega-menu {
opacity: 1;
visibility: visible;
transform: translateY(0) scale(1);
}
.mega-menu__group {
min-width: 0;
border: 1px solid #e7eefc;
border-radius: 0.9rem;
background: #fff;
padding: 0.72rem;
}
.mega-menu__group--primary-link {
grid-column: 1 / -1;
border: 1px solid #c7d2fe;
background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 100%);
display: flex;
align-items: center;
justify-content: flex-start;
padding: 0.62rem 0.72rem;
}
.mega-menu__top-link {
display: inline-flex;
align-items: center;
gap: 0.45rem;
padding: 0.36rem 0.62rem;
background: rgba(255, 255, 255, 0.8);
color: var(--primary);
border-radius: 0.65rem;
font-weight: 700;
font-size: 0.84rem;
}
.mega-menu__heading {
font-family: var(--font-display);
font-size: 0.83rem;
font-weight: 700;
color: var(--primary);
margin: 0 0 0.52rem;
padding-bottom: 0.34rem;
border-bottom: 1px solid #dde5ff;
letter-spacing: 0.01em;
}
.mega-menu__list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.16rem;
}
.mega-menu__list li a {
display: block;
padding: 0.36rem 0.5rem;
font-size: 0.82rem;
font-weight: 500;
color: var(--text);
border-radius: 0.58rem;
transition: background 0.16s ease, color 0.16s ease, padding-right 0.16s ease;
}
.mega-menu__list li a:hover {
background: #eef2ff;
color: var(--primary);
padding-right: 0.78rem;
}
.auth-actions {
display: flex;
align-items: center;
gap: 0.45rem;
}
.welcome {
font-size: 0.9rem;
color: var(--muted);
}
.video-hero {
position: relative;
width: 100%;
height: 100vh;
height: 100svh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.video-hero__bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}
.video-hero__video {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
object-fit: cover;
display: block;
}
.video-hero__overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
180deg,
rgba(15, 23, 42, 0.55) 0%,
rgba(15, 23, 42, 0.35) 40%,
rgba(15, 23, 42, 0.65) 100%
);
z-index: 1;
}
.video-hero__center {
position: relative;
z-index: 2;
text-align: center;
padding: 0 1.5rem;
}
.video-hero__title {
font-family: var(--font-display);
font-size: clamp(2.8rem, 7vw, 5.5rem);
line-height: 1.15;
font-weight: 700;
color: #ffffff;
letter-spacing: -0.02em;
margin: 0 0 2rem;
text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}
.video-hero__brand {
font-family: var(--font-brand);
font-style: italic;
background: linear-gradient(135deg, #c7d2fe 0%, #67e8f9 50%, #a5b4fc 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
filter: drop-shadow(0 2px 12px rgba(99, 102, 241, 0.4));
}
.video-hero__separator {
color: rgba(255, 255, 255, 0.4);
font-weight: 400;
margin: 0 0.1em;
}
.video-hero__buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 0.9rem;
}
.btn-hero-primary {
background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
color: #fff;
padding: 0.8rem 2rem;
font-size: 1.05rem;
border-radius: 0.9rem;
box-shadow: 0 4px 24px -6px rgba(99, 102, 241, 0.55);
}
.btn-hero-primary:hover {
background: linear-gradient(135deg, var(--primary-strong) 0%, #4f46e5 100%);
box-shadow: 0 6px 32px -6px rgba(99, 102, 241, 0.7);
transform: translateY(-2px);
}
.btn-hero-outline {
border: 1.5px solid rgba(255, 255, 255, 0.4);
color: #fff;
padding: 0.8rem 2rem;
font-size: 1.05rem;
border-radius: 0.9rem;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
}
.btn-hero-outline:hover {
border-color: rgba(255, 255, 255, 0.7);
background: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}
.hero {
padding: 4.5rem 0 2rem;
}
.hero-grid {
display: grid;
grid-template-columns: 1.4fr 1fr;
gap: 1.5rem;
}
.hero-copy h1 {
font-size: clamp(2.2rem, 4.2vw, 3.5rem);
line-height: 1.2;
margin: 0.5rem 0 1.2rem;
font-weight: 700;
letter-spacing: -0.025em;
}
.hero-copy p {
color: #334155;
line-height: 2;
max-width: 58ch;
font-size: 1.05rem;
font-weight: 400;
}
.hero-panel {
background: linear-gradient(145deg, #1e1b4b 0%, #4338ca 55%, #0891b2 100%);
color: #f8fafc;
border-radius: 1.25rem;
padding: 1.25rem;
box-shadow: var(--shadow);
display: grid;
gap: 0.9rem;
}
.metric {
display: flex;
align-items: baseline;
justify-content: space-between;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
padding-bottom: 0.45rem;
}
.metric strong {
font-size: 1.5rem;
font-family: var(--font-display);
font-weight: 700;
}
.section {
padding: 1.6rem 0 2.5rem;
}
.section-muted {
background: linear-gradient(180deg, rgba(224, 231, 255, 0.35), rgba(241, 245, 249, 0.2));
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
}
.section-head {
display: flex;
justify-content: space-between;
align-items: end;
gap: 1rem;
margin-bottom: 1rem;
}
.section-head h1,
.section-head h2 {
margin: 0;
}
.card-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.card,
.panel {
background: var(--surface);
border-radius: 1.15rem;
border: 1px solid var(--border);
padding: 1.1rem;
box-shadow: var(--shadow);
}
.card h3 {
margin-top: 0.35rem;
margin-bottom: 0.4rem;
}
.chip {
display: inline-flex;
align-items: center;
border-radius: 999px;
background: #e0e7ff;
color: #312e81;
padding: 0.25rem 0.7rem;
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 0.02em;
}
.eyebrow {
color: #4f46e5;
font-family: var(--font-body);
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
font-size: 0.78rem;
}
.lead {
color: #334155;
line-height: 2;
font-size: 1.05rem;
font-weight: 400;
}
.muted {
color: var(--muted);
}
.detail-grid {
margin: 1rem 0;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.75rem;
}
.detail-grid > div {
background: var(--surface-soft);
border-radius: 0.9rem;
border: 1px solid var(--border);
padding: 0.8rem;
}
.meta-list {
margin: 0.8rem 0 0.9rem;
padding: 0 1rem 0 0;
color: #334155;
}
.split-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.3rem;
align-items: start;
}
.feature-list {
display: grid;
gap: 0.75rem;
}
.feature-list div {
border: 1px solid var(--border);
background: var(--surface);
border-radius: 0.85rem;
padding: 0.8rem;
}
.btn {
border-radius: 0.8rem;
display: inline-flex;
justify-content: center;
align-items: center;
padding: 0.6rem 1.15rem;
border: 1px solid transparent;
cursor: pointer;
transition: all 0.25s ease;
font: inherit;
font-weight: 600;
font-size: 0.92rem;
letter-spacing: 0.015em;
}
.btn-primary {
background: var(--primary);
color: #fff;
}
.btn-primary:hover {
background: var(--primary-strong);
}
.btn-soft {
background: #e0f2fe;
color: #0c4a6e;
}
.btn-soft:hover {
background: #bae6fd;
}
.btn-outline {
border-color: #94a3b8;
color: #1e293b;
background: transparent;
}
.btn-outline:hover {
background: #f1f5f9;
}
.btn-block {
width: 100%;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
margin-top: 0.8rem;
}
.text-link {
color: #3730a3;
font-weight: 600;
letter-spacing: 0.01em;
border-bottom: 1.5px solid rgba(55, 48, 163, 0.2);
transition: border-color 0.2s ease;
}
.text-link:hover {
border-bottom-color: #3730a3;
}
.site-footer {
margin-top: 2rem;
background: #0f172a;
color: #cbd5e1;
padding-top: 2rem;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.footer-grid h4 {
color: #fff;
margin-top: 0;
font-family: var(--font-display);
letter-spacing: 0.01em;
}
.footer-grid a {
display: block;
margin-bottom: 0.35rem;
color: #cbd5e1;
}
.copyright {
border-top: 1px solid rgba(148, 163, 184, 0.3);
text-align: center;
margin: 1.2rem 0 0;
padding: 1rem 0;
font-size: 0.85rem;
color: #94a3b8;
letter-spacing: 0.03em;
font-weight: 300;
}
.auth-panel {
max-width: 560px;
margin: 0 auto;
}
.auth-form {
display: grid;
gap: 0.55rem;
}
input,
textarea,
select {
width: 100%;
border: 1px solid var(--border);
border-radius: 0.75rem;
padding: 0.68rem 0.9rem;
font: inherit;
font-size: 0.95rem;
background: #fff;
letter-spacing: 0.01em;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus,
textarea:focus,
select:focus {
outline: none;
border-color: #6366f1;
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.error-text {
color: #dc2626;
}
.flash-wrapper {
margin-top: 1rem;
}
.flash-message {
background: #dbeafe;
color: #1e3a8a;
border: 1px solid #93c5fd;
border-radius: 0.8rem;
padding: 0.7rem 0.9rem;
}
.placement-app h2 {
margin: 0.7rem 0;
}
.progress-row {
display: grid;
gap: 0.35rem;
}
.progress-bar {
height: 10px;
background: #e2e8f0;
border-radius: 999px;
overflow: hidden;
}
#progress-fill {
display: block;
width: 0;
height: 100%;
background: linear-gradient(90deg, #6366f1, #06b6d4);
transition: width 0.25s ease;
}
.choices-grid {
margin: 0.9rem 0 0.6rem;
display: grid;
gap: 0.6rem;
}
.choice-button {
border: 1px solid var(--border);
background: var(--surface);
border-radius: 0.75rem;
padding: 0.75rem;
text-align: right;
cursor: pointer;
transition: border-color 0.2s ease, background-color 0.2s ease;
}
.choice-button:hover {
border-color: #818cf8;
}
.choice-button.active {
border-color: #4f46e5;
background: #eef2ff;
}
.hidden {
display: none !important;
}
.rich-text p {
line-height: 2.1;
font-weight: 400;
letter-spacing: 0.005em;
}
.rich-text h2,
.rich-text h3 {
margin-top: 1.5em;
}
::selection {
background: rgba(79, 70, 229, 0.15);
color: #1e1b4b;
}
.fade-in-up {
animation: fadeInUp 0.55s ease both;
}
.delay-1 {
animation-delay: 0.1s;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 980px) {
.hero-grid,
.split-grid,
.footer-grid,
.detail-grid {
grid-template-columns: 1fr;
}
.navbar {
flex-direction: column;
align-items: stretch;
padding: 0.72rem 0;
min-height: auto;
gap: 0.58rem;
}
.header-utility {
justify-content: flex-start;
gap: 0.45rem;
}
.utility-pill {
font-size: 0.74rem;
}
.nav-links {
justify-content: start;
flex-direction: column;
align-items: stretch;
width: 100%;
gap: 0.35rem;
}
.nav-links > li > a,
.nav-dropdown__trigger {
width: 100%;
justify-content: space-between;
border-color: #d9e2f1;
background: rgba(248, 250, 252, 0.85);
}
.auth-actions {
justify-content: flex-start;
}
.card-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mega-menu {
position: static;
top: auto;
right: auto;
width: 100%;
min-width: 0;
box-shadow: none;
border: 1px solid #dce6f7;
border-radius: 0.92rem;
padding: 0.65rem;
background: var(--surface-soft);
opacity: 1;
visibility: visible;
transform: none;
display: none;
grid-template-columns: 1fr;
gap: 0.58rem;
margin-top: 0.42rem;
}
.mega-menu::before {
display: none;
}
.nav-dropdown__details[open] .mega-menu {
display: grid;
}
}
@media (max-width: 640px) {
.brand-logo {
height: 38px;
max-width: 180px;
}
.header-utility {
padding: 0.35rem 0 0.45rem;
}
.utility-pill {
width: 100%;
}
.card-grid {
grid-template-columns: 1fr;
}
.hero {
padding-top: 3.2rem;
}
.video-hero__title {
font-size: clamp(2rem, 9vw, 3rem);
}
.video-hero__buttons {
flex-direction: column;
align-items: center;
}
.btn-hero-primary,
.btn-hero-outline {
width: 100%;
max-width: 280px;
justify-content: center;
}
}
/* /static/css/home-hero.css */
.dh-hero-unit {
position: relative;
width: 100%;
direction: ltr;
background: #0B1220;
overflow: hidden;
}
.dh-hero-unit--with-promos {
display: grid;
grid-template-columns: minmax(0, 1fr) clamp(230px, 20vw, 275px);
gap: 14px;
height: 620px;
max-height: 620px;
padding: 0 14px 0 0;
box-sizing: border-box;
align-items: stretch;
}
.dh-hero-unit__media {
position: relative;
z-index: 0;
min-width: 0;
min-height: 0;
height: 100%;
overflow: hidden;
isolation: isolate;
transform: translateZ(0);
backface-visibility: hidden;
-webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}
.dh-hero-unit--with-promos .dh-hero-unit__media.dh-hero {
min-height: 0;
height: 100%;
border-radius: 0 16px 16px 0;
}
.dh-hero-unit--with-promos .dh-hero-unit__media.dh-hero::after {
height: 90px;
background: linear-gradient(to bottom, transparent, rgba(11, 18, 32, 0.9));
border-radius: 0 0 16px 0;
}
.dh-hero-unit--with-promos .dh-hero__body {
padding: 0 1.5rem 1.25rem;
}
.dh-hero-unit__promos {
position: relative;
z-index: 4;
display: grid;
grid-template-rows: repeat(4, minmax(0, 1fr));
gap: 12px;
height: 100%;
max-height: 100%;
min-height: 0;
overflow: hidden;
padding: 14px 0;
box-sizing: border-box;
direction: rtl;
}
.dh-hero-card {
position: relative;
display: flex;
flex-direction: row;
align-items: stretch;
min-height: 0;
max-height: 100%;
overflow: hidden;
border-radius: 16px;
text-decoration: none;
color: #fff;
cursor: pointer;
background:
linear-gradient(to top,
color-mix(in srgb, var(--card-c1, #6D28D9) 96%, transparent) 0%,
color-mix(in srgb, var(--card-c2, #3B1D5F) 88%, transparent) 55%,
color-mix(in srgb, var(--card-c2, #3B1D5F) 70%, transparent) 100%),
linear-gradient(to top, var(--card-c1, #6D28D9) 0%, var(--card-c2, #3B1D5F) 100%);
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 6px 18px rgba(2, 8, 23, 0.28);
transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
a.dh-hero-card {
cursor: pointer;
isolation: isolate;
}
a.dh-hero-card::after {
content: "";
position: absolute;
inset: 0;
z-index: 5;
border-radius: inherit;
}
a.dh-hero-card > * {
pointer-events: none;
}
.dh-hero-card--static {
cursor: default;
}
.dh-hero-card:hover {
transform: translateY(-3px);
box-shadow: 0 12px 28px rgba(2, 8, 23, 0.38), inset 0 0 0 100vmax rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.3);
color: #fff;
}
.dh-hero-card--static:hover {
transform: none;
box-shadow: 0 6px 18px rgba(2, 8, 23, 0.28);
}
.dh-hero-card--static:hover .dh-hero-card__media img {
transform: none;
}
.dh-hero-card--static.dh-hero-card--has-image:hover::before {
opacity: 1;
}
.dh-hero-card__text {
position: relative;
z-index: 2;
flex: 1 1 auto;
display: flex;
flex-direction: column;
justify-content: flex-end;
gap: 2px;
padding: 12px 14px;
min-width: 0;
text-align: right;
}
.dh-hero-card__icon {
width: 19px;
height: 19px;
object-fit: contain;
margin-bottom: 3px;
filter: brightness(0) invert(1);
opacity: 0.92;
}
.dh-hero-card__icon--emoji {
display: inline-block;
font-size: 0.95rem;
line-height: 1;
filter: none;
width: auto;
height: auto;
}
.dh-hero-card__title {
margin: 0;
font-size: clamp(0.85rem, 1vw, 0.95rem);
font-weight: 700;
line-height: 1.3;
color: #fff;
}
.dh-hero-card__sub {
margin: 0;
font-size: clamp(0.68rem, 0.78vw, 0.75rem);
font-weight: 400;
line-height: 1.35;
color: rgba(255, 255, 255, 0.78);
}
.dh-hero-card__cta {
display: inline-flex;
align-items: center;
gap: 4px;
margin-top: 5px;
font-size: 0.7rem;
font-weight: 600;
color: rgba(255, 255, 255, 0.92);
}
.dh-hero-card__arrow {
flex-shrink: 0;
transition: transform 220ms ease;
}
.dh-hero-card:hover .dh-hero-card__arrow {
transform: translateX(-3px);
}
.dh-hero-card__media {
position: absolute;
inset: 0;
z-index: 0;
overflow: hidden;
border-radius: inherit;
pointer-events: none;
}
.dh-hero-card__media img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
transition: transform 400ms ease;
}
.dh-hero-card:hover .dh-hero-card__media img {
transform: scale(1.06);
}
.dh-hero-card--has-image::before {
content: "";
position: absolute;
inset: 0;
z-index: 1;
border-radius: inherit;
pointer-events: none;
background:
linear-gradient(to top,
color-mix(in srgb, var(--card-c1, #6D28D9) 94%, transparent) 0%,
color-mix(in srgb, var(--card-c2, #3B1D5F) 72%, transparent) 42%,
color-mix(in srgb, var(--card-c2, #3B1D5F) 12%, transparent) 78%,
transparent 100%);
transition: opacity 220ms ease;
}
.dh-hero-card--has-image:hover::before {
opacity: 0.88;
}
.dh-hero-card--has-image .dh-hero-card__text {
max-width: 100%;
text-shadow: 0 1px 6px rgba(2, 8, 23, 0.45);
}
.dh-hero {
position: relative;
width: 100%;
min-height: 100vh;
min-height: 100svh;
display: flex;
align-items: flex-end;
justify-content: center;
overflow: hidden;
background: #0F172A;
direction: rtl;
}
.dh-hero__bg {
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
}
.dh-hero__img,
.dh-hero__video,
.dh-hero__overlay,
.dh-hero__no-media {
pointer-events: none;
}
.dh-hero__img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
animation: dh-kenburns 18s ease-in-out infinite alternate;
}
@keyframes dh-kenburns {
from { transform: scale(1.00); }
to   { transform: scale(1.06); }
}
.dh-hero__video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.dh-hero__no-media {
position: absolute;
inset: 0;
background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}
.dh-hero__overlay {
position: absolute;
inset: 0;
z-index: 1;
opacity: var(--overlay-opacity, 0.55);
mix-blend-mode: var(--overlay-blend, multiply);
-webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.28) 46%, #000 100%);
mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.28) 46%, #000 100%);
}
.dh-hero__overlay--gradient {
background: linear-gradient(
var(--overlay-angle, 135deg),
var(--overlay-color-1, #0F172A) 0%,
var(--overlay-color-2, #1E293B) 100%
);
}
.dh-hero__overlay--solid {
background: var(--overlay-color-1, #0F172A);
}
.dh-hero::after {
content: "";
position: absolute;
bottom: 0; left: 0; right: 0;
height: 120px;
background: linear-gradient(to bottom, transparent, var(--bg, #F8FAFC));
z-index: 3;
pointer-events: none;
}
.dh-hero__body {
position: relative;
z-index: 2;
width: 100%;
max-width: 900px;
padding: clamp(5rem, 16vh, 8rem) 1.5rem clamp(1.5rem, 4vw, 2.75rem);
display: flex;
flex-direction: column;
align-items: center;
}
.dh-hero--center .dh-hero__body { align-items: center; text-align: center; }
.dh-hero--right  .dh-hero__body { align-items: flex-end; text-align: right; }
.dh-hero__title {
font-family: var(--font-body);
font-size: var(--title-size-desktop, 56px);
line-height: 1.15;
font-weight: 800;
color: var(--title-color, #FFFFFF);
letter-spacing: -0.02em;
margin: 0 0 12px;
text-shadow: 0 4px 40px rgba(0,0,0,0.30);
}
.dh-hero__sub {
font-size: clamp(1rem, 2.5vw, 1.2rem);
color: var(--subtitle-color, #E2E8F0);
margin: 0 0 24px;
font-weight: 400;
max-width: 52ch;
line-height: 1.85;
text-shadow: 0 2px 12px rgba(0,0,0,0.20);
}
.dh-hero__buttons,
.video-hero__buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 0;
}
.btn-hero-outline {
color: #fff !important;
border-color: rgba(255,255,255,0.60) !important;
background: rgba(255,255,255,0.08) !important;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.btn-hero-outline:hover {
background: rgba(255,255,255,0.18) !important;
border-color: rgba(255,255,255,0.85) !important;
}
.dh-hero__buttons .btn-hero-outline,
.dh-hero__buttons .btn-hero-primary,
.video-hero__buttons .btn-hero-outline,
.video-hero__buttons .btn-hero-primary {
min-width: min(200px, 44vw);
padding-inline: 28px;
}
.dh-lang-section {
position: relative;
width: 100%;
padding: 40px 0 52px;
overflow: hidden;
background:
radial-gradient(680px 280px at 90% 12%, rgba(59, 130, 246, 0.09), transparent 68%),
radial-gradient(620px 260px at 8% 88%, rgba(225, 29, 72, 0.08), transparent 68%),
var(--bg, #f8fafc);
}
.dh-lang-section__inner {
width: 100%;
max-width: 1100px;
margin-inline: auto;
}
.dh-lang-section__header {
text-align: center;
margin-bottom: 22px;
}
.dh-lang-section__title {
margin: 0;
font-size: clamp(1.35rem, 2.6vw, 1.75rem);
font-weight: 800;
color: var(--text, #0f172a);
letter-spacing: -0.02em;
}
.dh-lang-section__sub {
margin: 8px 0 0;
font-size: 0.95rem;
color: var(--text-muted, #64748b);
line-height: 1.7;
}
.dh-lang-section__grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 10px;
align-items: stretch;
}
.dh-lang-card {
--card-accent: #2563eb;
position: relative;
isolation: isolate;
min-height: 128px;
border-radius: 20px;
background:
linear-gradient(145deg,
color-mix(in srgb, var(--card-accent) 15%, rgba(255, 255, 255, 0.9)),
color-mix(in srgb, var(--card-accent) 4%, rgba(255, 255, 255, 0.76)));
backdrop-filter: blur(18px) saturate(1.28);
-webkit-backdrop-filter: blur(18px) saturate(1.28);
border: 1px solid color-mix(in srgb, var(--card-accent) 24%, rgba(255, 255, 255, 0.78));
padding: 18px 12px 16px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 5px;
color: #0f172a;
text-decoration: none;
cursor: pointer;
overflow: hidden;
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.92) inset,
0 14px 30px -18px color-mix(in srgb, var(--card-accent) 45%, rgba(15, 23, 42, 0.3));
transition:
transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
background 280ms ease,
border-color 280ms ease,
box-shadow 280ms ease,
color 280ms ease;
}
.dh-lang-card__glow {
position: absolute;
inset: auto -14% -56% 16%;
height: 86%;
border-radius: 50%;
background: radial-gradient(circle, var(--card-accent) 0%, transparent 70%);
opacity: 0.22;
filter: blur(24px);
z-index: 0;
pointer-events: none;
transition: opacity 280ms ease, transform 280ms ease;
}
.dh-lang-card__flag,
.dh-lang-card__fa,
.dh-lang-card__en {
position: relative;
z-index: 1;
}
.dh-lang-card__flag {
display: inline-flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
border-radius: 15px;
font-size: 1.55rem;
line-height: 1;
background: color-mix(in srgb, var(--card-accent) 14%, rgba(255, 255, 255, 0.8));
border: 1px solid color-mix(in srgb, var(--card-accent) 22%, rgba(255, 255, 255, 0.8));
box-shadow: 0 5px 14px -10px color-mix(in srgb, var(--card-accent) 72%, rgba(15, 23, 42, 0.35));
transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), filter 280ms ease, background 280ms ease;
}
.dh-lang-card__fa {
font-size: 0.95rem;
font-weight: 800;
text-shadow: 0 1px 0 rgba(255,255,255,.55);
transition: color 280ms ease;
}
.dh-lang-card__en {
font-size: 0.72rem;
font-weight: 500;
opacity: 0.72;
letter-spacing: 0.04em;
direction: ltr;
transition: opacity 280ms ease, color 280ms ease;
}
.dh-lang-card:hover,
.dh-lang-card:focus-visible {
transform: translateY(-5px) scale(1.025);
background:
linear-gradient(145deg,
color-mix(in srgb, var(--card-accent) 20%, rgba(255, 255, 255, 0.96)),
color-mix(in srgb, var(--card-accent) 7%, rgba(255, 255, 255, 0.86)));
border-color: color-mix(in srgb, var(--card-accent) 48%, rgba(255, 255, 255, 0.8));
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.95) inset,
0 16px 36px -14px color-mix(in srgb, var(--card-accent) 35%, rgba(15, 23, 42, 0.28)),
0 0 0 1px color-mix(in srgb, var(--card-accent) 22%, transparent);
color: #0f172a;
outline: none;
}
.dh-lang-card:hover .dh-lang-card__glow,
.dh-lang-card:focus-visible .dh-lang-card__glow {
opacity: 0.38;
transform: translateY(-8px);
}
.dh-lang-card:hover .dh-lang-card__flag,
.dh-lang-card:focus-visible .dh-lang-card__flag {
transform: scale(1.12) translateY(-1px);
background: color-mix(in srgb, var(--card-accent) 23%, rgba(255, 255, 255, 0.92));
filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--card-accent) 40%, transparent));
}
.dh-lang-card:hover .dh-lang-card__en,
.dh-lang-card:focus-visible .dh-lang-card__en {
opacity: 0.9;
color: color-mix(in srgb, var(--card-accent) 70%, #0f172a);
}
.dh-hero__lang-grid { display: none !important; }
@media (max-width: 1100px) {
.dh-hero-unit--with-promos {
grid-template-columns: minmax(0, 1fr) clamp(200px, 24vw, 240px);
height: 560px;
max-height: 560px;
gap: 12px;
}
.dh-hero-card__text { padding: 10px 12px; }
}
@media (max-width: 768px) {
.dh-hero-unit--with-promos {
display: flex;
flex-direction: column;
height: auto;
max-height: none;
gap: 0;
padding: 0;
}
.dh-hero-unit__media {
height: auto;
}
.dh-hero-unit--with-promos .dh-hero-unit__media.dh-hero {
height: auto;
min-height: calc(100svh - var(--sh-h, 56px) - 140px);
border-radius: 0;
}
.dh-hero-unit--with-promos .dh-hero-unit__media.dh-hero::after {
border-radius: 0;
background: linear-gradient(to bottom, transparent, #0B1220);
}
.dh-hero-unit__promos {
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-template-rows: none;
height: auto;
max-height: none;
overflow: visible;
gap: 10px;
padding: 12px;
}
.dh-hero-card { min-height: 112px; }
.dh-hero-card__text { padding: 12px 14px; }
.dh-hero {
min-height: calc(100svh - var(--sh-h, 56px));
min-height: calc(100dvh - var(--sh-h, 56px));
}
.dh-hero__title {
font-size: clamp(1.875rem, 7vw, 2.25rem) !important;
}
.dh-hero__sub { font-size: 0.95rem; margin-bottom: 18px; }
.dh-hero__buttons {
flex-direction: column;
align-items: stretch;
width: min(100%, 360px);
margin-inline: auto;
}
.dh-lang-section {
padding: 32px 0 40px;
}
.dh-lang-section__header {
margin-bottom: 16px;
}
.dh-lang-section__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.dh-lang-card {
min-height: 112px;
padding: 14px 10px 12px;
border-radius: 18px;
}
.dh-lang-card__flag {
width: 42px;
height: 42px;
border-radius: 14px;
font-size: 1.4rem;
}
.dh-lang-card__fa {
font-size: 0.88rem;
}
.dh-lang-card__en {
font-size: 0.68rem;
}
}
@media (max-width: 1100px) and (min-width: 769px) {
.dh-lang-section__grid {
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 8px;
}
.dh-lang-card {
min-height: 104px;
padding: 14px 8px;
}
.dh-lang-card__fa { font-size: 0.88rem; }
}
@media (max-width: 480px) {
.dh-hero-unit__promos {
grid-template-columns: minmax(0, 1fr);
}
.dh-hero-card { min-height: 96px; }
.dh-lang-section {
padding: 28px 0 36px;
}
.dh-lang-section__grid {
gap: 8px;
}
.dh-lang-card:last-child {
grid-column: 1 / -1;
width: calc(50% - 4px);
justify-self: center;
}
}
.lead-page {
min-height: 80vh;
display: flex;
align-items: center;
padding: 80px 0 60px;
background: var(--bg);
}
.lead-page__inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 32px;
max-width: 560px;
margin-inline: auto;
}
.lead-page__brand   { text-align: center; }
.lead-page__icon    { font-size: 3rem; display: block; margin-bottom: 12px; }
.lead-page__title   {
font-size: clamp(1.5rem, 4vw, 2rem);
font-weight: 800;
color: var(--text);
margin: 0 0 10px;
}
.lead-page__desc    {
color: var(--text-muted);
font-size: 1rem;
line-height: 1.8;
margin: 0;
}
.lead-card {
width: 100%;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 20px;
padding: 32px;
box-shadow: 0 8px 40px -12px rgba(15,23,42,0.12);
}
.lead-form          { display: flex; flex-direction: column; gap: 20px; }
.lead-form__group   { display: flex; flex-direction: column; gap: 6px; }
.lead-form__label   { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.lead-form__req     { color: var(--ds-red-600); }
.lead-form__errors  {
list-style: none;
margin: 4px 0 0;
padding: 0;
color: var(--ds-red-600);
font-size: 0.82rem;
}
.lead-form__submit  { margin-top: 8px; width: 100%; justify-content: center; }
.form-control {
width: 100%;
padding: 10px 14px;
border: 1px solid var(--border);
border-radius: 10px;
font-family: var(--font-body);
font-size: 0.95rem;
color: var(--text);
background: var(--surface);
transition: border-color 0.18s ease, box-shadow 0.18s ease;
box-sizing: border-box;
}
.form-control:focus {
outline: none;
border-color: var(--cta);
box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
textarea.form-control { resize: vertical; min-height: 100px; }
.lead-trust {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 8px 20px;
justify-content: center;
font-size: 0.85rem;
color: var(--text-muted);
}
.lead-success {
text-align: center;
padding: 60px 24px;
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}
.lead-success__icon  { font-size: 4rem; }
.lead-success__title { font-size: 1.8rem; font-weight: 800; color: var(--text); margin: 0; }
.lead-success__desc  { color: var(--text-muted); line-height: 1.85; margin: 0; font-size: 1rem; }
.promo-section {
padding: 36px 0 48px;
background: var(--bg);
}
.promo-section + .section,
.promo-section + section {
margin-top: 0;
padding-top: 56px;
}
.promo-section__inner {
width: 100%;
max-width: 1040px;
margin-inline: auto;
padding-inline: 16px;
box-sizing: border-box;
}
.promo-section__header {
text-align: center;
margin-bottom: 18px;
}
.promo-section__title {
font-size: clamp(1.25rem, 3vw, 1.6rem);
font-weight: 800;
color: var(--text);
margin: 0 0 6px;
}
.promo-section__sub {
font-size: 0.97rem;
color: var(--text-muted);
margin: 0;
}
.promo-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
align-items: stretch;
width: 100%;
}
.promo-grid--1 {
grid-template-columns: minmax(0, 1fr);
max-width: 360px;
margin-inline: auto;
}
.promo-grid--2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
max-width: 700px;
margin-inline: auto;
}
.promo-card {
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-end;
min-height: 0;
width: 100%;
aspect-ratio: 1 / 1;
max-height: none;
border-radius: 18px;
overflow: hidden;
text-decoration: none;
color: var(--card-text, #fff);
cursor: pointer;
box-shadow: 0 8px 28px -10px rgba(15, 23, 42, 0.22);
transition: transform 0.26s ease, box-shadow 0.26s ease;
isolation: isolate;
}
.promo-card:hover {
transform: translateY(-5px);
box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.32);
color: var(--card-text, #fff);
}
.promo-card--align-right  .promo-card__body { text-align: right; align-items: flex-end; }
.promo-card--align-left   .promo-card__body { text-align: left;  align-items: flex-start; }
.promo-card--align-center .promo-card__body { text-align: center; align-items: center; }
.promo-card__media-bg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
z-index: 0;
pointer-events: none;
transform-origin: center center;
will-change: transform;
transition: transform 0.40s ease;
}
.promo-card:hover .promo-card__media-bg {
transform: scale(1.045);
}
.promo-card__bg {
position: absolute;
inset: 0;
z-index: 0;
background-color: var(--ds-navy-800, #0f172a);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
transform-origin: center center;
transition: transform 0.40s ease;
}
.promo-card:hover .promo-card__bg {
transform: scale(1.045);
}
.promo-card__overlay {
position: absolute;
inset: 0;
z-index: 1;
background: linear-gradient(
180deg,
color-mix(in srgb, var(--overlayTop, var(--card-color-2, #111827)) 35%, transparent) 0%,
color-mix(in srgb, var(--overlayTop, var(--card-color-2, #111827)) 55%, transparent) 38%,
var(--overlayBottom, var(--card-color-1, #0F172A)) 100%
);
opacity: max(0.62, var(--overlayOpacity, var(--card-opacity, 0.55)));
pointer-events: none;
border-radius: inherit;
transition: opacity 0.26s ease;
}
.promo-card:hover .promo-card__overlay {
opacity: min(0.92, calc(max(0.62, var(--overlayOpacity, var(--card-opacity, 0.55))) + 0.06));
}
.promo-card__badge {
position: absolute;
top: 14px;
right: 14px;
z-index: 3;
display: inline-flex;
align-items: center;
gap: 5px;
padding: 5px 12px;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.02em;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.28);
}
.promo-card__badge--inperson {
background: rgba(124, 58, 237, 0.72);
color: #fff;
}
.promo-card__badge--online {
background: rgba(29, 78, 216, 0.72);
color: #fff;
}
.promo-card__badge--private {
background: rgba(13, 148, 136, 0.72);
color: #fff;
}
.promo-card__body {
position: relative;
z-index: 2;
padding: 22px 20px 22px;
display: flex;
flex-direction: column;
gap: 8px;
}
.promo-card__title {
font-size: clamp(1.1rem, 1.7vw, 1.32rem);
font-weight: 800;
line-height: 1.35;
margin: 0;
color: var(--card-text, #fff);
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.promo-card__subtitle {
font-size: 0.9rem;
color: color-mix(in srgb, var(--card-text, #fff) 92%, transparent);
margin: 0;
line-height: 1.65;
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.btn-promo {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
min-height: 42px;
padding: 9px 18px;
border-radius: 12px;
font-size: 0.88rem;
font-weight: 700;
font-family: var(--font-body);
text-decoration: none;
cursor: pointer;
width: fit-content;
margin-top: 6px;
background: rgba(255, 255, 255, 0.16);
color: #fff;
border: 1.5px solid rgba(255, 255, 255, 0.58);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
transition: background 0.20s ease, border-color 0.20s ease, color 0.20s ease;
}
.promo-card:hover .btn-promo,
.btn-promo:hover {
background: rgba(255, 255, 255, 0.28);
border-color: rgba(255, 255, 255, 0.88);
color: #fff;
}
@media (max-width: 1100px) {
.promo-section__inner {
max-width: 960px;
}
.promo-grid,
.promo-grid--3 {
gap: 7px;
}
}
@media (max-width: 900px) {
.promo-section__inner {
max-width: 860px;
}
.promo-grid,
.promo-grid--2,
.promo-grid--3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 6px;
}
.promo-card {
aspect-ratio: 1 / 1;
border-radius: 16px;
}
.promo-card__body {
padding: 16px 12px 16px;
gap: 6px;
}
.promo-card__title {
font-size: clamp(0.95rem, 2.1vw, 1.08rem);
}
.promo-card__subtitle {
font-size: 0.8rem;
line-height: 1.5;
}
.btn-promo {
min-height: 36px;
padding: 7px 12px;
font-size: 0.8rem;
border-radius: 10px;
}
}
@media (max-width: 768px) {
.promo-section {
padding: 28px 0 40px;
}
.promo-section__inner {
max-width: 520px;
padding-inline: 16px;
}
.promo-grid,
.promo-grid--2,
.promo-grid--3 {
grid-template-columns: 1fr;
gap: 12px;
}
.promo-card {
aspect-ratio: 4 / 3;
border-radius: 16px;
}
.promo-card__badge {
top: 12px;
right: 12px;
font-size: 0.72rem;
padding: 4px 10px;
z-index: 4;
}
.promo-card__body {
padding: 36px 16px 18px;
align-items: center;
text-align: center;
gap: 7px;
}
.promo-card--align-right .promo-card__body,
.promo-card--align-left .promo-card__body {
align-items: center;
text-align: center;
}
.promo-card__title {
font-size: 1.15rem;
}
.promo-card__subtitle {
font-size: 0.88rem;
}
.btn-promo {
margin-inline: auto;
min-height: 42px;
padding: 9px 18px;
font-size: 0.86rem;
border-radius: 12px;
}
}
.dh-hero-unit--with-promos .dh-hero__body {
padding-bottom: clamp(2.5rem, 7vh, 4.25rem);
}
@media (max-width: 768px) {
.dh-hero-unit--with-promos .dh-hero__body {
padding: 0 16px 30px;
}
.dh-hero-unit .dh-hero__sub { margin-bottom: 16px; }
.dh-hero-unit .dh-hero__buttons {
flex-direction: row;
flex-wrap: nowrap;
gap: 10px;
width: min(100%, 420px);
}
.dh-hero-unit .dh-hero__buttons .btn {
flex: 1 1 0;
width: auto;
min-width: 0;
min-height: 48px;
padding-inline: 10px;
font-size: 0.92rem;
white-space: nowrap;
}
}
@media (max-width: 359px) {
.dh-hero-unit .dh-hero__buttons { flex-direction: column; }
.dh-hero-unit .dh-hero__buttons .btn { flex: 1 1 100%; width: 100%; }
}
.dh-hero-card--term { grid-row: span 2; }
@media (max-width: 768px) {
.dh-hero-card--term { grid-row: auto; grid-column: 1 / -1; min-height: 200px; }
}
/* /static/css/diako-cta.css */
:root {
--da-cta-h: 48px;
--da-cta-radius: 12px;
--da-cta-pad-x: 1.35rem;
--da-cta-font: 0.95rem;
--da-cta-weight: 800;
--da-cta-gap: 0.7rem;
--da-cta-shift: 180ms ease;
--da-cta-orange: #f97316;
--da-cta-orange-deep: #ea580c;
}
.ec-btn,
.wp-cta-btn,
.wp-cta-btn-secondary,
.gcta__btn,
.btn-hero-primary,
.btn-hero-outline {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
box-sizing: border-box;
min-height: var(--da-cta-h);
padding: 0 var(--da-cta-pad-x);
border-radius: var(--da-cta-radius);
border: 1.5px solid transparent;
font-size: var(--da-cta-font);
font-weight: var(--da-cta-weight);
line-height: 1.2;
text-decoration: none;
white-space: nowrap;
cursor: pointer;
transition:
background var(--da-cta-shift),
color var(--da-cta-shift),
border-color var(--da-cta-shift),
box-shadow var(--da-cta-shift),
transform var(--da-cta-shift);
}
.ec-btn--primary,
.wp-cta-btn,
.gcta__btn--primary,
.btn-hero-primary,
.wp-page .wp-designed .ec-btn--primary,
.wp-page .wp-designed .wp-cta-btn,
.wp-page--course .ec-btn--primary,
.wp-page--course .wp-cta-btn,
.ec-page--german .ec-btn--primary,
.ec-page--about .ec-btn--primary {
background: var(--da-cta-orange) !important;
background-image: none !important;
color: #fff !important;
border-color: var(--da-cta-orange) !important;
box-shadow: none;
}
.ec-btn--primary:hover,
.wp-cta-btn:hover,
.gcta__btn--primary:hover,
.btn-hero-primary:hover,
.wp-page .wp-designed .ec-btn--primary:hover,
.wp-page .wp-designed .wp-cta-btn:hover,
.wp-page--course .ec-btn--primary:hover,
.wp-page--course .wp-cta-btn:hover,
.ec-page--german .ec-btn--primary:hover,
.ec-page--about .ec-btn--primary:hover {
background: var(--da-cta-orange-deep) !important;
border-color: var(--da-cta-orange-deep) !important;
color: #fff !important;
transform: translateY(-1px);
box-shadow: 0 8px 20px -10px rgba(234, 88, 12, 0.55);
}
.ec-btn--ghost,
.wp-cta-btn-secondary,
.gcta__btn--secondary,
.wp-page--course .wp-hero--classic .ec-btn--ghost,
.ec-page--german .ec-btn--ghost,
.ec-page--about .ec-btn--ghost {
background: #fff !important;
color: #0f172a !important;
border-color: #cbd5e1 !important;
box-shadow: none;
}
.ec-btn--ghost:hover,
.wp-cta-btn-secondary:hover,
.gcta__btn--secondary:hover,
.wp-page--course .wp-hero--classic .ec-btn--ghost:hover {
background: #fff !important;
color: var(--da-cta-orange-deep) !important;
border-color: var(--da-cta-orange) !important;
transform: translateY(-1px);
}
.ec-hero .ec-btn--ghost,
.ec-hero .wp-cta-btn-secondary,
.ec-hero .ec-btn--light,
.wp-page--course .ec-hero:not(.wp-hero--classic) .ec-btn--ghost {
background: rgba(15, 23, 42, 0.42) !important;
color: #fff !important;
border-color: rgba(255, 255, 255, 0.7) !important;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.ec-hero .ec-btn--ghost:hover,
.ec-hero .wp-cta-btn-secondary:hover,
.ec-hero .ec-btn--light:hover,
.wp-page--course .ec-hero:not(.wp-hero--classic) .ec-btn--ghost:hover {
background: rgba(15, 23, 42, 0.58) !important;
color: #fff !important;
border-color: #fff !important;
}
.dh-hero__buttons .btn-hero-outline,
.video-hero__buttons .btn-hero-outline {
background: rgba(255, 255, 255, 0.1) !important;
color: #fff !important;
border-color: rgba(255, 255, 255, 0.6) !important;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.dh-hero__buttons .btn-hero-outline:hover,
.video-hero__buttons .btn-hero-outline:hover {
background: rgba(255, 255, 255, 0.2) !important;
color: #fff !important;
border-color: rgba(255, 255, 255, 0.85) !important;
}
.wp-page .ec-hero.wp-designed .ec-actions .ec-btn--primary,
.wp-page .ec-hero.wp-designed .ec-actions .wp-cta-btn {
color: #fff !important;
}
.ec-hero .ec-actions,
.wp-sec--cta .ec-actions,
.gcta__actions,
.dh-hero__buttons {
display: flex;
flex-wrap: wrap;
gap: var(--da-cta-gap);
align-items: center;
}
.wp-sec--cta,
.wp-page--course .wp-sec--cta,
.wp-page--course .ec-section--cta,
.gcta,
.gcta.ec-section,
.gcta.ec-section--soft,
.gcta.ec-section--navy {
background: transparent !important;
background-image: none !important;
border: 0 !important;
padding-block: 1.15rem;
}
.wp-page .wp-cta-banner,
.gcta__banner,
.gcta--soft .gcta__banner,
.gcta--dark .gcta__banner,
.wp-page .wp-cta-banner--dark {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.7rem;
width: min(var(--wp-max, 1120px), 100%);
margin-inline: auto;
padding: 0.9rem 1rem;
border: 1px solid rgba(15, 23, 42, 0.07);
border-radius: 14px;
background: rgba(255, 255, 255, 0.86) !important;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 22px rgba(15, 23, 42, 0.035);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
text-align: center;
}
.wp-page .wp-cta-banner__copy,
.gcta__copy {
flex: 0 1 auto;
width: min(40rem, 100%);
display: grid;
gap: 0.55rem;
text-align: center;
}
.wp-sec--cta .ec-h2,
.wp-sec--cta .wp-typo-heading,
.gcta__title {
margin: 0;
color: #0f172a;
font-size: 0.95rem;
font-weight: 650;
letter-spacing: -0.01em;
}
.wp-sec--cta .ec-kicker,
.wp-sec--cta .ec-lead,
.gcta__helper,
.gcta--dark .gcta__helper {
margin: 0;
color: #64748b;
font-size: 0.75rem;
line-height: 1.5;
}
.wp-sec--cta .ec-btn,
.wp-sec--cta .wp-cta-btn,
.wp-sec--cta .wp-cta-btn-secondary,
.gcta__btn,
.wp-page--course .wp-sec--cta .ec-btn,
.wp-page--course .ec-section--cta .ec-btn {
min-height: 36px;
height: 36px;
padding: 0 1rem;
border-radius: 10px;
font-size: 0.8125rem;
font-weight: 650;
}
.wp-sec--cta .ec-actions,
.gcta__actions,
.wp-page .wp-cta-banner .ec-actions {
flex: 0 0 auto;
justify-content: center;
}
@media (max-width: 720px) {
.ec-hero .ec-actions,
.wp-sec--cta .ec-actions,
.gcta__actions,
.dh-hero__buttons,
.wp-page .ec-actions {
width: 100%;
}
.ec-hero .ec-actions .ec-btn,
.wp-sec--cta .ec-actions .ec-btn,
.gcta__actions .gcta__btn,
.dh-hero__buttons .btn,
.wp-page .ec-actions .wp-cta-btn,
.wp-page .ec-actions .ec-btn {
flex: 1 1 100%;
width: 100%;
min-width: 0;
}
}
/* /static/css/showcase.css */
.showcase-section {
position: relative;
width: 100%;
overflow: hidden;
}
.showcase-section--lp {
background: linear-gradient(180deg, #f0f4ff 0%, #e8edf8 100%);
padding: 72px 0 88px;
border-top: 1px solid var(--ds-gray-200, #E2E8F0);
}
.showcase-inner { position: relative; z-index: 1; }
.showcase-header {
text-align: center;
margin-bottom: 44px;
}
.showcase-header--light { margin-bottom: 40px; }
.showcase-eyebrow {
display: inline-block;
font-size: .72rem;
font-weight: 800;
letter-spacing: .12em;
text-transform: uppercase;
color: var(--ds-amber-500, #F59E0B);
border: 1px solid rgba(245, 158, 11, .35);
border-radius: 20px;
padding: 3px 14px;
margin-bottom: 14px;
}
.showcase-eyebrow--dark {
color: var(--ds-navy-700, #1e3a5f);
border-color: var(--ds-navy-300, #94A3B8);
}
.showcase-title {
font-size: clamp(1.55rem, 3vw, 2.2rem);
font-weight: 800;
color: #fff;
margin: 0;
line-height: 1.25;
}
.showcase-title--dark { color: var(--ds-navy-900, #0f1f3d); }
.path-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
align-items: stretch;
}
.path-card {
display: flex;
flex-direction: column;
text-decoration: none;
padding: 30px 26px 24px;
background: rgba(255, 255, 255, 0.80);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1.5px solid rgba(255, 255, 255, 0.65);
border-radius: 20px;
color: var(--ds-navy-900, #0f1f3d);
box-shadow: 0 4px 20px rgba(11, 27, 58, 0.07);
transition: border-color .2s, box-shadow .2s, transform .2s;
position: relative;
overflow: hidden;
}
.path-card::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 3px;
background: var(--ds-amber-500, #F59E0B);
transform: scaleX(0);
transform-origin: right;
transition: transform .22s ease;
}
a.path-card:hover {
border-color: rgba(245, 158, 11, .55);
box-shadow: 0 10px 36px -6px rgba(11, 27, 58, .14);
transform: translateY(-3px);
color: var(--ds-navy-900, #0f1f3d);
}
a.path-card:hover::after { transform: scaleX(1); }
.path-card--kids {
cursor: default;
}
.path-card--kids:hover {
box-shadow: 0 6px 24px rgba(11, 27, 58, .10);
}
.path-card__icon {
font-size: 2.4rem;
line-height: 1;
margin-bottom: 14px;
display: block;
}
.path-card__title {
font-size: 1.05rem;
font-weight: 800;
color: var(--ds-navy-900, #0f1f3d);
margin: 0 0 8px;
}
.path-card__sub {
font-size: .83rem;
color: var(--ds-navy-600, #4a6b8a);
line-height: 1.6;
flex: 1;
margin: 0;
}
.path-card__cta {
display: inline-block;
margin-top: 18px;
font-size: .9rem;
font-weight: 700;
color: var(--ds-amber-500, #F59E0B);
transition: transform .18s ease;
}
a.path-card:hover .path-card__cta {
transform: translateX(-5px);
}
.path-pills {
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
margin-top: 18px;
}
.path-pill {
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
font-size: .83rem;
font-weight: 700;
border-radius: 999px;
padding: 4px 13px;
border: 1.5px solid var(--ds-navy-300, #94A3B8);
color: var(--ds-navy-700, #1e3a5f);
background: rgba(255, 255, 255, 0.9);
transition: background .16s, border-color .16s, color .16s, box-shadow .16s;
}
.path-pill--lg {
width: 140px;
height: 44px;
font-size: .9rem;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 8px rgba(11, 27, 58, .07);
}
.path-pill:hover,
.path-pill--lg:hover {
background: var(--ds-amber-500, #F59E0B);
border-color: var(--ds-amber-500, #F59E0B);
color: #fff;
box-shadow: 0 4px 14px rgba(245, 158, 11, .35);
}
@media (max-width: 900px) {
.path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
.showcase-section--lp { padding: 40px 0 48px; }
.showcase-header,
.showcase-header--light { margin-bottom: 22px; }
.showcase-title,
.showcase-title--dark {
font-size: clamp(1.5rem, 5.5vw, 1.75rem);
line-height: 1.35;
}
.path-grid {
grid-template-columns: 1fr;
gap: 12px;
}
.path-card {
padding: 20px 16px 18px;
border-radius: 16px;
}
.path-card__icon { font-size: 1.75rem; margin-bottom: 10px; }
.path-card__title { font-size: 1.125rem; }
.path-card__sub { font-size: 0.875rem; }
.path-pills {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.path-pill--lg {
width: 100%;
height: auto;
min-height: 44px;
font-size: 0.82rem;
}
}
/* /static/css/exams_section.css */
.intexams {
position: relative;
width: 100%;
min-height: 520px;
display: flex;
align-items: center;
padding: 80px 0;
background: linear-gradient(135deg, #0B1B33 0%, #0D2045 60%, #122050 100%);
background-size: cover;
background-position: center;
overflow: hidden;
}
.intexams__overlay {
position: absolute;
inset: 0;
background: var(--overlay-color, #0B1B33);
opacity: var(--overlay-opacity, 0.45);
}
.intexams__container {
position: relative;
z-index: 2;
width: 100%;
max-width: 1100px;
margin: 0 auto;
padding: 0 18px;
text-align: var(--iex-text-align, center);
}
.intexams__eyebrow {
display: inline-block;
font-size: 0.70rem;
font-weight: 800;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #F59E0B;
border: 1px solid rgba(245, 158, 11, 0.40);
border-radius: 20px;
padding: 3px 14px;
margin-bottom: 14px;
}
.intexams__title {
font-size: var(--iex-title-size, 56px);
font-weight: var(--iex-title-weight, 700);
color: var(--iex-title-color, #ffffff);
margin: 0 0 10px;
line-height: 1.2;
}
.intexams__subtitle {
font-size: var(--iex-sub-size, 18px);
font-weight: var(--iex-sub-weight, 400);
color: var(--iex-sub-color, rgba(255, 255, 255, 0.85));
margin: 0 0 32px;
line-height: 1.5;
}
.intexams__grid {
display: grid;
grid-template-columns: repeat(3, 130px);
gap: 16px;
justify-content: center;
max-width: 980px;
margin: 0 auto;
}
.exam-thumb {
width: 130px;
height: 130px;
border-radius: 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
text-decoration: none;
position: relative;
overflow: hidden;
transition: transform 0.28s ease, box-shadow 0.28s ease;
background: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.22);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
background: linear-gradient(
135deg,
color-mix(in srgb, var(--accent, #F59E0B) 22%, transparent) 0%,
rgba(255, 255, 255, 0.07) 100%
);
border: 1px solid color-mix(in srgb, var(--accent, #F59E0B) 28%, rgba(255, 255, 255, 0.18));
}
@supports (backdrop-filter: blur(1px)) {
.exam-thumb {
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
}
.exam-thumb::before {
content: "";
position: absolute;
top: 10px;
left: 10px;
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--accent, #F59E0B);
opacity: 0.9;
}
.exam-thumb__name {
font-weight: 600;
font-size: 18px;
color: var(--exam-text, #ffffff);
line-height: 1.3;
padding: 0 8px;
}
.exam-thumb[style*="--exam-bg"] {
background: var(--exam-bg);
}
.exam-thumb:not(.exam-thumb--no-link):hover {
transform: translateY(-6px) scale(1.05);
box-shadow:
0 12px 32px color-mix(in srgb, var(--accent, #F59E0B) 30%, transparent),
0 4px 10px rgba(0, 0, 0, 0.22);
}
.exam-thumb--no-link {
cursor: default;
opacity: 0.55;
pointer-events: none;
}
.exam-decor {
position: absolute;
opacity: 0.15;
z-index: 1;
pointer-events: none;
}
.exam-decor--left  { left: 5%;   top: 20%; width: 160px; }
.exam-decor--right { right: 5%;  top: 15%; width: 180px; }
.exam-decor--bottom {
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 220px;
}
@media (max-width: 768px) {
.exam-decor--left,
.exam-decor--right { display: none; }
}
@media (max-width: 768px) {
.intexams {
min-height: 0;
padding: 40px 0 44px;
}
.intexams__title {
font-size: clamp(1.5rem, 6vw, 1.85rem);
}
.intexams__subtitle {
font-size: clamp(0.875rem, 3.2vw, 1rem);
margin-bottom: 20px;
}
.intexams__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
width: 100%;
max-width: 100%;
}
.exam-thumb {
width: 100%;
height: auto;
aspect-ratio: 1 / 1;
border-radius: 14px;
}
.exam-thumb__name {
font-size: clamp(0.85rem, 3.4vw, 1rem);
overflow-wrap: anywhere;
word-break: break-word;
}
.exam-thumb::before {
width: 7px;
height: 7px;
top: 8px;
left: 8px;
}
}
@media (max-width: 375px) {
.intexams { padding: 32px 0 36px; }
.exam-thumb__name { font-size: 0.85rem; }
}
/* /static/css/footer.css */
.site-footer {
--ft-bg:        #0F172A;
--ft-bg2:       #111827;
--ft-accent:    #f97316;
--ft-muted:     #94a3b8;
--ft-border:    rgba(255, 255, 255, 0.08);
--ft-icon-bg:   rgba(255, 255, 255, 0.07);
--ft-chat:      #22c55e;
--ft-glow:      rgba(249, 115, 22, 0.16);
}
.site-footer {
background: linear-gradient(135deg, var(--ft-bg) 0%, var(--ft-bg2) 100%);
color: rgba(255, 255, 255, .88);
font-family: Vazirmatn, IRANSans, "Segoe UI", sans-serif;
direction: rtl;
padding: 32px 24px 14px;
margin-top: 0;
border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1.6fr 1fr 1fr 1fr;
gap: 24px 36px;
align-items: start;
background: transparent;
}
.footer-col,
.footer-bottom { background: transparent; }
.footer-col {
opacity: 1;
transform: translateY(0);
}
.site-footer.ft-anim .footer-col {
opacity: 0;
transform: translateY(24px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.site-footer.ft-anim .footer-col.ft-visible {
opacity: 1;
transform: translateY(0);
}
.site-footer.ft-anim .footer-col:nth-child(1) { transition-delay: 0.00s; }
.site-footer.ft-anim .footer-col:nth-child(2) { transition-delay: 0.10s; }
.site-footer.ft-anim .footer-col:nth-child(3) { transition-delay: 0.20s; }
.site-footer.ft-anim .footer-col:nth-child(4) { transition-delay: 0.30s; }
.footer-brand-name {
font-size: 22px;
font-weight: 800;
color: #fff;
margin: 0 0 6px;
line-height: 1.3;
letter-spacing: -0.02em;
}
.footer-brand-name::after {
content: "";
display: block;
width: 36px;
height: 2px;
background: var(--ft-accent);
margin-top: 8px;
border-radius: 2px;
}
.footer-tagline {
font-size: 13px;
color: var(--ft-muted);
margin: 8px 0 14px;
line-height: 1.65;
}
.footer-tagline--body {
margin-top: -8px;
margin-bottom: 12px;
color: rgba(255, 255, 255, 0.74);
}
.footer-address {
font-style: normal;
color: rgba(255, 255, 255, 0.72);
}
.footer-address p {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 13px;
line-height: 1.65;
margin: 0 0 6px;
}
.footer-address p:last-child { margin-bottom: 0; }
.footer-address--html {
font-size: 13.5px;
line-height: 1.75;
color: rgba(255, 255, 255, 0.72);
}
.footer-address--html p { margin: 0 0 10px; }
.footer-address--html p:last-child { margin-bottom: 0; }
.footer-address--html strong {
display: block;
color: rgba(255, 255, 255, 0.92);
font-weight: 600;
margin-bottom: 2px;
}
.footer-address--html a { color: inherit; text-decoration: none; }
.footer-address--html a:hover { color: var(--ft-accent); }
.footer-branch-list {
display: grid;
gap: 8px;
}
.footer-branch {
padding: 8px 10px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 8px;
background: rgba(255, 255, 255, 0.03);
}
.footer-branch__name {
margin: 0 0 4px;
font-size: 12.5px;
color: #fff;
}
.footer-branch__addr {
margin: 0;
display: inline-flex;
align-items: flex-start;
gap: 6px;
font-size: 12px;
color: rgba(255, 255, 255, 0.68);
line-height: 1.6;
}
.ft-addr-icon {
width: 14px;
height: 14px;
flex-shrink: 0;
margin-top: 3px;
color: var(--ft-accent);
opacity: 0.80;
}
.footer-heading {
font-size: 14px;
font-weight: 700;
color: var(--ft-accent);
margin: 0 0 12px;
padding-bottom: 8px;
border-bottom: 2px solid var(--ft-accent);
display: block;
width: fit-content;
line-height: 1.4;
letter-spacing: 0.01em;
}
.footer-contact-list {
list-style: none;
padding: 0;
margin: 0;
}
.footer-contact-list li { margin-bottom: 8px; }
.footer-contact-list li:last-child { margin-bottom: 0; }
.ft-contact-link {
display: inline-flex;
align-items: center;
gap: 8px;
color: rgba(255, 255, 255, 0.72);
text-decoration: none;
font-size: 13px;
line-height: 1.5;
transition: color 0.2s ease;
}
.ft-contact-link:hover { color: #fff; }
.ft-contact-link svg {
width: 15px;
height: 15px;
flex-shrink: 0;
opacity: 0.55;
transition: opacity 0.2s ease;
}
.ft-contact-link:hover svg { opacity: 0.85; }
.ft-contact-link__meta {
display: inline-block;
margin-right: 4px;
color: var(--ft-accent);
font-size: 11.5px;
font-weight: 600;
}
.ft-contact-link--hotline {
color: #f8d386;
}
.ft-contact-link--hotline:hover {
color: #ffe2a6;
}
.ft-phone span {
direction: ltr;
unicode-bidi: embed;
font-family: "SF Mono", monospace, Vazirmatn, sans-serif;
letter-spacing: 0.04em;
}
.footer-links {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li { margin-bottom: 7px; }
.footer-links li:last-child { margin-bottom: 0; }
.footer-links a {
display: inline-flex;
align-items: center;
color: rgba(255, 255, 255, 0.72);
text-decoration: none;
font-size: 13px;
line-height: 1.5;
transition: color 0.2s ease;
}
.footer-links a::before {
content: "← ";
color: var(--ft-accent);
font-size: 11px;
opacity: 0;
margin-left: 5px;
transition: opacity 0.2s ease;
}
.footer-links a:hover             { color: var(--ft-accent); }
.footer-links a:hover::before     { opacity: 1; }
.footer-social-grid {
display: flex;
flex-wrap: nowrap;
gap: 8px;
margin-bottom: 14px;
}
.ft-social-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 9px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, .10);
color: var(--ft-muted);
text-decoration: none;
flex-shrink: 0;
transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease,
border-color 0.22s ease, box-shadow 0.22s ease;
}
.ft-social-icon svg {
width: 16px;
height: 16px;
flex-shrink: 0;
}
.ft-social-icon--instagram {
color: #E1306C;
border-color: rgba(225, 48, 108, 0.28);
background: rgba(225, 48, 108, 0.08);
}
.ft-social-icon--telegram {
color: #29B6F6;
border-color: rgba(41, 182, 246, 0.28);
background: rgba(41, 182, 246, 0.08);
}
.ft-social-icon--whatsapp {
color: #25D366;
border-color: rgba(37, 211, 102, 0.28);
background: rgba(37, 211, 102, 0.08);
}
.ft-social-icon--youtube {
color: #FF4444;
border-color: rgba(255, 68, 68, 0.28);
background: rgba(255, 68, 68, 0.08);
}
.ft-social-icon--linkedin {
color: #0A84FF;
border-color: rgba(10, 132, 255, 0.28);
background: rgba(10, 132, 255, 0.08);
}
.ft-social-icon:hover {
color: #fff;
transform: scale(1.12);
}
.ft-social-icon--instagram:hover {
background: #E1306C;
border-color: #E1306C;
box-shadow: 0 4px 18px rgba(225, 48, 108, 0.40);
}
.ft-social-icon--telegram:hover {
background: #29B6F6;
border-color: #29B6F6;
box-shadow: 0 4px 18px rgba(41, 182, 246, 0.40);
}
.ft-social-icon--whatsapp:hover {
background: #25D366;
border-color: #25D366;
box-shadow: 0 4px 18px rgba(37, 211, 102, 0.40);
}
.ft-social-icon--youtube:hover {
background: #FF4444;
border-color: #FF4444;
box-shadow: 0 4px 18px rgba(255, 68, 68, 0.40);
}
.ft-social-icon--linkedin:hover {
background: #0A84FF;
border-color: #0A84FF;
box-shadow: 0 4px 18px rgba(10, 132, 255, 0.40);
}
.footer-chat-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 20px;
border-radius: 100px;
background: var(--ft-chat, #22c55e);
color: #fff;
font-size: 13.5px;
font-weight: 700;
text-decoration: none;
transition: filter 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
box-shadow: 0 4px 18px rgba(34, 197, 94, .28);
}
.footer-chat-btn:hover {
filter: brightness(1.12);
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(34, 197, 94, .40);
color: #fff;
}
.footer-chat-btn svg { flex-shrink: 0; }
.footer-bottom {
max-width: 1200px;
margin: 20px auto 0;
padding: 16px 0 8px;
border-top: 1px solid rgba(255, 255, 255, 0.08);
text-align: center;
font-size: 12px;
color: rgba(255, 255, 255, 0.42);
direction: rtl;
background: transparent;
}
.footer-bottom__inner {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 16px 24px;
padding: 0 8px;
}
.footer-bottom__copy {
flex: 1 1 220px;
text-align: right;
}
.footer-enamad-box {
margin-top: 22px;
}
.footer-enamad-box .footer-heading {
margin-bottom: 12px;
}
.footer-enamad-box a {
display: inline-block;
line-height: 0;
vertical-align: middle;
background: #ffffff;
border-radius: 10px;
padding: 8px 10px;
}
.footer-enamad-box img {
display: block;
width: 140px;
height: auto;
max-width: 100%;
object-fit: contain;
cursor: pointer;
}
.footer-enamad-box img.is-live-seal {
width: 125px;
}
.wa-float {
position: fixed;
bottom: 28px;
left: 28px;
z-index: 999;
display: inline-flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
border-radius: 50%;
background: var(--ft-chat, #22c55e);
color: #fff;
text-decoration: none;
box-shadow: 0 6px 24px rgba(34, 197, 94, .38);
transition: transform 0.22s, box-shadow 0.22s;
}
.wa-float:hover {
transform: scale(1.08);
box-shadow: 0 8px 32px rgba(34, 197, 94, .55);
}
.wa-float svg { flex-shrink: 0; }
.wa-float__pulse {
position: absolute;
inset: -4px;
border-radius: 50%;
border: 2px solid var(--ft-chat, #22c55e);
opacity: 0;
animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
0%   { transform: scale(1);   opacity: 0.70; }
70%  { transform: scale(1.5); opacity: 0;    }
100% { transform: scale(1.5); opacity: 0;    }
}
@media (max-width: 1024px) {
.footer-inner {
grid-template-columns: 1fr 1fr;
gap: 40px 32px;
}
}
@media (max-width: 768px) {
.site-footer { padding: 36px 20px 16px; }
.footer-inner {
grid-template-columns: 1fr;
gap: 32px;
text-align: center;
}
.footer-brand-name::after { margin-left: auto; margin-right: auto; }
.footer-address p,
.footer-branch__addr,
.ft-contact-link,
.footer-links a        { justify-content: center; }
.footer-social-grid    { justify-content: center; }
.footer-heading        { margin-left: auto; margin-right: auto; }
.footer-chat-btn       { justify-content: center; }
.site-footer.ft-anim .footer-col:nth-child(n) { transition-delay: 0s; }
}
@media (max-width: 480px) {
.site-footer { padding: 28px 16px 14px; }
.footer-bottom { font-size: 12px; }
.footer-bottom__inner { justify-content: center; text-align: center; }
.footer-bottom__copy { text-align: center; flex-basis: 100%; }
.wa-float { bottom: 18px; left: 18px; width: 50px; height: 50px; }
}
/* /static/css/header.css */
:root {
--sh-h:           84px;
--sh-bg:          #0F172A;
--sh-border:      rgba(255, 255, 255, 0.08);
--sh-text:        rgba(241, 245, 249, 0.90);
--sh-muted:       rgba(148, 163, 184, 0.80);
--sh-accent:      #f59e0b;
--sh-zindex:      1000;
--np-bg:          rgba(10, 20, 40, 0.45);
--np-blur:        16px;
--np-border:      rgba(255, 255, 255, 0.10);
--np-zindex:      999;
--ns-bg:          rgba(8, 20, 44, 0.98);
--ns-border:      rgba(255, 255, 255, 0.12);
--ns-radius:      14px;
--nb-zindex:      998;
--t-spring:       0.28s cubic-bezier(0.22, 1, 0.36, 1);
--t-ease:         0.22s ease;
}
body { padding-top: var(--sh-h); }
body.menu-open { overflow: hidden; }
.dh-hero,
.pl-hero,
.video-hero {
min-height: calc(100vh - var(--sh-h));
}
.site-header {
position: fixed;
inset: 0 0 auto 0;
height: var(--sh-h);
z-index: var(--sh-zindex);
background: var(--sh-bg);
display: flex;
align-items: center;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--sh-border);
overflow: visible !important;
}
.site-header__inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
height: 100%;
max-width: 1360px;
margin: 0 auto;
padding: 0 22px;
position: relative;
}
.site-header__utils {
flex-shrink: 0;
display: flex;
align-items: center;
gap: 12px;
justify-content: flex-start;
margin-inline-end: 8px;
}
.site-header__brand {
position: absolute;
bottom: var(--logo-bottom, 0);
top: var(--logo-top, auto);
left: var(--logo-left, 20px);
right: var(--logo-right, auto);
transform: translateY(var(--logo-offset-y, 50%)) translateX(var(--logo-center-x, 0));
z-index: 100;
background: var(--logo-bg, transparent);
border-radius: var(--logo-bg-radius, 0);
padding: var(--logo-bg-padding, 0);
}
.site-header__desktop-nav {
display: none;
flex: 1;
padding-left: var(--nav-left-padding, 110px);
margin-inline: 18px 10px;
min-width: 0;
align-self: stretch;
}
.site-header__brand-text {
font-family: "Playfair Display", serif;
font-style: italic;
font-size: 1.45rem;
font-weight: 700;
color: #fff;
letter-spacing: 0.02em;
}
.site-header__logo-img {
height: var(--logo-size-desktop, 120px) !important;
width: auto !important;
max-width: none !important;
max-height: none !important;
min-width: 0 !important;
min-height: 0 !important;
object-fit: contain;
display: block;
transition: transform 0.3s ease;
filter: var(--logo-drop-shadow, drop-shadow(0 3px 10px rgba(0, 0, 0, 0.40)));
}
.site-header__brand:hover .site-header__logo-img {
transform: scale(1.04);
}
.site-logo {
filter: none !important;
opacity: 1 !important;
mix-blend-mode: normal !important;
-webkit-filter: none !important;
}
.site-header--exam-logo-contrast {
background: #0F172A !important;
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header--exam-logo-contrast .exam-logo-wrapper {
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(15, 23, 42, 0.65);
padding: 6px 16px;
border-radius: 10px;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
}
.site-header--exam-logo-contrast .exam-logo {
height: var(--logo-size-desktop, 120px) !important;
width: auto !important;
max-height: none !important;
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) !important;
-webkit-filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) !important;
opacity: 1 !important;
mix-blend-mode: normal !important;
}
.site-header__toggle {
flex: 1;
display: flex;
align-items: center;
justify-content: flex-end;
}
.site-header__phone {
display: inline-flex;
align-items: center;
gap: 7px;
color: #ffffff;
font-size: 1.05rem;
font-weight: 800;
letter-spacing: 0.02em;
text-decoration: none;
direction: ltr;
white-space: nowrap;
transition: color 0.2s ease;
}
.site-header__phone svg {
flex-shrink: 0;
width: 18px;
height: 18px;
color: #ffffff;
stroke: #ffffff;
}
.site-header__phone span {
color: #ffffff;
font-weight: 800;
font-variant-numeric: tabular-nums;
}
.site-header__phone:hover {
color: #ffffff;
}
.site-header__phone:hover svg {
color: #ffffff;
stroke: #ffffff;
}
.site-header__learn-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 5px 12px;
border-radius: 8px;
text-decoration: none;
white-space: nowrap;
border: 1px solid rgba(251, 146, 60, 0.9);
background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
color: #ffffff;
font-size: 0.72rem;
font-weight: 700;
box-shadow: 0 8px 18px -12px rgba(249, 115, 22, 0.7);
transition: transform var(--t-ease), filter var(--t-ease), box-shadow var(--t-ease);
}
.site-header__learn-label--short,
.site-header__learn-label--xs {
display: none;
}
.site-header__learn-btn:hover {
color: #fff;
filter: brightness(1.03);
transform: translateY(-1px);
}
.site-header__learn-btn:active {
transform: translateY(0);
box-shadow: 0 8px 18px -16px rgba(249, 115, 22, 0.8);
}
.site-header__portal {
display: inline-flex;
align-items: center;
align-self: center;
gap: 4px;
padding: 5px 10px;
background-color: transparent;
border: 1px solid rgba(255, 255, 255, 0.35);
border-radius: 8px;
color: rgba(241, 245, 249, 0.82);
font-size: 0.72rem;
font-weight: 600;
text-decoration: none;
white-space: nowrap;
transition: background-color 0.22s ease, border-color 0.22s ease,
color 0.22s ease, transform 0.22s ease;
}
.site-header__portal:hover {
background-color: rgba(255, 255, 255, 0.12);
border-color: rgba(255, 255, 255, 0.75);
color: #ffffff;
transform: translateY(-1px);
}
.site-header__portal:active {
transform: translateY(0);
box-shadow: 0 4px 12px rgba(255, 122, 0, 0.30);
}
.site-header__auth-actions {
display: inline-flex;
align-items: center;
gap: 10px;
margin-inline-start: 4px;
}
.site-header__auth-pill {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 4px;
border-radius: 8px;
border: 1px solid transparent;
padding: 5px 11px;
font-family: Vazirmatn, IRANSans, "Segoe UI", sans-serif;
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.01em;
text-decoration: none;
cursor: pointer;
white-space: nowrap;
transition: transform 0.20s ease, background 0.20s ease,
border-color 0.20s ease, color 0.20s ease, box-shadow 0.20s ease;
}
.site-header__auth-label--short {
display: none;
}
.site-header__auth-pill--account {
color: #0f172a;
background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
border-color: rgba(251, 146, 60, 0.85);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}
.site-header__auth-pill--account:hover {
background: linear-gradient(135deg, #ffffff 0%, #ffedd5 100%);
border-color: #fb923c;
color: #0f172a;
transform: translateY(-1px);
}
.site-header__auth-pill--home {
color: rgba(241, 245, 249, 0.95);
background: rgba(255, 255, 255, 0.13);
border-color: rgba(255, 255, 255, 0.45);
}
.site-header__auth-pill--home:hover {
color: #fff;
background: rgba(255, 255, 255, 0.22);
border-color: rgba(255, 255, 255, 0.70);
transform: translateY(-1px);
}
.site-header__auth-pill--membership {
color: #0f172a;
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
border-color: rgba(255, 255, 255, 0.70);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}
.site-header__auth-pill--membership:hover {
background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
border-color: #fff;
color: #0f172a;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
transform: translateY(-1px);
}
.site-header__auth-pill--solid {
border-color: #f59e0b;
background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
color: #fff;
box-shadow: 0 4px 18px -8px rgba(249, 115, 22, 0.7);
}
.site-header__auth-pill--solid:hover {
border-color: #fb923c;
color: #fff;
transform: translateY(-1px);
box-shadow: 0 8px 22px -10px rgba(249, 115, 22, 0.85);
}
.mega-nav-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
height: 100%;
}
.mega-nav-item {
position: relative;
display: flex;
align-items: center;
height: 100%;
}
.mega-nav-link {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 10px 14px;
border-radius: 10px;
text-decoration: none;
color: rgba(241, 245, 249, 0.93);
font-size: 0.88rem;
font-weight: 600;
white-space: nowrap;
transition: color var(--t-ease), background-color var(--t-ease);
}
.mega-nav-link:hover {
color: #ffffff;
background: rgba(255, 255, 255, 0.11);
}
.mega-nav-link__caret {
display: inline-flex;
opacity: 0.72;
transition: transform var(--t-ease);
}
.mega-nav-item.has-mega.is-mega-open > .mega-nav-link .mega-nav-link__caret {
transform: rotate(180deg);
}
.mega-nav-item.has-mega::after {
content: "";
position: absolute;
inset-inline: -12px;
top: 100%;
height: 0;
z-index: 1203;
pointer-events: none;
}
.mega-nav-item.has-mega.is-mega-open::after {
height: 28px;
pointer-events: auto;
}
.mega-menu-panel {
position: fixed;
inset-inline: 0;
top: var(--sh-h);
z-index: 1202;
padding: 10px 18px 0;
max-width: 100vw;
box-sizing: border-box;
overflow-x: hidden;
display: none;
pointer-events: none;
}
.mega-nav-item.has-mega.is-mega-open > .mega-menu-panel {
display: block;
pointer-events: auto;
}
.mega-nav-item.has-mega.is-mega-open > .mega-menu-panel > .mega-menu-panel__inner {
pointer-events: auto;
}
.mega-menu-panel__inner {
max-width: min(1240px, calc(100vw - 36px));
width: 100%;
box-sizing: border-box;
margin: 0 auto;
background: rgba(8, 10, 22, 0.94);
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 18px;
box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255,255,255,0.04) inset;
backdrop-filter: blur(28px) saturate(180%);
-webkit-backdrop-filter: blur(28px) saturate(180%);
padding: 22px 24px;
}
.mega-menu-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 18px;
align-items: start;
}
.mega-menu-grid.has-feature {
grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(220px, 260px);
}
.mega-menu-column {
min-width: 0;
}
.mega-menu-column__head {
display: flex;
align-items: center;
gap: 9px;
padding-bottom: 10px;
margin-bottom: 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
position: relative;
}
.mega-menu-column__icon {
width: 28px;
height: 28px;
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 8px;
background: rgba(99, 102, 241, 0.25);
border: 1px solid rgba(165, 180, 252, 0.3);
font-size: 0.9rem;
}
.mega-menu-column__head h4 {
margin: 0;
color: #ffffff;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
opacity: 0.9;
}
.mega-menu-column__head p {
margin: 3px 0 0;
color: rgba(255, 255, 255, 0.5);
font-size: 0.73rem;
}
.mega-menu-links {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 6px;
}
.mega-menu-link {
display: flex;
align-items: flex-start;
gap: 8px;
border-radius: 10px;
padding: 8px 9px;
text-decoration: none;
border: 1px solid transparent;
background: rgba(255, 255, 255, 0.04);
transition: border-color var(--t-ease), background-color var(--t-ease), transform var(--t-ease);
}
.mega-menu-link:hover {
border-color: rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.1);
transform: translateY(-1px);
}
.mega-menu-link__icon {
width: 22px;
height: 22px;
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 1rem;
color: rgba(255, 255, 255, 0.7);
}
.mega-menu-link__icon--dot {
position: relative;
}
.mega-menu-link__icon--dot::before {
content: "";
width: 7px;
height: 7px;
border-radius: 50%;
background: linear-gradient(135deg, #818cf8, #a5b4fc);
transition: transform 0.18s ease, background 0.18s ease;
display: block;
}
.mega-menu-link:hover .mega-menu-link__icon--dot::before {
background: linear-gradient(135deg, #6366f1, #818cf8);
transform: scale(1.4);
}
.mega-menu-link__content {
min-width: 0;
flex: 1;
display: grid;
gap: 2px;
}
.mega-menu-link__title {
color: rgba(255, 255, 255, 0.88);
font-size: 0.82rem;
font-weight: 600;
}
.mega-menu-link:hover .mega-menu-link__title {
color: #ffffff;
}
.mega-menu-link__desc {
display: inline-block;
margin-top: 2px;
padding: 1px 7px;
background: rgba(99, 102, 241, 0.18);
border: 1px solid rgba(99, 102, 241, 0.35);
border-radius: 999px;
color: rgba(199, 210, 254, 0.9);
font-size: 0.68rem;
font-weight: 500;
letter-spacing: 0.02em;
line-height: 1.6;
white-space: nowrap;
}
.mega-menu-link__badge {
align-self: center;
border-radius: 999px;
border: 1px solid rgba(245, 158, 11, 0.28);
background: rgba(245, 158, 11, 0.1);
color: #b45309;
padding: 2px 7px;
font-size: 0.67rem;
font-weight: 700;
white-space: nowrap;
}
.mega-menu-feature {
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(255, 255, 255, 0.06);
padding: 14px;
display: grid;
gap: 10px;
align-content: start;
}
.mega-menu-feature h4 {
margin: 0;
color: #ffffff;
font-size: 0.95rem;
font-weight: 800;
}
.mega-menu-feature p {
margin: 0;
color: rgba(255, 255, 255, 0.6);
font-size: 0.8rem;
line-height: 1.7;
}
.mega-menu-feature__cta {
display: inline-flex;
align-items: center;
justify-content: center;
width: fit-content;
border-radius: 10px;
text-decoration: none;
background: #0f172a;
color: #ffffff;
padding: 8px 12px;
font-size: 0.78rem;
font-weight: 700;
transition: background-color var(--t-ease), transform var(--t-ease);
}
.mega-menu-feature__cta:hover {
background: #1e293b;
transform: translateY(-1px);
}
body.membership-modal-open {
overflow: hidden;
}
.membership-modal-backdrop {
position: fixed;
inset: 0;
z-index: 1120;
background: rgba(15, 23, 42, 0.56);
opacity: 0;
pointer-events: none;
visibility: hidden;
transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}
.membership-modal {
position: fixed;
inset: 0;
z-index: 1125;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
opacity: 0;
pointer-events: none;
visibility: hidden;
transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}
body.membership-modal-open .membership-modal,
body.membership-modal-open .membership-modal-backdrop {
opacity: 1;
pointer-events: auto;
visibility: visible;
transition: opacity 0.22s ease, visibility 0s linear 0s;
}
.membership-modal__dialog {
position: relative;
width: min(720px, calc(100vw - 32px));
border-radius: 20px;
border: 1px solid #e2e8f0;
background: #ffffff;
box-shadow: 0 28px 70px -38px rgba(15, 23, 42, 0.42);
padding: 28px 26px 22px;
transform: translateY(10px) scale(0.985);
transition: transform 0.24s ease;
}
body.membership-modal-open .membership-modal__dialog {
transform: translateY(0) scale(1);
}
.membership-modal__close {
position: absolute;
top: 12px;
left: 12px;
width: 34px;
height: 34px;
border-radius: 50%;
border: 1px solid #dbe3ef;
background: #ffffff;
color: #334155;
font-size: 20px;
line-height: 1;
cursor: pointer;
transition: border-color var(--t-ease), background-color var(--t-ease);
}
.membership-modal__close:hover {
border-color: #cbd5e1;
background: #f8fafc;
}
.membership-modal__badge {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
border: 1px solid #dbe3ef;
color: #0f172a;
background: #f8fafc;
padding: 5px 11px;
font-size: 0.71rem;
font-weight: 700;
letter-spacing: 0.05em;
}
.membership-modal__head {
margin-top: 12px;
}
.membership-modal__head h2 {
margin: 0;
color: #0f172a;
font-size: 1.35rem;
font-weight: 800;
}
.membership-modal__head p {
margin: 8px 0 0;
color: #64748b;
font-size: 0.9rem;
line-height: 1.9;
}
.membership-modal__form {
margin-top: 20px;
}
.membership-modal__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px 16px;
}
.membership-modal__field {
display: grid;
gap: 7px;
}
.membership-modal__field--full {
grid-column: 1 / -1;
}
.membership-modal__field label {
color: #1e293b;
font-size: 0.84rem;
font-weight: 700;
}
.membership-modal__field input,
.membership-modal__field select {
width: 100%;
min-height: 52px;
border-radius: 12px;
border: 1px solid #d8e0eb;
background: #f8fafc;
color: #0f172a;
font-size: 0.92rem;
padding: 12px 14px;
outline: none;
transition: border-color var(--t-ease), box-shadow var(--t-ease), background-color var(--t-ease);
}
.membership-modal__field input::placeholder {
color: #94a3b8;
}
.membership-modal__field input:focus,
.membership-modal__field select:focus {
border-color: #fb923c;
background: #ffffff;
box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.17);
}
.membership-modal__select-wrap {
position: relative;
}
.membership-modal__select-wrap::after {
content: "";
position: absolute;
inset-inline-start: 14px;
top: 50%;
width: 8px;
height: 8px;
border-left: 2px solid #64748b;
border-bottom: 2px solid #64748b;
transform: translateY(-65%) rotate(-45deg);
pointer-events: none;
}
.membership-modal__field select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
padding-inline-end: 14px;
padding-inline-start: 34px;
cursor: pointer;
}
.membership-modal__submit {
margin-top: 16px;
width: 100%;
min-height: 52px;
border: 0;
border-radius: 13px;
background: #ff7a00;
color: #ffffff;
font-size: 0.95rem;
font-weight: 800;
cursor: pointer;
transition: background-color var(--t-ease), transform var(--t-ease), box-shadow var(--t-ease);
box-shadow: 0 16px 28px -18px rgba(255, 122, 0, 0.72);
}
.membership-modal__submit:hover {
background: #f97316;
transform: translateY(-1px);
}
.membership-modal__submit:active {
transform: translateY(0);
}
.membership-modal__note {
margin: 10px 0 0;
color: #64748b;
font-size: 0.79rem;
line-height: 1.8;
}
.membership-modal__success {
margin: 8px 0 0;
color: #15803d;
font-size: 0.79rem;
font-weight: 700;
}
body.auth-modal-open,
html.auth-modal-open,
html.da-scroll-locked,
html.da-scroll-locked body,
body.da-scroll-locked {
overflow: hidden;
overscroll-behavior: none;
}
.auth-modal-backdrop {
position: fixed;
inset: 0;
z-index: 10100;
background: rgba(15, 23, 42, 0.48);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
opacity: 0;
pointer-events: none;
visibility: hidden;
transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}
.auth-modal {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
height: 100dvh;
height: 100svh;
z-index: 10110;
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
box-sizing: border-box;
opacity: 0;
pointer-events: none;
visibility: hidden;
transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}
body.auth-modal-open .auth-modal,
body.auth-modal-open .auth-modal-backdrop {
opacity: 1;
pointer-events: auto;
visibility: visible;
transition: opacity 0.28s ease, visibility 0s linear 0s;
}
.auth-modal,
.auth-modal button,
.auth-modal input,
.auth-modal select,
.auth-modal textarea {
font-family: var(--font-body, "Vazirmatn", "Tahoma", sans-serif);
}
.auth-modal__dialog {
position: relative;
width: min(480px, 95vw);
border-radius: 24px;
border: 1px solid rgba(15, 23, 42, 0.06);
background: #fff;
box-shadow: 0 32px 80px -28px rgba(15, 23, 42, 0.45);
padding: 28px 28px 22px;
transform: translateY(16px) scale(0.98);
transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.auth-modal__dialog--dual,
.auth-modal__dialog--mydiako {
width: min(440px, calc(100vw - 32px));
max-height: min(92dvh, 720px);
overflow-x: hidden;
overflow-y: auto;
padding: 1.25rem 1.35rem 1.05rem;
border: 1px solid rgba(15, 23, 42, 0.06);
border-radius: 22px;
box-shadow: 0 32px 80px -28px rgba(15, 23, 42, 0.4);
background: #fff;
}
.mydiako-auth__logo {
width: auto;
height: 52px;
max-width: 52px;
object-fit: contain;
object-position: center;
display: block;
margin: 0 auto 0.45rem;
}
.mydiako-auth__brand {
text-align: center;
margin-bottom: 0.35rem;
}
.mydiako-auth__kicker {
margin: 0 0 0.4rem;
text-align: center;
font-weight: 800;
font-size: 0.95rem;
letter-spacing: 0.08em;
color: #0f766e;
direction: ltr;
}
.mydiako-auth__question {
display: none;
}
.mydiako-auth__region {
display: grid;
gap: 0.65rem;
}
.mydiako-auth__choice {
display: flex;
align-items: center;
gap: 0.85rem;
width: 100%;
min-height: 88px;
text-align: right;
padding: 0.9rem 1rem;
border: 1px solid #d5deea;
border-radius: 16px;
background: #f8fafc;
cursor: pointer;
appearance: none;
box-shadow: none;
transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.mydiako-auth__choice:hover {
background: #eff6ff;
border-color: #93c5fd;
}
.mydiako-auth__choice:active,
.mydiako-auth__choice:focus-visible {
outline: none;
border-color: #93c5fd;
background: #eff6ff;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.mydiako-auth__flag {
flex: 0 0 auto;
width: 44px;
height: 44px;
border-radius: 12px;
display: inline-flex;
align-items: center;
justify-content: center;
background: #f1f5f9;
overflow: hidden;
}
.mydiako-auth__flag-svg {
width: 28px;
height: 20px;
display: block;
border-radius: 3px;
box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.mydiako-auth__choice[value="abroad"] .mydiako-auth__flag-svg {
width: 26px;
height: 26px;
border-radius: 0;
box-shadow: none;
}
.mydiako-auth__choice-text {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.28rem;
flex: 1 1 auto;
min-width: 0;
}
.mydiako-auth__choice-text strong {
font-size: 1.02rem;
font-weight: 800;
color: #0f172a;
line-height: 1.35;
}
.mydiako-auth__choice-text span {
font-size: 0.8rem;
font-weight: 500;
color: #64748b;
line-height: 1.55;
}
.mydiako-auth__staff-link {
display: block;
width: 100%;
margin-top: 0.65rem;
text-align: center;
}
.mydiako-auth__staff .auth-modal__form {
gap: 0.45rem;
margin-top: 0.55rem;
}
.mydiako-auth__staff .auth-modal__form input {
min-height: 44px;
}
.mydiako-auth__staff .auth-modal__form .da-pw-field {
min-height: 44px;
}
.mydiako-auth__staff .auth-modal__form .da-pw-field > input {
padding-inline-end: 0.35rem;
min-height: 42px;
}
.mydiako-auth__staff .auth-modal__forgot {
color: #64748b;
font-weight: 600;
}
.mydiako-auth__staff .auth-modal__forgot:hover,
.mydiako-auth__staff .auth-modal__forgot:focus-visible {
color: #334155;
text-decoration: underline;
}
.mydiako-auth__staff-footer {
margin: 0.9rem 0 0;
padding-top: 0.8rem;
border-top: 1px solid #e2e8f0;
text-align: center;
color: #64748b;
font-size: 0.82rem;
font-weight: 500;
line-height: 1.65;
}
.mydiako-auth__staff-footer a {
color: #0f766e;
font-weight: 700;
text-decoration: none;
}
.mydiako-auth__staff-footer a:hover,
.mydiako-auth__staff-footer a:focus-visible {
text-decoration: underline;
}
.mydiako-auth__phone {
display: grid;
grid-template-columns: minmax(7.5rem, 0.9fr) 1.4fr;
gap: 0.45rem;
}
.mydiako-auth__phone--iran {
direction: ltr;
grid-template-columns: auto 1fr;
gap: 0;
}
.mydiako-auth__phone--iran input {
border-radius: 0 10px 10px 0;
}
.mydiako-auth__phone select,
.mydiako-auth__phone input {
min-width: 0;
}
.mydiako-auth__req {
color: #dc2626;
font-weight: 800;
}
.mydiako-auth__phone.is-iti {
grid-template-columns: 1fr;
}
.mydiako-auth__phone .iti {
width: 100%;
direction: ltr;
}
.mydiako-auth__phone .iti input[type="tel"] {
width: 100%;
}
.mydiako-auth__phone .iti__country-list {
max-height: 14rem;
}
#mydiako-iti-dropdown-host {
position: fixed;
inset: 0;
z-index: 10120;
pointer-events: none;
overflow: visible;
transform: none;
filter: none;
isolation: isolate;
}
#mydiako-iti-dropdown-host .iti.iti--container,
#mydiako-iti-dropdown-host .mydiako-iti-portal {
pointer-events: auto !important;
position: fixed !important;
z-index: 1 !important;
transform: none !important;
filter: none !important;
}
#mydiako-iti-dropdown-host .iti__country-list {
position: relative !important;
top: auto !important;
left: auto !important;
display: block !important;
width: 100% !important;
max-height: min(320px, calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px))) !important;
overflow-x: hidden !important;
overflow-y: scroll !important;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
touch-action: pan-y;
pointer-events: auto !important;
text-align: left;
z-index: 1;
}
#mydiako-iti-dropdown-host .iti__country {
cursor: pointer;
}
html.mydiako-iti-open,
html.mydiako-iti-open body {
overflow: hidden !important;
overscroll-behavior: none;
}
html.mydiako-iti-open #mydiako-iti-dropdown-host .iti__country-list {
touch-action: pan-y !important;
}
.mydiako-auth__iran-code {
display: flex;
align-items: center;
justify-content: center;
gap: 0.35rem;
padding: 0 0.8rem;
border: 1px solid #cbd5e1;
border-right: 0;
border-radius: 10px 0 0 10px;
background: #f8fafc;
color: #0f172a;
font-size: 0.9rem;
font-weight: 700;
white-space: nowrap;
}
.auth-modal__dialog--mydiako .auth-modal__form select {
width: 100%;
border-radius: 12px;
border: 1px solid #e2e8f0;
background: #fff;
padding: 0.7rem 0.75rem;
font-size: 0.86rem;
color: #0f172a;
}
.auth-modal__flash.is-visible {
display: block;
}
body.mydiako-auth-page #main-content {
min-height: 28vh;
background: transparent;
}
body.mydiako-auth-page .mydiako-auth-page__fallback {
min-height: 12vh;
}
.mydiako-auth-page__noscript {
max-width: 26rem;
margin: 2rem auto;
text-align: center;
color: #475569;
}
body.auth-modal-open .auth-modal__dialog {
transform: translateY(0) scale(1);
}
.auth-modal__close {
position: absolute;
top: 16px;
left: 16px;
z-index: 2;
width: 32px;
height: 32px;
border-radius: 999px;
border: 0;
background: #f1f5f9;
color: #475569;
cursor: pointer;
font-size: 1.15rem;
font-weight: 500;
line-height: 1;
display: inline-flex;
align-items: center;
justify-content: center;
transition: background 0.15s ease, color 0.15s ease;
}
.auth-modal__close:hover {
background: #e2e8f0;
border-color: transparent;
color: #0f172a;
}
.auth-modal__close:focus-visible {
outline: 2px solid #f97316;
outline-offset: 2px;
}
.auth-modal__dialog--dual .auth-modal__head {
text-align: center;
padding-inline: 2.5rem;
margin-bottom: 0.25rem;
}
.auth-modal__dialog--mydiako .auth-modal__head {
text-align: center;
padding-inline: 1.75rem;
margin-bottom: 0;
}
.auth-modal__head h2 {
margin: 0;
font-size: clamp(1.2rem, 2.4vw, 1.45rem);
color: #0f172a;
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1.45;
}
.auth-modal__head p {
margin: 0.4rem 0 0;
color: #64748b;
font-size: 0.88rem;
line-height: 1.65;
font-weight: 500;
}
.auth-chooser {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-top: 1.35rem;
align-items: stretch;
}
.auth-chooser__card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
gap: 0.85rem;
width: 100%;
min-height: 220px;
text-align: center;
padding: 1.35rem 1.15rem 1.2rem;
border: 1px solid #e2e8f0;
border-radius: 18px;
background: #fafbfc;
cursor: pointer;
transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.auth-chooser__card:hover {
border-color: #fdba74;
background: #fffaf5;
transform: translateY(-2px);
box-shadow: 0 14px 28px -22px rgba(249, 115, 22, 0.55);
}
.auth-chooser__card:focus-visible {
outline: 2px solid #f97316;
outline-offset: 2px;
}
.auth-chooser__icon {
width: 64px;
height: 64px;
border-radius: 18px;
display: inline-flex;
align-items: center;
justify-content: center;
background: #fff7ed;
color: #ea580c;
flex: 0 0 auto;
}
.auth-chooser__icon--staff {
background: #f1f5f9;
color: #334155;
}
.auth-chooser__body {
display: flex;
flex-direction: column;
gap: 0.4rem;
flex: 1 1 auto;
width: 100%;
}
.auth-chooser__title {
font-size: 1.05rem;
font-weight: 800;
color: #0f172a;
line-height: 1.4;
}
.auth-chooser__desc {
font-size: 0.86rem;
color: #64748b;
line-height: 1.65;
max-width: 22ch;
margin-inline: auto;
}
.auth-chooser__cta {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 44px;
padding: 0.65rem 1rem;
border-radius: 12px;
background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
color: #fff;
font-size: 0.92rem;
font-weight: 800;
pointer-events: none;
}
.auth-chooser__card--staff .auth-chooser__cta {
background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}
.auth-chooser__card:hover .auth-chooser__cta {
filter: brightness(1.04);
}
@media (max-width: 640px) {
.auth-modal {
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100vw;
height: 100svh;
height: 100dvh;
padding: max(16px, env(safe-area-inset-top, 0px)) 12px max(16px, env(safe-area-inset-bottom, 0px));
align-items: center;
justify-content: center;
box-sizing: border-box;
}
.auth-modal__dialog--dual,
.auth-modal__dialog--mydiako {
width: min(100%, calc(100vw - 24px));
max-height: min(78svh, calc(100svh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)));
margin: 0 auto;
align-self: center;
padding: 1.1rem 0.95rem 0.95rem;
border-radius: 20px;
}
.mydiako-auth__logo {
height: 48px;
max-width: 48px;
margin-bottom: 0.35rem;
}
.auth-modal__dialog--mydiako .auth-modal__head {
padding-inline: 1.6rem;
}
.auth-modal__head h2 {
font-size: 1.12rem;
}
.auth-modal__head p {
font-size: 0.8rem;
margin-top: 0.28rem;
}
.auth-modal__dialog--mydiako:has(#auth-panel-staff.is-active) {
max-height: min(88dvh, calc(100dvh - 24px));
}
.mydiako-auth__choice {
min-height: 80px;
padding: 0.8rem 0.85rem;
gap: 0.7rem;
}
.mydiako-auth__choice-text strong {
font-size: 0.95rem;
}
.mydiako-auth__choice-text span {
font-size: 0.74rem;
}
.mydiako-auth__flag {
width: 40px;
height: 40px;
border-radius: 11px;
}
.auth-chooser {
grid-template-columns: 1fr;
gap: 0.75rem;
}
.auth-chooser__card {
min-height: 0;
padding: 1.15rem 1rem 1.05rem;
}
.auth-chooser__icon {
width: 56px;
height: 56px;
border-radius: 16px;
}
.auth-modal__close {
top: 12px;
left: 12px;
width: 30px;
height: 30px;
}
}
.auth-modal__back {
display: inline-flex;
align-items: center;
gap: 0.35rem;
margin: 0.75rem 0 0.35rem;
padding: 0;
border: 0;
background: transparent;
color: #64748b;
font-size: 0.82rem;
font-weight: 700;
cursor: pointer;
}
.auth-modal__back:hover {
color: #ea580c;
}
.mydiako-otp {
display: flex;
direction: ltr;
justify-content: center;
gap: 8px;
margin: 2px 0 4px;
}
.mydiako-otp__box {
width: clamp(40px, 12vw, 48px);
height: 52px;
padding: 0;
text-align: center;
font-size: 1.25rem !important;
font-weight: 800;
color: #0f172a;
border: 1px solid #cbd5e1;
border-radius: 10px;
background: #fff;
outline: none;
caret-color: #ea580c;
transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.auth-modal .auth-modal__form input.mydiako-otp__box:focus {
border-color: #f97316;
box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16);
}
.auth-modal .auth-modal__form input.mydiako-otp__box.is-filled {
border-color: #fdba74;
background: #fffaf5;
}
.auth-modal__otp-hint {
margin: 0 0 0.35rem;
color: #475569;
font-size: 0.84rem;
line-height: 1.6;
}
.auth-modal__otp-actions {
display: flex;
flex-wrap: wrap;
gap: 0.65rem 1rem;
justify-content: space-between;
margin-top: 0.25rem;
}
.auth-modal__link-btn {
border: 0;
background: transparent;
color: #ea580c;
font-size: 0.8rem;
font-weight: 700;
cursor: pointer;
padding: 0;
}
.auth-modal__link-btn:disabled {
color: #94a3b8;
cursor: not-allowed;
}
.auth-modal__row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0.5rem 0.75rem;
margin: 0.15rem 0 0.35rem;
}
.auth-modal__remember {
display: inline-flex;
align-items: center;
gap: 0.4rem;
margin: 0;
color: #475569;
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
}
.auth-modal__remember input {
width: 16px;
height: 16px;
accent-color: #f97316;
}
.auth-modal__forgot {
color: #ea580c;
font-size: 0.8rem;
font-weight: 700;
text-decoration: none;
}
.auth-modal__forgot:hover {
text-decoration: underline;
}
.auth-modal__tabs {
margin-top: 14px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.auth-modal__tab {
border: 1px solid #d6dfeb;
background: #ffffff;
color: #334155;
border-radius: 10px;
padding: 8px 10px;
font-weight: 700;
cursor: pointer;
}
.auth-modal__tab.is-active {
background: #0f172a;
border-color: #0f172a;
color: #fff;
}
.auth-modal__flash {
margin-top: 10px;
border-radius: 10px;
border: 1px solid #fecaca;
background: #fff1f2;
color: #991b1b;
padding: 9px 10px;
font-size: 0.82rem;
}
.auth-modal__flash.is-success {
border-color: #a7f3d0;
background: #ecfdf5;
color: #047857;
}
.auth-modal__panel {
margin-top: 0.85rem;
}
.auth-modal__dialog--mydiako .auth-modal__panel[data-auth-panel="region"] {
margin-top: 0.7rem;
}
.auth-modal__form {
display: grid;
gap: 8px;
}
.auth-modal__form label {
color: #334155;
font-size: 0.82rem;
font-weight: 700;
}
.auth-modal__form input {
border: 1px solid #cbd5e1;
background: #fff;
border-radius: 10px;
padding: 10px 12px;
font-size: 0.9rem;
outline: none;
}
.auth-modal__form input:focus {
border-color: #f97316;
box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}
.auth-modal__form .da-pw-field {
border: 1px solid #cbd5e1;
border-radius: 10px;
background: #fff;
}
.auth-modal__form .da-pw-field:focus-within {
border-color: #f97316;
box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}
.auth-modal__form .da-pw-field > input,
.auth-modal__form .da-pw-field > input:focus {
border: 0 !important;
box-shadow: none !important;
min-height: 42px;
}
.auth-modal__form input.is-invalid {
border-color: #ef4444;
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}
.auth-modal__field-error {
min-height: 16px;
color: #b91c1c;
font-size: 0.74rem;
}
.auth-modal__submit {
margin-top: 6px;
border: 0;
border-radius: 14px;
background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
color: #fff;
padding: 13px;
min-height: 48px;
font-size: 0.92rem;
font-weight: 800;
cursor: pointer;
box-shadow: 0 10px 22px -16px rgba(234, 88, 12, 0.7);
}
.auth-modal__submit:hover {
filter: brightness(1.03);
}
.auth-modal__dialog--dual .auth-modal__form input {
min-height: 46px;
border-radius: 10px;
border: 1px solid #e2e8f0;
padding: 0 12px;
}
.auth-modal__dialog--dual .auth-modal__form input:focus {
border-color: #fdba74;
box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}
.auth-modal__divider {
margin: 10px 0;
text-align: center;
position: relative;
}
.auth-modal__divider span {
background: #f8fafc;
color: #64748b;
padding: 0 8px;
font-size: 0.78rem;
position: relative;
z-index: 1;
}
.auth-modal__divider::before {
content: "";
position: absolute;
top: 50%;
left: 0;
right: 0;
border-top: 1px solid #e2e8f0;
}
.auth-modal__socials {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.auth-modal__social {
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid #d6dfeb;
border-radius: 10px;
background: #fff;
color: #0f172a;
text-decoration: none;
padding: 10px 8px;
font-size: 0.85rem;
font-weight: 700;
}
.auth-modal__social--google:hover {
border-color: #60a5fa;
background: #eff6ff;
}
.auth-modal__social--apple:hover {
border-color: #94a3b8;
background: #f8fafc;
}
.nav-toggle {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
background: rgba(255, 255, 255, 0.07);
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 10px;
color: var(--sh-text);
font-family: inherit;
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
transition: background var(--t-ease), border-color var(--t-ease);
}
.nav-toggle:hover {
background: rgba(255, 255, 255, 0.13);
border-color: rgba(255, 255, 255, 0.28);
}
.nav-toggle__label { user-select: none; }
.nav-toggle__ham {
display: flex;
flex-direction: column;
justify-content: center;
gap: 4px;
width: 18px;
height: 16px;
flex-shrink: 0;
}
.nav-toggle__ham span {
display: block;
height: 2px;
background: currentColor;
border-radius: 2px;
transform-origin: center;
transition: transform var(--t-ease), opacity var(--t-ease);
}
body.menu-open .nav-toggle .nav-toggle__ham span:nth-child(1) {
transform: translateY(6px) rotate(45deg);
}
body.menu-open .nav-toggle .nav-toggle__ham span:nth-child(2) {
opacity: 0;
transform: scaleX(0);
}
body.menu-open .nav-toggle .nav-toggle__ham span:nth-child(3) {
transform: translateY(-6px) rotate(-45deg);
}
.nav-panel {
position: fixed;
top: var(--sh-h);
left: 0;
right: 0;
max-height: calc(100vh - var(--sh-h));
overflow-y: auto;
z-index: var(--np-zindex);
background: var(--np-bg);
backdrop-filter: blur(var(--np-blur));
-webkit-backdrop-filter: blur(var(--np-blur));
border-bottom: 1px solid var(--np-border);
padding: 12px 0 20px;
transform: translateY(-16px);
opacity: 0;
pointer-events: none;
visibility: hidden;
transition:
opacity 0.2s ease,
transform 0.2s ease,
visibility 0s linear 0.2s;
}
body.menu-open .nav-panel {
transform: translateY(0);
opacity: 1;
pointer-events: auto;
visibility: visible;
transition:
opacity 0.2s ease,
transform 0.2s ease,
visibility 0s linear 0s;
}
.nav-panel__inner {
max-width: 1320px;
margin: 0 auto;
padding: 0 20px;
}
.nav-list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
gap: 4px;
list-style: none;
margin: 0;
padding: 0;
}
.nav-item {
position: relative;
}
.nav-link {
display: flex;
align-items: center;
gap: 6px;
padding: 10px 16px;
color: var(--sh-text);
font-size: 0.95rem;
font-weight: 500;
text-decoration: none;
border-radius: 10px;
white-space: nowrap;
transition: background var(--t-ease), color var(--t-ease);
}
.nav-link:hover,
.nav-item--has-children:hover > .nav-link,
.nav-item--sub-open > .nav-link {
background: rgba(255, 255, 255, 0.10);
color: #fff;
}
.nav-link__icon {
font-size: 1rem;
line-height: 1;
}
.nav-link__caret {
display: inline-flex;
align-items: center;
opacity: 0.65;
transition: transform var(--t-ease);
}
.nav-item--sub-open > .nav-link .nav-link__caret,
.nav-item--has-children:hover > .nav-link .nav-link__caret {
transform: rotate(180deg);
}
.nav-submenu {
list-style: none;
margin: 0;
padding: 0;
}
@media (min-width: 1025px) {
.nav-item--has-children::after {
content: "";
position: absolute;
inset-inline: 0;
top: 100%;
height: 8px;
pointer-events: none;
z-index: 11;
}
.nav-item--has-children:hover::after,
.nav-item--sub-open::after {
pointer-events: auto;
}
.nav-submenu {
position: absolute;
top: 100%;
right: 0;
min-width: 190px;
background: var(--ns-bg);
border: 1px solid var(--ns-border);
border-radius: var(--ns-radius);
padding: 8px;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
opacity: 0;
visibility: hidden;
transform: translateY(8px);
pointer-events: none;
transition:
opacity 0.18s ease,
transform 0.18s ease,
visibility 0s linear 0.18s;
z-index: 10;
}
.nav-item--has-children:hover > .nav-submenu,
.nav-item--sub-open > .nav-submenu {
opacity: 1;
visibility: visible;
transform: translateY(0);
pointer-events: auto;
transition:
opacity 0.18s ease,
transform 0.18s ease,
visibility 0s linear 0s;
}
}
@media (max-width: 1024px) {
.nav-panel {
overflow-x: hidden;
max-width: 100vw;
}
.nav-submenu {
display: block;
width: 100%;
box-sizing: border-box;
overflow: hidden;
max-height: 0;
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
padding: 0 6px;
margin: 2px 0 0;
transition: max-height 0.3s ease, padding 0.25s ease;
}
.nav-item--sub-open > .nav-submenu {
max-height: 1200px;
padding: 6px;
}
.nav-sub-link {
white-space: normal;
}
}
.nav-sub-group {
display: flex;
align-items: center;
gap: 8px;
margin: 10px 0 2px;
padding: 8px 14px 6px;
border-top: 1px solid rgba(255, 255, 255, 0.10);
color: #fff;
font-size: 0.86rem;
font-weight: 800;
list-style: none;
font-family: Vazirmatn, "Segoe UI", Tahoma, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.nav-submenu > .nav-sub-group:first-child {
margin-top: 2px;
border-top: 0;
}
.nav-sub-group__icon {
display: inline-grid;
place-items: center;
width: 26px;
height: 26px;
border-radius: 8px;
background: rgba(99, 102, 241, 0.22);
font-size: 0.9rem;
}
.nav-sub-link {
display: flex;
align-items: center;
gap: 8px;
padding: 9px 14px;
color: rgba(241, 245, 249, 0.82);
font-size: 0.88rem;
text-decoration: none;
border-radius: 8px;
transition: background var(--t-ease), color var(--t-ease);
white-space: nowrap;
font-family: Vazirmatn, "Segoe UI", Tahoma, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.nav-sub-link:hover {
background: rgba(255, 255, 255, 0.10);
color: #fff;
}
.nav-sub-badge {
display: inline-block;
padding: 1px 7px;
background: rgba(245, 158, 11, 0.18);
color: #fcd34d;
font-size: 0.72rem;
border-radius: 999px;
margin-inline-start: 4px;
}
.nav-backdrop {
position: fixed;
inset: 0;
z-index: var(--nb-zindex);
background: rgba(0, 0, 0, 0.25);
opacity: 0;
pointer-events: none;
visibility: hidden;
transition:
opacity 0.2s ease,
visibility 0s linear 0.2s;
}
body.menu-open .nav-backdrop {
opacity: 1;
pointer-events: auto;
visibility: visible;
transition:
opacity 0.2s ease,
visibility 0s linear 0s;
}
@media (min-width: 1025px) {
:root {
--sh-h: max(84px, calc(var(--logo-size-desktop, 120px) + 8px));
}
.site-header__inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
gap: 20px;
}
.site-header__utils {
order: 1;
flex: 0 0 auto;
margin-inline-end: 0;
}
.site-header__desktop-nav {
display: flex;
align-items: stretch;
order: 2;
flex: 1 1 auto;
min-width: 0;
padding-left: 0;
margin-inline: 0;
}
.site-header__desktop-nav .mega-nav-list {
width: 100%;
min-width: 0;
flex-wrap: nowrap;
justify-content: center;
}
.site-header__brand {
order: 3;
position: relative;
left: auto;
right: auto;
top: auto;
bottom: auto;
transform: none;
flex: 0 0 auto;
z-index: 2;
display: flex;
align-items: center;
align-self: center;
max-height: 100%;
padding: 0;
margin-inline-start: 8px;
}
.site-header__toggle { display: none; }
.nav-panel,
.nav-backdrop { display: none !important; }
body.menu-open { overflow: auto; }
}
@media (max-width: 1260px) {
.mega-menu-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mega-menu-grid.has-feature {
grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(210px, 240px);
}
}
@media (max-width: 1140px) {
.mega-menu-panel__inner {
padding: 18px 18px;
}
.mega-menu-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.mega-menu-grid.has-feature {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mega-menu-feature {
grid-column: 1 / -1;
}
}
@media (max-width: 1100px) {
.site-header__phone {
font-size: 0.95rem;
gap: 6px;
}
.site-header__phone svg {
width: 16px;
height: 16px;
}
.site-header__learn-btn { font-size: 0.72rem; padding: 6px 10px; }
.site-header__auth-pill { font-size: 0.72rem; padding: 6px 10px; }
.site-header__portal { font-size: 0.72rem; padding: 6px 10px; }
.site-header__utils { gap: 8px; }
.site-header__auth-actions { gap: 6px; }
.site-header__inner { gap: 18px; }
.mega-nav-list { gap: 8px; }
.mega-nav-link { font-size: 0.8rem; padding: 8px 10px; }
}
@media (max-width: 860px) {
.site-header__portal--learner { display: none; }
}
@media (max-width: 768px) {
:root { --sh-h: 64px; }
.site-header__desktop-nav { display: none; }
.site-header__toggle { display: flex; }
.site-header__brand {
position: relative;
left: auto;
right: auto;
top: auto;
bottom: auto;
transform: none;
background: transparent;
border-radius: 0;
padding: 0;
}
.site-header__logo-img,
.site-header--exam-logo-contrast .exam-logo {
height: auto !important;
width: auto !important;
max-width: min(28vw, 100px) !important;
max-height: var(--logo-size-mobile, 44px) !important;
object-fit: contain;
}
.site-header__inner {
padding: 0 12px;
gap: 8px;
}
.site-header--exam-logo-contrast .exam-logo-wrapper { padding: 2px 6px; }
.membership-modal__dialog {
width: min(96vw, 560px);
padding: 22px 16px 18px;
border-radius: 18px;
}
.membership-modal__grid {
grid-template-columns: 1fr;
gap: 12px;
}
.membership-modal__field--full {
grid-column: auto;
}
.membership-modal__field input,
.membership-modal__field select {
font-size: 16px;
}
}
@media (max-width: 640px) {
.site-header__phone { display: none; }
.site-header__utils { gap: 4px; }
.site-header__auth-actions { gap: 3px; }
.nav-panel {
padding: 10px 0 18px;
}
.nav-panel__inner {
width: 100%;
max-width: none;
padding: 0 14px;
box-sizing: border-box;
}
.nav-list {
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
flex-wrap: nowrap;
width: 100%;
gap: 4px;
margin: 0;
padding: 0;
}
.nav-item {
width: 100%;
max-width: 100%;
box-sizing: border-box;
position: relative;
}
.nav-link {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
width: 100%;
max-width: 100%;
box-sizing: border-box;
min-height: 48px;
margin: 0;
padding: 12px 44px 12px 44px;
font-size: 1rem;
font-weight: 500;
line-height: 1.4;
border-radius: 10px;
white-space: normal;
text-align: right;
gap: 0;
}
.nav-link__icon {
position: absolute;
top: 50%;
right: 14px;
left: auto;
transform: translateY(-50%);
width: 1.25rem;
height: 1.25rem;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 1rem;
line-height: 1;
pointer-events: none;
}
.nav-link__caret {
position: absolute;
top: 50%;
left: 14px;
right: auto;
transform: translateY(-50%);
width: 1.25rem;
height: 1.25rem;
display: inline-flex;
align-items: center;
justify-content: center;
margin: 0;
opacity: 0.75;
flex: none;
pointer-events: none;
}
.nav-item--sub-open > .nav-link .nav-link__caret {
transform: translateY(-50%) rotate(180deg);
}
.nav-item--has-children:hover > .nav-link .nav-link__caret {
transform: translateY(-50%);
}
.nav-item--sub-open > .nav-link:hover .nav-link__caret,
.nav-item--has-children.nav-item--sub-open > .nav-link .nav-link__caret {
transform: translateY(-50%) rotate(180deg);
}
.nav-submenu {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.nav-sub-link {
display: flex;
align-items: center;
width: 100%;
box-sizing: border-box;
padding: 10px 14px;
font-size: 0.9rem;
white-space: normal;
overflow-wrap: anywhere;
word-break: break-word;
line-height: 1.45;
min-height: 44px;
text-align: right;
}
.auth-modal__dialog {
width: min(96vw, 420px);
padding: 18px 16px 16px;
}
.auth-modal__socials {
grid-template-columns: 1fr;
}
.membership-modal {
padding: 14px;
}
.membership-modal__badge {
font-size: 0.66rem;
}
.membership-modal__head h2 {
font-size: 1.2rem;
}
.membership-modal__head p {
font-size: 0.82rem;
}
}
@media (max-width: 400px) {
.site-header__portal { font-size: 0.62rem; padding: 4px 7px; }
.nav-toggle__label { display: none; }
.nav-toggle { padding: 6px 8px; }
}
@media (min-width: 1025px) {
.site-header__inner {
width: 100%;
max-width: 1480px;
padding-inline: clamp(20px, 2.4vw, 40px);
justify-content: space-between;
gap: clamp(14px, 1.8vw, 28px);
}
.site-header__brand {
order: 1;
margin-inline: 0;
}
.site-header__desktop-nav {
order: 2;
flex: 1 1 auto;
padding-left: 0 !important;
margin-inline: 0;
}
.site-header__desktop-nav .mega-nav-list { justify-content: center; }
.site-header__utils {
order: 3;
margin-inline: 0;
}
.site-header__utils .site-header__auth-actions { order: 1; }
.site-header__utils .site-header__phone { order: 2; }
}
#site-header .site-header__brand .site-header__logo-img.brand-v2,
#site-header .site-header__brand .site-header__logo-img.brand-v2.exam-logo {
height: 64px !important;
width: auto !important;
max-width: none !important;
max-height: none !important;
filter: none !important;
-webkit-filter: none !important;
}
.site-header--exam-logo-contrast .exam-logo-wrapper:has(.brand-v2) { background: transparent; padding: 0; }
@media (min-width: 1025px) {
.site-header__inner {
max-width: 1240px;
margin-inline: auto;
padding-inline: 24px;
justify-content: flex-start;
gap: 0;
}
.site-header__brand {
order: 1;
flex: none;
position: relative;
left: auto !important;
right: auto !important;
top: auto !important;
transform: none !important;
margin: 0 !important;
padding-inline-end: 28px;
margin-inline-end: 24px !important;
border-inline-end: 1px solid rgba(255, 255, 255, 0.12);
}
.site-header__desktop-nav {
order: 2;
flex: 0 1 auto;
padding-left: 0 !important;
padding-right: 0 !important;
}
.site-header__desktop-nav .mega-nav-list { justify-content: flex-start; gap: 4px; }
.site-header__utils {
order: 3;
margin-inline-start: auto !important;
margin-inline-end: 0 !important;
display: flex;
align-items: center;
gap: 16px;
}
.site-header__utils .site-header__phone {
order: 1;
padding-inline-end: 16px;
border-inline-end: 1px solid rgba(255, 255, 255, 0.12);
color: #dbe4f3;
font-size: 0.95rem;
}
.site-header__utils .site-header__phone svg { color: #ff8822; }
.site-header__utils .site-header__auth-actions { order: 2; gap: 8px; margin: 0; }
.site-header__auth-actions .site-header__auth-pill--home { order: 1; }
.site-header__auth-actions .site-header__portal { order: 2; }
.site-header__auth-actions .site-header__auth-pill--account { order: 3; }
.site-header__auth-actions > a {
height: 38px;
padding: 0 14px !important;
border-radius: 10px !important;
font-size: 0.82rem !important;
font-weight: 600 !important;
display: inline-flex;
align-items: center;
background: transparent !important;
border: 1px solid rgba(255, 255, 255, 0.22) !important;
color: #e2e8f0 !important;
box-shadow: none !important;
}
.site-header__auth-actions > a:hover { background: rgba(255, 255, 255, 0.08) !important; border-color: rgba(255, 255, 255, 0.45) !important; color: #fff !important; }
.site-header__auth-actions > .site-header__auth-pill--account {
background: #ff8822 !important;
border-color: #ff8822 !important;
color: #fff !important;
font-weight: 800 !important;
padding: 0 20px !important;
box-shadow: 0 8px 18px -10px rgba(255, 136, 34, 0.9) !important;
}
.site-header__auth-actions > .site-header__auth-pill--account:hover { background: #f07a12 !important; border-color: #f07a12 !important; }
}
@media (max-width: 1024px) {
#site-header .site-header__brand .site-header__logo-img.brand-v2,
#site-header .site-header__brand .site-header__logo-img.brand-v2.exam-logo { height: 50px !important; }
}
@media (max-width: 420px) {
#site-header .site-header__brand .site-header__logo-img.brand-v2,
#site-header .site-header__brand .site-header__logo-img.brand-v2.exam-logo { height: 44px !important; }
}
.mydiako-auth__brand .mydiako-auth__logo { height: 46px; max-width: 170px; width: auto; }
@media (max-width: 520px) { .mydiako-auth__brand .mydiako-auth__logo { height: 40px; max-width: 150px; } }
