/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&family=Poppins:wght@400&display=swap');

/* Peyda font - Local font files */
@font-face {
    font-family: 'Peyda';
    src: url('/static/fonts/peydaWeb-extralight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('/static/fonts/peydaWeb-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('/static/fonts/PeydaWeb-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('/static/fonts/PeydaWeb-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('/static/fonts/PeydaWeb-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('/static/fonts/PeydaWeb-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('/static/fonts/PeydaWeb-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('/static/fonts/PeydaWeb-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

/* Montserrat font - Local font files */
@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Peyda', 'Vazir', sans-serif;
    direction: ltr;
    text-align: right;
    overflow-x: hidden;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #000000;
    min-height: 100vh;
}

/* Main container */
.main-container {
    height: auto; /* Height to accommodate all absolutely positioned content */
    margin: 0 5%;
    z-index: 1;
    margin-bottom: 32px;
}

/* Black background */
.bg-black {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: -2;
    top: 0;
    left: 0;
}

/* Background gradient */
.bg-gradient {
    position: absolute;
    width: 100vw;
    height: 1187px;
    background: linear-gradient(to bottom, #000000 22%, #244234 100%);
    transform: rotate(180deg);
    z-index: -1;
    top: 0;
    left: 0;
}

/* Vector decoration */
.vector-decoration {
    position: absolute;
    width: 661.125px;
    height: 661.125px;
    background-image: url('/static/images/8df6364fc0feffad9de4a87aa67ec47949dacc3b.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: calc(50% - 486.438px);
    left: calc(50% - 705.438px);
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Header */
.header {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transform: none !important;
}

.header-content {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0));
    pointer-events: auto;
    width: 100%;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: row;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-direction: row;
    margin: 0 5%;
}

.logo {
    background-image: url('/static/images/dashboard/52f0ff4d47ca70bed919dfe9fc963c8f0b7704d2.webp');
    background-position: 49.85% 50.12%;
    background-repeat: no-repeat;
    background-size: 169.24% 302.93%;
    height: 64px;
    width: 114px;
    flex-shrink: 0;
}

.nav-bar {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    height: 41px;
    flex-wrap: nowrap;
}

.nav-bar a {
    font-family: 'Peyda', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    direction: rtl; /* Persian text should be RTL */
}

/* Footer */
.footer {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 29px;
    align-items: center;
    justify-content: flex-end;
    padding: 64px 48px;
    background: rgba(14, 14, 14, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    overflow: hidden;
    clear: both;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-info {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    justify-content: flex-start;
    width: auto;
}

.footer-label {
    font-family: 'Peyda', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    line-height: 1.5;
    direction: rtl; /* Persian text should be RTL */
}

.footer-value {
    font-family: 'Montserrat', 'Peyda';
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.footer-value[dir="ltr"] {
    direction: ltr; /* English/numbers should be LTR */
    text-align: left;
}

.footer-item:nth-child(2) .footer-value {
    font-family: 'Peyda', 'Montserrat';
    font-weight: 400;
    font-variation-settings: 'wdth' 100, 'wght' 400;
}

.footer-item:nth-child(3) .footer-value {
    display: flex;
    gap: 7px;
    align-items: center;
    white-space: nowrap;
}

.footer-bottom {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 30px;
    width: 1317px;
}

.footer-logo {
    height: 24px;
    width: 312px;
    background-image: url('/static/images/dashboard/18c53bf1533ce53f500924cc31daae1897537652.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-copyright {
    font-family: 'Peyda', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    white-space: nowrap;
    line-height: 1.5;
    direction: rtl; /* Persian text should be RTL */
    padding-top: 30px;
}

.mobile-nav {
    display: none;
}

.hamburger-menu {
    display: none;
}