diff --git a/css/style.css b/css/style.css index 4305f0e..56ad3c4 100644 --- a/css/style.css +++ b/css/style.css @@ -13,7 +13,8 @@ --navbar-bg: #003fd3d0; --accent-color: #3b82f6; } -body.dark-mode { +body { + font-family: "Cairo", sans-serif; --background: #000000; --bg-primary: #000000; --bg-secondary: #000000; @@ -21,28 +22,20 @@ body.dark-mode { --text-secondary: #cbd5e1; --border-color: #334155; --navbar-bg: #000a2291; - background-color: var(--background); - background-image: radial-gradient(circle at 50% 10%, rgba(17, 0, 255, 0.308) 0%, transparent 20%), - linear-gradient(to right, rgba(255, 255, 255, 0.089) 1px, transparent 1px), - linear-gradient(to bottom, rgba(255, 255, 255, 0.089) 1px, transparent 1px); - background-size: 100% 100%, 40px 40px, 40px 40px; -} -body { - font-family: "Cairo", sans-serif; - line-height: 1.6; - background-color: var(--bg-primary); direction: rtl; transition: background-color 0.3s ease, color 0.3s ease; color: var(--text-secondary); + background-color: var(--bg-primary); background-color: var(--background); - background-image: radial-gradient(circle at 50% 50%, rgba(77, 217, 255, 0.1) 0%, transparent 50%), - linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px), - linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px); + background-image: radial-gradient(circle at 50% 10%, rgba(17, 0, 255, 0.308) 0%, transparent 20%), + linear-gradient(to right, rgba(255, 255, 255, 0.089) 1px, transparent 1px), + linear-gradient(to bottom, rgba(255, 255, 255, 0.089) 1px, transparent 1px); background-size: 100% 100%, 40px 40px, 40px 40px; line-height: 1.6; overflow-x: hidden; } + .container { max-width: 1200px !important; margin: 0 auto !important; @@ -499,15 +492,11 @@ body { .product-title { font-size: 1.5rem !important; - color: #1e3a8a !important; + color: #e0f2fe !important; margin-bottom: 15px !important; font-weight: 700 !important; } -body.dark-mode .product-title { - color: #e0f2fe !important; -} - .product-description { color: var(--text-secondary) !important; margin-bottom: 20px !important; @@ -538,15 +527,11 @@ body.dark-mode .product-title { .values-title { text-align: center !important; font-size: 2rem !important; - color: #1e3a8a !important; + color: #e0f2fe !important; margin-bottom: 40px !important; font-weight: 700 !important; } -body.dark-mode .values-title { - color: #e0f2fe !important; -} - .values-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; @@ -572,15 +557,11 @@ body.dark-mode .values-title { } .value-item h4 { - color: #1e3a8a !important; + color: #e0f2fe !important; margin-bottom: 10px !important; font-weight: 600 !important; } -body.dark-mode .value-item h4 { - color: #e0f2fe !important; -} - .value-item p { color: var(--text-secondary) !important; font-size: 0.95rem !important; @@ -611,16 +592,12 @@ body.dark-mode .value-item h4 { .section-title { text-align: center; font-size: 32px; - color: #1e3a8a !important; + color: #e0f2fe !important; margin-bottom: 80px; font-weight: 700 !important; transition: color 0.3s ease !important; } -body.dark-mode .section-title { - color: #e0f2fe !important; -} - .section-title i { margin-left: 15px !important; color: #3b82f6 !important; @@ -677,7 +654,7 @@ body.dark-mode .section-title { } .dropdown-menu { - background-color: #1e3a8a !important; + background-color: #1e293b !important; border: none !important; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important; border-radius: 12px !important; @@ -813,7 +790,7 @@ main{ } .card-title { - color: #1e3a8a !important; + color: #e0f2fe !important; font-weight: 700 !important; font-size: 1.5rem !important; margin-bottom: 15px !important; @@ -821,10 +798,6 @@ main{ margin-right: 10px; } -body.dark-mode .card-title { - color: #e0f2fe !important; -} - .btn { font-weight: 600 !important; border-radius: 8px !important; @@ -957,7 +930,7 @@ body.dark-mode .card-title { .browser-lines span:nth-child(3) { width: 60%; } -.simulator.btn.container{ +.simulator-btn-container{ display: flex; flex-direction: row; width: 100%; @@ -967,7 +940,7 @@ body.dark-mode .card-title { .simulatorbtn{ height: 10px; - text-align: center; + justify-content: center; font-size: 14px; width: 40%; } @@ -1282,16 +1255,12 @@ body.dark-mode .card-title { .tip-title { font-size: 1.3rem !important; - color: #1e3a8a !important; + color: #e0f2fe !important; margin-bottom: 15px !important; font-weight: 600 !important; transition: color 0.3s ease !important; } -body.dark-mode .tip-title { - color: #e0f2fe !important; -} - .tip-card:hover .tip-title { color: #3b82f6 !important; } @@ -1304,10 +1273,6 @@ body.dark-mode .tip-title { } .tip-card:hover .tip-description { - color: #1e3a8a !important; -} - -body.dark-mode .tip-card:hover .tip-description { color: #e0f2fe !important; } @@ -1348,18 +1313,6 @@ body.dark-mode .tip-card:hover .tip-description { } -/* .footer { - background: linear-gradient(135deg, #000000 0%, #006aff 100%) !important; - color: white !important; - padding: 50px 0 20px !important; - margin-top: 20px; - transition: background 0.3s ease !important; -} - -body.dark-mode .footer { - background: linear-gradient(135deg, #000000 0%, #02143a 100%) !important; -} */ - .footer-content { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; @@ -1377,11 +1330,6 @@ body.dark-mode .footer { } .footer-description { - color: #000000 !important; - line-height: 1.6 !important; -} - -body.dark-mode .footer-description { color: #dadadabb !important; line-height: 1.6 !important; } @@ -1402,14 +1350,7 @@ body.dark-mode .footer-description { } .footer-links a { - color: #000000 !important; - text-decoration: none !important; - display: inline-block; - transition: all 0.3s ease; -} - -body.dark-mode .footer-links a { - color: #dadadabb !important; + color: #ffffffd7 !important; text-decoration: none !important; display: inline-block; transition: all 0.3s ease; @@ -1550,16 +1491,12 @@ body.dark-mode .footer-links a { } #final-card h3 { - color: #1e3a8a !important; + color: #e0f2fe !important; font-size: 2rem !important; margin-bottom: 20px !important; font-weight: 700 !important; } -body.dark-mode #final-card h3 { - color: #e0f2fe !important; -} - #final-card p { font-size: 1.1rem !important; line-height: 1.6 !important; @@ -1619,10 +1556,6 @@ ul { margin-left: 5px; } -body.dark-mode .dropdown-menu { - background-color: #1e293b !important; -} - #contentType option[value="url"] { background: var(--accent-color); color: #fff; @@ -1683,16 +1616,16 @@ body.dark-mode .dropdown-menu { /* Chat Style */ .chat-container { height: 500px; - border: 1px solid #000000; + border: 1px solid #dee2e6; border-radius: 12px; display: flex; flex-direction: column; - background: white; + background: rgb(0, 0, 0); } .chat-header { - background: linear-gradient(135deg, #3b82f6, #1e3a8a); - color: white; + background: linear-gradient(135deg, #353535, #000d30); + color: rgb(255, 255, 255); padding: 15px 20px; border-radius: 12px 12px 0 0; display: flex; @@ -1704,14 +1637,13 @@ body.dark-mode .dropdown-menu { flex: 1; overflow-y: auto; padding: 20px; - background: #cccccc; + background: #000000; } .message { margin-bottom: 15px; display: flex; align-items: flex-start; - gap: 10px; } @@ -1729,9 +1661,7 @@ body.dark-mode .dropdown-menu { font-size: 18px; flex-shrink: 0; } -.message-avatar:first-child{ - background: linear-gradient(135deg, #3b82f6, #1e3a8a); -} + .message.bot .message-avatar { background: linear-gradient(135deg, #3b82f6, #1e3a8a); color: white; @@ -1750,7 +1680,7 @@ body.dark-mode .dropdown-menu { } .message.bot .message-content { - background: white; + background: rgb(201, 201, 201); border: 1px solid #e5e7eb; color: black; box-shadow: 0 2px 4px rgba(0,0,0,0.1); @@ -1760,123 +1690,29 @@ body.dark-mode .dropdown-menu { background: linear-gradient(135deg, #3b82f6, #1e3a8a); color: white; } -#typingIndicator { - display: none; -} .chat-input-area { padding: 20px; border-top: 1px solid #e5e7eb; - background: white; - border-radius: 0 0 12px 12px; -} - -.input-group-custom { - display: flex; - gap: 10px; - align-items: flex-end; -} - -.message-input { - flex: 1; - border: 1px solid #dee2e6; - border-radius: 20px; - padding: 12px 16px; - resize: none; - max-height: 100px; -} - -body.dark-mode .chat-container { - height: 500px; - border: 1px solid #dee2e6; - border-radius: 12px; - display: flex; - flex-direction: column; - background: rgb(0, 0, 0); -} - -body.dark-mode .chat-header { background: linear-gradient(135deg, #353535, #000d30); - color: rgb(255, 255, 255); - padding: 15px 20px; - border-radius: 12px 12px 0 0; - display: flex; - align-items: center; - gap: 10px; -} - -body.dark-mode .chat-messages { - flex: 1; - overflow-y: auto; - padding: 20px; - background: #000000; -} - -body.dark-mode .message { - margin-bottom: 15px; - display: flex; - align-items: flex-start; - gap: 10px; -} - -body.dark-mode .message.user { - flex-direction: row-reverse; -} - -body.dark-mode .message-avatar { - width: 40px; - height: 40px; - border-radius: 50%; - display: flex; - align-items: center; - justify-content: center; - font-size: 18px; - flex-shrink: 0; -} - -body.dark-mode .message.bot .message-avatar { - background: linear-gradient(135deg, #3b82f6, #1e3a8a); - color: white; -} - -body.dark-mode .message.user .message-avatar { - background: linear-gradient(135deg, #16a34a, #15803d); - color: white; -} - -body.dark-mode .message-content { - max-width: 70%; - padding: 12px 16px; - border-radius: 18px; - line-height: 1.4; -} - -body.dark-mode .message.bot .message-content { - background: rgb(201, 201, 201); - border: 1px solid #e5e7eb; - color: black; - box-shadow: 0 2px 4px rgba(0,0,0,0.1); + border-radius: 0 0 12px 12px; } -body.dark-mode .message.user .message-content { +.message-avatar:first-child{ background: linear-gradient(135deg, #3b82f6, #1e3a8a); - color: white; } -body.dark-mode .chat-input-area { - padding: 20px; - border-top: 1px solid #e5e7eb; - background: linear-gradient(135deg, #353535, #000d30); - border-radius: 0 0 12px 12px; +#typingIndicator { + display: none; } -body.dark-mode .input-group-custom { +.input-group-custom { display: flex; gap: 10px; align-items: flex-end; } -body.dark-mode .message-input { +.message-input { flex: 1; border: 1px solid #000000; color: black; @@ -2136,6 +1972,7 @@ body.dark-mode .message-input { align-items: center !important; justify-content: center !important; text-align: center; + cursor: pointer; gap: 10px !important; padding: 15px !important; border-radius: 10px !important; @@ -2146,6 +1983,7 @@ body.dark-mode .message-input { .browser-icon:hover { transform: translateY(-5px) !important; box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2) !important; + text-decoration: none !important; } .browser-icon i { font-size: 32px !important; @@ -2156,7 +1994,7 @@ body.dark-mode .message-input { font-weight: 600 !important; color: var(--text-primary) !important; } -@media (max-width: 768px) { +@media (max-width: 768px) { /* Phones (Except Folded)*/ .step-container { flex-direction: column !important; gap: 30px !important; @@ -2180,6 +2018,13 @@ body.dark-mode .message-input { justify-content: center !important; align-content: center !important; } + + .simulator-btn-container{ + display: flex; + flex-direction: column; + gap: 10px; + width: 100%; + } } .features-grid { @@ -2298,23 +2143,18 @@ html[lang="en"] .footer-logo span { /* ITEM */ .accordion-item { - background: #fff; border-radius: 12px; - box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); - margin-bottom: 10px; - overflow: hidden; -} - -body.dark-mode .accordion-item { background: #1e1e1e; box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1); + margin-bottom: 10px; + overflow: hidden; } /* HEADER */ .accordion-header { width: 100%; padding: 18px 20px; - background: #2659ff; + background: #003cff; color: white; border: none !important; outline: none !important; @@ -2325,10 +2165,6 @@ body.dark-mode .accordion-item { text-align: inherit; /* key */ } -body.dark-mode .accordion-header { - background: #003cff; -} - .accordion-header:focus-visible { outline: none; } @@ -2343,175 +2179,14 @@ body.dark-mode .accordion-header { } .accordion-content p { - color: #000000; + color: #ffffff; padding: 15px 0; font-size: 18px; line-height: 1.6; margin: 0; } -body.dark-mode .accordion-content p { - color: #ffffff; -} - -.tips-grid-timeline { - display: grid; - grid-template-columns: 1fr 1fr; - grid-auto-rows: auto; - row-gap: 120px; - position: relative; -} - -.tips-grid-timeline::after { - content: ''; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 35px; - height: 100%; - width: 3px; - background: linear-gradient(to bottom, #001aff, #007bff); - z-index: 0; -} - -[dir="ltr"] .tips-grid-timeline::after { - content: ''; - position: absolute; - left: 50%; - transform: translateX(-50%); - top: 35px; - height: 100%; - width: 3px; - background: linear-gradient(to bottom, #001aff, #007bff); - z-index: 0; -} - -.tip-timeline { - background-color: white; - padding: 20px 30px; - border-radius: 12px; - border-width: 2px; - border-color: #001f83; - border-style: solid; - position: relative; - width: 100%; - font-size: 18px; - line-height: 1.5; - box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25); - z-index: 2; - transition: all 0.6s ease-out; - opacity: 0; - transform: translateY(-30px); -} - -.tip-timeline.show { - opacity: 1; - transform: translateY(0); -} - -.tip-timeline:hover { - box-shadow: none; -} - -.tip-timeline.left:nth-child(1) { - grid-column: 1; - grid-row: 1; -} - -.tip-timeline.right:nth-child(2) { - grid-column: 2; - grid-row: 2; -} - -.tip-timeline.left:nth-child(3) { - grid-column: 1; - grid-row: 3; -} - -.tip-timeline.right:nth-child(4) { - grid-column: 2; - grid-row: 4; -} - -.tip-timeline::before { - content: ''; - position: absolute; - top: 20px; - left: -25px; - width: 50px; - height: 50px; - background-color: var(--accent-color); - border-radius: 50%; - z-index: 2; -} - -.tip-timeline i { - position: absolute; - top: -5px; - left: -25px; - width: 50px; - height: 50px; - display: flex; - justify-content: center; - align-items: center; - font-size: 20px; - color: white; - z-index: 3; -} - -.tip-timeline.left::before { - left: -25px; - top: -11px; -} - -.tip-timeline.left i { - left: -25px; - top: -10px; -} - -.tip-timeline.left { - justify-self: start; - bottom: -34px; - left: -60px; -} - -.tip-timeline.right { - justify-self: end; - bottom: -30px; - right: -60px; -} - -.tip-timeline.right::before { - top: -5px; -} - -[dir="ltr"] .tip-timeline.left { - justify-self: start; - bottom: -34px; - left: 60px; -} - -[dir="ltr"] .tip-timeline.right { - justify-self: end; - bottom: -30px; - right: 60px; -} - -body.dark-mode .tip-timeline { - background-color: #000000; - color: #f0f0f0; - border: solid 1px var(--border-color); - box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1); -} - -body.dark-mode .tip-timeline:hover { - box-shadow: none; -} - -body.dark-mode .tip-timeline i { - color: white; -} @media (prefers-reduced-motion: reduce) { .stat-number, @@ -3010,157 +2685,183 @@ body.dark-mode .tip-timeline i { opacity: 1 !important; } } - /* Ar Tablet */ -@media screen and (min-width: 768px) and (max-width: 1300px) { - .tips-grid-timeline { - grid-template-columns: 1fr; - row-gap: 75px; +/* ===== Timeline Section ===== */ +.timeline-wrapper { + width: 100%; + max-width: 900px; position: relative; + direction: ltr; /* مهم: يمنع RTL من إزاحة الخط */ + margin: 80px auto 0; } - - .tips-grid-timeline::after { - left: auto; - right: 25px; - transform: translateX(0); - height: 100%; - top: 0; - } - - .tip-timeline { - width: 95%; - justify-self: start; - left: 0 !important; - right: auto !important; - bottom: 0 !important; - margin-left: -25px; - } - .tip-timeline.left { - justify-self: end; - } - .tip-timeline::before, - .tip-timeline i { - display: none; + /* إرجاع اتجاه النص داخل الكاردات للعربي */ + .tl-card { + direction: rtl; } -} -/* En Tablet*/ -@media screen and (min-width: 768px) and (max-width: 1300px) { - [dir="ltr"] .tips-grid-timeline { - grid-template-columns: 1fr; - row-gap: 75px; - position: relative; - } - - [dir="ltr"] .tips-grid-timeline::after { - left: 25px; - transform: translateX(0); - height: 100%; + /* الخط العمودي في المنتصف */ + .timeline-line { + position: absolute; + left: 50%; top: 0; + bottom: 0; + transform: translateX(-50%); + width: 2px; + background: linear-gradient(to bottom, transparent, #3b82f6 10%, #3b82f6 90%, transparent); + box-shadow: 0 0 10px rgba(59, 130, 246, 0.4); + } + + .timeline-line::before { + content: ''; + position: absolute; + top: 0; left: 50%; + transform: translateX(-50%); + width: 12px; height: 12px; + border-radius: 50%; + background: #3b82f6; + box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); } - - [dir="ltr"] .tip-timeline { - width: 90%; - justify-self: start; - left: 20px !important; - right: auto !important; - bottom: 0 !important; - } - [dir="ltr"] .tip-timeline.left { - justify-self: end; - } - [dir="ltr"] .tip-timeline:not(:first-child) i, - [dir="ltr"] .tip-timeline:not(:first-child)::before, - [dir="ltr"] .tip-timeline i, - [dir="ltr"] .tip-timeline::before - { - display: none; + + .timeline-line::after { + content: ''; + position: absolute; + bottom: 0; left: 50%; + transform: translateX(-50%); + width: 12px; height: 12px; + border-radius: 50%; + background: #3b82f6; + box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); } -} -@media screen and (max-width: 767px) { - .tips-grid-timeline { - grid-template-columns: 1fr; - row-gap: 80px; + /* كل صف */ + .timeline-row { + display: grid; + grid-template-columns: 1fr 60px 1fr; + align-items: center; + margin-bottom: 60px; + position: relative; } - - .tips-grid-timeline::after { - left: auto; - right: 15px; - transform: translateX(0); - height: 100%; - top: 0; + + /* النقطة على الخط */ + .timeline-dot { + display: flex; + align-items: center; + justify-content: center; + position: relative; + z-index: 2; } - - .tip-timeline { - width: calc(100% - 60px); - left: 60px !important; - justify-self: start; - bottom: 0 !important; + + .dot { + width: 18px; + height: 18px; + border-radius: 50%; + background: #000000; + border: 2px solid #3b82f6; + box-shadow: 0 0 12px rgba(59, 130, 246, 0.4); + transition: all 0.3s; } - - .tip-timeline i, .tip-timeline::before, .tip-timeline:not(:first-child) i, .tip-timeline:not(:first-child)::before { - display: none; + + .timeline-row:hover .dot { + background: #3b82f6; + box-shadow: 0 0 24px rgba(59, 130, 246, 0.7); + transform: scale(1.3); } - - [dir="rtl"] .tip-timeline.right { - right: auto !important; - margin-left: -40px ; + /* ===== Timeline Card - isolated من .card العامة ===== */ + .tl-card { + background: var(--bg-secondary, #000000) !important; + border: 1px solid var(--border-color, #334155) !important; + border-radius: 12px !important; + padding: 28px !important; + position: relative !important; + overflow: visible !important; + transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), + border-color 0.3s, + box-shadow 0.3s !important; + animation: tlFadeIn 0.6s ease both !important; } - -[dir="rtl"] .tip-timeline.left { - justify-self: end; - margin-left: -40px; -} - /* En */ - [dir="ltr"] .tips-grid-timeline { - grid-template-columns: 1fr; - row-gap: 50px; - position: relative; + + .tl-card:hover { + transform: translateY(-20px) !important; + border-color: #3b82f6 !important; + box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15) !important; } - - [dir="ltr"] .tips-grid-timeline::after { - left: 25px; - transform: translateX(0); - height: 100%; - top: 0; + + /* إلغاء pseudo-elements من .card العامة */ + .tl-card::before, + .tl-card::after { + display: none !important; + content: none !important; + width: 0 !important; + height: 0 !important; + background: transparent !important; } - - - [dir="ltr"] .tip-timeline i, [dir="ltr"] .tip-timeline::before { - display: none; + /* السهم بـ span منفصل */ + .tl-arrow-right { + position: absolute; + top: 50%; + right: -10px; + transform: translateY(-50%); + width: 0; height: 0; + border-top: 10px solid transparent; + border-bottom: 10px solid transparent; + border-left: 10px solid var(--border-color, #334155); + z-index: 1; + } + + .tl-arrow-left { + position: absolute; + top: 50%; + left: -10px; + transform: translateY(-50%); + width: 0; height: 0; + border-top: 10px solid transparent; + border-bottom: 10px solid transparent; + border-right: 10px solid var(--border-color, #334155); + z-index: 1; + } + + .tl-tag { + font-size: 11px !important; + font-weight: 700 !important; + letter-spacing: 2px !important; + text-transform: uppercase !important; + color: #3b82f6 !important; + margin-bottom: 10px !important; + display: block !important; } - - [dir="ltr"] .tips-grid-timeline { - grid-template-columns: 1fr; - row-gap: 50px; - position: relative; + .tl-card h3 { + font-size: 18px !important; + font-weight: 900 !important; + color: #e0f2fe !important; + margin-bottom: 8px !important; + line-height: 1.4 !important; } - [dir="ltr"] .tips-grid-timeline::after { - transform: translateX(0); - left: -25px; - right: auto; - transform: none; - height: 100%; - top: 0; - margin-left: 20px; + .tl-card p { + font-size: 14px !important; + color: var(--text-secondary, #cbd5e1) !important; + line-height: 1.7 !important; } - [dir="ltr"] .tip-timeline { - width: calc(100% - 60px); - justify-self: start !important; - left: 60px !important; - left: 50px !important; - right: auto !important; - bottom: 0 !important; + .tl-num { + position: absolute; + bottom: 14px; + left: 20px; + font-size: 48px; + font-weight: 900; + color: #3b82f608; + line-height: 1; + pointer-events: none; } -} +@keyframes tlFadeIn { + from { opacity: 0; } + to { opacity: 1; } +} .scroll-element { opacity: 0; transform: translateY(50px); diff --git a/css/styles.css b/css/styles.css index 21f8d20..c6a3589 100644 --- a/css/styles.css +++ b/css/styles.css @@ -10,7 +10,7 @@ --radius: 10px; } -body.dark-mode { +body { --text-muted: #ffffff; } @@ -152,13 +152,6 @@ body.dark-mode { } .project-title { - color: rgb(25, 0, 255); - font-size: 1.875rem; - font-weight: 700; - letter-spacing: -0.01em; -} - -body.dark-mode .project-title { color: rgb(0, 174, 255); font-size: 1.875rem; font-weight: 700; @@ -246,9 +239,6 @@ body.dark-mode .project-title { padding: 16px; border: 1px solid var(--border-color); border-radius: 8px; -} - -body.dark-mode .feature-box { background: rgb(0, 0, 0); } @@ -697,10 +687,6 @@ body.dark-mode .feature-box { font-size: 4rem; font-weight: 700; margin-bottom: 20px; - color: var(--text-secondary); -} - -body.dark-mode .terms-hero .hero-title { color: #ffffff; } @@ -831,12 +817,8 @@ body.dark-mode .terms-hero .hero-title { .section-header h2 { font-size: 1.625rem; font-weight: 700; - color: var(--text-secondary); - margin: 0; -} - -body.dark-mode .section-header h2 { color: #ffffff; + margin: 0; } .section-content { @@ -851,16 +833,12 @@ body.dark-mode .section-header h2 { .section-content h4 { font-weight: 700; - color: var(--text-secondary); + color: #ffffff; margin-top: 24px; margin-bottom: 12px; font-size: 1.125rem; } -body.dark-mode .section-content h4 { - color: #ffffff; -} - .feature-list { list-style: none; margin-bottom: 24px; diff --git a/index.html b/index.html index f42469f..27dc6f5 100644 --- a/index.html +++ b/index.html @@ -11,8 +11,7 @@ - + @@ -47,7 +46,7 @@ data-en="Report Site">الإبلاغ عن موقع
  • المدونة
  • -
  • تابعنا
  • @@ -63,14 +62,6 @@ -

    +

    حلل رموز QR على الفور لتحديد التصيد الاحتيالي والاحتيال أو النشاط الضار.

    @@ -434,7 +417,7 @@

    تحليل فوري

    -

    تقييم المخاطر المفصل لكل رمز تم مسحه.

    @@ -447,7 +430,7 @@

    منع الاحتيال

    -

    يحجب عمليات إعادة التوجيه الضارة وسرقة البيانات المحتملة.

    @@ -486,75 +469,74 @@

    -
    - -
    -
    -

    -

    قيمنا - الأساسية

    -

    - -
    - - -
    -
    - -
    -

    التعليم

    -

    - نحرص على توعية الجميع بأساسيات الأمان الإلكتروني وحماية بياناتهم من محاولات - التصيد - والاختراق

    -
    - - -
    -
    - -
    -

    الحماية

    -

    - نقدم نصائح عملية لحماية حساباتك وبياناتك من الاختراق ومحاولات التصيد الإلكتروني -

    -
    - -
    -
    - -
    -

    الموثوقية

    -

    - نلتزم بتقديم محتوى وخدمات موثوقة وآمنة، مع التركيز على حماية بيانات المستخدمين - وبناء - ثقة دائمة معهم

    -
    - - -
    -
    - -
    -

    التوعية - المستمرة -

    -

    - نشارك المستخدمين باستمرار نصائح وأحدث طرق الحماية الرقمية، ونقدم لهم أمثلة عملية - وتحذيرات دورية تساعدهم على اكتشاف أي نشاط مشبوه قبل الوقوع في الخطر -

    -
    - - - -
    - - - +

    +

    قيمنا الأساسية

    + + +
    +
    + + +
    +
    +
    +
    + +

    التعليم

    +

    + نحرص على توعية الجميع بأساسيات الأمان الإلكتروني وحماية بياناتهم من محاولات التصيد والاختراق +

    +
    01
    +
    +
    + + +
    +
    + +

    الحماية

    +

    + نقدم نصائح عملية لحماية حساباتك وبياناتك من الاختراق ومحاولات التصيد الإلكتروني +

    +
    02
    +
    +
    +
    +
    + + +
    +
    +
    +
    + +

    الموثوقية

    +

    + نلتزم بتقديم محتوى وخدمات موثوقة وآمنة، مع التركيز على حماية بيانات المستخدمين وبناء ثقة دائمة معهم +

    +
    03
    +
    +
    + + +
    +
    + +

    التوعية المستمرة

    +

    + نشارك المستخدمين باستمرار نصائح وأحدث طرق الحماية الرقمية، ونقدم لهم أمثلة عملية وتحذيرات دورية تساعدهم على اكتشاف أي نشاط مشبوه قبل الوقوع في الخطر +

    +
    04
    +
    +
    +
    +
    + +
    @@ -639,7 +621,6 @@

    diff --git a/js/script.js b/js/script.js index 34d6479..f618201 100644 --- a/js/script.js +++ b/js/script.js @@ -398,21 +398,20 @@ function switchToArabic() { function updatePageContent(lang) { const elements = document.querySelectorAll("[data-ar][data-en]") - elements.forEach((el) => { - if (lang === "en") { - el.textContent = el.getAttribute("data-en") - } else { - el.textContent = el.getAttribute("data-ar") + const text = lang === "en" + ? el.getAttribute("data-en") + : el.getAttribute("data-ar") + if (el.tagName === "INPUT" || el.tagName === "TEXTAREA") { + el.placeholder = text + } + else if (el.tagName === "OPTION") { + el.textContent = text + } + else { + el.textContent = text } }) - - // Special handling for html/body attributes - if (lang === "en") { - document.body.style.direction = "ltr" - } else { - document.body.style.direction = "rtl" - } } function updateLanguageButtons(lang) { diff --git a/pages/assistant.html b/pages/assistant.html index 9778ed3..8a22ee0 100644 --- a/pages/assistant.html +++ b/pages/assistant.html @@ -39,7 +39,7 @@
    @@ -50,14 +50,6 @@ @@ -50,14 +50,6 @@