/* style.css - V29 (Multilingual & RTL Ready) */

:root {
    /* --- Colors --- */
    --primary-color: #D9C44E;
    --secondary-color: #1a1a1a;
    --bg-dark: #262730;
    --box-bg: #282b3a;
    --font-main: 'Plus Jakarta Sans', sans-serif;

    /* --- Spacing --- */
    --section-spacing: 30px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark) !important;
    color: #f0f0f0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* ========================================= */
/* 1. HEADER & TOP BAR                       */
/* ========================================= */
.top-bar {
    background: #202020;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
    padding: 8px 0;
    font-size: 12px;
    position: relative;
    z-index: 20;
}

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

.social-icons a {
    color: #fff;
    margin-right: 15px;
    opacity: 0.8;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.site-header {
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.site-logo img {
    max-height: 60px;
    width: auto;
    filter: none;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.desktop-nav a i {
    margin-left: 6px;
    font-size: 12px;
    margin-top: -2px;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.active-link {
    color: var(--primary-color) !important;
}

.header-actions {
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
}

/* --- Language Dropdown Design --- */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #222;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #222;
    cursor: pointer;
}

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

.lang-btn:hover,
.lang-dropdown:hover .lang-btn {
    background-color: var(--primary-color);
    color: #111 !important;
    border-color: var(--primary-color);
}

.lang-btn:hover i,
.lang-dropdown:hover .lang-btn i {
    color: #111;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--bg-dark);
    min-width: 130px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 100%;
    margin-top: 5px;
}

.lang-dropdown:hover .lang-dropdown-content {
    display: flex;
    flex-direction: column;
}

.lang-dropdown-content a {
    color: #ccc;
    padding: 10px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.lang-dropdown-content a:last-child {
    border-bottom: none;
}

.lang-dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    padding-left: 20px;
}

html[dir="rtl"] .lang-dropdown-content {
    right: auto;
    left: 0;
}

html[dir="rtl"] .lang-dropdown-content a:hover {
    padding-left: 16px;
    padding-right: 20px;
}

.flag-img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

/* ========================================= */
/* 2. HERO SLIDER                            */
/* ========================================= */
.hero-slider {
    position: relative;
    height: 100vh;
    background: #000;
    overflow: hidden;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 6s linear;
    z-index: 1;
    transform: scale(1);
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: #fff;
    margin-top: 0;
    max-width: 900px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out 0.3s;
}

.slide-item.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.slide-content .subtitle {
    color: var(--primary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

/* ========================================= */
/* 3. UNIFIED SPACING                        */
/* ========================================= */
.about-section,
.categories-section,
.features-section,
.video-promo,
.projects-section,
.elegant-process-section,
.faq-section,
.order-steps-section,
.quality-commitments-section,
.story-section,
.values-section,
.contact-info-section,
.contact-form-section {
    padding-top: var(--section-spacing) !important;
    padding-bottom: var(--section-spacing) !important;
    background: transparent;
    position: relative;
}

.elegant-process-section {
    background: linear-gradient(to bottom, var(--bg-dark), #1a1a1a);
}

.video-promo {
    padding-top: 10px !important;
}

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

.section-badge {
    background: var(--primary-color);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.title-separator {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.section-desc {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}

/* ========================================= */
/* 4. COMPONENTS (Home & General)            */
/* ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 250px 1.5fr 1.2fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.stat-circle {
    width: 180px;
    height: 180px;
    border: 2px solid rgba(217, 196, 78, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.stat-circle::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px dashed var(--primary-color);
    border-radius: 50%;
    animation: spinBtn 25s linear infinite;
}

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

.year-number {
    font-size: 60px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.year-text {
    font-size: 10px;
    font-weight: 700;
    color: #ccc;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.about-headings {
    padding-left: 25px;
    border-left: 3px solid var(--primary-color);
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    opacity: 0.9;
}

.about-title {
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.about-title span {
    color: var(--primary-color);
    font-style: italic;
}

.about-desc {
    color: #c0c0c0;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 400;
    text-align: justify;
}

.btn-modern-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s;
}

.btn-modern-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    gap: 12px;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.cat-card {
    position: relative;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: 0.6s;
}

.cat-card:hover .cat-bg {
    transform: scale(1.1);
}

.cat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(48, 52, 69, 0.95), transparent);
    color: #fff;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: center;
}

.feature-box {
    background: var(--box-bg);
    padding: 25px;
    border-radius: 8px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: #35394d;
}

.feature-box i {
    font-size: 35px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-box h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-box p {
    color: #a0a0a0;
    font-size: 13px;
}

.promo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
}

.video-preview-box {
    width: 60%;
    height: 400px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 1;
}

.video-thumb-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.5s;
    filter: brightness(0.8);
}

.video-preview-box:hover .video-thumb-img {
    transform: scale(1.05);
    filter: brightness(1);
}

.play-btn-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    z-index: 5;
}

.video-preview-box:hover .play-btn-center {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 20px rgba(217, 196, 78, 0.4);
}

.promo-text-card {
    position: absolute;
    left: 0;
    width: 45%;
    background: #282b3a;
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.promo-tag {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.promo-text-card h2 {
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.promo-text-card p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

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

.project-item {
    position: relative;
    border: 2px solid var(--primary-color);
    padding: 6px;
    border-radius: 4px;
    transition: transform 0.4s ease;
    cursor: pointer;
    background: transparent;
}

.project-img {
    height: 200px;
    width: 100%;
    background-color: #ffffff;
    background-size: 108%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: brightness(0.9);
    transition: 0.4s;
}

.project-img span {
    display: none;
}

.project-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
    border-color: #fff;
}

.project-item:hover .project-img {
    filter: brightness(0.95);
    background-color: #ffffff;
}

.process-container-modern {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    position: relative;
}

.process-image-box {
    position: relative;
    z-index: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    margin-right: -80px;
}

.process-img-main {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.process-image-box:hover .process-img-main {
    transform: scale(1.05);
}

.process-content-card {
    background: rgba(40, 43, 58, 0.95);
    backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(217, 196, 78, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.experience-badge-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), #b88a5c);
    color: #000;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 28px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(217, 196, 78, 0.4);
    margin-bottom: 35px;
    position: relative;
}

.experience-badge-modern span {
    font-size: 14px;
    vertical-align: super;
    margin-left: 2px;
}

.experience-badge-modern::after {
    content: 'Années d\'Expérience';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--primary-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.process-content-card h2 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 25px;
}

.process-content-card h2 span {
    color: var(--primary-color);
}

.process-desc-main {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.process-desc-sub {
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.8;
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.faq-text-side .section-badge {
    margin-bottom: 20px;
}

.faq-text-side h2 {
    font-size: 36px;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.faq-text-side p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.faq-item {
    background: var(--box-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: 0.3s;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.toggle-icon {
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: 0.3s;
}

.faq-item.active .toggle-icon {
    background: var(--primary-color);
    color: #000;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ========================================= */
/* 5. ABOUT PAGE & NEW SECTIONS STYLES       */
/* ========================================= */

.page-banner {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -100px;
    padding-top: 100px;
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.story-section {
    background-color: var(--box-bg);
}

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

.story-text h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.story-text p {
    color: #b0b0b0;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.story-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

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

.stat-box strong {
    display: block;
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 800;
    line-height: 1;
}

.stat-box span {
    font-size: 12px;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.story-image img {
    width: 100%;
    display: block;
    transition: 0.5s;
}

.story-image:hover img {
    transform: scale(1.05);
}

.values-section {
    background: transparent;
}

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

.value-card {
    background: var(--box-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(217, 196, 78, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: var(--primary-color);
    font-size: 32px;
    transition: 0.3s;
}

.value-card:hover .icon-circle {
    background: var(--primary-color);
    color: #000;
}

.value-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.value-card p {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.6;
}

/* Comment Commander */
.order-steps-section {
    background-color: var(--box-bg);
}

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

.step-card {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    position: relative;
    text-align: center;
    transition: 0.3s;
}

.step-card:hover {
    border-color: var(--primary-color);
    background: rgba(217, 196, 78, 0.05);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 800;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.step-icon {
    font-size: 40px;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 20px;
}

.step-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-card p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
}

/* Quality Commitments */
.quality-commitments-section {
    background-color: transparent;
}

.quality-commitments-section .section-title {
    color: #fff !important;
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.commitment-card {
    background: var(--box-bg);
    padding: 50px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-top: 4px solid var(--primary-color);
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.commit-img-wrapper {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.commit-icon {
    max-height: 100%;
    max-width: 200px;
    object-fit: contain;
    filter: none;
}

.commitment-card h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
}

.commitment-card p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.overlay-cta {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-content p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    color: #fff;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
    font-size: 14px;
}

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

/* ========================================= */
/* 6. CONTACT PAGE STYLES                    */
/* ========================================= */

.contact-info-section {
    background: var(--box-bg);
}

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

.contact-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.contact-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.contact-box .icon-box {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-box h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-box p {
    color: #999;
    font-size: 13px;
    margin-bottom: 5px;
}

.contact-box span,
.contact-box a {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: block;
}

.contact-box a:hover {
    color: var(--primary-color);
}

.map-section {
    padding: 0 !important;
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: none;
}

.contact-form-section {
    background: #f9f9f9;
    padding: 80px 0 !important;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.main-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    color: #333;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-main);
    transition: 0.3s;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(217, 196, 78, 0.1);
}

.btn-submit {
    background: #222;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
    width: 100%;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary-color);
    color: #000;
}

/* ========================================= */
/* 7. SHOP & PRODUCTS STYLES                 */
/* ========================================= */

.shop-section {
    background-color: var(--bg-dark);
    padding: 60px 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar */
.shop-sidebar {
    background: var(--box-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget h3 {
    color: #fff;
    font-size: 18px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.cat-list a {
    color: #b0b0b0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.cat-list a:hover,
.cat-list a.active {
    color: var(--primary-color);
    padding-left: 5px;
    border-bottom-color: var(--primary-color);
}

.help-widget {
    background: rgba(217, 196, 78, 0.1);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    border: 1px dashed var(--primary-color);
}

.help-widget p {
    font-size: 13px;
    margin-bottom: 15px;
    color: #ccc;
}

.btn-whatsapp-small {
    background: #25D366;
    color: #fff;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-whatsapp-small:hover {
    background: #1ebc57;
    color: #fff;
}

/* Filters */
.color-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.color-btn {
    font-size: 13px;
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    transition: 0.3s;
}

.color-btn:hover,
.color-btn.active {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.color-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.color-circle.rouge {
    background-color: #E74C3C;
    box-shadow: 0 0 0 1px #C0392B;
}

.color-circle.vert {
    background-color: #2ECC71;
    box-shadow: 0 0 0 1px #27AE60;
}

.color-circle.bleu {
    background-color: #3498DB;
    box-shadow: 0 0 0 1px #2980B9;
}

.color-circle.jaune {
    background-color: #F1C40F;
    box-shadow: 0 0 0 1px #D4AC0D;
}

.color-circle:hover,
.color-circle.active {
    transform: scale(1.2);
    border-color: #fff;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.density-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.density-tag {
    font-size: 11px;
    font-weight: 700;
    color: #ccc;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.density-tag:hover,
.density-tag.active {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 196, 78, 0.2);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--box-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.prod-img-box {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

.prod-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.5s;
    /* تم حذف التكبير الإجباري لضمان ظهور المرتبة كاملة */
}

.product-card:hover .prod-img-box img {
    transform: scale(1.05); /* تكبير خفيف ومناسب عند تمرير الماوس فقط */
}

.density-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid var(--primary-color);
    z-index: 5;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.prod-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prod-cat {
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.prod-title {
    margin-bottom: 15px;
    min-height: auto;
}

.prod-title a {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    transition: 0.3s;
}

.prod-title a:hover {
    color: var(--primary-color);
}

.btn-gold-full {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: #000;
    width: 100%;
    padding: 12px 0;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: auto;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.btn-gold-full:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================================= */
/* 8. FOOTER & MISC                          */
/* ========================================= */
.site-footer {
    background-color: #0b0b0b;
    color: #b0b0b0;
    padding: var(--section-spacing) 0;
    font-size: 14px;
    border-top: 1px solid #222;
}

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

.footer-widget h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-desc {
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 300px;
}

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

.footer-links a {
    color: #b0b0b0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.footer-links a i {
    font-size: 10px;
    color: var(--primary-color);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    border: 1px solid #333;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.g-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #151515;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #222;
}

.g-item i {
    color: var(--primary-color);
}

.g-item span {
    color: #fff;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom strong {
    color: #fff;
}

.developer-credit a {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.developer-credit a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: 0.3s;
}

.developer-credit a:hover::after {
    width: 100%;
}

.footer-logo img {
    filter: none !important;
    max-height: 60px;
    width: auto;
}

.floating-elements {
    position: fixed !important;
    bottom: 90px;
    right: 30px;
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.2);
    transition: 0.3s;
}

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

.khamsa-sticker {
    width: 60px;
    margin-bottom: -10px;
    position: relative;
    z-index: 1001;
}

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

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

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

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

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================= */
/* 9. PRODUCT DETAILS PAGE STYLES            */
/* ========================================= */

.breadcrumb-area {
    margin-top: 140px;
    padding: 20px 0;
    background: #1f2026;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 5;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    list-style: none;
    font-size: 14px;
}

.breadcrumb li a {
    color: #888;
}

.breadcrumb li a:hover {
    color: var(--primary-color);
}

.breadcrumb li span.active {
    color: #fff;
}

.breadcrumb li::after {
    content: '/';
    color: #444;
    margin-left: 10px;
}

.breadcrumb li:last-child::after {
    content: '';
}

.product-details-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
}

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

.main-image-box {
    width: 100%;
    height: 400px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* تم حذف التكبير لكي تظهر المرتبة كاملة في صفحة الكمبيوتر */
}

.thumbnail-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.thumb:hover,
.thumb.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.prod-badge {
    color: var(--primary-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.p-title {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin: 10px 0 20px;
    line-height: 1.2;
}

.p-short-desc {
    color: #ccc;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.specs-box {
    background: var(--box-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
}

.specs-box h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    font-size: 14px;
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list li strong {
    color: #fff;
}

.full-desc {
    margin-bottom: 30px;
}

.full-desc h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.full-desc p {
    color: #999;
    line-height: 1.8;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-whatsapp-large {
    background: #25D366;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-whatsapp-large:hover {
    background: #1ebc57;
    transform: translateY(-2px);
}

.btn-call-large {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-call-large:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ========================================= */
/* 404 ERROR PAGE STYLES - CLEANED           */
/* ========================================= */
.error-page-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-dark);
    padding: 80px 20px;
}

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

.icon-wrapper {
    font-size: 100px;
    color: var(--primary-color);
    margin-bottom: 30px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

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

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

.error-content h1 {
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    line-height: 0.8;
    margin-bottom: -50px;
    position: relative;
    z-index: 0;
}

.error-content h2 {
    font-size: 36px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.error-content p {
    color: #c0c0c0;
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(217, 196, 78, 0.3);
}

.btn-back-home:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Dropdown Menu Styles */
.desktop-nav li.has-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-dark);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-top: 3px solid var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 10px 0;
}

.desktop-nav li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #b0b0b0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    letter-spacing: 0.5px !important;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color) !important;
    padding-left: 25px;
}


/* ========================================= */
/* 10. RTL (ARABIC) SUPPORT                  */
/* ========================================= */

/* عندما يكون الموقع باللغة العربية (dir="rtl") سيتم تطبيق هذا الكود تلقائياً */
[dir="rtl"] body {
    font-family: 'Tajawal', 'Plus Jakarta Sans', sans-serif;
    text-align: right;
}

[dir="rtl"] .social-icons a {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .desktop-nav a i {
    margin-left: 0;
    margin-right: 6px;
}

[dir="rtl"] .has-dropdown>a i {
    margin-left: 0;
    margin-right: 5px;
}

[dir="rtl"] .dropdown-menu {
    left: auto;
    right: 0;
    text-align: right;
}

[dir="rtl"] .dropdown-menu a:hover {
    padding-left: 20px;
    padding-right: 25px;
}

[dir="rtl"] .about-headings {
    border-left: none;
    border-right: 3px solid var(--primary-color);
    padding-left: 0;
    padding-right: 25px;
}

[dir="rtl"] .process-image-box {
    margin-right: 0;
    margin-left: -80px;
}

[dir="rtl"] .process-desc-sub {
    border-left: none;
    border-right: 3px solid var(--primary-color);
    padding-left: 0;
    padding-right: 20px;
}

[dir="rtl"] .promo-text-card {
    left: auto;
    right: 0;
    border-left: none;
    border-right: 5px solid var(--primary-color);
}

[dir="rtl"] .footer-widget h3::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-links a:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .floating-elements {
    right: auto;
    left: 30px;
}

[dir="rtl"] .close-modal {
    right: auto;
    left: 0;
}

[dir="rtl"] .breadcrumb li::after {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .specs-box h3 {
    border-left: none;
    border-right: 3px solid var(--primary-color);
    padding-left: 0;
    padding-right: 10px;
}

/* ========================================================
   تنسيقات خاصة باللغة العربية (RTL - Arabic)
   ======================================================== */

html[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

html[dir="rtl"] .hero-slider h1 {
    font-size: 3rem;
}

html[dir="rtl"] h2 {
    font-size: 2rem;
}

html[dir="rtl"] h3 {
    font-size: 1.3rem;
}

html[dir="rtl"] .desktop-nav ul li a {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

html[dir="rtl"] .desktop-nav .dropdown-menu li a {
    font-size: 13px;
    font-weight: 600;
}

html[dir="rtl"] .btn-modern-link {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

html[dir="rtl"] .btn-modern-link i {
    margin-left: 0;
    margin-right: 8px;
    transform: scaleX(-1);
}

html[dir="rtl"] .section-subtitle,
html[dir="rtl"] .section-badge,
html[dir="rtl"] .promo-tag {
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

/* ========================================= */
/* SECTION ÉPONGE (REVERSE)                  */
/* ========================================= */
.process-container-reverse {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    position: relative;
}

.process-container-reverse .process-image-box {
    margin-right: 0;
    margin-left: -80px;
    z-index: 1;
}

.process-container-reverse .process-content-card {
    z-index: 2;
}

.custom-bullet-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.custom-bullet-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 500;
}

.custom-bullet-list li i {
    color: var(--primary-color);
    font-size: 20px;
}

[dir="rtl"] .process-container-reverse .process-image-box {
    margin-left: 0;
    margin-right: -80px;
}

/* ========================================= */
/* SEARCH MODAL                              */
/* ========================================= */
.search-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.close-search {
    position: absolute;
    top: -40px;
    right: 20px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-search:hover {
    color: var(--primary-color);
}

.search-form-full {
    display: flex;
    width: 100%;
    border-bottom: 2px solid var(--primary-color);
}

.search-form-full input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 15px 0;
    outline: none;
}

.search-form-full input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form-full button {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    padding: 0 15px;
    transition: 0.3s;
}

.search-form-full button:hover {
    transform: scale(1.1);
}

html[dir="rtl"] .close-search {
    right: auto;
    left: 20px;
}

/* ========================================= */
/* Responsive Mobile Fixes                   */
/* ========================================= */
@media (max-width: 992px) {
    .site-header {
        background-color: transparent !important;
        position: absolute !important;
        top: 38px;
        box-shadow: none !important;
        height: auto;
    }

    .site-header .logo {
        padding: 10px 0;
    }

    .hero-slider,
    .page-banner {
        margin-top: 0 !important;
    }

    .page-banner {
        margin-top: -100px !important;
        padding-top: 140px !important;
        height: 450px;
    }

    .banner-content,
    .slide-content {
        padding-top: 80px !important;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .about-headings {
        border-left: none;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 10px;
        display: inline-block;
        padding-left: 0;
    }

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

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

    .process-container-modern {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .process-image-box {
        margin-right: 0;
        margin-bottom: -50px;
        z-index: 1;
    }

    .process-content-card {
        padding: 40px 30px;
        z-index: 2;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-text-side {
        text-align: center;
    }

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

    .promo-wrapper {
        flex-direction: column-reverse;
    }

    .video-preview-box {
        width: 100%;
        height: 350px;
        margin-bottom: -40px;
    }

    .promo-text-card {
        position: relative;
        width: 90%;
        left: auto;
        text-align: center;
        padding: 30px;
        margin: 0 auto;
    }

    .desktop-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(30, 30, 30, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .desktop-nav.active {
        display: block;
    }

    .desktop-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-toggle {
        display: block;
    }

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

    .story-text p {
        text-align: center;
    }

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

    .grid-3-values,
    .steps-grid,
    .commitments-grid {
        grid-template-columns: 1fr;
    }

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

    .main-form .form-row {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        margin-bottom: 40px;
    }

    .breadcrumb-area {
        margin-top: 0 !important;
        padding-top: 120px !important;
    }

    .error-page-section {
        margin-top: 0 !important;
    }

    [dir="rtl"] .desktop-nav {
        left: auto;
        right: 0;
    }

    [dir="rtl"] .process-image-box {
        margin-left: 0;
    }

    .process-container-reverse {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
    }

    .process-container-reverse .process-image-box {
        margin-left: 0;
        margin-bottom: -50px;
    }

    [dir="rtl"] .process-container-reverse .process-image-box {
        margin-right: 0;
    }

    .custom-bullet-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .slide-content .subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .video-promo {
        padding: 40px 0;
    }

    .promo-wrapper {
        margin-top: 0;
    }

    .video-preview-box {
        width: 100%;
        height: 250px;
        margin-bottom: 0;
        border-radius: 10px;
    }

    .promo-text-card {
        position: relative;
        width: 100%;
        padding: 30px 20px;
        margin-top: -20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .stat-circle {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }

    .year-number {
        font-size: 40px;
    }

    .about-title {
        font-size: 28px;
    }

    .process-content-card {
        padding: 30px 20px;
    }

    .process-content-card h2 {
        font-size: 28px;
    }

    .process-image-box {
        margin-bottom: 0;
    }

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

    .footer-widget h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a,
    .contact-list li,
    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .floating-elements {
        bottom: 20px;
        right: 20px;
    }

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

    /* إصلاح شاشة تفاصيل المنتج للموبايل وتعديل الكادر ليكون مستطيلا */
    .details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .main-image-box {
        width: 100%;
        height: 220px; /* تم تعديله ليكون مستطيلا ومتناسقا جدا مع شاشة الهاتف */
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-image-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* تم حذف التكبير لكي تظهر المرتبة من الحافة للحافة */
    }

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

@media (max-width: 500px) {
    .grid-4-col {
        grid-template-columns: 1fr;
    }

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

    .project-img {
        height: 220px;
    }

    .faq-question {
        padding: 15px;
        font-size: 14px;
    }
}