:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
}


 
  <!-- ✅ لینک رسمی و پایدار فونت Vazirmatn از jsDelivr (بدون فاصله اضافه) -->
  <link rel="preconnect" href="https://cdn.jsdelivr.net">
  <link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css" rel="stylesheet">

  <style>
    body {
      font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      /* ...بقیه استایل‌ها بدون تغییر... */
    }
  </style>

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    direction: rtl;
    padding: 0;
}

/*
.container { margin-top: 40px; }
@media (min-width: 768px) {
    .container { margin-top: 20px; }
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto 0;  /*Top: 40px | Left/Right: auto | Bottom: 0 */
/*    padding: 0;
}  */

/* Shared container properties (if needed) */
.container-header, 
.container-main {
    width: 95%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Header-specific adjustments */
.container-header {
    margin-top: 20px;  /* Only affects header */
    padding: 0 15px;   /* Example: Add horizontal padding */
}

/* Main content-specific adjustments */
.container-main {
    margin-top: 20px;  /* Only affects main */
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .container-header { margin-top: 20px; }
    .container-main { margin-top: 40px; }  /* Adjust independently */
}


header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.header-content {
    position: relative;
    padding-top: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    position: absolute;
    left: 20px;
    top: 20px;
    cursor: pointer;
    z-index: 101;
}

.services-menu {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: -20px auto 30px;
    max-width: 1000px;
}

.services-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    transition: all 0.3s ease;
}

.services-nav li {
    margin: 0;
}

.services-nav a {
    display: block;
    padding: 12px 20px;
    background-color: var(--light-color);
    color: var(--dark-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.services-nav a:hover, 
.services-nav a.active {
    background-color: var(--primary-color);
    color: white;
}

.services-nav i {
    margin-left: 8px;
}

.service-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-right: 4px solid var(--primary-color);
}

.service-item.hidden {
    display: none;
}

/* Enhanced Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-method {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-method h3 {
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    margin-top: 10px;
}

.btn:hover {
    background: var(--secondary-color);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    display: none;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: var(--dark-color);
    background-color: white;
    border-top: 1px solid #eee;
}

.telegram-contact {
    margin-top: 10px;
}

.telegram-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.telegram-contact i {
    margin-left: 5px;
}

/* Add this to prevent scrolling when menu is open */
.no-scroll {
    overflow: hidden;
}

@media (max-width: 768px) {
    header {
        padding: 20px 0;
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        right: 20px;
        top: 20px;
        background: var(--primary-color);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 102;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    .services-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        z-index: 101;
        transition: right 0.3s ease;
        overflow-y: auto;
        background: white;
    }
    
    .services-menu.active {
        right: 0;
    }
    
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 100;
        display: none;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
    
    .services-nav {
        flex-direction: column;
        padding: 70px 20px 20px;
    }
    
    .services-nav a {
        border-radius: 5px;
        margin: 5px 0;
        padding: 12px 15px;
    }
}

