/* Reset و تنظیمات پایه */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --black: #000;
    --gray: #95a5a6;
    --light-gray: #bdc3c7;
    --font-primary: 'IRANSans', Arial, sans-serif;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    direction: rtl;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.text-center {
    text-align: center;
}

/* نوار بالایی */
.top-bar {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-left: 20px;
}

.contact-info i {
    margin-left: 5px;
    color: var(--secondary-color);
}

.social-links a {
    color: var(--white);
    margin-right: 15px;
    font-size: 1rem;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* هدر */
.header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo img {
    height: 40px;
    margin-left: 10px;
}

.nav-menu ul {
    display: flex;
}

.nav-menu ul li {
    margin-right: 25px;
}

.nav-menu ul li a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu ul li a:hover::after {
    width: 100%;
}

.nav-menu ul li.active a {
    color: var(--secondary-color);
}

.nav-menu ul li.active a::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* اسلایدر */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* بخش خدمات */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: '\f30f';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 5px;
    font-size: 0.9rem;
}

/* بخش درباره ما */
.about-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--secondary-color);
    color: var(--white);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

.experience-badge span {
    font-size: 2rem;
    font-weight: 700;
}

.experience-badge p {
    font-size: 0.9rem;
    margin-top: 5px;
}

.about-features {
    margin: 25px 0;
}

.about-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-features i {
    color: var(--secondary-color);
    margin-left: 10px;
}

/* بخش مقالات */
.articles-section {
    padding: 80px 0;
    background-color: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.article-content h3 a:hover {
    color: var(--secondary-color);
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.85rem;
}

.article-meta i {
    margin-left: 5px;
}

/* بخش دوره‌ها */
.courses-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-price {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 500;
}

.course-content {
    padding: 20px;
}

.course-level {
    display: inline-block;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.course-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.course-content h3 a:hover {
    color: var(--secondary-color);
}

.course-description {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.course-meta i {
    margin-left: 5px;
}

/* بخش ابزارها */
.tools-section {
    padding: 80px 0;
    background-color: var(--white);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tool-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.tool-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.tool-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* بخش مشتریان */
.clients-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.clients-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.client-logo {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    text-align: center;
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-height: 80px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* بخش درخواست مشاوره */
.consultation-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white);
}

.consultation-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.consultation-text {
    flex: 1;
}

.consultation-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.consultation-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.consultation-features {
    margin: 25px 0;
}

.consultation-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.consultation-features i {
    margin-left: 10px;
}

.consultation-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* فوتر */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo img {
    height: 40px;
    margin-left: 10px;
}

.footer-about {
    color: var(--light-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-left: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-gray);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-left: 10px;
    margin-top: 5px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.footer-menu ul {
    display: flex;
}

.footer-menu li {
    margin-right: 20px;
}

.footer-menu a {
    color: var(--light-gray);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--secondary-color);
}

/* صفحه درباره ما */
.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    margin: 0 10px;
    opacity: 0.8;
}

.about-page-section {
    padding: 60px 0;
}

.about-mission {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.about-mission-image {
    flex: 1;
}

.about-mission-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-mission-text {
    flex: 1;
}

.about-mission-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-mission-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.team-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member-image {
    height: 250px;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 20px;
}

.team-member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-member-info p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-member-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.team-member-social a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* صفحه خدمات */
.services-page-section {
    padding: 60px 0;
}

.service-details {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

.service-content {
    flex: 2;
}

.service-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.service-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-features {
    margin: 30px 0;
}

.service-features h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.service-features ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.service-features li {
    display: flex;
    align-items: flex-start;
}

.service-features i {
    color: var(--secondary-color);
    margin-left: 10px;
    margin-top: 3px;
}

.service-sidebar {
    flex: 1;
}

.service-categories {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.service-categories h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-categories ul li {
    margin-bottom: 12px;
}

.service-categories a {
    color: var(--text-color);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.service-categories a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.service-categories a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 10px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.download-brochure {
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.download-brochure h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.download-brochure p {
    margin-bottom: 20px;
    opacity: 0.9;
}

/* صفحه مقالات */
.articles-page-section {
    padding: 60px 0;
}

.articles-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-sidebar {
    margin-top: 60px;
}

.search-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px 0 0 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.search-form button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background-color: var(--dark-color);
}

.categories-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.categories-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.categories-widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.categories-widget a {
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.categories-widget a:hover {
    color: var(--secondary-color);
}

.categories-widget a span {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.recent-articles-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.recent-articles-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.recent-article {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.recent-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-article-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    margin-left: 15px;
}

.recent-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-article-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.recent-article-content h4 a:hover {
    color: var(--secondary-color);
}

.recent-article-content span {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* صفحه تک مقاله */
.article-single-section {
    padding: 60px 0;
}

.article-single {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.article-single-image {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.article-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-single-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.article-single-meta .author {
    display: flex;
    align-items: center;
}

.article-single-meta .author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 15px;
}

.article-single-meta .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-single-meta .author-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.article-single-meta .author-info p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.article-single-meta .article-date {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.article-single-meta .article-date i {
    margin-left: 5px;
}

.article-single-content h2 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
}

.article-single-content h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
}

.article-single-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.article-single-content blockquote {
    background-color: rgba(52, 152, 219, 0.1);
    border-right: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
}

.article-single-content ul,
.article-single-content ol {
    margin: 20px 0;
    padding-right: 20px;
}

.article-single-content ul li,
.article-single-content ol li {
    margin-bottom: 10px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.article-tags a {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.article-tags a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.article-share {
    display: flex;
    align-items: center;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.article-share span {
    margin-left: 15px;
    font-weight: 500;
}

.share-links {
    display: flex;
    gap: 10px;
}

.share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    border-radius: 50%;
    transition: var(--transition);
}

.share-links a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.article-navigation a {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.article-navigation a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.article-navigation a i {
    margin: 0 5px;
}

.author-box {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
    display: flex;
    gap: 30px;
}

.author-box-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
}

.author-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.author-box-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.author-social a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.comments-section {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.comments-section h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comment:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.comment-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.comment-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.comment-meta span {
    margin-left: 15px;
}

.comment-reply {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
}

.comment-reply i {
    margin-right: 5px;
}

.comment-form {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.comment-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.comment-form p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form .form-row {
    display: flex;
    gap: 20px;
}

.comment-form .form-row .form-group {
    flex: 1;
}

.comment-form textarea {
    min-height: 150px;
}

/* صفحه دوره‌ها */
.courses-page-section {
    padding: 60px 0;
}

.courses-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-sidebar {
    margin-top: 60px;
}

.course-search-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.course-categories-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.course-categories-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.course-categories-widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.course-categories-widget a {
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.course-categories-widget a:hover {
    color: var(--secondary-color);
}

.course-categories-widget a span {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.popular-courses-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.popular-courses-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.popular-course {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.popular-course:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-course-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    margin-left: 15px;
}

.popular-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-course-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.popular-course-content h4 a:hover {
    color: var(--secondary-color);
}

.popular-course-content .course-price {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* صفحه تک دوره */
.course-single-section {
    padding: 60px 0;
}

.course-single {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
}

.course-single-header {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.course-single-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

.course-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-single-info {
    flex: 1;
}

.course-single-info h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.course-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.course-single-meta span {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.course-single-meta i {
    margin-left: 5px;
    color: var(--secondary-color);
}

.course-single-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.course-single-btns {
    display: flex;
    gap: 15px;
}

.course-single-content h2 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
}

.course-single-content h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
}

.course-single-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.course-single-content ul,
.course-single-content ol {
    margin: 20px 0;
    padding-right: 20px;
}

.course-single-content ul li,
.course-single-content ol li {
    margin-bottom: 10px;
}

.course-curriculum {
    margin: 40px 0;
}

.curriculum-accordion {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background-color: rgba(0, 0, 0, 0.02);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.accordion-header h4 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.accordion-header h4 i {
    margin-left: 10px;
    color: var(--secondary-color);
}

.accordion-header span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 1000px;
}

.lesson {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.lesson:last-child {
    border-bottom: none;
}

.lesson-info {
    display: flex;
    align-items: center;
}

.lesson-info i {
    margin-left: 10px;
    color: var(--secondary-color);
}

.lesson-duration {
    color: var(--text-light);
    font-size: 0.85rem;
}

.course-instructor {
    margin: 40px 0;
}

.instructor-box {
    display: flex;
    gap: 30px;
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
    padding: 30px;
}

.instructor-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.instructor-content p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.instructor-social {
    display: flex;
    gap: 15px;
}

.instructor-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.instructor-social a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.course-sidebar-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.course-sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.course-features li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features i {
    margin-left: 10px;
    color: var(--secondary-color);
}

/* صفحه ابزارها */
.tools-page-section {
    padding: 60px 0;
}

.tools-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tool-sidebar {
    margin-top: 60px;
}

.tool-categories-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.tool-categories-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tool-categories-widget ul li {
    margin-bottom: 12px;
}

.tool-categories-widget a {
    color: var(--text-color);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.tool-categories-widget a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.tool-categories-widget a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 10px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.popular-tools-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.popular-tools-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.popular-tool {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.popular-tool:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-tool-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.popular-tool-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.popular-tool-content h4 a:hover {
    color: var(--secondary-color);
}

/* صفحه تماس با ما */
.contact-page-section {
    padding: 60px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-details i {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-left: 15px;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p, 
.contact-details a {
    color: var(--text-light);
}

.contact-details a:hover {
    color: var(--secondary-color);
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-social a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-row .form-group {
    flex: 1;
}

.contact-form textarea {
    min-height: 150px;
}

.contact-map {
    margin-top: 60px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* صفحه درخواست مشاوره */
.consultation-page-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.consultation-form-container {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.consultation-form-container h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--dark-color);
}

.consultation-form-container p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
}

.consultation-form .form-group {
    margin-bottom: 20px;
}

.consultation-form .form-row {
    display: flex;
    gap: 20px;
}

.consultation-form .form-row .form-group {
    flex: 1;
}

.consultation-form textarea {
    min-height: 150px;
}

/* صفحه 404 */
.error-page {
    padding: 100px 0;
    text-align: center;
    background-color: var(--light-color);
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-content h1 {
    font-size: 6rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-content p {
    margin-bottom: 30px;
    color: var(--text-light);
}

/* رسپانسیو */
@media (max-width: 1200px) {
    .hero-slider {
        height: 500px;
    }
    
    .slide-content {
        right: 5%;
    }
}

@media (max-width: 992px) {
    .about-content,
    .consultation-content,
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image,
    .about-text,
    .consultation-text,
    .consultation-form,
    .contact-info,
    .contact-form {
        flex: none;
        width: 100%;
    }
    
    .about-image {
        order: -1;
    }
    
    .experience-badge {
        bottom: -15px;
        left: -15px;
        width: 80px;
        height: 80px;
    }
    
    .experience-badge span {
        font-size: 1.5rem;
    }
    
    .experience-badge p {
        font-size: 0.8rem;
    }
    
    .course-single-header {
        flex-direction: column;
    }
    
    .instructor-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .instructor-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info span {
        margin-left: 0;
        margin-right: 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--box-shadow);
        transition: var(--transition);
        z-index: 1001;
        padding: 80px 30px 30px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
    }
    
    .nav-menu ul li {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        right: 0;
        left: 0;
        padding: 0 20px;
        text-align: center;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slider-controls {
        display: none;
    }
    
    .services-grid,
    .articles-grid,
    .courses-grid,
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-menu ul {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .slide-content h1 {
        font-size: 1.6rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .services-grid,
    .articles-grid,
    .courses-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .article-single-header,
    .article-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-navigation a {
        width: 100%;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-box-image {
        margin: 0 auto;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .comment-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .course-single-btns {
        flex-direction: column;
    }
    
    .course-single-btns .btn {
        width: 100%;
        text-align: center;
    }
    
    .error-content h1 {
        font-size: 4rem;
    }
    
    .error-content h2 {
        font-size: 1.5rem;
    }
}