/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #333366;
    --primary-foreground: #ffffff;
    --accent: #f59e0b;
    --accent-foreground: #333366;
    --background: #ffffff;
    --foreground: #1a1a1a;
    --neutral-light: #f5f5f5;
    --neutral-dark: #1a1a2e;
    --border: #e5e7eb;
    --radius: 8px;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    direction: rtl;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Header ========== */
.site-header {
    background-color: var(--primary);
    color: var(--primary-foreground);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.main-nav {
    display: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--primary-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--primary-foreground);
    border: none;
    padding: 8px;
    border-radius: var(--radius);
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--primary-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* ========== Hero Slider ========== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    padding-top: 0px;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(51, 51, 102, 0.9), rgba(51, 51, 102, 0.5));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.slide-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 20;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots button.active {
    width: 32px;
    border-radius: 6px;
    background: var(--accent);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

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

.btn-accent {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background-color: #d97706;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-block {
    width: 100%;
}

/* ========== Sections ========== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-divider {
    width: 96px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 1.5rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
}

/* ========== About Section ========== */
.about-section {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.feature-card.accent-border {
    border-top-color: var(--accent);
}

.feature-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(51, 51, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon.accent-bg {
    background-color: rgba(245, 158, 11, 0.1);
}

.feature-icon svg {
    color: var(--primary);
}

.feature-icon.accent-bg svg {
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6b7280;
}

/* ========== Products Section ========== */
/* کارت کامل عرض */
.product-full {
    width: 100%;
    background: white;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column; /* موبایل */
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .product-full {
        flex-direction: row; /* دسکتاپ: متن چپ، عکس راست */
    }
}

.product-info {
    flex: 1;
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    color: #555;
}

.check {
    color: var(--accent);
    font-weight: 700;
}

/* عکس ثابت در سمت راست */
.product-image {
    width: 100%;
    height: 260px;
    position: relative;
}

@media (min-width: 768px) {
    .product-image {
        width: 380px; /* عرض ثابت سمت راست */
        height: auto;
    }
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* بِج */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 50px;
    font-weight: bold;
}


/* کارت جدید تک‌محصوله */
.product-single {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .product-single {
        flex-direction: row; /* عکس راست، متن چپ */
    }
}

.product-info {
    flex: 1;
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 12px;
    color: #6b7280;
}

.product-features .check {
    color: var(--accent);
    font-weight: 700;
}

.product-image {
    position: relative;
    width: 100%;
    height: 260px;
}

@media (min-width: 768px) {
    .product-image {
        width: 350px;
        height: auto;
    }
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
}

/* باکس توضیحات */
.info-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(51, 51, 102, 0.05);
    padding: 2rem;
    border-radius: var(--radius);
    border-right: 4px solid var(--accent);
}

.info-box h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-box p {
    color: #374151;
    margin-bottom: 1rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* ========== Blog Section ========== */
.blog-section {
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.blog-image {
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--accent);
}

.blog-content p {
    color: #6b7280;
    margin-bottom: 1rem;
}

/* ========== Contact Section ========== */
.contact-section {
    background-color: var(--primary);
    color: white;
}

.contact-section .section-header h2,
.contact-section .section-header p {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    color: var(--primary);
}

.info-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== Footer ========== */
.site-footer {
    background-color: var(--neutral-dark);
    color: white;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h3 {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: white;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn {
    padding: 10px 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}
.awards-section {
width: 100%;
padding: 40px 0;
overflow: hidden;
position: relative;
background: #fff;
}


.awards-title {
text-align: center;
font-size: 24px;
margin-bottom: 20px;
font-weight: bold;
}


.awards-slider {
display: flex;
gap: 20px;
animation: slide 15s linear infinite;
margin:0px auto;
width: max-content;
}



.award-card {
width: 220px;
height: 280px;
background: #eee;
border-radius: 12px;
overflow: hidden;
position: relative;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}


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


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


.award-info {
position: absolute;
bottom: -70px;
left: 0;
width: 100%;
background: rgba(0,0,0,0.7);
color: #fff;
padding: 10px;
text-align: center;
font-size: 14px;
transition: bottom 0.3s;
}


.award-card:hover .award-info {
bottom: 0;
}
