/* Font Face - Tanha Font */
@font-face {
    font-family: 'Tanha';
    src: url('fonts/Tanha.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranNastaliq';
    src: url('fonts/IranNastaliq.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.nastaliq-font {
    font-family: 'IranNastaliq', 'Tanha', Tahoma, Arial, sans-serif;
    font-size: 2rem;
    font-weight: normal;
    line-height: 1.85;
    direction: rtl;
    text-align: center;
    display: inline-block;
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Plant Sprout Green Theme - Vibrant and Natural */
    --primary-green: #00C853; /* Bright sprout green */
    --light-green: #5FFD97; /* Light sprout green */
    --dark-green: #009624; /* Forest green */
    --accent-green: #69F0AE; /* Spring green accent */
    --ice-blue: #F0FFF0; /* Honeydew background */
    --light-blue: #F5FFFA; /* Mint cream */
    --dark-blue: #228B22;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #495057;
    --black: #212529;
    
    /* Typography */
    --font-family: 'Tanha', 'Tahoma', 'Arial', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content wrapper */
main {
    flex: 1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-4xl);
    color: var(--black);
}

h2 {
    font-size: var(--font-size-3xl);
    color: var(--black);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

h3 {
    font-size: var(--font-size-2xl);
    color: var(--black);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--dark-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 224, 50, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Navigation */
.header-nav {
    flex: 0 0 auto;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #2d3748;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 224, 50, 0.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.nav-link:hover::before {
    opacity: 0.15;
}

.nav-link:hover {
    color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,200,83,0.18);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-green);
}

/* Brand/Title */
.header-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    line-height: 1.2;
    display: inline-block;
}

.brand-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-link:hover {
    color: var(--primary-green);
    transform: scale(1.02);
}


/* Logo */
.header-logo {
    flex: 0 0 auto;
    margin-left: 0;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--primary-green);
}

.logo-icon:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 4px 12px rgba(0,200,83,0.15);
    border-color: var(--light-green);
    background: rgba(0,200,83,0.06);
}


/* Gallery Section */
.gallery {
    padding: calc(80px + var(--spacing-md)) 0 var(--spacing-xl);
    background: linear-gradient(135deg, #F8F9FA 0%, #F0FFF0 100%);
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(50, 205, 50, 0.05) 0%, rgba(0, 255, 127, 0.08) 100%);
    pointer-events: none;
}

.gallery-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    z-index: 1;
}

.gallery-description {
    font-size: var(--font-size-base);
    color: var(--black);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: normal;
    position: relative;
    z-index: 2;
}

.image-carousel {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0 var(--spacing-lg);
}

.carousel-container {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #F8F9FA 100%);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(50, 205, 50, 0.15), 0 4px 8px rgba(0, 255, 127, 0.1);
    overflow: hidden;
    border: 1px solid rgba(50, 205, 50, 0.2);
}

.carousel-images {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F0FFF0 0%, #F5FFFA 100%);
    position: relative;
}

/* Ensure gallery images fill the box nicely */
.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bottom caption overlay for image name */
.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 8px 12px;
    font-size: var(--font-size-base);
    line-height: 1.4;
    text-align: center;
    backdrop-filter: saturate(120%) blur(2px);
    z-index: 5;
    pointer-events: none;
}

.image-placeholder {
    font-size: var(--font-size-lg);
    color: var(--gray);
    text-align: center;
    padding: var(--spacing-xl);
    border: 2px dashed var(--primary-green);
    border-radius: var(--radius-md);
    background-color: var(--white);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #222;
    border: 1.5px solid #ececec;
    width: 52px;
    height: 40px;
    border-radius: 8px;
    font-size: 2.3rem;
    cursor: pointer;
    transition: border-color 0.19s, box-shadow 0.19s;
    z-index: 20;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(33,33,33,0.08);
    outline: none;
    user-select: none;
}

.carousel-btn:hover, .carousel-btn:focus {
    border-color: #b5b5b5;
    box-shadow: 0 4px 18px rgba(33,33,33,0.11);
    background: #fff;
    color: #111;
}

.carousel-btn:active {
    border-color: #ababab;
    box-shadow: 0 1.5px 4px rgba(33,33,33,0.12);
    background: #fff;
}

.carousel-btn.prev {
    right: var(--spacing-lg);
}

.carousel-btn.next {
    left: var(--spacing-lg);
}

/* Products Section */
.products {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.table-container {
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.test-offer {
    background: linear-gradient(135deg, #FFFADC 0%, #FFE066 100%);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(254, 249, 195, 0.18);
    text-align: center;
    max-width: 100%;
    margin: 0 auto var(--spacing-lg);
    border: 2px solid #FFD600;
}

.test-offer p {
    color: #111 !important;
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: bold;
}

.test-offer p {
    color: var(--dark-gray);
    font-size: var(--font-size-base);
    line-height: 1.5;
    margin: 0;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    min-width: 100%;
    border-radius: var(--radius-md);
}

.products-table th,
.products-table td {
    padding: var(--spacing-md);
    text-align: center;
    border: 1px solid var(--light-gray);
}

.products-table {
    table-layout: fixed;
}

.products-table th:nth-child(1),
.products-table td:nth-child(1) {
    width: 20%;
}

.products-table th:nth-child(2),
.products-table td:nth-child(2) {
    width: 25%;
}

.products-table th:nth-child(3),
.products-table td:nth-child(3) {
    width: 20%;
}

.products-table th:nth-child(4),
.products-table td:nth-child(4) {
    width: 35%;
}

.products-table th {
    background-color: var(--ice-blue);
    color: var(--dark-gray);
    font-weight: bold;
    font-size: var(--font-size-base);
}

.products-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.products-table tr:hover {
    background-color: var(--ice-blue);
    transition: background-color 0.3s ease;
}

/* About Section */
.about {
    padding: var(--spacing-lg) 0 var(--spacing-md) 0;
    background-color: var(--light-gray);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

/* Phone Registration Form Section */
.phone-registration {
    padding: var(--spacing-md) 0 var(--spacing-md) 0;
    background: linear-gradient(135deg, var(--ice-blue) 0%, var(--light-blue) 100%);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.form-container {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.form-header {
    margin-bottom: var(--spacing-lg);
}

.startup-sticker {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.form-header h2 {
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-2xl);
}

.form-header p {
    color: var(--dark-gray);
    font-size: var(--font-size-base);
    line-height: 1.5;
}

.modern-form {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-blue);
}

.input-container {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.input-container input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-md) 2.5rem;
    border: 2px solid var(--light-blue);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    background: var(--ice-blue);
}

.input-container input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0,200,83,0.13);
    transform: translateY(-1px);
}

.input-icon {
    position: absolute;
    right: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--font-size-base);
    color: var(--primary-green);
}

.btn-modern {
    background: linear-gradient(135deg, #FFD600 0%, #FF9100 100%);
    color: #fff;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-modern:hover {
    background: linear-gradient(135deg, #FFA000 0%, #FF6D00 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-modern:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: var(--font-size-base);
    transition: transform 0.3s ease;
}

.btn-modern:hover .btn-icon {
    transform: rotate(360deg);
}

/* Contact Section */
.contact {
    padding: var(--spacing-sm) 0 0;
    background-color: var(--white);
    width: 100%;
}

.contact-wrapper {
    background-color: var(--light-gray);
    padding: var(--spacing-md);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.contact-wrapper h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-green);
    font-size: var(--font-size-2xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
    color: var(--dark-gray);
}

.phone-link {
    color: #1976D2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.social-media {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #E4405F, #F77737);
    color: var(--white);
}

.social-link.telegram:hover {
    background: linear-gradient(135deg, #0088cc, #00a8ff);
    color: var(--white);
}

.social-link.eitaa:hover {
    background: linear-gradient(135deg, #00C851, #00A041);
    color: var(--white);
}

.social-link.rubika:hover {
    background: linear-gradient(135deg, #9C27B0, #673AB7);
    color: var(--white);
}

.social-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon-img {
    transform: scale(1.1);
}

.error-message {
    color: #f44336;
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    display: block;
}

/* Footer */
.footer {
    background-color: var(--dark-green);
    color: var(--white);
    text-align: center;
    padding: 1rem 0;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    bottom: 0;
}

.footer .container {
    padding: 0;
    margin: 0;
    max-width: none;
    width: 100%;
}

.footer p {
    margin: 0;
    color: var(--white);
    font-size: var(--font-size-sm);
}

/* SEO Hashtags */
.seo-hashtags {
    margin-top: var(--spacing-md);
    text-align: center;
    opacity: 0.6;
}

.hashtag {
    display: inline-block;
    margin: 0.1rem 0.2rem;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-weight: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Natural Colors for Mobile */
    :root {
        --mobile-primary: var(--primary-green);
        --mobile-secondary: var(--dark-green);
        --mobile-accent: var(--light-green);
        --mobile-text: var(--dark-gray);
        --mobile-bg: var(--ice-blue);
    }
    
    .container {
        padding: 0 var(--spacing-sm);
        max-width: 100%;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
    }
    
    * {
        box-sizing: border-box;
    }
    
    .header-container {
        padding: 0.5rem 0.8rem;
        flex-wrap: wrap;
        gap: 0.3rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-nav {
        order: 3;
        flex: 1 1 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .header-brand {
        position: static;
        transform: none;
        order: 1;
        flex: 0 0 auto;
        text-align: center;
        z-index: 2;
    }
    
    .brand-title {
        font-size: 1.2rem;
    }
    
    .header-logo {
        order: 2;
        flex: 0 0 auto;
    }
    
    .nav-list {
        gap: 0.8rem;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        border-radius: 8px;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    h1, h2, h3 {
        color: var(--mobile-secondary);
        font-weight: bold;
    }
    
    .gallery {
        padding: calc(120px + var(--spacing-lg)) 0 var(--spacing-lg);
        background: linear-gradient(135deg, #F8F9FA 0%, #F0FFF0 100%);
    }
    
    .gallery-wrapper {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    
    .gallery-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-md);
    }
    
    .products-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .test-offer {
        order: 1;
        padding: var(--spacing-lg);
        max-width: 100%;
        margin: 0 1rem var(--spacing-lg);
    }
    
    .table-container {
        order: 2;
        max-width: 100%;
        margin: 0 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .about h2 {
        color: var(--mobile-accent);
    }
    
    .phone-registration h2 {
        color: var(--mobile-primary);
    }
    
    .contact h2 {
        color: var(--mobile-secondary);
    }
    
    .contact-info h3,
    .social-media h3 {
        color: var(--mobile-primary);
    }
    
    
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    .contact-wrapper {
        background-color: var(--light-gray);
        padding: var(--spacing-lg);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
    }
    
    .contact-wrapper h2 {
        color: var(--mobile-primary);
        font-size: var(--font-size-xl);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        display: flex;
        flex-direction: column;
    }
    
    .contact-info {
        order: 2;
    }
    
    .social-media {
        order: 1;
    }
    
    .form-container {
        padding: 0 var(--spacing-md);
        max-width: 350px;
    }
    
    .modern-form {
        padding: var(--spacing-md);
    }
    
    .startup-sticker {
        font-size: 2rem;
    }
    
    .form-header h2 {
        font-size: var(--font-size-xl);
    }
    
    .carousel-images {
        height: 350px;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
        padding: 0;
        margin: 0 4px;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 4px !important;
        color: #00E0FF !important;
        font-size: 2.1rem !important;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.16s;
    }
    .carousel-btn:hover, .carousel-btn:focus, .carousel-btn:active {
        color: #00B4CC !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
    
    .carousel-btn.prev {
        right: var(--spacing-md);
    }
    
    .carousel-btn.next {
        left: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .gallery-description {
        font-size: var(--font-size-sm);
        padding: 0 var(--spacing-sm);
    }
    
    .startup-sticker {
        font-size: 1.8rem;
    }
    
    .form-header p {
        font-size: var(--font-size-sm);
    }
    
    .input-container input {
        font-size: var(--font-size-sm);
        padding: var(--spacing-sm) var(--spacing-md) var(--spacing-sm) 2rem;
    }
    
    .btn-modern {
        font-size: var(--font-size-sm);
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .contact-info p {
        font-size: var(--font-size-base);
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
    
    .social-icon {
        font-size: var(--font-size-lg);
    }
    
    .products-table {
        font-size: var(--font-size-sm);
        min-width: 600px;
    }
    
    .products-table th,
    .products-table td {
        padding: var(--spacing-sm);
        white-space: nowrap;
    }
    
    .products-table th:nth-child(1),
    .products-table td:nth-child(1) {
        width: 25%;
    }
    
    .products-table th:nth-child(2),
    .products-table td:nth-child(2) {
        width: 30%;
    }
    
    .products-table th:nth-child(3),
    .products-table td:nth-child(3) {
        width: 25%;
    }
    
    .products-table th:nth-child(4),
    .products-table td:nth-child(4) {
        width: 20%;
    }
    
    .contact-info,
    .contact-form {
        padding: var(--spacing-lg);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-green);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.form-header h2,
.contact-wrapper h2,
.about h2,
.phone-registration h2,
.contact h2 {
    color: var(--black) !important;
}

/* حذف رنگ اختصاصی هدرها در موبایل */
@media (max-width: 768px) {
    .about h2,
    .phone-registration h2,
    .contact h2,
    .contact-wrapper h2,
    .products h2,
    h1, h2, h3 {
        color: var(--black) !important;
    }
}

@media (max-width: 768px) {
    .products-table {
        min-width: 0 !important;
        width: 100% !important;
        font-size: 0.92em;
    }
    .products-table th, .products-table td {
        padding: 0.4em 0.25em;
        white-space: normal;
    }
    .products-table th:nth-child(1), .products-table td:nth-child(1) {width: 20%;}
    .products-table th:nth-child(2), .products-table td:nth-child(2) {width: 25%;}
    .products-table th:nth-child(3), .products-table td:nth-child(3) {width: 20%;}
    .products-table th:nth-child(4), .products-table td:nth-child(4) {width: 35%;}
    .table-container {overflow-x: unset;}
}
