/* ===== CSS Variables ===== */
:root {
    --primary-color: #0f2b5c;
    --primary-light: #1a4a8a;
    --primary-dark: #0a1f42;
    --accent-color: #ff6b35;
    --accent-light: #ff8c5a;
    --accent-dark: #e55a2b;
    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .nav-menu {
    margin-right: auto;
    margin-left: 0;
}

body.rtl .nav-right {
    margin-left: 0;
    margin-right: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* ===== Header / Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 43, 92, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 800;
    font-size: 22px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    background: linear-gradient(135deg, white, var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

body.rtl .nav-link.active::after {
    left: 0;
    right: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: var(--radius-sm);
}

.lang-btn {
    padding: 6px 10px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-btn:hover {
    color: white;
}

.lang-btn.active {
    background-color: var(--accent-color);
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    transition: var(--transition);
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-content {
    max-width: 650px;
    color: white;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

body.rtl .slider-dots {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* ===== Advantages ===== */
.advantages {
    padding: 60px 0;
    background-color: var(--bg-white);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.advantage-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Section Common ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Product Categories ===== */
.product-categories {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: white;
}

.category-info {
    padding: 24px;
}

.category-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.category-info p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 16px;
}

.category-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-link:hover {
    gap: 10px;
}

/* ===== Why Choose Us ===== */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.why-item:hover {
    background-color: var(--bg-light);
}

.why-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.why-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.why-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-info h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.testimonial-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* ===== Quick Quote ===== */
.quick-quote {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.quick-quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.quick-quote-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.quick-quote-content > p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.quote-features {
    margin-bottom: 30px;
}

.quote-features li {
    padding: 10px 0;
    color: var(--text-gray);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: 700;
    font-size: 18px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: #25D366;
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: #1fb857;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wa-icon {
    font-size: 20px;
}

.whatsapp-btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.whatsapp-btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.quick-quote-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.quick-quote-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background-color: white;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.file-upload-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    color: var(--text-gray);
    font-size: 14px;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 120px 0 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== Products Page ===== */
.products-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    min-height: 600px;
}

.products-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--text-gray);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.filter-btn.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: white;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    background-color: var(--accent-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

body.rtl .product-badge {
    left: auto;
    right: 15px;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.product-specs {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.6;
}

.product-material {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.inquire-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.inquire-btn:hover {
    background-color: var(--primary-dark);
}

/* ===== About Page ===== */
.about-intro {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.about-intro-text p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-lg);
    color: white;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--accent-light);
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== Timeline ===== */
.timeline-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--accent-color);
    transform: translateX(-50%);
}

body.rtl .timeline::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 40px;
}

body.rtl .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 40px;
    text-align: left;
}

body.rtl .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 40px;
    text-align: right;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

body.rtl .timeline-year {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.timeline-content {
    background-color: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    max-width: 350px;
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== Factory Gallery ===== */
.factory-gallery {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 250px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    font-weight: 600;
}

/* ===== Quality Control ===== */
.quality-control {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.quality-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.quality-step {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.quality-step h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.quality-step p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Certifications ===== */
.certifications {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.cert-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cert-badge {
    width: 70px;
    height: 70px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.cert-item span {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 600;
}

/* ===== OEM/ODM ===== */
.oem-odm {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.oem-odm-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.oem-odm-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.oem-odm-content > p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.oem-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}

body.rtl .oem-features {
    text-align: right;
}

.oem-feature {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: var(--radius-md);
}

.oem-feature strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--accent-light);
}

.oem-feature p {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-items {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

body.rtl .contact-item {
    flex-direction: row-reverse;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-gray);
    font-size: 14px;
}

.reply-promise {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 16px 20px;
    background-color: #fff3ed;
    border-radius: var(--radius-md);
    color: var(--accent-dark);
    font-weight: 600;
}

body.rtl .reply-promise {
    flex-direction: row-reverse;
}

.promise-icon {
    font-size: 24px;
}

.contact-form-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

/* ===== Map Section ===== */
.map-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.map-placeholder {
    height: 400px;
    background-color: var(--bg-gray);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: var(--text-gray);
}

.map-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.map-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.map-note {
    font-size: 14px;
    margin-top: 16px;
    color: var(--text-light);
}

/* ===== Privacy Page ===== */
.privacy-content {
    padding: 60px 0;
    background-color: var(--bg-light);
    min-height: 600px;
}

.privacy-text {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.privacy-text h2 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin: 30px 0 16px;
}

.privacy-text h2:first-child {
    margin-top: 0;
}

.privacy-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-text ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

body.rtl .privacy-text ul {
    padding-left: 0;
    padding-right: 20px;
}

.privacy-text li {
    color: var(--text-gray);
    line-height: 1.8;
    list-style: disc;
    margin-bottom: 8px;
}

body.rtl .privacy-text li {
    list-style: disc;
}

.privacy-update {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-col > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

body.rtl .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.rtl .footer-contact li {
    flex-direction: row-reverse;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

body.rtl .footer-bottom {
    flex-direction: row-reverse;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    transition: var(--transition);
}

body.rtl .whatsapp-float {
    right: auto;
    left: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.wa-float-icon {
    font-size: 24px;
}

/* ===== Cookie Consent ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

body.rtl .cookie-content {
    flex-direction: row-reverse;
}

.cookie-content p {
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

.modal-large {
    max-width: 800px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background-color: var(--bg-light);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

body.rtl .modal-close {
    right: auto;
    left: 15px;
}

.modal-close:hover {
    background-color: var(--border-color);
    color: var(--text-dark);
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-modal-image {
    height: 300px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: white;
}

.product-modal-info h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.product-modal-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.product-modal-specs {
    margin-bottom: 20px;
}

.product-modal-specs h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-modal-specs ul {
    padding-left: 20px;
}

body.rtl .product-modal-specs ul {
    padding-left: 0;
    padding-right: 20px;
}

.product-modal-specs li {
    list-style: disc;
    color: var(--text-gray);
    margin-bottom: 6px;
    font-size: 14px;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: #48bb78;
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 600;
}

body.rtl .toast {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-100px);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== Admin Panel ===== */
.admin-container {
    min-height: 100vh;
    background-color: var(--bg-light);
}

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.login-box {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 28px;
}

.login-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
}

.admin-dashboard {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    padding: 10px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.admin-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-align: left;
}

body.rtl .admin-nav-btn {
    text-align: right;
}

.admin-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-nav-btn.active {
    background-color: var(--accent-color);
    color: white;
}

.admin-logout {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-logout .btn {
    width: 100%;
}

.admin-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-section h1 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

body.rtl .admin-section-header {
    flex-direction: row-reverse;
}

.admin-section-header h1 {
    margin-bottom: 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background-color: white;
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

.admin-panel {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 30px;
}

.admin-panel h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

body.rtl .admin-table th,
body.rtl .admin-table td {
    text-align: right;
}

.admin-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

.admin-table td {
    font-size: 14px;
    color: var(--text-gray);
}

.admin-table tr:hover {
    background-color: var(--bg-light);
}

.table-actions {
    display: flex;
    gap: 8px;
}

.btn-edit {
    padding: 6px 12px;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-edit:hover {
    background-color: #3182ce;
}

.btn-delete {
    padding: 6px 12px;
    background-color: #f56565;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-delete:hover {
    background-color: #e53e3e;
}

.btn-view {
    padding: 6px 12px;
    background-color: #48bb78;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-view:hover {
    background-color: #38a169;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-unread {
    background-color: #fed7d7;
    color: #c53030;
}

.status-read {
    background-color: #c6f6d5;
    color: #276749;
}

.product-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.recent-inquiries {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-inquiry-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
}

body.rtl .recent-inquiry-item {
    flex-direction: row-reverse;
}

.recent-inquiry-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.recent-inquiry-info p {
    font-size: 13px;
    color: var(--text-gray);
}

.recent-inquiry-date {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== Page Visibility ===== */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .advantages-grid,
    .categories-grid,
    .why-grid,
    .testimonials-grid,
    .products-grid,
    .gallery-grid,
    .quality-steps,
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quality-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-quote-wrapper,
    .contact-grid,
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        right: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        padding: 20px;
        gap: 20px;
        transition: left 0.3s ease;
        width: 250px;
        height: calc(100vh - 70px);
        box-shadow: var(--shadow-lg);
    }
    
    body.rtl .nav-menu {
        left: auto;
        right: -100%;
    }
    
    .nav-menu.show {
        left: 0;
    }
    
    body.rtl .nav-menu.show {
        right: 0;
        left: auto;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .lang-switcher {
        display: none;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .advantages-grid,
    .categories-grid,
    .why-grid,
    .testimonials-grid,
    .products-grid,
    .gallery-grid,
    .quality-steps,
    .certifications-grid,
    .oem-features {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    body.rtl .timeline::before {
        left: auto;
        right: 30px;
    }
    
    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }
    
    body.rtl .timeline-year {
        left: auto;
        right: 30px;
        transform: translateX(50%);
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 70px;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 0;
        text-align: left;
    }
    
    body.rtl .timeline-item:nth-child(odd) .timeline-content,
    body.rtl .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 70px;
        padding-left: 0;
        padding-right: 20px;
        text-align: right;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-quote-form,
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .product-modal-content {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        width: 70px;
        padding: 15px 10px;
    }
    
    .admin-logo span:last-child,
    .admin-nav-btn span,
    .admin-logout .btn span {
        display: none;
    }
    
    .admin-logo {
        justify-content: center;
    }
    
    .admin-nav-btn {
        justify-content: center;
        font-size: 20px;
    }
    
    .admin-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .privacy-text {
        padding: 30px 20px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .about-intro-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 450px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .wa-float-text {
        display: none;
    }
    
    .whatsapp-float {
        padding: 14px;
        border-radius: 50%;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-main {
        padding: 20px 15px;
    }
}
