@import url('/assets/fonts/vazirmatn/vazirmatn-local.css');
@import url('/assets/fonts/vazirmatn.css');

:root {
    --font: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    --main-font: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    --font-public: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

html,
body,
body *,
button,
input,
textarea,
select {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

html,
body {
    direction: rtl;
    font-weight: 600 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-variant-numeric: normal;
    font-feature-settings: "ss01", "kern";
}

/* Topbar / Header / Menu */
.topbar,
.topbar *,
.header,
.header *,
.logo,
.logo *,
.nav,
.nav *,
.mobile-menu-btn,
.header-cta,
.header-cta * {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

.logo-main {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.logo-sub {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.nav ul li a {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}

.nav ul li a i.menu-item-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
    min-width: 16px;
    font-size: 13px;
    color: var(--primary, #1565C0);
}

/* Hero */
.hero-slider,
.hero-slider *,
.slide-content,
.slide-content *,
.slide-text,
.slide-text *,
.slide-badges,
.slide-badges * {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

.slide-text h1 {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.slide-text p {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.btn-hero,
.btn-primary,
.btn-footer-cta,
.newsletter-btn,
.card-link,
.section-link {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    font-weight: 800 !important;
}

/* Sections */
.section,
.section *,
.service-card,
.service-card *,
.product-card,
.product-card *,
.project-card,
.project-card *,
.process-step,
.process-step *,
.footer,
.footer * {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

.section-title {
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.service-card h3,
.project-card h4,
.process-step h4,
.footer-col h4,
.footer-brand-name {
    font-weight: 900 !important;
}

.service-card p,
.process-step p,
.footer-about,
.footer-col li a,
.contact-list li,
.product-card p {
    font-weight: 650 !important;
}

/* Remove stats */
.stats-section {
    display: none !important;
}

/* Services layout */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(245px, 280px)) !important;
    justify-content: center !important;
    align-items: stretch;
    max-width: 1160px;
    margin: 0 auto;
}

/* Products */
.product-img img {
    max-width: 100%;
    max-height: 118px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Footer */
.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800 !important;
}

.footer-bottom-links a i {
    font-size: 12px;
    color: rgba(255,255,255,.65);
}

/* Logo image */
.logo-image-wrap,
.footer-logo-image-wrap {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(21,101,192,.08);
}

.logo-image-wrap img,
.footer-logo-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-logo-image-wrap {
    background: rgba(255,255,255,.08);
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}