/* ================================
   Al-Mahmoud - Design 1
   Modern Clean Light Theme
   ================================ */

/* ===== Variables ===== */
:root {
    --primary-color: #4A7C59;
    --primary-dark: #3A6249;
    --primary-light: #5A9A6E;
    --secondary-color: #2C3E50;
    --accent-color: #E8B931;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-color: #E8E8E0;
    --bg-light: #DDDDD5;
    --bg-dark: #D0D0C8;
    --border-color: #C5C5BD;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.18);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-hero: linear-gradient(135deg, #DDDDD5 0%, #cde0ce 50%, #DDDDD5 100%);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

/* ===== Dark Mode Variables ===== */
[data-theme="dark"] {
    --primary-color: #5A9A6E;
    --primary-dark: #4A7C59;
    --primary-light: #6BB87E;
    --secondary-color: #c8d6e5;
    --accent-color: #F0C850;
    --text-color: #E0E0E0;
    --text-light: #B0B0B0;
    --text-muted: #808080;
    --bg-color: #1A1A2E;
    --bg-light: #222240;
    --bg-dark: #141428;
    --border-color: #333355;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-hero: linear-gradient(135deg, #1A1A2E 0%, #1a2e1e 50%, #1A1A2E 100%);
}

[data-theme="dark"] .floating-shape {
    background: linear-gradient(135deg, rgba(90, 154, 110, 0.08), rgba(90, 154, 110, 0.03));
}

[data-theme="dark"] .floating-gear {
    color: rgba(90, 154, 110, 0.06);
}

[data-theme="dark"] .hero-badge {
    background: rgba(90, 154, 110, 0.15) !important;
    color: var(--primary-light);
}

[data-theme="dark"] img {
    filter: brightness(0.92);
}

[data-theme="dark"] .path-btn.primary {
    background: var(--bg-light);
    color: var(--primary-light);
    border-color: var(--primary-light);
}

[data-theme="dark"] .path-btn.primary:hover {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .newsletter-form input {
    background: var(--bg-dark);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .footer {
    background: #111122;
}

[data-theme="dark"] .newsletter-form .btn:hover {
    background: var(--primary-dark);
}

/* Dark Mode - Products Hero */
[data-theme="dark"] .ph-shape {
    background: linear-gradient(135deg, rgba(90, 154, 110, 0.06), rgba(90, 154, 110, 0.02));
}

[data-theme="dark"] .ph-featured-banner,
[data-theme="dark"] .ph-product-card {
    background: var(--bg-light);
    border-color: var(--border-color);
}

[data-theme="dark"] .ph-featured-visual,
[data-theme="dark"] .ph-pc-image {
    background: linear-gradient(145deg, #222240, #2a2a4a);
}

[data-theme="dark"] .ph-trust-bar {
    background: var(--primary-dark);
}

[data-theme="dark"] .ph-featured-price {
    background: rgba(90, 154, 110, 0.06);
    border-color: rgba(90, 154, 110, 0.15);
}

[data-theme="dark"] .ph-spec {
    background: var(--bg-dark);
}

[data-theme="dark"] .ph-cta-secondary,
[data-theme="dark"] .ph-btn-secondary {
    background: var(--bg-light);
}

[data-theme="dark"] .ph-filter-chip,
[data-theme="dark"] .ph-nav-btn {
    background: var(--bg-light);
    border-color: var(--border-color);
}

[data-theme="dark"] .ph-btn-icon {
    background: var(--bg-dark);
    border-color: var(--border-color);
}

[data-theme="dark"] .ph-pc-action {
    background: rgba(34, 34, 64, 0.95);
    color: var(--text-color);
}

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

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

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ===== Loader ===== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.gear-loader i {
    font-size: 60px;
    color: var(--primary-color);
    animation: rotate 2s linear infinite;
}

.loader p {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 14px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(232, 232, 224, 0.99);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(26, 26, 46, 0.99);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
    transition: var(--transition-normal);
}

.header.scrolled .logo img {
    height: 50px;
}

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

.nav-menu a {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--secondary-color);
    background: var(--bg-light);
    transition: var(--transition-normal);
}

.nav-actions button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.lang-switch-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    background: var(--bg-light);
    text-decoration: none;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.lang-switch-btn i {
    font-size: 15px;
}

.lang-switch-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.currency-switch-wrap {
    display: flex;
    align-items: center;
}

.currency-switch-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 30px 8px 14px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    background: var(--bg-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat left 10px center;
    background-size: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

[dir="rtl"] .currency-switch-select {
    padding: 8px 14px 8px 30px;
    background-position: right 10px center;
}

.currency-switch-select:hover {
    background-color: var(--primary-color);
    color: white;
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    color: var(--secondary-color);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
}

/* ===== Dark Mode Toggle ===== */
.dark-mode-toggle {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle .fa-moon {
    display: inline-block;
}

.dark-mode-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle .fa-sun {
    display: inline-block;
    color: #F0C850;
}

[data-theme="dark"] .dark-mode-toggle .fa-moon {
    display: none;
}

/* ===== Mobile Menu Panel ===== */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-color);
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 30px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
}

.mobile-menu-panel.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header h3 {
    font-size: 20px;
    color: var(--primary-color);
}

.close-mobile-menu {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light) !important;
    color: var(--text-color);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.close-mobile-menu:hover {
    background: var(--primary-color) !important;
    color: white;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition-normal);
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: rgba(74, 124, 89, 0.12);
    color: var(--accent-color);
    border-right: 3px solid var(--accent-color);
}

.mobile-menu-nav a i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.mobile-menu-footer .btn {
    width: 100%;
}

/* ===== Menu Overlay ===== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Cart Sidebar ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-color);
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.cart-sidebar-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-sidebar-header h3 i {
    color: var(--primary-color);
}

.close-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light) !important;
    color: var(--text-color);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.close-cart:hover {
    background: var(--primary-color) !important;
    color: white;
}

.cart-sidebar-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cart-empty i {
    font-size: 60px;
    margin-bottom: 15px;
    color: var(--border-color);
}

.cart-empty p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Cart Items */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 12px;
    position: relative;
    transition: var(--transition-normal);
}

.cart-item:hover {
    box-shadow: var(--shadow-sm);
}

.cart-item-image {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-color);
}

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

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    transition: var(--transition-normal);
}

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

.cart-qty-value {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition-normal);
}

[dir="ltr"] .cart-item-remove {
    left: auto;
    right: 8px;
}

.cart-item-remove:hover {
    background: #e74c3c;
    color: white;
}

/* Cart Footer */
.cart-sidebar-footer {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-sidebar-footer .btn {
    width: 100%;
}

.cart-totals {
    padding: 0 0 5px;
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    color: var(--text-color);
}

.cart-total-row strong {
    font-size: 18px;
    color: var(--primary-color);
}

.cart-quote-btn {
    font-size: 15px;
}

.cart-clear-btn {
    font-size: 13px;
    padding: 8px;
    color: var(--text-muted) !important;
    border-color: var(--border-color) !important;
}

.cart-clear-btn:hover {
    color: #e74c3c !important;
    border-color: #e74c3c !important;
}

/* Cart Order Form */
.cart-order-form {
    padding: 5px 0;
}

.cart-order-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-order-title i {
    color: var(--primary-color);
}

.cart-form-group {
    margin-bottom: 14px;
}

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

.cart-form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-color);
    background: var(--bg-color);
    transition: border-color 0.3s;
    outline: none;
    box-sizing: border-box;
}

.cart-form-input:focus {
    border-color: var(--primary-color);
}

.cart-form-textarea {
    resize: vertical;
    min-height: 70px;
}

.cart-form-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
}

.cart-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cart-back-btn i {
    margin-left: 0 !important;
}

/* Cart Order Success */
.cart-order-success {
    text-align: center;
    padding: 40px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cart-order-success i {
    font-size: 60px;
    color: #27ae60;
    margin-bottom: 18px;
}

.cart-order-success p {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.6;
}

/* ===== Search Overlay ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 150px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.search-overlay-content h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 25px;
}

.search-overlay-form {
    display: flex;
    gap: 0;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.search-overlay-form input {
    flex: 1;
    padding: 18px 25px;
    font-size: 18px;
    font-family: 'Cairo', sans-serif;
    border: none;
    outline: none;
    background: var(--bg-color);
    color: var(--text-color);
}

.search-overlay-form input::placeholder {
    color: var(--text-muted);
}

.search-overlay-form button {
    padding: 18px 30px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 18px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.search-overlay-form button:hover {
    opacity: 0.9;
}

.close-search {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.close-search:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: rotate(90deg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4);
}

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

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

/* ============================================
   Products Hero Section - Premium Showcase v2
   ============================================ */
.products-hero {
    padding: 100px 0 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.products-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.ph-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.08), rgba(74, 124, 89, 0.02));
}

.ph-shape-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
    animation: float 18s ease-in-out infinite;
}

.ph-shape-2 {
    width: 350px;
    height: 350px;
    bottom: 5%;
    left: -100px;
    animation: float 14s ease-in-out infinite reverse;
}

.ph-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    animation: float 10s ease-in-out infinite;
}

.ph-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.ph-glow-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: 5%;
    background: rgba(74, 124, 89, 0.2);
    animation: float 20s ease-in-out infinite;
}

.ph-glow-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: 10%;
    background: rgba(232, 185, 49, 0.15);
    animation: float 16s ease-in-out infinite reverse;
}

/* Header */
.products-hero-header {
    text-align: center;
    padding: 40px 0 35px;
    position: relative;
    z-index: 2;
}

.ph-badge-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ph-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: white;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--border-radius-xl);
    animation: pulse-glow 2s ease-in-out infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.7;
    }
}

.ph-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(74, 124, 89, 0.1);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(74, 124, 89, 0.2);
}

.ph-counter-badge i {
    color: var(--accent-color);
}

.ph-title {
    font-size: 46px;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 12px;
}

.ph-highlight {
    color: var(--primary-color);
    position: relative;
}

.ph-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(74, 124, 89, 0.15);
    z-index: -1;
    border-radius: 4px;
}

.ph-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

.ph-quick-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ph-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: var(--bg-color);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.ph-filter-chip:hover,
.ph-filter-chip.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
    transform: translateY(-2px);
}

.ph-filter-chip i {
    font-size: 12px;
}

/* ===== Featured Product Banner ===== */
.ph-featured-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ph-featured-visual {
    position: relative;
    background: linear-gradient(145deg, #f0f4f1, #e2ebe4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 450px;
    overflow: hidden;
}

.ph-featured-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 124, 89, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
}

.ph-featured-visual a {
    position: relative;
    z-index: 1;
    display: block;
}

.ph-featured-visual img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ph-featured-visual:hover img {
    transform: scale(1.05) rotate(-2deg);
}

.ph-featured-info {
    padding: 40px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ph-featured-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.ph-featured-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent-color), #D4A520);
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 800;
    border-radius: var(--border-radius-xl);
}

.ph-featured-discount {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #E74C3C;
    color: white;
    font-size: 14px;
    font-weight: 800;
    border-radius: var(--border-radius-xl);
}

.ph-featured-info h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.ph-featured-info a {
    text-decoration: none;
    color: inherit;
}

.ph-featured-info a:hover h2 {
    color: var(--primary-color);
}

.ph-featured-desc {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.7;
}

.ph-featured-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ph-stars {
    color: var(--accent-color);
    font-size: 15px;
    display: flex;
    gap: 2px;
}

.ph-featured-rating span {
    font-size: 14px;
    color: var(--text-muted);
}

.ph-featured-price {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.06), rgba(74, 124, 89, 0.02));
    border-radius: 14px;
    border: 1px dashed rgba(74, 124, 89, 0.15);
}

.ph-price-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ph-price {
    font-size: 34px;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.ph-currency {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.ph-old-price {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.ph-save-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(231, 76, 60, 0.1);
    color: #E74C3C;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--border-radius-xl);
}

.ph-featured-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.ph-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-color);
    font-weight: 600;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: 10px;
}

.ph-spec i {
    color: var(--primary-color);
    font-size: 14px;
}

.ph-featured-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ph-btn-primary {
    flex: 1;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: white;
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ph-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.ph-btn-primary:hover::after {
    left: 100%;
}

.ph-btn-primary:hover {
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.4);
    transform: translateY(-2px);
}

.ph-btn-secondary {
    padding: 14px 24px;
    background: transparent;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 700;
    border-radius: 14px;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ph-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.ph-btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 18px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ph-btn-icon:hover {
    background: #E74C3C;
    color: white;
    border-color: #E74C3C;
}

.ph-btn-icon.active {
    background: #E74C3C;
    color: white;
    border-color: #E74C3C;
}

/* ===== Product Slider Section ===== */
.ph-slider-section {
    position: relative;
    z-index: 2;
    margin-bottom: 35px;
}

.ph-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ph-slider-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ph-slider-header h3 i {
    color: #E74C3C;
}

.ph-slider-nav {
    display: flex;
    gap: 8px;
}

.ph-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ph-nav-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.3);
}

/* Product Card */
.ph-product-card {
    background: var(--bg-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ph-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(74, 124, 89, 0.15);
    border-color: rgba(74, 124, 89, 0.15);
}

.ph-pc-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 5px 14px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    z-index: 3;
    letter-spacing: 0.3px;
}

.ph-pc-badge.hot {
    background: linear-gradient(135deg, #E74C3C, #C0392B);
}

.ph-pc-badge.sale {
    background: linear-gradient(135deg, var(--accent-color), #D4A520);
    color: var(--secondary-color);
}

.ph-pc-badge.new {
    background: linear-gradient(135deg, #3498DB, #2980B9);
}

.ph-pc-image {
    display: block;
    position: relative;
    height: 220px;
    background: linear-gradient(145deg, #f5f7f6, #e8ece9);
    overflow: hidden;
    text-decoration: none;
}

.ph-pc-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ph-product-card:hover .ph-pc-image img {
    transform: scale(1.08);
}

.ph-pc-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.35s ease;
}

.ph-product-card:hover .ph-pc-overlay {
    opacity: 1;
    transform: translateY(0);
}

.ph-pc-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    font-size: 15px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.ph-pc-action:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.ph-pc-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ph-pc-cat {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 6px;
    display: inline-block;
}

.ph-pc-body a {
    text-decoration: none;
    color: inherit;
}

.ph-pc-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s;
}

.ph-pc-body a:hover h4 {
    color: var(--primary-color);
}

.ph-pc-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--accent-color);
}

.ph-pc-rating span {
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 4px;
}

.ph-pc-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}

.ph-pc-price strong {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
}

.ph-pc-price del {
    font-size: 14px;
    color: var(--text-muted);
}

.ph-pc-cart {
    width: 100%;
    padding: 11px 16px;
    background: var(--gradient-primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.ph-pc-cart:hover {
    box-shadow: 0 6px 18px rgba(74, 124, 89, 0.35);
    transform: translateY(-2px);
}

/* Swiper overrides */
.ph-products-swiper {
    overflow: visible !important;
    padding-bottom: 45px;
}

.ph-products-swiper .swiper-slide {
    height: auto;
}

.ph-swiper-pagination {
    bottom: 0 !important;
}

.ph-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    opacity: 1;
    transition: all 0.3s ease;
}

.ph-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 28px;
    border-radius: 5px;
}

/* ===== CTA Row ===== */
.ph-cta-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
}

.ph-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--gradient-primary);
    color: white;
    font-size: 16px;
    font-weight: 800;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(74, 124, 89, 0.3);
    position: relative;
    overflow: hidden;
}

.ph-cta-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.ph-cta-main:hover::after {
    left: 100%;
}

.ph-cta-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(74, 124, 89, 0.4);
}

.ph-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    background: var(--bg-color);
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.ph-cta-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
}

/* ===== Trust Bar ===== */
.ph-trust-bar {
    background: var(--primary-color);
    padding: 16px 0;
    margin-top: 10px;
}

.ph-trust-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.ph-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.ph-trust-item i {
    font-size: 18px;
    color: var(--accent-color);
}

/* ===== Products Hero Responsive ===== */
@media (max-width: 1200px) {
    .ph-title {
        font-size: 38px;
    }

    .ph-featured-info {
        padding: 30px;
    }

    .ph-featured-info h2 {
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .ph-featured-banner {
        grid-template-columns: 1fr;
    }

    .ph-featured-visual {
        min-height: 320px;
    }

    .ph-title {
        font-size: 32px;
    }

    .ph-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .ph-cta-main,
    .ph-cta-secondary {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .products-hero-header {
        padding: 25px 0 20px;
    }

    .ph-title {
        font-size: 26px;
    }

    .ph-subtitle {
        font-size: 14px;
    }

    .ph-featured-visual {
        min-height: 260px;
        padding: 25px;
    }

    .ph-featured-info {
        padding: 25px;
    }

    .ph-featured-info h2 {
        font-size: 22px;
    }

    .ph-price {
        font-size: 28px;
    }

    .ph-featured-specs {
        grid-template-columns: 1fr;
    }

    .ph-featured-actions {
        flex-wrap: wrap;
    }

    .ph-btn-primary,
    .ph-btn-secondary {
        font-size: 14px;
        padding: 12px 18px;
    }

    .ph-pc-image {
        height: 180px;
    }

    .ph-trust-items {
        justify-content: center;
        gap: 20px;
    }

    .ph-quick-filters {
        gap: 6px;
    }

    .ph-filter-chip {
        padding: 8px 14px;
        font-size: 12px;
    }

    .ph-slider-header h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .ph-title {
        font-size: 22px;
    }

    .ph-badge-row {
        flex-direction: column;
        align-items: center;
    }

    .ph-trust-items {
        flex-direction: column;
        align-items: center;
    }

    .ph-featured-visual {
        min-height: 200px;
    }

    .ph-featured-info h2 {
        font-size: 20px;
    }

    .ph-featured-actions {
        flex-direction: column;
    }

    .ph-btn-primary,
    .ph-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .ph-btn-icon {
        width: 100%;
        border-radius: 14px;
    }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.1), rgba(74, 124, 89, 0.05));
    will-change: transform;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    animation: float 10s ease-in-out infinite;
}

.floating-gear {
    position: absolute;
    font-size: 80px;
    color: rgba(74, 124, 89, 0.08);
    animation: rotate 20s linear infinite;
    will-change: transform;
}

.gear-1 {
    top: 20%;
    left: 5%;
}

.gear-2 {
    bottom: 20%;
    right: 10%;
    font-size: 120px;
    animation-direction: reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

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

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(74, 124, 89, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-text h1 .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-text h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(74, 124, 89, 0.2);
    z-index: -1;
}

.hero-text>p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 5px;
}

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

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-3d-container {
    position: relative;
}

.product-showcase {
    position: relative;
}

.showcase-card {
    position: relative;
    background: var(--bg-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.showcase-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    opacity: 0.2;
    filter: blur(30px);
    z-index: -1;
}

.showcase-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.showcase-info {
    padding: 20px 0 0;
    text-align: center;
}

.showcase-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.showcase-info p {
    color: var(--primary-color);
    font-weight: 500;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

.hero-wave path {
    fill: var(--bg-color);
}

/* ===== Hero Trust Badges ===== */
.hero-trust-badges {
    display: flex;
    gap: 25px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.hero-trust-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.hero-trust-badges i {
    color: var(--primary-color);
    font-size: 16px;
}

/* ===== Value Bar ===== */
.value-bar {
    padding: 40px 0;
    background: var(--secondary-color);
    position: relative;
    z-index: 2;
}

.value-bar-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.value-item i {
    font-size: 36px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.value-item .text {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.value-item .subtext {
    display: block;
    font-size: 13px;
    opacity: 0.7;
}

/* ===== Service Paths ===== */
.service-paths {
    padding: 100px 0;
    background: var(--bg-light);
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.path-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.path-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.path-card.featured {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.path-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.path-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 16px;
    background: var(--accent-color);
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--border-radius-xl);
}

.path-icon {
    width: 70px;
    height: 70px;
    background: rgba(74, 124, 89, 0.1);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.path-card.featured .path-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.path-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.path-card.featured h3 {
    color: white;
}

.path-card>p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.path-card.featured>p {
    color: rgba(255, 255, 255, 0.9);
}

.path-features {
    margin-bottom: 25px;
    flex-grow: 1;
}

.path-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 10px;
}

.path-features li i {
    color: var(--primary-color);
    font-size: 14px;
}

.path-card.featured .path-features li {
    color: rgba(255, 255, 255, 0.95);
}

.path-card.featured .path-features li i {
    color: rgba(255, 255, 255, 0.9);
}

.path-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-xl);
    transition: var(--transition-normal);
    text-align: center;
    justify-content: center;
}

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

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

.path-btn.primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(74, 124, 89, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    margin-bottom: 15px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header h2 .highlight {
    color: var(--primary-color);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Categories Section ===== */
.categories-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-color);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-card:hover::before {
    transform: scaleY(1);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.category-card:hover .category-icon {
    background: var(--gradient-primary);
    color: white;
}

.category-content {
    flex: 1;
}

.category-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.category-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.category-count {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

.category-link {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.category-card:hover .category-link {
    background: var(--primary-color);
    color: white;
}

/* ===== 3D Showcase Section ===== */
.showcase-3d-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.showcase-3d-container {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.showcase-3d-viewer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.viewer-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.control-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.viewer-canvas {
    background: var(--bg-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    cursor: grab;
}

.viewer-canvas:active {
    cursor: grabbing;
}

.product-3d-placeholder {
    text-align: center;
}

.rotating-product {
    animation: rotate3d 10s linear infinite;
    transform-style: preserve-3d;
}

.rotating-product img {
    max-height: 300px;
    border-radius: var(--border-radius-md);
}

@keyframes rotate3d {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }

    100% {
        transform: perspective(1000px) rotateY(360deg);
    }
}

.rotation-indicator {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.rotation-indicator i {
    margin-right: 8px;
}

.viewer-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.viewer-info p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.viewer-specs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: var(--border-radius-sm);
}

.spec-item i {
    width: 40px;
    height: 40px;
    background: rgba(74, 124, 89, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spec-item span {
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary-color);
}

.product-thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 3px solid transparent;
    transition: var(--transition-normal);
    padding: 0;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(232, 185, 49, 0.3);
}

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

/* ===== Video Section ===== */
.video-section {
    padding: 150px 0;
    position: relative;
    background: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1600') center/cover no-repeat fixed;
}

.video-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.85);
}

.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.video-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.video-content h2 .highlight {
    color: var(--primary-light);
}

.video-content p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.play-btn {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 0 0 20px rgba(74, 124, 89, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: pulse 2s infinite;
    will-change: transform, opacity;
}

.play-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal .modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
}

.video-modal .close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    color: var(--secondary-color);
    border-radius: 50%;
    font-size: 18px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-slider {
    padding: 20px 0 10px;
}

.testimonials-slider .swiper-slide {
    height: auto;
}

.testimonials-slider .swiper-pagination {
    position: static;
    margin-top: 18px;
}

.testimonial-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.testimonial-rating {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 20px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    font-style: italic;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
}

.author-info span {
    font-size: 14px;
    color: var(--primary-color);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--border-color);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* ===== Why Us Section ===== */
.why-us-section {
    padding: 100px 0;
    background: var(--bg-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-us-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

.why-us-card:hover {
    background: var(--bg-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.why-us-card .card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 25px;
}

.why-us-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.why-us-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Partners Section ===== */
.partners-section {
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.partners-slider {
    overflow: hidden;
    margin-top: 40px;
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scroll 20s linear infinite;
    will-change: transform;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    padding: 80px 0;
    background: var(--gradient-primary);
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.trust-stat {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.trust-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.trust-stat .stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.trust-stat .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.trust-stat .stat-label {
    display: block;
    font-size: 15px;
    color: var(--text-light);
}

.trust-clients {
    text-align: center;
    margin-bottom: 40px;
}

.trust-clients h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.client-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-normal);
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.client-logo img {
    height: 50px;
}

.trust-certifications {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-color);
}

.cert-item i {
    font-size: 24px;
    color: var(--primary-color);
}

/* ===== Market Coverage ===== */
.market-coverage {
    padding: 100px 0;
    background: var(--bg-color);
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.market-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    border: 2px solid var(--border-color);
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.market-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.market-card .market-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 15px;
}

.market-card .market-flag {
    font-size: 28px;
    margin-bottom: 10px;
}

.market-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.market-card>p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.market-card ul {
    text-align: right;
}

.market-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.market-card ul li i {
    color: var(--primary-color);
    font-size: 14px;
}

.market-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 22px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
}

.market-card-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Branch Show Page ===== */
.branch-hero {
    padding: 80px 0 50px;
    background: var(--gradient-primary);
    text-align: center;
    color: #fff;
}

.branch-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.branch-flag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.branch-flag {
    font-size: 48px;
}

.branch-icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}

.branch-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.branch-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.branch-details {
    padding: 60px 0 80px;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.branch-card {
    background: var(--bg-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.branch-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.branch-card-header i {
    font-size: 20px;
    color: var(--primary-color);
}

.branch-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.branch-card-body {
    padding: 24px;
}

.branch-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.branch-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.branch-info-list li>i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
}

.branch-info-list li div strong {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.branch-info-list li div span,
.branch-info-list li div a {
    font-size: 15px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.branch-info-list li div a:hover {
    color: var(--primary-color);
}

.branch-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.branch-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
}

.branch-features-list li i {
    color: var(--primary-color);
    font-size: 16px;
}

.branch-map {
    margin-bottom: 40px;
}

.branch-map-embed {
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    overflow: hidden;
}

.branch-map-embed iframe {
    display: block;
}

.branch-back {
    text-align: center;
}

@media (max-width: 768px) {
    .branch-hero h1 {
        font-size: 28px;
    }

    .branch-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Aftersales Section ===== */
.aftersales-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.aftersales-content {
    max-width: 900px;
    margin: 0 auto;
}

.aftersales-text {
    text-align: center;
    margin-bottom: 50px;
}

.aftersales-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.aftersales-text h2 .highlight {
    color: var(--primary-color);
}

.aftersales-text>p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.aftersales-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.aftersales-features .feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.aftersales-features .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.aftersales-features .feature-item i {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.aftersales-features .feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.aftersales-features .feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.aftersales-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.newsletter-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--border-radius-xl);
    font-size: 16px;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .btn {
    background: var(--secondary-color);
    color: white;
    white-space: nowrap;
}

.newsletter-form .btn:hover {
    background: #1a252f;
}

/* ===== Stats / Counters Section ===== */
.stats-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, #2a5a3a 0%, #3A6249 40%, #4A7C59 70%, #2a5a3a 100%);
    overflow: hidden;
}

.stats-overlay {
    position: absolute;
    inset: 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");
    pointer-events: none;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.stat-icon-wrap {
    margin-bottom: 24px;
}

.stat-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    font-size: 32px;
    color: #fff;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.stat-card:hover .stat-icon-circle {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.08);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}

.stat-card .stat-number {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-suffix {
    font-size: 26px;
    font-weight: 700;
    color: #E8B931;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.stat-card .stat-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 16px;
    }

    .stat-card .stat-number {
        font-size: 38px;
    }

    .stat-icon-circle {
        width: 65px;
        height: 65px;
        font-size: 24px;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary-color);
    color: white;
}

.footer-top {
    padding: 80px 0 50px;
}

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

.footer-logo {
    height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

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

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

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

.footer-col ul a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--primary-light);
    padding-right: 10px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact ul li i {
    width: 20px;
    color: var(--primary-light);
    margin-top: 3px;
}

.footer-contact ul li span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.payment-methods {
    display: flex;
    gap: 10px;
}

.payment-methods img {
    height: 30px;
    opacity: 0.8;
}

/* ===== Modals ===== */
.quick-view-modal,
.modal-3d,
.consultation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.quick-view-modal.active,
.modal-3d.active,
.consultation-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.quick-view-modal .modal-content,
.modal-3d .modal-content {
    position: relative;
    background: var(--bg-color);
    border-radius: var(--border-radius-lg);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.quick-view-modal.active .modal-content,
.modal-3d.active .modal-content {
    transform: scale(1);
}

.consultation-modal .modal-content {
    position: relative;
    background: var(--bg-color);
    border-radius: var(--border-radius-lg);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 30px 30px;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.consultation-modal.active .modal-content {
    transform: scale(1);
}

.consultation-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.consultation-modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.consultation-modal-header p {
    font-size: 14px;
    color: var(--text-light);
}

.consultation-form .form-group {
    margin-bottom: 18px;
}

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

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition-fast);
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.consultation-form textarea {
    resize: vertical;
    min-height: 90px;
}

.consultation-form .btn-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--border-radius-sm);
    background: var(--gradient-primary);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
}

.consultation-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.consultation-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.consultation-form-feedback {
    margin-bottom: 18px;
    padding: 12px 15px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    display: none;
}

.consultation-form-feedback.show {
    display: block;
}

.consultation-form-feedback.success {
    background: rgba(74, 124, 89, 0.12);
    color: var(--primary-color);
}

.consultation-form-feedback.error {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    transition: var(--transition-fast);
}

.close-modal:hover {
    background: var(--primary-color);
    color: white;
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.quick-view-gallery .main-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.quick-view-gallery .main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.quick-view-info .quick-view-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.quick-view-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.quick-view-actions {
    display: flex;
    gap: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.qty-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.qty-btn:hover {
    color: var(--primary-color);
}

.qty-input {
    width: 50px;
    height: 45px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    outline: none;
}

.viewer-3d-container {
    padding: 40px;
}

.viewer-3d {
    height: 500px;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.viewer-3d-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.viewer-3d-controls button {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.viewer-3d-controls button:hover {
    background: var(--primary-dark);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== WhatsApp Button ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    animation: bounce 2s infinite;
    will-change: transform;
}

/* ===== Free Consultation Button ===== */
.consultation-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px 12px 12px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(74, 124, 89, 0.4);
    z-index: 99;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.consultation-btn:hover {
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(74, 124, 89, 0.55);
}

.consultation-btn i {
    font-size: 20px;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
}

html[dir="rtl"] .consultation-btn {
    padding: 12px 12px 12px 22px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text>p {
        margin: 0 auto 30px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 50px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid,
    .products-grid.premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid.premium-grid .featured-product {
        grid-column: 1 / -1;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-bar-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .paths-grid {
        grid-template-columns: 1fr;
    }

    .path-card.featured {
        transform: none;
    }

    .path-card.featured:hover {
        transform: translateY(-10px);
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .showcase-3d-viewer {
        grid-template-columns: 1fr;
    }

    .quick-view-grid {
        grid-template-columns: 1fr;
    }

    .aftersales-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .lang-switch-btn span {
        display: none;
    }

    .lang-switch-btn {
        width: 45px;
        height: 45px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .products-grid.premium-grid {
        grid-template-columns: 1fr;
    }

    .products-grid.premium-grid .featured-product {
        grid-template-columns: 1fr;
    }

    .products-grid.premium-grid .featured-product .product-image {
        min-height: 250px;
        border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
        width: 100%;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        flex: 0 0 calc(50% - 10px);
    }

    .video-content h2 {
        font-size: 32px;
    }

    .value-bar-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-item {
        justify-content: center;
        text-align: center;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .markets-grid {
        grid-template-columns: 1fr;
    }

    .market-card ul {
        text-align: center;
    }

    .market-card ul li {
        justify-content: center;
    }

    .trust-certifications {
        gap: 20px;
    }

    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .products-filter {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
        gap: 6px;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .current-price {
        font-size: 20px;
    }

    .product-actions {
        flex-direction: column;
    }

    .compare-btn {
        width: 100%;
    }

    .quick-view-actions {
        flex-direction: column;
    }

    .quantity-selector {
        justify-content: center;
    }

    .back-to-top,
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
    }

    .whatsapp-btn {
        bottom: 75px;
        left: 20px;
    }

    .consultation-btn {
        bottom: 20px;
        right: 20px;
        padding: 9px 16px 9px 9px;
        font-size: 12px;
        gap: 8px;
    }

    html[dir="rtl"] .consultation-btn {
        padding: 9px 9px 9px 16px;
    }

    .consultation-btn i {
        width: 26px;
        height: 26px;
        font-size: 15px;
    }

    .trust-stats {
        grid-template-columns: 1fr;
    }

    .aftersales-text h2 {
        font-size: 28px;
    }

    .aftersales-cta {
        flex-direction: column;
        align-items: center;
    }

    .aftersales-cta .btn {
        width: 100%;
    }

    .client-logos {
        gap: 15px;
    }

    .trust-certifications {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Print Styles ===== */
@media print {

    .header,
    .footer,
    .back-to-top,
    .whatsapp-btn,
    .consultation-btn,
    .loader-wrapper {
        display: none !important;
    }
}