/*
Theme Name: Prio Water Treatment
Theme URI: https://www.priowater.com
Author: Prio New Material Technology Co., Ltd.
Author URI: https://www.priowater.com
Description: Professional B2B WordPress theme for chemical water treatment export business. Features deep blue with orange accent, multi-language support (English/Arabic/Spanish), responsive design, product catalog, inquiry forms, and admin panel.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prio-water-treatment
Domain Path: /languages
Tags: b2b, chemical, water-treatment, industrial, business, responsive, multilingual, e-commerce
*/

/* ============================================
   CSS Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a2540;
    --primary-blue: #1e3a5f;
    --primary-medium: #2d5a87;
    --primary-light: #4a7fb5;
    --accent-orange: #ff6b35;
    --accent-orange-dark: #e55a2b;
    --accent-orange-light: #ff8c5a;
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --max-width: 1280px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* RTL Support for Arabic */
body.rtl {
    direction: rtl;
    text-align: right;
}

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

a {
    color: var(--primary-medium);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-orange);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--accent-orange-dark);
    border-color: var(--accent-orange-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: white;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.top-bar {
    background-color: var(--primary-dark);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-info a {
    color: rgba(255,255,255,0.9);
}

.top-bar-info a:hover {
    color: var(--accent-orange);
}

.lang-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-switcher button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-switcher button:hover,
.lang-switcher button.active {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 48px;
    width: auto;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
}

.site-logo-text .logo-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.site-logo-text .logo-subtitle {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 16px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: var(--accent-orange);
    background-color: rgba(255, 107, 53, 0.08);
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

body.rtl .nav-menu .sub-menu {
    left: auto;
    right: 0;
}

.nav-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-medium);
    font-size: 14px;
    transition: var(--transition);
}

.nav-menu .sub-menu li a:hover {
    color: var(--accent-orange);
    background-color: var(--bg-light);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--primary-medium) 100%);
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.7) 50%, rgba(10, 37, 64, 0.4) 100%);
}

body.rtl .hero-overlay {
    background: linear-gradient(270deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.7) 50%, rgba(10, 37, 64, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 107, 53, 0.2);
    color: var(--accent-orange-light);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .accent {
    color: var(--accent-orange);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 6px;
}

/* Hero slider dots */
.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider-dots button.active {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: scale(1.2);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 80px 0;
}

.section-gray {
    background-color: var(--bg-light);
}

.section-dark {
    background-color: var(--primary-dark);
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-subtitle {
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.section-dark .section-description {
    color: rgba(255,255,255,0.75);
}

/* ============================================
   Features / Advantages Section
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-medium));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    transform: rotate(5deg) scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.feature-desc {
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   Product Categories
   ============================================ */
.product-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-category-card {
    position: relative;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.product-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-category-image {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-medium));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.product-category-content {
    padding: 20px;
    text-align: center;
}

.product-category-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-weight: 700;
}

.product-category-count {
    font-size: 13px;
    color: var(--text-light);
}

.product-category-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background-color: var(--accent-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

body.rtl .product-category-arrow {
    right: auto;
    left: 20px;
    transform: translateX(10px);
}

.product-category-card:hover .product-category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Why Choose Us
   ============================================ */
.why-choose-section {
    position: relative;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-choose-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-choose-image-placeholder {
    height: 450px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 120px;
    position: relative;
}

.why-choose-image-placeholder::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent-orange);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(60px);
}

.why-choose-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--accent-orange);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

body.rtl .why-choose-badge {
    right: auto;
    left: -20px;
}

.why-choose-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.why-choose-badge .label {
    font-size: 13px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-choose-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.why-choose-item-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,107,53,0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-orange);
}

.why-choose-item-content h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.why-choose-item-content p {
    margin-bottom: 0;
    color: var(--text-medium);
    font-size: 15px;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 60px;
    color: var(--accent-orange);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

body.rtl .testimonial-quote {
    right: auto;
    left: 24px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #fbbf24;
    font-size: 16px;
}

.testimonial-text {
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-medium));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-author-info h5 {
    font-size: 15px;
    margin-bottom: 2px;
    color: var(--primary-dark);
}

.testimonial-author-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ============================================
   Inquiry / Quote Form Section
   ============================================ */
.inquiry-section {
    position: relative;
    overflow: hidden;
}

.inquiry-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-orange);
    border-radius: 50%;
    opacity: 0.05;
}

body.rtl .inquiry-section::before {
    right: auto;
    left: -100px;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.inquiry-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.inquiry-info p {
    font-size: 16px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
}

.inquiry-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.inquiry-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.inquiry-feature-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.inquiry-feature-text {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.inquiry-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inquiry-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.inquiry-contact-item strong {
    color: white;
}

.inquiry-form-wrapper {
    background-color: white;
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.inquiry-form-title {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--accent-orange);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    background-color: white;
    color: var(--text-dark);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.form-submit-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* ============================================
   Products Page
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 12px;
}

.page-breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.page-breadcrumb a {
    color: rgba(255,255,255,0.9);
}

.page-breadcrumb a:hover {
    color: var(--accent-orange);
}

/* Product Filters */
.product-filters {
    background-color: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.filter-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    white-space: nowrap;
}

.filter-select {
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: white;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    min-width: 160px;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.filter-search {
    flex: 1;
    min-width: 200px;
}

.filter-search input {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.filter-search input:focus {
    outline: none;
    border-color: var(--accent-orange);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-icon {
    font-size: 64px;
    opacity: 0.6;
    transition: var(--transition);
}

.product-card:hover .product-image-icon {
    transform: scale(1.1);
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--accent-orange);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.rtl .product-badge {
    left: auto;
    right: 14px;
}

.product-category-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background-color: rgba(10, 37, 64, 0.8);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

body.rtl .product-category-tag {
    right: auto;
    left: 14px;
}

.product-info {
    padding: 22px;
}

.product-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.product-spec {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px dashed var(--border-color);
}

.product-spec:last-child {
    border-bottom: none;
}

.product-spec-label {
    color: var(--text-light);
}

.product-spec-value {
    color: var(--text-dark);
    font-weight: 600;
}

.product-footer {
    display: flex;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.product-footer .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
}

/* ============================================
   About Us Page
   ============================================ */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 100px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--accent-orange);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(80px);
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Company Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-orange), var(--primary-blue));
    transform: translateX(-50%);
}

body.rtl .timeline::before {
    left: 50%;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

body.rtl .timeline-item:nth-child(odd) {
    left: 50%;
    text-align: left;
}

body.rtl .timeline-item:nth-child(even) {
    left: 0;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    top: 28px;
    width: 20px;
    height: 20px;
    background-color: var(--accent-orange);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--accent-orange);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

body.rtl .timeline-item:nth-child(odd) .timeline-dot {
    left: -10px;
    right: auto;
}

body.rtl .timeline-item:nth-child(even) .timeline-dot {
    right: -10px;
    left: auto;
}

.timeline-content {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-year {
    display: inline-block;
    background-color: var(--accent-orange);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.certification-card {
    background-color: white;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.certification-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-orange);
}

.certification-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,107,53,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-orange);
}

.certification-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.certification-subtitle {
    font-size: 12px;
    color: var(--text-light);
}

/* Quality Process */
.quality-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.quality-step {
    background-color: white;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
}

.quality-step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background-color: var(--accent-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.quality-step-icon {
    font-size: 36px;
    margin: 10px 0 14px;
}

.quality-step h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.quality-step p {
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.contact-info-box {
    background-color: var(--primary-dark);
    border-radius: 16px;
    padding: 40px;
    color: white;
}

.contact-info-box h3 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.4rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 36px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.contact-info-text h5 {
    color: white;
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    margin-bottom: 0;
}

.contact-info-text a:hover {
    color: var(--accent-orange);
}

.contact-social {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.contact-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.contact-social a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
}

.contact-form-box {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form-box h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.contact-form-box > p {
    color: var(--text-medium);
    margin-bottom: 28px;
}

.response-promise {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(56, 161, 105, 0.1);
    color: var(--success-color);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
}

/* Map */
.map-section {
    margin-top: 60px;
}

.map-placeholder {
    height: 400px;
    background-color: var(--bg-gray);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px),
        linear-gradient(var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-pin {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.map-pin-icon {
    font-size: 48px;
    color: var(--accent-orange);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-pin-text {
    background-color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-orange);
    border-radius: 2px;
}

body.rtl .footer-col h4::after {
    left: auto;
    right: 0;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    font-weight: 800;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--accent-orange);
    font-weight: bold;
}

body.rtl .footer-links a::before {
    content: '‹';
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 6px;
}

body.rtl .footer-links a:hover {
    padding-left: 0;
    padding-right: 6px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--accent-orange);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-text {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-text a {
    color: rgba(255,255,255,0.7);
}

.footer-contact-text a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-text {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: var(--accent-orange);
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

body.rtl .floating-whatsapp {
    right: auto;
    left: 30px;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-whatsapp a:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* ============================================
   Cookie Consent
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    color: white;
    padding: 20px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.cookie-text a {
    color: var(--accent-orange);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 20px;
    font-size: 13px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-btn-accept {
    background-color: var(--accent-orange);
    color: white;
}

.cookie-btn-accept:hover {
    background-color: var(--accent-orange-dark);
}

.cookie-btn-decline {
    background-color: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-decline:hover {
    border-color: rgba(255,255,255,0.6);
    color: white;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facilities-grid,
    .oem-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quality-process {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-choose-grid,
    .about-hero,
    .inquiry-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .hero-stat-number {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }
    
    .nav-menu.mobile-open {
        display: flex;
    }
    
    .nav-menu > li > a {
        padding: 12px 16px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-cta .btn {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px;
        padding-right: 0;
    }
    
    body.rtl .timeline-item {
        padding-left: 0;
        padding-right: 50px;
        text-align: right !important;
    }
    
    .timeline-item .timeline-dot {
        left: 11px !important;
        right: auto !important;
    }
    
    body.rtl .timeline-item .timeline-dot {
        right: 11px !important;
        left: auto !important;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .products-grid,
    .product-categories,
    .features-grid,
    .testimonials-grid,
    .certifications-grid,
    .quality-process,
    .footer-grid,
    .facilities-grid,
    .oem-grid {
        grid-template-columns: 1fr !important;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .inquiry-form-wrapper,
    .contact-form-box,
    .contact-info-box {
        padding: 24px;
    }
    
    .form-submit-row {
        flex-direction: column;
    }
    
    .top-bar-info {
        gap: 12px;
        font-size: 12px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .site-logo-text .logo-title {
        font-size: 16px;
    }
    
    .site-logo-text .logo-subtitle {
        font-size: 9px;
    }
    
    .floating-whatsapp a {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

/* ============================================
   Animation Classes
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Wordpress Core Styles */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-light); font-style: italic; }
.sticky { }
.gallery-caption { }
.bypostauthor { }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
