@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn[wght].woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --fp-primary: #0ea5e9;
    --fp-secondary: #0f766e;
    --fp-accent: #f59e0b;
    --fp-muted: #64748b;
    --fp-bg: #0b1220;
    --fp-surface: #0f172a;
}

html,
body {
    font-family: 'Vazirmatn', system-ui, sans-serif;
}

body {
    background: #ffffff;
    color: #0f172a;
    line-height: 1.8;
    margin: 0;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
    text-align: right;
}

p,
ul,
ol {
    margin-block-start: 0;
    margin-block-end: 1.2em;
}

.fp-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1rem;
}

.ms-0 {
    margin-inline-start: 0;
}

.me-0 {
    margin-inline-end: 0;
}

.ms-1 {
    margin-inline-start: 0.25rem;
}

.me-1 {
    margin-inline-end: 0.25rem;
}

.ms-2 {
    margin-inline-start: 0.5rem;
}

.me-2 {
    margin-inline-end: 0.5rem;
}

.ms-3 {
    margin-inline-start: 1rem;
}

.me-3 {
    margin-inline-end: 1rem;
}

.ms-4 {
    margin-inline-start: 1.5rem;
}

.me-4 {
    margin-inline-end: 1.5rem;
}

.ms-auto {
    margin-inline-start: auto;
}

.me-auto {
    margin-inline-end: auto;
}

.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding-block: 0.65rem;
    padding-inline: 1.5rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px;
    min-width: 44px;
}

.fp-btn:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.35);
    outline-offset: 2px;
}

.fp-btn-primary {
    background: var(--fp-primary);
    color: #ffffff;
    box-shadow: 0 10px 20px -10px rgba(14, 165, 233, 0.6);
}

.fp-btn-primary:hover {
    background: #0284c7;
}

.fp-btn-ghost {
    background: transparent;
    color: var(--fp-primary);
    border-color: currentColor;
}

.fp-btn-ghost:hover {
    background: rgba(14, 165, 233, 0.08);
}

.fp-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 15px 30px -20px rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.fp-grid {
    display: grid;
    gap: 1rem;
}

.fp-grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 48rem) {
    .fp-grid-cols-md-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fp-grid-cols-md-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .fp-grid-cols-lg-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

input,
select,
textarea {
    writing-mode: horizontal-tb;
    direction: rtl;
    font-family: inherit;
    border-radius: 0.75rem;
    border: 1px solid rgba(100, 116, 139, 0.4);
    padding: 0.65rem 0.75rem;
    background-color: #ffffff;
    color: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(14, 165, 233, 0.35);
    border-color: var(--fp-primary);
}

label {
    display: inline-block;
    font-weight: 600;
    margin-block-end: 0.5rem;
}

/* Bootstrap-powered layout enhancements */
.fp-navbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.fp-navbar .navbar-brand {
    font-weight: 700;
}

.fp-navbar-logo .custom-logo-link,
.fp-navbar-logo .custom-logo-link img {
    display: inline-flex;
    max-height: 56px;
    width: auto;
}

.fp-navbar .navbar-nav > li > a {
    font-weight: 600;
    padding-inline: 0.75rem;
}

.fp-navbar .navbar-nav > li > a:hover,
.fp-navbar .navbar-nav > li > a:focus {
    color: var(--fp-primary);
}

.fp-hero-section {
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.65), transparent 55%), linear-gradient(145deg, #0f172a 0%, #111c36 45%, #0b1220 100%);
}

.fp-hero-section .breadcrumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    backdrop-filter: blur(8px);
}

.fp-hero-section .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-inline: 0.65rem;
    color: rgba(248, 250, 252, 0.65);
}

.fp-hero-section .breadcrumb a {
    color: rgba(248, 250, 252, 0.85);
    text-decoration: none;
}

.fp-hero-section .breadcrumb a:hover,
.fp-hero-section .breadcrumb a:focus {
    color: #ffffff;
}

.fp-hero-highlights li {
    position: relative;
}

.fp-hero-icon {
    width: 40px;
    height: 40px;
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.3);
}

.fp-text-soft-light {
    color: rgba(255, 255, 255, 0.75);
}

.fw-black {
    font-weight: 800;
}

.text-white-75 {
    color: rgba(248, 250, 252, 0.75) !important;
}

.fp-hero-card {
    backdrop-filter: blur(18px);
}

.fp-hero-stat {
    border: 1px solid rgba(14, 165, 233, 0.12);
}

.fp-hero-shape {
    position: absolute;
    inset: auto 0 0;
    height: 260px;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.25), transparent 65%);
    pointer-events: none;
}

.fp-trust-card {
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fp-trust-card:hover,
.fp-trust-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px -20px rgba(15, 23, 42, 0.3);
}

.fp-trust-icon {
    width: 56px;
    height: 56px;
    background: rgba(14, 165, 233, 0.12);
    color: var(--fp-primary);
}

.fp-feature-card,
.fp-portfolio-card,
.fp-usp-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fp-feature-card:hover,
.fp-feature-card:focus-within,
.fp-portfolio-card:hover,
.fp-portfolio-card:focus-within,
.fp-usp-card:hover,
.fp-usp-card:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 35px 65px -30px rgba(15, 23, 42, 0.35);
}

.fp-feature-card .card-body {
    min-height: 220px;
}

.fp-portfolio-card .ratio {
    background: #0f172a;
}

.fp-portfolio-card img {
    object-fit: cover;
}

.fp-portfolio-card a:hover .text-primary,
.fp-portfolio-card a:focus .text-primary {
    color: #0a7ec8 !important;
}

.fp-cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #0b1220 60%, #0f172a 100%);
}

.fp-cta-card {
    background: linear-gradient(120deg, rgba(14, 165, 233, 0.9), rgba(37, 99, 235, 0.95));
}

.fp-cta-card .btn {
    min-width: 180px;
}

.fp-cta-shape {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.4), transparent 55%);
    pointer-events: none;
}

.fp-footer {
    background: linear-gradient(160deg, #0f172a 0%, #0b1220 100%);
}

.fp-footer-menu a {
    color: rgba(248, 250, 252, 0.85);
    text-decoration: none;
    font-weight: 600;
}

.fp-footer-menu a:hover,
.fp-footer-menu a:focus {
    color: #60a5fa;
}

.fp-footer-contact a:hover,
.fp-footer-contact a:focus {
    color: #93c5fd;
}

.fp-footer-newsletter .form-control {
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(248, 250, 252, 0.25);
    color: #f8fafc;
}

.fp-footer-newsletter .form-control::placeholder {
    color: rgba(226, 232, 240, 0.7);
}

.fp-footer-bottom {
    background: rgba(15, 23, 42, 0.65);
}

@media (max-width: 991.98px) {
    .fp-navbar .navbar-collapse {
        background: #ffffff;
        border-radius: 1rem;
        box-shadow: 0 25px 45px -30px rgba(15, 23, 42, 0.25);
        padding: 1.5rem;
        margin-top: 1rem;
    }

    .fp-hero-section {
        text-align: center;
    }

    .fp-hero-card {
        margin-top: 1rem;
    }
}

blockquote {
    border-inline-start: 4px solid var(--fp-accent);
    padding-inline-start: 1rem;
    color: var(--fp-muted);
}

hr {
    border: none;
    border-block-start: 1px solid rgba(15, 23, 42, 0.08);
    margin-block: 2rem;
}

ul,
ol {
    padding-inline-start: 1.25rem;
}

strong {
    color: var(--fp-secondary);
}

a {
    color: var(--fp-primary);
    text-decoration: none;
}

a:hover {
    color: #0284c7;
}

::-moz-selection {
    background: rgba(14, 165, 233, 0.2);
}

::selection {
    background: rgba(14, 165, 233, 0.2);
}
