    /* متغیرهای رنگ */
    :root {
        --primary-color: #3498db;
        --secondary-color: #2c3e50;
        --accent-color: #e74c3c;
        --light-color: #ecf0f1;
        --dark-color: #2c3e50;
        --text-color: #333;
        --text-light: #777;
    }
    
    /* ریست استایل‌ها */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: 'Vazir', sans-serif;
        line-height: 1.6;
        color: var(--text-color);
        background-color: #f9f9f9;
        overflow-x: hidden;
    }
    
    /* هدر و نوار منو */
    header {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        transition: all 0.3s ease;
    }
    
    header.scrolled {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        padding: 5px 0;
    }
    
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 15px 20px;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    .logo img {
        height: 50px;
        transition: all 0.3s ease;
    }
    
    .logo-text {
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--secondary-color);
        margin-right: 10px;
    }
    
    .logo-text span {
        color: var(--primary-color);
    }
    
    /* منوی اصلی */
    .nav-menu {
        display: flex;
        list-style: none;
    }
    
    .nav-menu li {
        margin: 0 10px;
        position: relative;
    }
    
    .nav-menu a {
        text-decoration: none;
        color: var(--dark-color);
        font-weight: 500;
        padding: 10px 15px;
        border-radius: 4px;
        transition: all 0.3s ease;
        display: block;
        position: relative;
    }
    
    .nav-menu a:hover {
        color: var(--primary-color);
        background-color: rgba(52, 152, 219, 0.1);
    }
    
    .nav-menu a.active {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 15px;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }
    
    .nav-menu a:hover::after,
    .nav-menu a.active::after {
        width: calc(100% - 30px);
    }
    
    /* منوی موبایل */
    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--dark-color);
        cursor: pointer;
        z-index: 1001;
    }
    
    /* بخش‌های اصلی */
    section {
        padding: 100px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .section-title {
        text-align: center;
        margin-bottom: 60px;
        position: relative;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
        color: var(--secondary-color);
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }
    
    .section-title h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 50%;
        transform: translateX(50%);
        width: 80px;
        height: 3px;
        background-color: var(--primary-color);
    }
    
    .section-title p {
        color: var(--text-light);
        max-width: 600px;
        margin: 20px auto 0;
        line-height: 1.8;
    }
    
    /* هیرو سکشن */
    .hero {
        width: 100%;
        height: 100vh;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("/img/7.jpg") center/cover no-repeat;
        color: white;
        position: relative;
        overflow: hidden;
        padding: 0 20px;
    }
    
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
        background-size: cover;
        background-position: center;
    }
    
    .hero-content {
        position: relative;
        z-index: 1;
        max-width: 800px;
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        opacity: 0.9;
    }
    
    .btn {
        display: inline-block;
        padding: 12px 30px;
        background-color: var(--accent-color);
        color: white;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        border: 2px solid var(--accent-color);
    }
    
    .btn:hover {
        background-color: transparent;
        color: var(--accent-color);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .btn-outline {
        background-color: transparent;
        border: 2px solid white;
        margin-right: 15px;
    }
    
    .btn-outline:hover {
        background-color: white;
        color: var(--primary-color);
    }
    
    /* بخش درباره من */
    .about-content {
        display: flex;
        align-items: center;
        gap: 50px;
    }
    
    .about-text {
        flex: 1;
    }
    
    .about-image {
        flex: 1;
        text-align: center;
    }
    
    .about-image img {
        max-width: 100%;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .skills {
        margin-top: 30px;
    }
    
    .skill-item {
        margin-bottom: 20px;
    }
    
    .skill-info {
        display: flex;
        justify-content: space-between;
        margin-bottom: 5px;
    }
    
    .skill-bar {
        height: 8px;
        background-color: #e0e0e0;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .skill-progress {
        height: 100%;
        background-color: var(--primary-color);
        border-radius: 4px;
        transition: width 1s ease;
    }
    
    /* بخش خدمات */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .service-card {
        background-color: white;
        border-radius: 10px;
        padding: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .service-icon {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 20px;
    }
    
    .service-card h3 {
        margin-bottom: 15px;
        color: var(--secondary-color);
    }
    
    /* بخش نمونه کارها */
    .portfolio-filter {
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
        flex-wrap: wrap;
    }
    
    .filter-btn {
        background: none;
        border: none;
        padding: 8px 20px;
        margin: 0 5px 10px;
        cursor: pointer;
        font-weight: 500;
        color: var(--text-light);
        transition: all 0.3s ease;
        border-radius: 30px;
    }
    
    .filter-btn.active, .filter-btn:hover {
        background-color: var(--primary-color);
        color: white;
    }
    
    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
    }
    
    .portfolio-item {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        position: relative;
    }
    
    .portfolio-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .portfolio-img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
    
    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: all 0.3s ease;
        padding: 20px;
        text-align: center;
    }
    
    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }
    
    .portfolio-overlay h3 {
        color: white;
        margin-bottom: 10px;
    }
    
    .portfolio-overlay p {
        color: #ddd;
        margin-bottom: 20px;
    }
    
    /* بخش تماس */
    .contact-content {
        display: flex;
        gap: 50px;
    }
    
    .contact-info {
        flex: 1;
    }
    
    .contact-form {
        flex: 1;
    }
    
    .contact-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 30px;
    }
    
    .contact-icon {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-left: 15px;
        margin-top: 5px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-family: 'Vazir', sans-serif;
        transition: all 0.3s ease;
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        outline: none;
    }
    
    textarea.form-control {
        min-height: 150px;
        resize: vertical;
    }
    
    /* فوتر */
    footer {
        background-color: var(--secondary-color);
        color: white;
        padding: 60px 20px 30px;
    }
    
    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
    }
    
    .footer-section h3 {
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
    }
    
    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 2px;
        background-color: var(--primary-color);
    }
    
    .footer-links {
        list-style: none;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-links a {
        color: #bbb;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .footer-links a:hover {
        color: var(--primary-color);
        padding-right: 5px;
    }
    
    .social-links {
        display: flex;
        margin-top: 20px;
    }
    
    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        margin-left: 10px;
        color: white;
        transition: all 0.3s ease;
    }
    
    .social-links a:hover {
        background-color: var(--primary-color);
        transform: translateY(-5px);
    }
    
    .copyright {
        text-align: center;
        margin-top: 50px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: #bbb;
        font-size: 0.9rem;
    }
    
    /* رسپانسیو - مهم‌ترین بخش */
    @media (max-width: 1200px) {
        .header-container,
        section {
            max-width: 100%;
            padding-left: 30px;
            padding-right: 30px;
        }
    }
    
    @media (max-width: 992px) {
        .about-content,
        .contact-content {
            flex-direction: column;
        }
        
        .about-image {
            order: -1;
            margin-bottom: 30px;
        }
        
        .hero h1 {
            font-size: 2.5rem;
        }
        
        .portfolio-grid {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        }
    }
    
    @media (max-width: 768px) {
        .header-container {
            padding: 10px 15px;
        }
        
        .nav-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background-color: white;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding-top: 80px;
            transition: all 0.5s ease;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            z-index: 999;
        }
        
        .nav-menu.active {
            right: 0;
        }
        
        .nav-menu li {
            margin: 15px 0;
            width: 100%;
            text-align: center;
        }
        
        .nav-menu a {
            padding: 15px;
            width: 100%;
            font-size: 1.1rem;
        }
        
        .mobile-menu-btn {
            display: block;
        }
        
        .hero {
            height: 80vh;
            min-height: 500px;
        }
        
        .hero h1 {
            font-size: 2rem;
        }
        
        .hero p {
            font-size: 1rem;
        }
        
        .section-title h2 {
            font-size: 2rem;
        }
        
        .section-title p {
            font-size: 0.9rem;
        }
        
        section {
            padding: 80px 15px;
        }
        
        .services-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .portfolio-grid {
            grid-template-columns: 1fr;
        }
        
        .portfolio-filter {
            justify-content: flex-start;
            overflow-x: auto;
            padding-bottom: 10px;
            white-space: nowrap;
        }
        
        .filter-btn {
            white-space: nowrap;
        }
        
        .footer-content {
            grid-template-columns: 1fr;
            gap: 30px;
        }
        
        .hero-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .btn-outline {
            margin-right: 0;
        }
        
        /* بهبود بخش درباره من در موبایل */
        .about-content {
            gap: 30px;
        }
        
        .skill-info {
            font-size: 0.9rem;
        }
        
        /* بهبود بخش نمونه کارها در موبایل */
        .portfolio-item {
            margin-bottom: 20px;
        }
        
        .portfolio-overlay {
            padding: 15px;
        }
        
        .portfolio-overlay h3 {
            font-size: 1.2rem;
        }
        
        .portfolio-overlay p {
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        /* بهبود بخش تماس در موبایل */
        .contact-item {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .contact-icon {
            margin-left: 0;
            margin-bottom: 10px;
        }
        
        .social-links {
            justify-content: center;
        }
        
        /* بهبود فوتر در موبایل */
        .footer-section {
            text-align: center;
        }
        
        .footer-section h3::after {
            right: 50%;
            transform: translateX(50%);
        }
    }
    
    @media (max-width: 576px) {
        .header-container {
            padding: 10px;
        }
        
        .logo img {
            height: 40px;
        }
        
        .hero {
            height: 70vh;
            min-height: 400px;
        }
        
        .hero h1 {
            font-size: 1.8rem;
        }
        
        .hero p {
            font-size: 0.9rem;
        }
        
        .section-title h2 {
            font-size: 1.8rem;
        }
        
        section {
            padding: 60px 10px;
        }
        
        .service-card {
            padding: 20px;
        }
        
        .portfolio-grid {
            gap: 20px;
        }
        
        .portfolio-img {
            height: 200px;
        }
        
        .contact-item {
            margin-bottom: 20px;
        }
        
        .form-control {
            padding: 10px 12px;
        }
        
        textarea.form-control {
            min-height: 120px;
        }
    }
    
    @media (max-width: 400px) {
        .hero h1 {
            font-size: 1.5rem;
        }
        
        .section-title h2 {
            font-size: 1.5rem;
        }
        
        .btn {
            padding: 10px 20px;
            font-size: 0.9rem;
        }
        
        .service-card {
            padding: 15px;
        }
        
        .portfolio-filter {
            padding-bottom: 5px;
        }
        
        .filter-btn {
            padding: 6px 15px;
            font-size: 0.9rem;
        }
        
        .footer-content {
            gap: 25px;
        }
        
        footer {
            padding: 40px 15px 20px;
        }
        
        .copyright {
            margin-top: 30px;
            padding-top: 15px;
        }
    }