@font-face {
  font-family: 'Vazirmatn';
  src: url('font/ttf/Vazirmatn-Bold.ttf');
}


html {
  scroll-behavior: smooth;
}


body {
    font-family: 'Vazirmatn';
    font-size: 1em;
    font-weight: bold;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #121212;
    color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    background-color: #1f1f1f;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: Vazirmatn;
    font-size: 1.5em;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4caf50;
}

.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0d0d0d, #1f1f1f);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-family: Vazirmatn;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #4caf50;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #45a049;
}

.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #131313, #282828);
}

.about-section h2 {
    text-align: center;
    font-family: Vazirmatn;
    font-size: 2em;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.about-text {
    flex: 1 1 300px;
    font-size: 1.1em;
    line-height: 1.6;
}

.about-image {
    flex: 1 1 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 150px;
}

.about-image p {
    max-width: 200px;
    text-align: center;
}

.skills-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #181818, #3f3f3f);
    color: #fff;
}

.skills-section h2 {
    text-align: center;
    font-family: Vazirmatn;
    font-size: 2em;
    margin-bottom: 40px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: auto;
}

.skill-bar {
    display: flex;
    flex-direction: column;
}

.skill-bar h3 {
    margin-bottom: 8px;
}

.bar-container {
    background-color: #333;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar {
    height: 100%;
    width: 0;
    background-color: #4caf50;
    border-radius: 10px 0 0 10px;
}

.skill-percentage {
    margin-top: 8px;
    font-size: 0.90em;
    text-align: right;
    display: block;
}

.contact-section {
    padding: 80px 0;
    background-color: #1f1f1f;
    text-align: center;
}

.contact-section h2 {
    font-family: Vazirmatn;
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-info a {
    color: #4caf50;
    text-decoration: none;
}

footer {
    background-color: #1f1f1f;
    padding: 10px 0;
    text-align: center;
    font-size: 0.8em;
}
