/* ریست کلی و تنظیم فونت */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: Titr;
    src: url(B\ Titr\ Bold_0.ttf);
}

@font-face {
    font-family: Kamran;
    src: url(B\ Kamran_0.ttf);
}
@font-face {
    font-family: Vazir;
    src: url(Vazir.woff);
}

body {
    font-family: 'Vazir', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fdfdfd;
}

/* رنگ‌های سازمانی (B2B Colors) */
:root {
    --primary-color: #0f172a; /* سرمه‌ای تیره */
    --accent-color: #2563eb;  /* آبی روشن */
    --text-light: #f1f5f9;
    --bg-light: #f8fafc;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

/* دکمه‌ها */
.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* نوار منو */
.navbar h1 {
    font-family: Titr;
}
.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    padding: 0 15px;
    font-weight: bold;
}

.navbar ul li a.btn-primary {
    color: #fff;
}

/* بخش هرو (Hero) */
.hero {
    padding: 5rem 0;
    background: white;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-left: 2rem;
}

.hero-text h2 {
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* بخش‌های عمومی */
.about-text {
    font-family: Kamran;
    font-size: 30px;
    font-weight: bolder;
    margin-bottom: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); color: #fff; }
.text-white { color: #fff !important; }

/* کارت‌ها و گرید */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: var(--accent-color);
    font-weight: bold;
}

/* ویدئو */
.video-card {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* فرم تماس */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input, 
.contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    width: 100%;
}

footer {
    text-align: center;
    padding: 2rem 0;
    background: #0b1120;
    color: #888;
    font-size: 0.9rem;
}

/* موبایل و رسپانسیو */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-text {
        padding-left: 0;
    }
    
    .hero-image img {
        width: 200px;
        height: 200px;
        margin-bottom: 2rem;
    }

    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* کانتینر دکمه برای وسط‌چین کردن */
.load-more-container {
    text-align: center;
    margin-top: 30px;
    width: 100%;
}

/* استایل دکمه مشاهده بیشتر */
.load-more-container button {
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: bold;
    min-width: 150px;
    margin-bottom: 100px;
}