/* Reset و تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

/* استایل بخش خدمات و محصولات */
.products-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 16px;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* استایل اسلایدر */
.products-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    position: relative;
}

.slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: right;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-description {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #3498db;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.btn-more:hover {
    background-color: #2980b9;
}

/* دکمه های ناوبری اسلایدر */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    left: 0;
    padding: 0 10px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
}

.slider-btn:hover {
    background-color: #3498db;
    color: #fff;
}

/* نقاط نشانگر اسلایدر */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #bdc3c7;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #3498db;
}

.tns-liveregion {
  display: none !important;
}


/* ریسپانسیو */
@media (max-width: 768px) {
    .products-slider {
        padding: 0 20px;
    }
    
    .slider-btn {
        width: 60px;
        height: 30px;
        font-size: 12px;
    }
}

.tns-controls {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 10;
}

.tns-controls button {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    border: none;
    background-color: #333;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    font-size: 0;            /* متن پنهان */
    color: transparent;
    text-indent: -9999px;
    overflow: hidden;
}

.tns-controls button:hover {
    background-color: #555;
}

.tns-controls button::before {
    content: "";
    font-size: 20px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* فلش‌های چپ و راست */
.tns-controls button:first-child::before {
    content: "◀";
}

.tns-controls button:last-child::before {
    content: "▶";
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}


